
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-vendors"],{"003c":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return ve}));var i=n("b8ca"),r=n("e20a"),o=n("a026"),s=Object.defineProperty,a=Object.defineProperties,c=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,d=(t,e,n)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,f=(t,e)=>{for(var n in e||(e={}))u.call(e,n)&&d(t,n,e[n]);if(l)for(var n of l(e))h.call(e,n)&&d(t,n,e[n]);return t},p=(t,e)=>a(t,c(e)),g=(t,e)=>{var n={};for(var i in t)u.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&l)for(var i of l(t))e.indexOf(i)<0&&h.call(t,i)&&(n[i]=t[i]);return n};function m(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&("object"===typeof e[n]&&t[n]?m(t[n],e[n]):t[n]=e[n])}const v={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function b(t,e){let n,i=v.themes[t]||{};do{n=i[e],"undefined"===typeof n?i.$extend?i=v.themes[i.$extend]||{}:(i=null,n=v[e]):i=null}while(i);return n}function y(t){const e=[t];let n=v.themes[t]||{};do{n.$extend&&!n.$resetCss?(e.push(n.$extend),n=v.themes[n.$extend]||{}):n=null}while(n);return e.map(t=>"v-popper--theme-"+t)}function _(t){const e=[t];let n=v.themes[t]||{};do{n.$extend?(e.push(n.$extend),n=v.themes[n.$extend]||{}):n=null}while(n);return e}let x=!1;if("undefined"!==typeof window){x=!1;try{const t=Object.defineProperty({},"passive",{get(){x=!0}});window.addEventListener("test",null,t)}catch(ye){}}let w=!1;"undefined"!==typeof window&&"undefined"!==typeof navigator&&(w=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const S=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,e+"-start",e+"-end"]),[]),k={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},C={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function O(t,e){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}function E(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const P=[];let M=null;const T={};function A(t){let e=T[t];return e||(e=T[t]=[]),e}let D=function(){};function $(t){return function(){const e=this.$props;return b(e.theme,t)}}"undefined"!==typeof window&&(D=window.Element);const L="__floating-vue__popper";var j=()=>({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:$("disabled")},positioningDisabled:{type:Boolean,default:$("positioningDisabled")},placement:{type:String,default:$("placement"),validator:t=>S.includes(t)},delay:{type:[String,Number,Object],default:$("delay")},distance:{type:[Number,String],default:$("distance")},skidding:{type:[Number,String],default:$("skidding")},triggers:{type:Array,default:$("triggers")},showTriggers:{type:[Array,Function],default:$("showTriggers")},hideTriggers:{type:[Array,Function],default:$("hideTriggers")},popperTriggers:{type:Array,default:$("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:$("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:$("popperHideTriggers")},container:{type:[String,Object,D,Boolean],default:$("container")},boundary:{type:[String,D],default:$("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:$("strategy")},autoHide:{type:[Boolean,Function],default:$("autoHide")},handleResize:{type:Boolean,default:$("handleResize")},instantMove:{type:Boolean,default:$("instantMove")},eagerMount:{type:Boolean,default:$("eagerMount")},popperClass:{type:[String,Array,Object],default:$("popperClass")},computeTransformOrigin:{type:Boolean,default:$("computeTransformOrigin")},autoMinSize:{type:Boolean,default:$("autoMinSize")},autoSize:{type:[Boolean,String],default:$("autoSize")},autoMaxSize:{type:Boolean,default:$("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:$("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:$("preventOverflow")},overflowPadding:{type:[Number,String],default:$("overflowPadding")},arrowPadding:{type:[Number,String],default:$("arrowPadding")},arrowOverflow:{type:Boolean,default:$("arrowOverflow")},flip:{type:Boolean,default:$("flip")},shift:{type:Boolean,default:$("shift")},shiftCrossAxis:{type:Boolean,default:$("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:$("noAutoFocus")}},provide(){return{[L]:{parentPopper:this}}},inject:{[L]:{default:null}},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return null!=this.ariaId?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:"function"===typeof this.autoHide?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:p(f({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}},parentPopper(){var t;return null==(t=this[L])?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return(null==(t=this.popperTriggers)?void 0:t.includes("hover"))||(null==(e=this.popperShowTriggers)?void 0:e.includes("hover"))}},watch:f(f({shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})),created(){this.$_isDisposed=!0,this.randomId="popper_"+[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_"),this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeDestroy(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var i,r;(null==(i=this.parentPopper)?void 0:i.lockedChild)&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,!n&&this.disabled||((null==(r=this.parentPopper)?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1,skipAiming:n=!1}={}){var i;this.$_hideInProgress||(this.shownChildren.size>0?this.$_pendingHide=!0:!n&&this.hasPopperShowTriggerHover&&this.$_isAimingPopper()?this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3)):((null==(i=this.parentPopper)?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)))},init(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var t;if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Object(i.e)({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?e.middleware.push(Object(i.b)({alignment:null!=(t=this.placement.split("-")[1])?t:""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Object(i.g)({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&e.middleware.push(Object(i.d)({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Object(i.a)({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:t,rects:e,middlewareData:n})=>{let i;const{centerOffset:r}=n.arrow;return i=t.startsWith("top")||t.startsWith("bottom")?Math.abs(r)>e.reference.width/2:Math.abs(r)>e.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const t=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:e,placement:n,middlewareData:i})=>{var r;if(null==(r=i.autoSize)?void 0:r.skip)return{};let o,s;return n.startsWith("top")||n.startsWith("bottom")?o=e.reference.width:s=e.reference.height,this.$_innerNode.style["min"===t?"minWidth":"max"===t?"maxWidth":"width"]=null!=o?o+"px":null,this.$_innerNode.style["min"===t?"minHeight":"max"===t?"maxHeight":"height"]=null!=s?s+"px":null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Object(i.h)({boundary:this.boundary,padding:this.overflowPadding,apply:({width:t,height:e})=>{this.$_innerNode.style.maxWidth=null!=t?t+"px":null,this.$_innerNode.style.maxHeight=null!=e?e+"px":null}})));const o=await Object(r.a)(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:f(f({},o.middlewareData.arrow),o.middlewareData.arrowOverflow)})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),M&&this.instantMove&&M.instantMove&&M!==this.parentPopper)return M.$_applyHide(!0),void this.$_applyShow(!0);e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){this.shownChildren.size>0?this.$_pendingHide=!0:(this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(M=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide")))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,this.isShown||(this.$_ensureTeleport(),await E(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Object(r.b)(this.$_referenceNode),...Object(r.b)(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),e=this.$_popperNode.querySelector(".v-popper__wrapper"),n=e.parentNode.getBoundingClientRect(),i=t.x+t.width/2-(n.left+e.offsetLeft),r=t.y+t.height/2-(n.top+e.offsetTop);this.result.transformOrigin=`${i}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n<P.length;n++)e=P[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}P.push(this),document.body.classList.add("v-popper--some-open");for(const e of _(this.theme))A(e).push(this),document.body.classList.add("v-popper--some-open--"+e);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await E(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0)return this.$_pendingHide=!0,void(this.$_hideInProgress=!1);if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,O(P,this),0===P.length&&document.body.classList.remove("v-popper--some-open");for(const n of _(this.theme)){const t=A(n);O(t,this),0===t.length&&document.body.classList.remove("v-popper--some-open--"+n)}M===this&&(M=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=b(this.theme,"disposeTimeout");null!==e&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await E(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if("string"===typeof t?t=window.document.querySelector(t):!1===t&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=t=>{this.isShown&&!this.$_hideInProgress||(t.usedByTooltip=!0,!this.$_preventShow&&this.show({event:t}))};this.$_registerTriggerListeners(this.$_targetNodes,k,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],k,this.popperTriggers,this.popperShowTriggers,t);const e=t=>e=>{e.usedByTooltip||this.hide({event:e,skipAiming:t})};this.$_registerTriggerListeners(this.$_targetNodes,C,this.triggers,this.hideTriggers,e(!1)),this.$_registerTriggerListeners([this.$_popperNode],C,this.popperTriggers,this.popperHideTriggers,e(!0))},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(t=>t.addEventListener(e,n,x?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,i,r){let o=n;null!=i&&(o="function"===typeof i?i(o):i),o.forEach(n=>{const i=e[n];i&&this.$_registerEventListeners(t,i,r)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:i,eventType:r,handler:o}=n;t&&t!==r?e.push(n):i.forEach(t=>t.removeEventListener(r,o))}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const i=n.getAttribute(t);i&&(n.removeAttribute(t),n.setAttribute(e,i))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const i=t[n];null==i?e.removeAttribute(n):e.setAttribute(n,i)}},$_updateParentShownChildren(t){let e=this.parentPopper;while(e)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$el.getBoundingClientRect();if(q>=t.left&&q<=t.right&&Y>=t.top&&Y<=t.bottom){const t=this.$_popperNode.getBoundingClientRect(),e=q-W,n=Y-U,i=t.left+t.width/2-W+(t.top+t.height/2)-U,r=i+t.width+t.height,o=W+e*r,s=U+n*r;return X(W,U,o,s,t.left,t.top,t.left,t.bottom)||X(W,U,o,s,t.left,t.top,t.right,t.top)||X(W,U,o,s,t.right,t.top,t.right,t.bottom)||X(W,U,o,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$scopedSlots.default(this.slotData)[0]}});function R(t){for(let e=0;e<P.length;e++){const n=P[e];try{const e=n.popperNode();n.$_mouseDownContains=e.contains(t.target)}catch(ye){}}}function I(t){F(t)}function N(t){F(t,!0)}function F(t,e=!1){const n={};for(let i=P.length-1;i>=0;i--){const r=P[i];try{const i=r.$_containsGlobalTarget=B(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&z(r,i,t)){if(r.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let t=r.parentPopper;while(t)n[t.randomId]=!0,t=t.parentPopper;return}let o=r.parentPopper;while(o){if(!z(o,o.$_containsGlobalTarget,t))break;o.$_handleGlobalClose(t,e),o=o.parentPopper}}})}catch(ye){}}}function B(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function z(t,e,n){return n.closeAllPopover||n.closePopover&&e||V(t,n)&&!e}function V(t,e){if("function"===typeof t.autoHide){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function H(t){for(let e=0;e<P.length;e++){const n=P[e];n.$_computePosition(t)}}"undefined"!==typeof document&&"undefined"!==typeof window&&(w?(document.addEventListener("touchstart",R,!x||{passive:!0,capture:!0}),document.addEventListener("touchend",N,!x||{passive:!0,capture:!0})):(window.addEventListener("mousedown",R,!0),window.addEventListener("click",I,!0)),window.addEventListener("resize",H));let W=0,U=0,q=0,Y=0;function X(t,e,n,i,r,o,s,a){const c=((s-r)*(e-o)-(a-o)*(t-r))/((a-o)*(n-t)-(s-r)*(i-e)),l=((n-t)*(e-o)-(i-e)*(t-r))/((a-o)*(n-t)-(s-r)*(i-e));return c>=0&&c<=1&&l>=0&&l<=1}function G(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}var K;function J(){J.init||(J.init=!0,K=-1!==G())}"undefined"!==typeof window&&window.addEventListener("mousemove",t=>{W=q,U=Y,q=t.clientX,Y=t.clientY},x?{passive:!0}:void 0);var Z={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var t=this;J(),this.$nextTick((function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight,t.emitOnMount&&t.emitSize()}));var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",K&&this.$el.appendChild(e),e.data="about:blank",K||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!K&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};function Q(t,e,n,i,r,o,s,a,c,l){"boolean"!==typeof s&&(c=a,a=s,s=!1);var u,h="function"===typeof n?n.options:n;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,r&&(h.functional=!0)),i&&(h._scopeId=i),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=u):e&&(u=s?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),u)if(h.functional){var d=h.render;h.render=function(t,e){return u.call(e),d(t,e)}}else{var f=h.beforeCreate;h.beforeCreate=f?[].concat(f,u):[u]}return n}var tt=Z,et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},nt=[];et._withStripped=!0;var it=void 0,rt="data-v-8859cc6c",ot=void 0,st=!1,at=Q({render:et,staticRenderFns:nt},it,tt,rt,st,ot,!1,void 0,void 0,void 0);function ct(t){t.component("resize-observer",at),t.component("ResizeObserver",at)}var lt={version:"1.0.1",install:ct},ut=null;"undefined"!==typeof window?ut=window.Vue:"undefined"!==typeof t&&(ut=t.Vue),ut&&ut.use(lt);var ht={computed:{themeClass(){return y(this.theme)}}},dt={name:"VPopperContent",components:{ResizeObserver:at},mixins:[ht],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},methods:{toPx(t){return null==t||isNaN(t)?null:t+"px"}}},ft=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"popover",staticClass:"v-popper__popper",class:[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}],style:t.result?{position:t.result.strategy,transform:"translate3d("+Math.round(t.result.x)+"px,"+Math.round(t.result.y)+"px,0)"}:void 0,attrs:{id:t.popperId,"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0},on:{keyup:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;t.autoHide&&t.$emit("hide")}}},[n("div",{staticClass:"v-popper__backdrop",on:{click:function(e){t.autoHide&&t.$emit("hide")}}}),n("div",{staticClass:"v-popper__wrapper",style:t.result?{transformOrigin:t.result.transformOrigin}:void 0},[n("div",{ref:"inner",staticClass:"v-popper__inner"},[t.mounted?[n("div",[t._t("default")],2),t.handleResize?n("ResizeObserver",{on:{notify:function(e){return t.$emit("resize",e)}}}):t._e()]:t._e()],2),n("div",{ref:"arrow",staticClass:"v-popper__arrow-container",style:t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0},[n("div",{staticClass:"v-popper__arrow-outer"}),n("div",{staticClass:"v-popper__arrow-inner"})])])])},pt=[];function gt(t,e,n,i,r,o,s,a){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:l}}const mt={};var vt=gt(dt,ft,pt,!1,bt,null,null,null);function bt(t){for(let e in mt)this[e]=mt[e]}var yt=function(){return vt.exports}(),_t={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},xt={name:"VPopperWrapper",components:{Popper:j(),PopperContent:yt},mixins:[_t,ht],inheritAttrs:!1,props:{theme:{type:String,default(){return this.$options.vPopperTheme}}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(t=>t!==this.$refs.popperContent.$el)}}},wt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"target-nodes":t.getTargetNodes,"reference-node":function(){return t.$refs.reference},"popper-node":function(){return t.$refs.popperContent.$el}},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.popperId,r=e.isShown,o=e.shouldMountContent,s=e.skipTransition,a=e.autoHide,c=e.show,l=e.hide,u=e.handleResize,h=e.onResize,d=e.classes,f=e.result;return[n("div",{ref:"reference",staticClass:"v-popper",class:[t.themeClass,{"v-popper--shown":r}]},[t._t("default",null,{shown:r,show:c,hide:l}),n("PopperContent",{ref:"popperContent",attrs:{"popper-id":i,theme:t.theme,shown:r,mounted:o,"skip-transition":s,"auto-hide":a,"handle-resize":u,classes:d,result:f},on:{hide:l,resize:h}},[t._t("popper",null,{shown:r,hide:l})],2)],2)]}}],null,!0)},"Popper",t.$attrs,!1),t.$listeners))},St=[];const kt={};var Ct=gt(xt,wt,St,!1,Ot,null,null,null);function Ot(t){for(let e in kt)this[e]=kt[e]}var Et=function(){return Ct.exports}(),Pt=p(f({},Et),{name:"VDropdown",vPopperTheme:"dropdown"});let Mt,Tt;const At={};var Dt=gt(Pt,Mt,Tt,!1,$t,null,null,null);function $t(t){for(let e in At)this[e]=At[e]}var Lt=function(){return Dt.exports}(),jt=p(f({},Et),{name:"VMenu",vPopperTheme:"menu"});let Rt,It;const Nt={};var Ft=gt(jt,Rt,It,!1,Bt,null,null,null);function Bt(t){for(let e in Nt)this[e]=Nt[e]}var zt=function(){return Ft.exports}(),Vt=p(f({},Et),{name:"VTooltip",vPopperTheme:"tooltip"});let Ht,Wt;const Ut={};var qt=gt(Vt,Ht,Wt,!1,Yt,null,null,null);function Yt(t){for(let e in Ut)this[e]=Ut[e]}var Xt=function(){return qt.exports}(),Gt={name:"VTooltipDirective",components:{Popper:j(),PopperContent:yt},mixins:[_t],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default(){return b(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default(){return b(this.theme,"loadingContent")}}},data(){return{asyncContent:null}},computed:{isContentAsync(){return"function"===typeof this.content},loading(){return this.isContentAsync&&null==this.asyncContent},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(t){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if("function"===typeof this.content&&this.$_isShown&&(t||!this.$_loading&&null==this.asyncContent)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,e=this.content(this);e.then?e.then(e=>this.onResult(t,e)):this.onResult(t,e)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}},Kt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Popper",t._g(t._b({ref:"popper",attrs:{theme:t.theme,"popper-node":function(){return t.$refs.popperContent.$el}},on:{"apply-show":t.onShow,"apply-hide":t.onHide},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.popperId,r=e.isShown,o=e.shouldMountContent,s=e.skipTransition,a=e.autoHide,c=e.hide,l=e.handleResize,u=e.onResize,h=e.classes,d=e.result;return[n("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":t.loading},attrs:{"popper-id":i,theme:t.theme,shown:r,mounted:o,"skip-transition":s,"auto-hide":a,"handle-resize":l,classes:h,result:d},on:{hide:c,resize:u}},[t.html?n("div",{domProps:{innerHTML:t._s(t.finalContent)}}):n("div",{domProps:{textContent:t._s(t.finalContent)}})])]}}])},"Popper",t.$attrs,!1),t.$listeners))},Jt=[];const Zt={};var Qt=gt(Gt,Kt,Jt,!1,te,null,null,null);function te(t){for(let e in Zt)this[e]=Zt[e]}var ee=function(){return Qt.exports}();const ne="v-popper--has-tooltip";function ie(t,e){let n=t.placement;if(!n&&e)for(const i of S)e[i]&&(n=i);return n||(n=b(t.theme||"tooltip","placement")),n}function re(t,e,n){let i;const r=typeof e;return i="string"===r?{content:e}:e&&"object"===r?e:{content:!1},i.placement=ie(i,n),i.targetNodes=()=>[t],i.referenceNode=()=>t,i}function oe(t,e,n){const i=re(t,e,n),r=t.$_popper=new o.a({mixins:[_t],data(){return{options:i}},render(t){const e=this.options,{theme:n,html:i,content:r,loadingContent:o}=e,s=g(e,["theme","html","content","loadingContent"]);return t(ee,{props:{theme:n,html:i,content:r,loadingContent:o},attrs:s,ref:"popper"})},devtools:{hide:!0}}),s=document.createElement("div");return document.body.appendChild(s),r.$mount(s),t.classList&&t.classList.add(ne),r}function se(t){t.$_popper&&(t.$_popper.$destroy(),delete t.$_popper,delete t.$_popperOldShown),t.classList&&t.classList.remove(ne)}function ae(t,{value:e,oldValue:n,modifiers:i}){const r=re(t,e,i);if(!r.content||b(r.theme||"tooltip","disabled"))se(t);else{let n;t.$_popper?(n=t.$_popper,n.options=r):n=oe(t,e,i),"undefined"!==typeof e.shown&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?n.show():n.hide())}}var ce={bind:ae,update:ae,unbind(t){se(t)}};function le(t){t.addEventListener("click",he),t.addEventListener("touchstart",de,!!x&&{passive:!0})}function ue(t){t.removeEventListener("click",he),t.removeEventListener("touchstart",de),t.removeEventListener("touchend",fe),t.removeEventListener("touchcancel",pe)}function he(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function de(t){if(1===t.changedTouches.length){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",fe),e.addEventListener("touchcancel",pe)}}function fe(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){const n=t.changedTouches[0],i=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function pe(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}var ge={bind(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,("undefined"===typeof e||e)&&le(t)},update(t,{value:e,oldValue:n,modifiers:i}){t.$_closePopoverModifiers=i,e!==n&&("undefined"===typeof e||e?le(t):ue(t))},unbind(t){ue(t)}};function me(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,m(v,e),t.directive("tooltip",ce),t.directive("close-popper",ge),t.component("v-tooltip",Xt),t.component("VTooltip",Xt),t.component("v-dropdown",Lt),t.component("VDropdown",Lt),t.component("v-menu",zt),t.component("VMenu",zt))}const ve={version:"1.0.0-beta.19",install:me,options:v};let be=null;"undefined"!==typeof window?be=window.Vue:"undefined"!==typeof t&&(be=t.Vue),be&&be.use(ve)}).call(this,n("c8ba"))},"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"04f8":function(t,e,n){var i=n("2d00"),r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"06cf":function(t,e,n){var i=n("83ab"),r=n("c65b"),o=n("d1e7"),s=n("5c6c"),a=n("fc6a"),c=n("a04b"),l=n("1a2d"),u=n("0cfb"),h=Object.getOwnPropertyDescriptor;e.f=i?h:function(t,e){if(t=a(t),e=c(e),u)try{return h(t,e)}catch(n){}if(l(t,e))return s(!r(o.f,t,e),t[e])}},"07fa":function(t,e,n){var i=n("50c4");t.exports=function(t){return i(t.length)}},"0a06":function(t,e,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),s=n("5270"),a=n("4a7b"),c=n("848b"),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t,e){if("string"===typeof t?(e=e||{},e.url=t):e=t||{},!e.url)throw new Error("Provided config url is not valid");e=a(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,i.unshift(t.fulfilled,t.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)})),!r){var h=[s,void 0];Array.prototype.unshift.apply(h,i),h=h.concat(u),o=Promise.resolve(e);while(h.length)o=o.then(h.shift(),h.shift());return o}var d=e;while(i.length){var f=i.shift(),p=i.shift();try{d=f(d)}catch(g){p(g);break}}try{o=s(d)}catch(g){return Promise.reject(g)}while(u.length)o=o.then(u.shift(),u.shift());return o},u.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=a(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,i){return this.request(a(i||{},{method:t,url:e,data:n}))}})),t.exports=u},"0cb2":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=Math.floor,s=i("".charAt),a=i("".replace),c=i("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,h,d){var f=n+t.length,p=i.length,g=u;return void 0!==h&&(h=r(h),g=l),a(d,g,(function(r,a){var l;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,f);case"<":l=h[c(a,1,-1)];break;default:var u=+a;if(0===u)return r;if(u>p){var d=o(u/10);return 0===d?r:d<=p?void 0===i[d-1]?s(a,1):i[d-1]+s(a,1):r}l=i[u-1]}return void 0===l?"":l}))}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"13d2":function(t,e,n){var i=n("d039"),r=n("1626"),o=n("1a2d"),s=n("83ab"),a=n("5e77").CONFIGURABLE,c=n("8925"),l=n("69f3"),u=l.enforce,h=l.get,d=Object.defineProperty,f=s&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),p=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||a&&t.name!==e)&&(s?d(t,"name",{value:e,configurable:!0}):t.name=e),f&&n&&o(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?s&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var i=u(t);return o(i,"source")||(i.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return r(this)&&h(this).source||c(this)}),"toString")},"14d9":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("3511"),c=n("d039"),l=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();i({target:"Array",proto:!0,arity:1,forced:l||u},{push:function(t){var e=r(this),n=o(e),i=arguments.length;a(n+i);for(var c=0;c<i;c++)e[n]=arguments[c],n++;return s(e,n),n}})},1626:function(t,e,n){var i=n("8ea1"),r=i.all;t.exports=i.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},"1a2d":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},"1d80":function(t,e,n){var i=n("7234"),r=TypeError;t.exports=function(t){if(i(t))throw r("Can't call method on "+t);return t}},"23cb":function(t,e,n){var i=n("5926"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},"23e7":function(t,e,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),s=n("cb2d"),a=n("6374"),c=n("e893"),l=n("94ca");t.exports=function(t,e){var n,u,h,d,f,p,g=t.target,m=t.global,v=t.stat;if(u=m?i:v?i[g]||a(g,{}):(i[g]||{}).prototype,u)for(h in e){if(f=e[h],t.dontCallGetSet?(p=r(u,h),d=p&&p.value):d=u[h],n=l(m?h:g+(v?".":"#")+h,t.forced),!n&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(t.sham||d&&d.sham)&&o(f,"sham",!0),s(u,h,f,t)}}},"241c":function(t,e,n){var i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},2444:function(t,e,n){"use strict";(function(e){var i=n("c532"),r=n("c8af"),o=n("387f"),s={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}function l(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(a(e,"application/json"),l(t)):t}],transformResponse:[function(t){var e=this.transitional||u.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(s){if("SyntaxError"===a.name)throw o(a,this,"E_JSON_PARSE");throw a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(s)})),t.exports=u}).call(this,n("4362"))},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return i}))},"2d00":function(t,e,n){var i,r,o=n("da84"),s=n("342f"),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=u.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),t.exports=r},"2d83":function(t,e,n){"use strict";var i=n("387f");t.exports=function(t,e,n,r,o){var s=new Error(t);return i(s,e,n,r,o)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2f62":function(t,e,n){"use strict";(function(t){
/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */
function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return R})),n.d(e,"c",(function(){return j})),n.d(e,"d",(function(){return L})),n.d(e,"e",(function(){return $}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=c(t[n],e)})),i}function l(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function h(t){return t&&"function"===typeof t.then}function d(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){l(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&l(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&l(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&l(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var g=function(t){this.register([],t,!1)};function m(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;m(t.concat(i),e.getChild(i),n.modules[i])}}g.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},g.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},g.prototype.update=function(t){m([],this.root,t)},g.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new f(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&l(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},g.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},g.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var v;var b=function(t){var e=this;void 0===t&&(t={}),!v&&"undefined"!==typeof window&&window.Vue&&D(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new g(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,a=o.dispatch,c=o.commit;this.dispatch=function(t,e){return a.call(r,t,e)},this.commit=function(t,e,n){return c.call(r,t,e,n)},this.strict=i;var l=this._modules.root.state;S(this,l,[],this._modules.root),w(this,l),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:v.config.devtools;u&&s(this)},y={state:{configurable:!0}};function _(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function x(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;S(t,n,[],t._modules.root,!0),w(t,n,e)}function w(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};l(r,(function(e,n){o[n]=d(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=v.config.silent;v.config.silent=!0,t._vm=new v({data:{$$state:e},computed:o}),v.config.silent=s,t.strict&&M(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),v.nextTick((function(){return i.$destroy()})))}function S(t,e,n,i,r){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!r){var a=T(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){v.set(a,c,i.state)}))}var l=i.context=k(t,s,n);i.forEachMutation((function(e,n){var i=s+n;O(t,i,e,l)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,r=e.handler||e;E(t,i,r,l)})),i.forEachGetter((function(e,n){var i=s+n;P(t,i,e,l)})),i.forEachChild((function(i,o){S(t,e,n.concat(o),i,r)}))}function k(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=A(n,i,r),s=o.payload,a=o.options,c=o.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,r){var o=A(n,i,r),s=o.payload,a=o.options,c=o.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return C(t,e)}},state:{get:function(){return T(t.state,n)}}}),r}function C(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function O(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function E(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return h(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function P(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function M(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(t,e){return e.reduce((function(t,e){return t[e]}),t)}function A(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function D(t){v&&t===v||(v=t,i(v))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},b.prototype.commit=function(t,e,n){var i=this,r=A(t,e,n),o=r.type,s=r.payload,a=(r.options,{type:o,payload:s}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,i.state)})))},b.prototype.dispatch=function(t,e){var n=this,i=A(t,e),r=i.type,o=i.payload,s={type:r,payload:o},a=this._actions[r];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(l){0}var c=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(l){0}e(t)}))}))}},b.prototype.subscribe=function(t,e){return _(t,this._subscribers,e)},b.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return _(n,this._actionSubscribers,e)},b.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},b.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},b.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),S(this,this.state,t,this._modules.get(t),n.preserveState),w(this,this.state)},b.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=T(e.state,t.slice(0,-1));v.delete(n,t[t.length-1])})),x(this)},b.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},b.prototype.hotUpdate=function(t){this._modules.update(t),x(this,!0)},b.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(b.prototype,y);var $=B((function(t,e){var n={};return N(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=z(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),L=B((function(t,e){var n={};return N(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=z(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),j=B((function(t,e){var n={};return N(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||z(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),R=B((function(t,e){var n={};return N(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=z(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),I=function(t){return{mapState:$.bind(null,t),mapGetters:j.bind(null,t),mapMutations:L.bind(null,t),mapActions:R.bind(null,t)}};function N(t){return F(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function F(t){return Array.isArray(t)||u(t)}function B(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function z(t,e,n){var i=t._modulesNamespaceMap[n];return i}function V(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var a=t.logMutations;void 0===a&&(a=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var h=c(t.state);"undefined"!==typeof u&&(a&&t.subscribe((function(t,o){var s=c(o);if(n(t,h,s)){var a=U(),l=r(t),d="mutation "+t.type+a;H(u,d,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),W(u)}h=s})),l&&t.subscribeAction((function(t,n){if(o(t,n)){var i=U(),r=s(t),a="action "+t.type+i;H(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),W(u)}})))}}function H(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function W(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function U(){var t=new Date;return" @ "+Y(t.getHours(),2)+":"+Y(t.getMinutes(),2)+":"+Y(t.getSeconds(),2)+"."+Y(t.getMilliseconds(),3)}function q(t,e){return new Array(e+1).join(t)}function Y(t,e){return q("0",e-t.toString().length)+t}var X={Store:b,install:D,version:"3.6.2",mapState:$,mapMutations:L,mapGetters:j,mapActions:R,createNamespacedHelpers:I,createLogger:V};e.a=X}).call(this,n("c8ba"))},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"33d1":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),s=n("5926"),a=n("44d2");i({target:"Array",proto:!0},{at:function(t){var e=r(this),n=o(e),i=s(t),a=i>=0?i:n+i;return a<0||a>=n?void 0:e[a]}}),a("at")},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},3511:function(t,e){var n=TypeError,i=9007199254740991;t.exports=function(t){if(t>i)throw n("Maximum allowed index exceeded");return t}},"37e8":function(t,e,n){var i=n("83ab"),r=n("aed9"),o=n("9bf2"),s=n("825a"),a=n("fc6a"),c=n("df75");e.f=i&&!r?Object.defineProperties:function(t,e){s(t);var n,i=a(e),r=c(e),l=r.length,u=0;while(l>u)o.f(t,n=r[u++],i[n]);return t}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},3934:function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3a34":function(t,e,n){"use strict";var i=n("83ab"),r=n("e8b5"),o=TypeError,s=Object.getOwnPropertyDescriptor,a=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(r(t)&&!s(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a9b":function(t,e,n){var i=n("e330");t.exports=i({}.isPrototypeOf)},"40d5":function(t,e,n){var i=n("d039");t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,i="/";e.cwd=function(){return i},e.chdir=function(e){t||(t=n("df7c")),i=t.resolve(e,i)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"44ad":function(t,e,n){var i=n("e330"),r=n("d039"),o=n("c6b6"),s=Object,a=i("".split);t.exports=r((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?a(t,""):s(t)}:s},"44d2":function(t,e,n){var i=n("b622"),r=n("7c73"),o=n("9bf2").f,s=i("unscopables"),a=Array.prototype;void 0==a[s]&&o(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},"44e7":function(t,e,n){var i=n("861d"),r=n("c6b6"),o=n("b622"),s=o("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},"467f":function(t,e,n){"use strict";var i=n("2d83");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"485a":function(t,e,n){var i=n("c65b"),r=n("1626"),o=n("861d"),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&r(n=t.toString)&&!o(a=i(n,t)))return a;if(r(n=t.valueOf)&&!o(a=i(n,t)))return a;if("string"!==e&&r(n=t.toString)&&!o(a=i(n,t)))return a;throw s("Can't convert object to primitive value")}},"4a7b":function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){e=e||{};var n={};function r(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function o(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(t[n],e[n])}function s(t){if(!i.isUndefined(e[t]))return r(void 0,e[t])}function a(n){return i.isUndefined(e[n])?i.isUndefined(t[n])?void 0:r(void 0,t[n]):r(void 0,e[n])}function c(n){return n in e?r(t[n],e[n]):n in t?r(void 0,t[n]):void 0}var l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c};return i.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=l[t]||o,r=e(t);i.isUndefined(r)&&e!==c||(n[t]=r)})),n}},"4d64":function(t,e,n){var i=n("fc6a"),r=n("23cb"),o=n("07fa"),s=function(t){return function(e,n,s){var a,c=i(e),l=o(c),u=r(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"50c4":function(t,e,n){var i=n("5926"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},5270:function(t,e,n){"use strict";var i=n("c532"),r=n("c401"),o=n("2e67"),s=n("2444"),a=n("7a77");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return c(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"561c":function(t,e,n){"use strict";n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return ht})),n.d(e,"a",(function(){return dt})),n.d(e,"b",(function(){return ft}));var i=n("e1e2"),r=n.n(i),o=n("d82b"),s=n.n(o);const a=r()(console.error);function c(t){try{for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return s.a.sprintf(t,...n)}catch(r){return r instanceof Error&&a("sprintf error: \n\n"+r.toString()),t}}var l,u,h,d;function f(t){var e,n,i,r,o=[],s=[];while(e=t.match(d)){n=e[0],i=t.substr(0,e.index).trim(),i&&o.push(i);while(r=s.pop()){if(h[n]){if(h[n][0]===r){n=h[n][1]||n;break}}else if(u.indexOf(r)>=0||l[r]<l[n]){s.push(r);break}o.push(r)}h[n]||s.push(n),t=t.substr(e.index+n.length)}return t=t.trim(),t&&o.push(t),o.concat(s.reverse())}l={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},u=["(","?"],h={")":["("],":":["?","?:"]},d=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var p={"!":function(t){return!t},"*":function(t,e){return t*e},"/":function(t,e){return t/e},"%":function(t,e){return t%e},"+":function(t,e){return t+e},"-":function(t,e){return t-e},"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},"==":function(t,e){return t===e},"!=":function(t,e){return t!==e},"&&":function(t,e){return t&&e},"||":function(t,e){return t||e},"?:":function(t,e,n){if(t)throw e;return n}};function g(t,e){var n,i,r,o,s,a,c=[];for(n=0;n<t.length;n++){if(s=t[n],o=p[s],o){i=o.length,r=Array(i);while(i--)r[i]=c.pop();try{a=o.apply(null,r)}catch(l){return l}}else a=e.hasOwnProperty(s)?e[s]:+s;c.push(a)}return c[0]}function m(t){var e=f(t);return function(t){return g(e,t)}}function v(t){var e=m(t);return function(t){return+e({n:t})}}var b={contextDelimiter:"",onMissingKey:null};function y(t){var e,n,i;for(e=t.split(";"),n=0;n<e.length;n++)if(i=e[n].trim(),0===i.indexOf("plural="))return i.substr(7)}function _(t,e){var n;for(n in this.data=t,this.pluralForms={},this.options={},b)this.options[n]=void 0!==e&&n in e?e[n]:b[n]}_.prototype.getPluralForm=function(t,e){var n,i,r,o=this.pluralForms[t];return o||(n=this.data[t][""],r=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,"function"!==typeof r&&(i=y(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),r=v(i)),o=this.pluralForms[t]=r),o(e)},_.prototype.dcnpgettext=function(t,e,n,i,r){var o,s,a;return o=void 0===r?0:this.getPluralForm(t,r),s=n,e&&(s=e+this.options.contextDelimiter+n),a=this.data[t][s],a&&a[o]?a[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,t),0===o?n:i)};const x={"":{plural_forms(t){return 1===t?0:1}}},w=/^i18n\.(n?gettext|has_translation)(_|$)/,S=(t,e,n)=>{const i=new _({}),r=new Set,o=()=>{r.forEach(t=>t())},s=t=>(r.add(t),()=>r.delete(t)),a=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return i.data[t]},c=function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";i.data[n]={...i.data[n],...t},i.data[n][""]={...x[""],...null===(e=i.data[n])||void 0===e?void 0:e[""]},delete i.pluralForms[n]},l=(t,e)=>{c(t,e),o()},u=function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";i.data[n]={...i.data[n],...t,"":{...x[""],...null===(e=i.data[n])||void 0===e?void 0:e[""],...null===t||void 0===t?void 0:t[""]}},delete i.pluralForms[n],o()},h=(t,e)=>{i.data={},i.pluralForms={},l(t,e)},d=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return i.data[t]||c(void 0,t),i.dcnpgettext(t,e,n,r,o)},f=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return t},p=(t,e)=>{let i=d(e,void 0,t);return n?(i=n.applyFilters("i18n.gettext",i,t,e),n.applyFilters("i18n.gettext_"+f(e),i,t,e)):i},g=(t,e,i)=>{let r=d(i,e,t);return n?(r=n.applyFilters("i18n.gettext_with_context",r,t,e,i),n.applyFilters("i18n.gettext_with_context_"+f(i),r,t,e,i)):r},m=(t,e,i,r)=>{let o=d(r,void 0,t,e,i);return n?(o=n.applyFilters("i18n.ngettext",o,t,e,i,r),n.applyFilters("i18n.ngettext_"+f(r),o,t,e,i,r)):o},v=(t,e,i,r,o)=>{let s=d(o,r,t,e,i);return n?(s=n.applyFilters("i18n.ngettext_with_context",s,t,e,i,r,o),n.applyFilters("i18n.ngettext_with_context_"+f(o),s,t,e,i,r,o)):s},b=()=>"rtl"===g("ltr","text direction"),y=(t,e,r)=>{var o,s;const a=e?e+""+t:t;let c=!(null===(o=i.data)||void 0===o||null===(s=o[null!==r&&void 0!==r?r:"default"])||void 0===s||!s[a]);return n&&(c=n.applyFilters("i18n.has_translation",c,t,e,r),c=n.applyFilters("i18n.has_translation_"+f(r),c,t,e,r)),c};if(t&&l(t,e),n){const t=t=>{w.test(t)&&o()};n.addAction("hookAdded","core/i18n",t),n.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:a,setLocaleData:l,addLocaleData:u,resetLocaleData:h,subscribe:s,__:p,_x:g,_n:m,_nx:v,isRTL:b,hasTranslation:y}};function k(t){return"string"!==typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}var C=k;function O(t){return"string"!==typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}var E=O;function P(t,e){return function(n,i,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const s=t[e];if(!E(n))return;if(!C(i))return;if("function"!==typeof r)return void console.error("The hook callback must be a function.");if("number"!==typeof o)return void console.error("If specified, the hook priority must be a number.");const a={callback:r,priority:o,namespace:i};if(s[n]){const t=s[n].handlers;let e;for(e=t.length;e>0;e--)if(o>=t[e-1].priority)break;e===t.length?t[e]=a:t.splice(e,0,a),s.__current.forEach(t=>{t.name===n&&t.currentIndex>=e&&t.currentIndex++})}else s[n]={handlers:[a],runs:0};"hookAdded"!==n&&t.doAction("hookAdded",n,i,r,o)}}var M=P;function T(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,r){const o=t[e];if(!E(i))return;if(!n&&!C(r))return;if(!o[i])return 0;let s=0;if(n)s=o[i].handlers.length,o[i]={runs:o[i].runs,handlers:[]};else{const t=o[i].handlers;for(let e=t.length-1;e>=0;e--)t[e].namespace===r&&(t.splice(e,1),s++,o.__current.forEach(t=>{t.name===i&&t.currentIndex>=e&&t.currentIndex--}))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,r),s}}var A=T;function D(t,e){return function(n,i){const r=t[e];return"undefined"!==typeof i?n in r&&r[n].handlers.some(t=>t.namespace===i):n in r}}var $=D;function L(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i){const r=t[e];r[i]||(r[i]={handlers:[],runs:0}),r[i].runs++;const o=r[i].handlers;for(var s=arguments.length,a=new Array(s>1?s-1:0),c=1;c<s;c++)a[c-1]=arguments[c];if(!o||!o.length)return n?a[0]:void 0;const l={name:i,currentIndex:0};r.__current.push(l);while(l.currentIndex<o.length){const t=o[l.currentIndex],e=t.callback.apply(null,a);n&&(a[0]=e),l.currentIndex++}return r.__current.pop(),n?a[0]:void 0}}var j=L;function R(t,e){return function(){var n,i;const r=t[e];return null!==(n=null===(i=r.__current[r.__current.length-1])||void 0===i?void 0:i.name)&&void 0!==n?n:null}}var I=R;function N(t,e){return function(n){const i=t[e];return"undefined"===typeof n?"undefined"!==typeof i.__current[0]:!!i.__current[0]&&n===i.__current[0].name}}var F=N;function B(t,e){return function(n){const i=t[e];if(E(n))return i[n]&&i[n].runs?i[n].runs:0}}var z=B;class V{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=M(this,"actions"),this.addFilter=M(this,"filters"),this.removeAction=A(this,"actions"),this.removeFilter=A(this,"filters"),this.hasAction=$(this,"actions"),this.hasFilter=$(this,"filters"),this.removeAllActions=A(this,"actions",!0),this.removeAllFilters=A(this,"filters",!0),this.doAction=j(this,"actions"),this.applyFilters=j(this,"filters",!0),this.currentAction=I(this,"actions"),this.currentFilter=I(this,"filters"),this.doingAction=F(this,"actions"),this.doingFilter=F(this,"filters"),this.didAction=z(this,"actions"),this.didFilter=z(this,"filters")}}function H(){return new V}var W=H;const U=W(),{addAction:q,addFilter:Y,removeAction:X,removeFilter:G,hasAction:K,hasFilter:J,removeAllActions:Z,removeAllFilters:Q,doAction:tt,applyFilters:et,currentAction:nt,currentFilter:it,doingAction:rt,doingFilter:ot,didAction:st,didFilter:at,actions:ct,filters:lt}=U,ut=S(void 0,void 0,U);ut.getLocaleData.bind(ut);const ht=ut.setLocaleData.bind(ut),dt=(ut.resetLocaleData.bind(ut),ut.subscribe.bind(ut),ut.__.bind(ut)),ft=(ut._x.bind(ut),ut._n.bind(ut));ut._nx.bind(ut),ut.isRTL.bind(ut),ut.hasTranslation.bind(ut)},5692:function(t,e,n){var i=n("c430"),r=n("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,n){var i=n("d066"),r=n("e330"),o=n("241c"),s=n("7418"),a=n("825a"),c=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=s.f;return n?c(e,n(t)):e}},"577e":function(t,e,n){var i=n("f5df"),r=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},5926:function(t,e,n){var i=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:i(e)}},"59ed":function(t,e,n){var i=n("1626"),r=n("0d51"),o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not a function")}},"5b81":function(t,e,n){"use strict";var i=n("23e7"),r=n("c65b"),o=n("e330"),s=n("1d80"),a=n("1626"),c=n("7234"),l=n("44e7"),u=n("577e"),h=n("dc4a"),d=n("90d8"),f=n("0cb2"),p=n("b622"),g=n("c430"),m=p("replace"),v=TypeError,b=o("".indexOf),y=o("".replace),_=o("".slice),x=Math.max,w=function(t,e,n){return n>t.length?-1:""===e?n:b(t,e,n)};i({target:"String",proto:!0},{replaceAll:function(t,e){var n,i,o,p,S,k,C,O,E,P=s(this),M=0,T=0,A="";if(!c(t)){if(n=l(t),n&&(i=u(s(d(t))),!~b(i,"g")))throw v("`.replaceAll` does not allow non-global regexes");if(o=h(t,m),o)return r(o,t,P,e);if(g&&n)return y(u(P),t,e)}p=u(P),S=u(t),k=a(e),k||(e=u(e)),C=S.length,O=x(1,C),M=w(p,S,0);while(-1!==M)E=k?u(e(S,M,p)):f(S,p,M,[],void 0,e),A+=_(p,T,M)+E,T=M+C,M=w(p,S,M+O);return T<p.length&&(A+=_(p,T)),A}})},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cce":function(t,e){t.exports={version:"0.25.0"}},"5e77":function(t,e,n){var i=n("83ab"),r=n("1a2d"),o=Function.prototype,s=i&&Object.getOwnPropertyDescriptor,a=r(o,"name"),c=a&&"something"===function(){}.name,l=a&&(!i||i&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},"5f02":function(t,e,n){"use strict";var i=n("c532");t.exports=function(t){return i.isObject(t)&&!0===t.isAxiosError}},6374:function(t,e,n){var i=n("da84"),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},"69f3":function(t,e,n){var i,r,o,s=n("cdce"),a=n("da84"),c=n("861d"),l=n("9112"),u=n("1a2d"),h=n("c6cd"),d=n("f772"),f=n("d012"),p="Object already initialized",g=a.TypeError,m=a.WeakMap,v=function(t){return o(t)?r(t):i(t,{})},b=function(t){return function(e){var n;if(!c(e)||(n=r(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(s||h.state){var y=h.state||(h.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,i=function(t,e){if(y.has(t))throw g(p);return e.facade=t,y.set(t,e),e},r=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var _=d("state");f[_]=!0,i=function(t,e){if(u(t,_))throw g(p);return e.facade=t,l(t,_,e),e},r=function(t){return u(t,_)?t[_]:{}},o=function(t){return u(t,_)}}t.exports={set:i,get:r,has:o,enforce:v,getterFor:b}},7234:function(t,e){t.exports=function(t){return null===t||void 0===t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a77":function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},"7aac":function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),i.isString(r)&&a.push("path="+r),i.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,n){var i=n("1d80"),r=Object;t.exports=function(t){return r(i(t))}},"7b97":function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return b}));var i,r=n("dd61");function o(t,e,n,r){t(e,n),void 0!==r&&r.emit(i.ChartRendered)}function s(t,e){t.update(),void 0!==e&&e.emit(i.ChartUpdated)}function a(t,e){t.destroy(),void 0!==e&&e.emit(i.ChartDestroyed)}function c(t,e){const n={labels:"undefined"===typeof t.labels?[]:[...t.labels],datasets:[]};return l(n,{...t},e),n}function l(t,e,n){const i=[];t.datasets=e.datasets.map(e=>{const r=t.datasets.find(t=>t[n]===e[n]);return r&&e.data&&!i.includes(r)?(i.push(r),Object.assign(r,e),r):{...e}})}function u(t,e,n){t.data.labels=e,void 0!==n&&n.emit(i.LabelsUpdated)}function h(t,e){t.options={...e}}function d(t,e){const n=t.datasets.map(t=>t.label),i=e.datasets.map(t=>t.label);return e.datasets.length===t.datasets.length&&n.every((t,e)=>t===i[e])}(function(t){t.ChartRendered="chart:rendered",t.ChartUpdated="chart:updated",t.ChartDestroyed="chart:destroyed",t.LabelsUpdated="labels:updated"})(i||(i={}));const f="Please remove the <template></template> tags from your chart component. See https://vue-chartjs.org/guide/#vue-single-file-components",p="annotation";function g(t,e,n){let g={};return{props:{chartData:{type:Object,required:!0},chartOptions:{type:Object,default:()=>{}},datasetIdKey:{type:String,default:"label"},chartId:{type:String,default:t},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{type:String,default:""},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]}},data(){return{_chart:null,_id:Math.random().toString(36).substring(2)}},computed:{hasAnnotationPlugin(){var t,e;const n=null===(t=this.chartOptions)||void 0===t||null===(e=t.plugins)||void 0===e?void 0:e[p];return"undefined"!==typeof n}},created(){r.f.register(n)},mounted(){g[this.$data._id]=null,"datasets"in this.chartData&&this.chartData.datasets.length>0&&(o(this.renderChart,this.chartData,this.chartOptions),this.$emit(i.ChartRendered))},watch:{chartData:{handler:function(t,e){this.chartDataHandler(t,e)},deep:!0},chartOptions:{handler:function(t){this.chartOptionsHandler(t)},deep:!0}},methods:{renderChart(t,n){const o=this.getCurrentChart();if(null!==o&&(a(o),this.$emit(i.ChartDestroyed)),!this.$refs.canvas)throw new Error(f);{const i=c(t,this.datasetIdKey),o=this.$refs.canvas.getContext("2d");null!==o&&this.setCurrentChart(new r.f(o,{type:e,data:i,options:n,plugins:this.plugins}))}},chartDataHandler(t,e){const n={...t},r={...e},s=this.getCurrentChart();if(Object.keys(r).length>0){const t=d(n,r);t&&null!==s?(l(s.data,n,this.datasetIdKey),void 0!==n.labels&&(u(s,n.labels),this.$emit(i.LabelsUpdated)),this.updateChart(),this.$emit(i.ChartUpdated)):(null!==s&&(a(s),this.$emit(i.ChartDestroyed)),o(this.renderChart,this.chartData,this.chartOptions),this.$emit(i.ChartRendered))}else null!==s&&(a(s),this.$emit(i.ChartDestroyed)),o(this.renderChart,this.chartData,this.chartOptions),this.$emit(i.ChartRendered)},chartOptionsHandler(t){const e=this.getCurrentChart();null!==e?(h(e,t),this.updateChart()):o(this.renderChart,this.chartData,this.chartOptions)},updateChart(){const t=this.getCurrentChart();s(t)},getCurrentChart(){return this.hasAnnotationPlugin?g[this.$data._id]:this.$data._chart},setCurrentChart(t){this.hasAnnotationPlugin?g[this.$data._id]=t:this.$data._chart=t}},beforeDestroy(){const t=this.getCurrentChart();null!==t&&(a(t),this.$emit(i.ChartDestroyed))},render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])}}}const m=g("bar-chart","bar",r.b),v=(r.g,g("line-chart","line",r.i)),b=g("pie-chart","pie",r.l);r.n,r.o,r.d,r.p},"7c73":function(t,e,n){var i,r=n("825a"),o=n("37e8"),s=n("7839"),a=n("d012"),c=n("1be4"),l=n("cc12"),u=n("f772"),h=">",d="<",f="prototype",p="script",g=u("IE_PROTO"),m=function(){},v=function(t){return d+p+h+t+d+"/"+p+h},b=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=l("iframe"),n="java"+p+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},_=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}_="undefined"!=typeof document?document.domain&&i?b(i):y():b(i);var t=s.length;while(t--)delete _[f][s[t]];return _()};a[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[f]=r(t),n=new m,m[f]=null,n[g]=t):n=_(),void 0===e?n:o.f(n,e)}},"825a":function(t,e,n){var i=n("861d"),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not an object")}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,n){"use strict";var i=n("d925"),r=n("e683");t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},"848b":function(t,e,n){"use strict";var i=n("5cce").version,r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};function s(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var i=Object.keys(t),r=i.length;while(r-->0){var o=i[r],s=e[o];if(s){var a=t[o],c=void 0===a||s(a,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}r.transitional=function(t,e,n){function r(t,e){return"[Axios v"+i+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,s){if(!1===t)throw new Error(r(i," has been removed"+(e?" in "+e:"")));return e&&!o[i]&&(o[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,s)}},t.exports={assertOptions:s,validators:r}},"861d":function(t,e,n){var i=n("1626"),r=n("8ea1"),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:i(t)||t===o}:function(t){return"object"==typeof t?null!==t:i(t)}},8925:function(t,e,n){var i=n("e330"),r=n("1626"),o=n("c6cd"),s=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},"8c4f":function(t,e,n){"use strict";function i(t,e){for(var n in e)t[n]=e[n];return t}n.d(e,"a",(function(){return we}));var r=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},s=/%2C/g,a=function(t){return encodeURIComponent(t).replace(r,o).replace(s,",")};function c(t){try{return decodeURIComponent(t)}catch(e){0}return t}function l(t,e,n){void 0===e&&(e={});var i,r=n||h;try{i=r(t||"")}catch(a){i={}}for(var o in e){var s=e[o];i[o]=Array.isArray(s)?s.map(u):u(s)}return i}var u=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),i=c(n.shift()),r=n.length>0?c(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return a(e);if(Array.isArray(n)){var i=[];return n.forEach((function(t){void 0!==t&&(null===t?i.push(a(e)):i.push(a(e)+"="+a(t)))})),i.join("&")}return a(e)+"="+a(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var f=/\/?$/;function p(t,e,n,i){var r=i&&i.options.stringifyQuery,o=e.query||{};try{o=g(o)}catch(a){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:b(e,r),matched:t?v(t):[]};return n&&(s.redirectedFrom=b(n,r)),Object.freeze(s)}function g(t){if(Array.isArray(t))return t.map(g);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=g(t[n]);return e}return t}var m=p(null,{path:"/"});function v(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function b(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var o=e||d;return(n||"/")+o(i)+r}function y(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(f,"")===e.path.replace(f,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.length===i.length&&n.every((function(n,r){var o=t[n],s=i[r];if(s!==n)return!1;var a=e[n];return null==o||null==a?o===a:"object"===typeof o&&"object"===typeof a?_(o,a):String(o)===String(a)}))}function x(t,e){return 0===t.path.replace(f,"/").indexOf(e.path.replace(f,"/"))&&(!e.hash||t.hash===e.hash)&&w(t.query,e.query)}function w(t,e){for(var n in e)if(!(n in t))return!1;return!0}function S(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var i in n.instances){var r=n.instances[i],o=n.enteredCbs[i];if(r&&o){delete n.enteredCbs[i];for(var s=0;s<o.length;s++)r._isBeingDestroyed||o[s](r)}}}}var k={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,s=e.data;s.routerView=!0;var a=o.$createElement,c=n.name,l=o.$route,u=o._routerViewCache||(o._routerViewCache={}),h=0,d=!1;while(o&&o._routerRoot!==o){var f=o.$vnode?o.$vnode.data:{};f.routerView&&h++,f.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}if(s.routerViewDepth=h,d){var p=u[c],g=p&&p.component;return g?(p.configProps&&C(g,s,p.route,p.configProps),a(g,s,r)):a()}var m=l.matched[h],v=m&&m.components[c];if(!m||!v)return u[c]=null,a();u[c]={component:v},s.registerRouteInstance=function(t,e){var n=m.instances[c];(e&&n!==t||!e&&n===t)&&(m.instances[c]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){m.instances[c]=e.componentInstance},s.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==m.instances[c]&&(m.instances[c]=t.componentInstance),S(l)};var b=m.props&&m.props[c];return b&&(i(u[c],{route:l,configProps:b}),C(v,s,l,b)),a(v,s,r)}};function C(t,e,n,r){var o=e.props=O(n,r);if(o){o=e.props=i({},o);var s=e.attrs=e.attrs||{};for(var a in o)t.props&&a in t.props||(s[a]=o[a],delete o[a])}}function O(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function E(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?r.pop():"."!==a&&r.push(a)}return""!==r[0]&&r.unshift(""),r.join("/")}function P(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function M(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var T=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},A=K,D=I,$=N,L=z,j=G,R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function I(t,e){var n,i=[],r=0,o=0,s="",a=e&&e.delimiter||"/";while(null!=(n=R.exec(t))){var c=n[0],l=n[1],u=n.index;if(s+=t.slice(o,u),o=u+c.length,l)s+=l[1];else{var h=t[o],d=n[2],f=n[3],p=n[4],g=n[5],m=n[6],v=n[7];s&&(i.push(s),s="");var b=null!=d&&null!=h&&h!==d,y="+"===m||"*"===m,_="?"===m||"*"===m,x=n[2]||a,w=p||g;i.push({name:f||r++,prefix:d||"",delimiter:x,optional:_,repeat:y,partial:b,asterisk:!!v,pattern:w?H(w):v?".*":"[^"+V(x)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&i.push(s),i}function N(t,e){return z(I(t,e),e)}function F(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function B(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function z(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",U(e)));return function(e,i){for(var r="",o=e||{},s=i||{},a=s.pretty?F:encodeURIComponent,c=0;c<t.length;c++){var l=t[c];if("string"!==typeof l){var u,h=o[l.name];if(null==h){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(T(h)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(u=a(h[d]),!n[c].test(u))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===d?l.prefix:l.delimiter)+u}}else{if(u=l.asterisk?B(h):a(h),!n[c].test(u))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+u+'"');r+=l.prefix+u}}else r+=l}return r}}function V(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function H(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function W(t,e){return t.keys=e,t}function U(t){return t&&t.sensitive?"":"i"}function q(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return W(t,e)}function Y(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(K(t[r],e,n).source);var o=new RegExp("(?:"+i.join("|")+")",U(n));return W(o,e)}function X(t,e,n){return G(I(t,n),e,n)}function G(t,e,n){T(e)||(n=e||n,e=[]),n=n||{};for(var i=n.strict,r=!1!==n.end,o="",s=0;s<t.length;s++){var a=t[s];if("string"===typeof a)o+=V(a);else{var c=V(a.prefix),l="(?:"+a.pattern+")";e.push(a),a.repeat&&(l+="(?:"+c+l+")*"),l=a.optional?a.partial?c+"("+l+")?":"(?:"+c+"("+l+"))?":c+"("+l+")",o+=l}}var u=V(n.delimiter||"/"),h=o.slice(-u.length)===u;return i||(o=(h?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=r?"$":i&&h?"":"(?="+u+"|$)",W(new RegExp("^"+o,U(n)),e)}function K(t,e,n){return T(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?q(t,e):T(t)?Y(t,e,n):X(t,e,n)}A.parse=D,A.compile=$,A.tokensToFunction=L,A.tokensToRegExp=j;var J=Object.create(null);function Z(t,e,n){e=e||{};try{var i=J[t]||(J[t]=A.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(r){return""}finally{delete e[0]}}function Q(t,e,n,r){var o="string"===typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){o=i({},t);var s=o.params;return s&&"object"===typeof s&&(o.params=i({},s)),o}if(!o.path&&o.params&&e){o=i({},o),o._normalized=!0;var a=i(i({},e.params),o.params);if(e.name)o.name=e.name,o.params=a;else if(e.matched.length){var c=e.matched[e.matched.length-1].path;o.path=Z(c,a,"path "+e.path)}else 0;return o}var u=P(o.path||""),h=e&&e.path||"/",d=u.path?E(u.path,h,n||o.append):h,f=l(u.query,o.query,r&&r.options.parseQuery),p=o.hash||u.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:d,query:f,hash:p}}var tt,et=[String,Object],nt=[String,Array],it=function(){},rt={name:"RouterLink",props:{to:{type:et,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:nt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),s=o.location,a=o.route,c=o.href,l={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,f=null==h?"router-link-exact-active":h,g=null==this.activeClass?d:this.activeClass,m=null==this.exactActiveClass?f:this.exactActiveClass,v=a.redirectedFrom?p(null,Q(a.redirectedFrom),null,n):a;l[m]=y(r,v,this.exactPath),l[g]=this.exact||this.exactPath?l[m]:x(r,v);var b=l[m]?this.ariaCurrentValue:null,_=function(t){ot(t)&&(e.replace?n.replace(s,it):n.push(s,it))},w={click:ot};Array.isArray(this.event)?this.event.forEach((function(t){w[t]=_})):w[this.event]=_;var S={class:l},k=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:a,navigate:_,isActive:l[g],isExactActive:l[m]});if(k){if(1===k.length)return k[0];if(k.length>1||!k.length)return 0===k.length?t():t("span",{},k)}if("a"===this.tag)S.on=w,S.attrs={href:c,"aria-current":b};else{var C=st(this.$slots.default);if(C){C.isStatic=!1;var O=C.data=i({},C.data);for(var E in O.on=O.on||{},O.on){var P=O.on[E];E in w&&(O.on[E]=Array.isArray(P)?P:[P])}for(var M in w)M in O.on?O.on[M].push(w[M]):O.on[M]=_;var T=C.data.attrs=i({},C.data.attrs);T.href=c,T["aria-current"]=b}else S.on=w}return t(this.tag,S,this.$slots.default)}};function ot(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function st(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=st(e.children)))return e}}function at(t){if(!at.installed||tt!==t){at.installed=!0,tt=t;var e=function(t){return void 0!==t},n=function(t,n){var i=t.$options._parentVnode;e(i)&&e(i=i.data)&&e(i=i.registerRouteInstance)&&i(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",k),t.component("RouterLink",rt);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var ct="undefined"!==typeof window;function lt(t,e,n,i,r){var o=e||[],s=n||Object.create(null),a=i||Object.create(null);t.forEach((function(t){ut(o,s,a,t,r)}));for(var c=0,l=o.length;c<l;c++)"*"===o[c]&&(o.push(o.splice(c,1)[0]),l--,c--);return{pathList:o,pathMap:s,nameMap:a}}function ut(t,e,n,i,r,o){var s=i.path,a=i.name;var c=i.pathToRegexpOptions||{},l=dt(s,r,c.strict);"boolean"===typeof i.caseSensitive&&(c.sensitive=i.caseSensitive);var u={path:l,regex:ht(l,c),components:i.components||{default:i.component},alias:i.alias?"string"===typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:a,parent:r,matchAs:o,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach((function(i){var r=o?M(o+"/"+i.path):void 0;ut(t,e,n,i,u,r)})),e[u.path]||(t.push(u.path),e[u.path]=u),void 0!==i.alias)for(var h=Array.isArray(i.alias)?i.alias:[i.alias],d=0;d<h.length;++d){var f=h[d];0;var p={path:f,children:i.children};ut(t,e,n,p,r,u.path||"/")}a&&(n[a]||(n[a]=u))}function ht(t,e){var n=A(t,[],e);return n}function dt(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:M(e.path+"/"+t)}function ft(t,e){var n=lt(t),i=n.pathList,r=n.pathMap,o=n.nameMap;function s(t){lt(t,i,r,o)}function a(t,e){var n="object"!==typeof t?o[t]:void 0;lt([e||t],i,r,o,n),n&&n.alias.length&&lt(n.alias.map((function(t){return{path:t,children:[e]}})),i,r,o,n)}function c(){return i.map((function(t){return r[t]}))}function l(t,n,s){var a=Q(t,n,!1,e),c=a.name;if(c){var l=o[c];if(!l)return d(null,a);var u=l.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof a.params&&(a.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in a.params)&&u.indexOf(h)>-1&&(a.params[h]=n.params[h]);return a.path=Z(l.path,a.params,'named route "'+c+'"'),d(l,a,s)}if(a.path){a.params={};for(var f=0;f<i.length;f++){var p=i[f],g=r[p];if(pt(g.regex,a.path,a.params))return d(g,a,s)}}return d(null,a)}function u(t,n){var i=t.redirect,r="function"===typeof i?i(p(t,n,null,e)):i;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return d(null,n);var s=r,a=s.name,c=s.path,u=n.query,h=n.hash,f=n.params;if(u=s.hasOwnProperty("query")?s.query:u,h=s.hasOwnProperty("hash")?s.hash:h,f=s.hasOwnProperty("params")?s.params:f,a){o[a];return l({_normalized:!0,name:a,query:u,hash:h,params:f},void 0,n)}if(c){var g=gt(c,t),m=Z(g,f,'redirect route with path "'+g+'"');return l({_normalized:!0,path:m,query:u,hash:h},void 0,n)}return d(null,n)}function h(t,e,n){var i=Z(n,e.params,'aliased route with path "'+n+'"'),r=l({_normalized:!0,path:i});if(r){var o=r.matched,s=o[o.length-1];return e.params=r.params,d(s,e)}return d(null,e)}function d(t,n,i){return t&&t.redirect?u(t,i||n):t&&t.matchAs?h(t,n,t.matchAs):p(t,n,i,e)}return{match:l,addRoute:a,getRoutes:c,addRoutes:s}}function pt(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var s=t.keys[r-1];s&&(n[s.name||"pathMatch"]="string"===typeof i[r]?c(i[r]):i[r])}return!0}function gt(t,e){return E(t,e.parent?e.parent.path:"/",!0)}var mt=ct&&window.performance&&window.performance.now?window.performance:Date;function vt(){return mt.now().toFixed(3)}var bt=vt();function yt(){return bt}function _t(t){return bt=t}var xt=Object.create(null);function wt(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=i({},window.history.state);return n.key=yt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",Ct),function(){window.removeEventListener("popstate",Ct)}}function St(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var o=Ot(),s=r.call(t,e,n,i?o:null);s&&("function"===typeof s.then?s.then((function(t){$t(t,o)})).catch((function(t){0})):$t(s,o))}))}}function kt(){var t=yt();t&&(xt[t]={x:window.pageXOffset,y:window.pageYOffset})}function Ct(t){kt(),t.state&&t.state.key&&_t(t.state.key)}function Ot(){var t=yt();if(t)return xt[t]}function Et(t,e){var n=document.documentElement,i=n.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-i.left-e.x,y:r.top-i.top-e.y}}function Pt(t){return At(t.x)||At(t.y)}function Mt(t){return{x:At(t.x)?t.x:window.pageXOffset,y:At(t.y)?t.y:window.pageYOffset}}function Tt(t){return{x:At(t.x)?t.x:0,y:At(t.y)?t.y:0}}function At(t){return"number"===typeof t}var Dt=/^#\d/;function $t(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var i=Dt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=Tt(r),e=Et(i,r)}else Pt(t)&&(e=Mt(t))}else n&&Pt(t)&&(e=Mt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Lt=ct&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function jt(t,e){kt();var n=window.history;try{if(e){var r=i({},n.state);r.key=yt(),n.replaceState(r,"",t)}else n.pushState({key:_t(vt())},"",t)}catch(o){window.location[e?"replace":"assign"](t)}}function Rt(t){jt(t,!0)}var It={redirected:2,aborted:4,cancelled:8,duplicated:16};function Nt(t,e){return Vt(t,e,It.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Wt(e)+'" via a navigation guard.')}function Ft(t,e){var n=Vt(t,e,It.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Bt(t,e){return Vt(t,e,It.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function zt(t,e){return Vt(t,e,It.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Vt(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var Ht=["params","query","hash"];function Wt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Ht.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Ut(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function qt(t,e){return Ut(t)&&t._isRouter&&(null==e||t.type===e)}function Yt(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],(function(){i(r+1)})):i(r+1)};i(0)}function Xt(t){return function(e,n,i){var r=!1,o=0,s=null;Gt(t,(function(t,e,n,a){if("function"===typeof t&&void 0===t.cid){r=!0,o++;var c,l=Qt((function(e){Zt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[a]=e,o--,o<=0&&i()})),u=Qt((function(t){var e="Failed to resolve async component "+a+": "+t;s||(s=Ut(t)?t:new Error(e),i(s))}));try{c=t(l,u)}catch(d){u(d)}if(c)if("function"===typeof c.then)c.then(l,u);else{var h=c.component;h&&"function"===typeof h.then&&h.then(l,u)}}})),r||i()}}function Gt(t,e){return Kt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Kt(t){return Array.prototype.concat.apply([],t)}var Jt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Zt(t){return t.__esModule||Jt&&"Module"===t[Symbol.toStringTag]}function Qt(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(ct){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function ie(t,e,n,i){var r=Gt(t,(function(t,i,r,o){var s=re(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,i,r,o)})):n(s,i,r,o)}));return Kt(i?r.reverse():r)}function re(t,e){return"function"!==typeof t&&(t=tt.extend(t)),t.options[e]}function oe(t){return ie(t,"beforeRouteLeave",ae,!0)}function se(t){return ie(t,"beforeRouteUpdate",ae)}function ae(t,e){if(e)return function(){return t.apply(e,arguments)}}function ce(t){return ie(t,"beforeRouteEnter",(function(t,e,n,i){return le(t,n,i)}))}function le(t,e,n){return function(i,r,o){return t(i,r,(function(t){"function"===typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}te.prototype.listen=function(t){this.cb=t},te.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},te.prototype.onError=function(t){this.errorCbs.push(t)},te.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(s){throw this.errorCbs.forEach((function(t){t(s)})),s}var o=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach((function(t){t&&t(i,o)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(qt(t,It.redirected)&&o===m||(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)}))))}))},te.prototype.confirmTransition=function(t,e,n){var i=this,r=this.current;this.pending=t;var o=function(t){!qt(t)&&Ut(t)&&(i.errorCbs.length?i.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},s=t.matched.length-1,a=r.matched.length-1;if(y(t,r)&&s===a&&t.matched[s]===r.matched[a])return this.ensureURL(),t.hash&&St(this.router,r,t,!1),o(Ft(r,t));var c=ne(this.current.matched,t.matched),l=c.updated,u=c.deactivated,h=c.activated,d=[].concat(oe(u),this.router.beforeHooks,se(l),h.map((function(t){return t.beforeEnter})),Xt(h)),f=function(e,n){if(i.pending!==t)return o(Bt(r,t));try{e(t,r,(function(e){!1===e?(i.ensureURL(!0),o(zt(r,t))):Ut(e)?(i.ensureURL(!0),o(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(o(Nt(r,t)),"object"===typeof e&&e.replace?i.replace(e):i.push(e)):n(e)}))}catch(s){o(s)}};Yt(d,f,(function(){var n=ce(h),s=n.concat(i.router.resolveHooks);Yt(s,f,(function(){if(i.pending!==t)return o(Bt(r,t));i.pending=null,e(t),i.router.app&&i.router.app.$nextTick((function(){S(t)}))}))}))},te.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},te.prototype.setupListeners=function(){},te.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var ue=function(t){function e(e,n){t.call(this,e,n),this._startLocation=he(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Lt&&n;i&&this.listeners.push(wt());var r=function(){var n=t.current,r=he(t.base);t.current===m&&r===t._startLocation||t.transitionTo(r,(function(t){i&&St(e,t,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){jt(M(i.base+t.fullPath)),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){Rt(M(i.base+t.fullPath)),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=M(this.base+this.current.fullPath);t?jt(e):Rt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(te);function he(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(M(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var de=function(t){function e(e,n,i){t.call(this,e,n),i&&fe(this.base)||pe()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Lt&&n;i&&this.listeners.push(wt());var r=function(){var e=t.current;pe()&&t.transitionTo(ge(),(function(n){i&&St(t.router,n,e,!0),Lt||be(n.fullPath)}))},o=Lt?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){ve(t.fullPath),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){be(t.fullPath),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ge()!==e&&(t?ve(e):be(e))},e.prototype.getCurrentLocation=function(){return ge()},e}(te);function fe(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(M(t+"/#"+e)),!0}function pe(){var t=ge();return"/"===t.charAt(0)||(be("/"+t),!1)}function ge(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),i=n>=0?e.slice(0,n):e;return i+"#"+t}function ve(t){Lt?jt(me(t)):window.location.hash=t}function be(t){Lt?Rt(me(t)):window.location.replace(me(t))}var ye=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach((function(e){e&&e(i,t)}))}),(function(t){qt(t,It.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),_e=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ft(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Lt&&!1!==t.fallback,this.fallback&&(e="hash"),ct||(e="abstract"),this.mode=e,e){case"history":this.history=new ue(this,t.base);break;case"hash":this.history=new de(this,t.base,this.fallback);break;case"abstract":this.history=new ye(this,t.base);break;default:0}},xe={currentRoute:{configurable:!0}};_e.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},xe.currentRoute.get=function(){return this.history&&this.history.current},_e.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof ue||n instanceof de){var i=function(t){var i=n.current,r=e.options.scrollBehavior,o=Lt&&r;o&&"fullPath"in t&&St(e,t,i,!1)},r=function(t){n.setupListeners(),i(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},_e.prototype.beforeEach=function(t){return Se(this.beforeHooks,t)},_e.prototype.beforeResolve=function(t){return Se(this.resolveHooks,t)},_e.prototype.afterEach=function(t){return Se(this.afterHooks,t)},_e.prototype.onReady=function(t,e){this.history.onReady(t,e)},_e.prototype.onError=function(t){this.history.onError(t)},_e.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},_e.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},_e.prototype.go=function(t){this.history.go(t)},_e.prototype.back=function(){this.go(-1)},_e.prototype.forward=function(){this.go(1)},_e.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},_e.prototype.resolve=function(t,e,n){e=e||this.history.current;var i=Q(t,e,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath,s=this.history.base,a=ke(s,o,this.mode);return{location:i,route:r,href:a,normalizedTo:i,resolved:r}},_e.prototype.getRoutes=function(){return this.matcher.getRoutes()},_e.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},_e.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(_e.prototype,xe);var we=_e;function Se(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function ke(t,e,n){var i="hash"===n?"#"+e:e;return t?M(t+"/"+i):i}_e.install=at,_e.version="3.6.5",_e.isNavigationFailure=qt,_e.NavigationFailureType=It,_e.START_LOCATION=m,ct&&window.Vue&&window.Vue.use(_e)},"8df4":function(t,e,n){"use strict";var i=n("7a77");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,i=n._listeners.length;for(e=0;e<i;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,i=new Promise((function(t){n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},r.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},"8e5f":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=60)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var i=n(49)("wks"),r=n(30),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},function(t,e,n){var i=n(5);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(0),r=n(10),o=n(8),s=n(6),a=n(11),c=function(t,e,n){var l,u,h,d,f=t&c.F,p=t&c.G,g=t&c.S,m=t&c.P,v=t&c.B,b=p?i:g?i[e]||(i[e]={}):(i[e]||{}).prototype,y=p?r:r[e]||(r[e]={}),_=y.prototype||(y.prototype={});for(l in p&&(n=e),n)u=!f&&b&&void 0!==b[l],h=(u?b:n)[l],d=v&&u?a(h,i):m&&"function"==typeof h?a(Function.call,h):h,b&&s(b,l,h,t&c.U),y[l]!=h&&o(y,l,d),m&&_[l]!=h&&(_[l]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(0),r=n(8),o=n(12),s=n(30)("src"),a=Function.toString,c=(""+a).split("toString");n(10).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(o(n,s)||r(n,s,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:a?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[s]||a.call(this)}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(13),r=n(25);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(14);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(2),r=n(41),o=n(29),s=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){"use strict";var i=n(7);t.exports=function(t,e){return!!t&&i((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var i=n(23),r=n(16);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(53),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(11),r=n(23),o=n(28),s=n(19),a=n(64);t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,h=6==t,d=5==t||h,f=e||a;return function(e,a,p){for(var g,m,v=o(e),b=r(v),y=i(a,p,3),_=s(b.length),x=0,w=n?f(e,_):c?f(e,0):void 0;_>x;x++)if((d||x in b)&&(g=b[x],m=y(g,x,v),t))if(n)w[x]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:w.push(g)}else if(u)return!1;return h?-1:l||u?u:w}}},function(t,e,n){var i=n(5),r=n(0).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(9);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(13).f,r=n(12),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(49)("keys"),r=n(30);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(5);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){"use strict";var i=n(0),r=n(12),o=n(9),s=n(67),a=n(29),c=n(7),l=n(77).f,u=n(45).f,h=n(13).f,d=n(51).trim,f=i.Number,p=f,g=f.prototype,m="Number"==o(n(44)(g)),v="trim"in String.prototype,b=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():d(e,3);var n,i,r,o=e.charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var s,c=e.slice(2),l=0,u=c.length;l<u;l++)if((s=c.charCodeAt(l))<48||s>r)return NaN;return parseInt(c,i)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof f&&(m?c((function(){g.valueOf.call(n)})):"Number"!=o(n))?s(new p(b(e)),n,f):b(e)};for(var y,_=n(4)?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)r(p,y=_[x])&&!r(f,y)&&h(f,y,u(p,y));f.prototype=g,g.constructor=f,n(6)(i,"Number",f)}},function(t,e,n){"use strict";function i(t){return 0!==t&&(!(!Array.isArray(t)||0!==t.length)||!t)}function r(t){return function(){return!t.apply(void 0,arguments)}}function o(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}function s(t,e,n,i){return t.filter((function(t){return o(i(t,n),e)}))}function a(t){return t.filter((function(t){return!t.$isLabel}))}function c(t,e){return function(n){return n.reduce((function(n,i){return i[t]&&i[t].length?(n.push({$groupLabel:i[e],$isLabel:!0}),n.concat(i[t])):n}),[])}}function l(t,e,i,r,o){return function(a){return a.map((function(a){var c;if(!a[i])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var l=s(a[i],t,e,o);return l.length?(c={},n.i(p.a)(c,r,a[r]),n.i(p.a)(c,i,l),c):[]}))}}var u=n(59),h=n(54),d=(n.n(h),n(95)),f=(n.n(d),n(31)),p=(n.n(f),n(58)),g=n(91),m=(n.n(g),n(98)),v=(n.n(m),n(92)),b=(n.n(v),n(88)),y=(n.n(b),n(97)),_=(n.n(y),n(89)),x=(n.n(_),n(96)),w=(n.n(x),n(93)),S=(n.n(w),n(90)),k=(n.n(S),function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}});e.a={data:function(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},value:{type:null,default:function(){return[]}},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default:function(t,e){return i(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default:function(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1}},mounted:function(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue:function(){return this.value||0===this.value?Array.isArray(this.value)?this.value:[this.value]:[]},filteredOptions:function(){var t=this.search||"",e=t.toLowerCase().trim(),n=this.options.concat();return n=this.internalSearch?this.groupValues?this.filterAndFlat(n,e,this.label):s(n,e,this.label,this.customLabel):this.groupValues?c(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(r(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&("bottom"===this.tagPosition?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys:function(){var t=this;return this.trackBy?this.internalValue.map((function(e){return e[t.trackBy]})):this.internalValue},optionKeys:function(){var t=this;return(this.groupValues?this.flatAndStrip(this.options):this.options).map((function(e){return t.customLabel(e,t.label).toString().toLowerCase()}))},currentOptionLabel:function(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:function(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("input",this.multiple?[]:null))},search:function(){this.$emit("search-change",this.search,this.id)}},methods:{getValue:function(){return this.multiple?this.internalValue:0===this.internalValue.length?null:this.internalValue[0]},filterAndFlat:function(t,e,n){return k(l(e,n,this.groupValues,this.groupLabel,this.customLabel),c(this.groupValues,this.groupLabel))(t)},flatAndStrip:function(t){return k(c(this.groupValues,this.groupLabel),a)(t)},updateSearch:function(t){this.search=t},isExistingOption:function(t){return!!this.options&&this.optionKeys.indexOf(t)>-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:function(t){return!!t.$isDisabled},getOptionLabel:function(t){if(i(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;var e=this.customLabel(t,this.label);return i(e)?"":e},select:function(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.$emit("select",t,this.id),this.multiple?this.$emit("input",this.internalValue.concat([t]),this.id):this.$emit("input",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(t){var e=this,n=this.options.find((function(n){return n[e.groupLabel]===t.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var i=this.internalValue.filter((function(t){return-1===n[e.groupValues].indexOf(t)}));this.$emit("input",i,this.id)}else{var r=n[this.groupValues].filter((function(t){return!(e.isOptionDisabled(t)||e.isSelected(t))}));this.$emit("select",r,this.id),this.$emit("input",this.internalValue.concat(r),this.id)}},wholeGroupSelected:function(t){var e=this;return t[this.groupValues].every((function(t){return e.isSelected(t)||e.isOptionDisabled(t)}))},wholeGroupDisabled:function(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!t.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var i="object"===n.i(u.a)(t)?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.$emit("remove",t,this.id),this.multiple){var r=this.internalValue.slice(0,i).concat(this.internalValue.slice(i+1));this.$emit("input",r,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&e&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var t=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return t.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}}}},function(t,e,n){"use strict";var i=n(54),r=(n.n(i),n(31));n.n(r),e.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight:function(t,e){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var i=this.options.find((function(t){return t[n.groupLabel]===e.$groupLabel}));return i&&!this.wholeGroupDisabled(i)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(i)}]:"multiselect__option--disabled"},addPointerElement:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",e=t.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward:function(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward:function(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(t){this.pointer=t,this.pointerDirty=!0}}}},function(t,e,n){"use strict";var i=n(36),r=n(74),o=n(15),s=n(18);t.exports=n(72)(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var i=n(31),r=(n.n(i),n(32)),o=n(33);e.a={name:"vue-multiselect",mixins:[r.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var i=n(1)("unscopables"),r=Array.prototype;void 0==r[i]&&n(8)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){var i=n(18),r=n(19),o=n(85);t.exports=function(t){return function(e,n,s){var a,c=i(e),l=r(c.length),u=o(s,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var i=n(9),r=n(1)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){"use strict";var i=n(2);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},function(t,e,n){t.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(9);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=r(e),this.reject=r(n)}var r=n(14);t.exports.f=function(t){return new i(t)}},function(t,e,n){var i=n(2),r=n(76),o=n(22),s=n(27)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),i=o.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=i(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(79),r=n(25),o=n(18),s=n(29),a=n(12),c=n(41),l=Object.getOwnPropertyDescriptor;e.f=n(4)?l:function(t,e){if(t=o(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(a(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(12),r=n(18),o=n(37)(!1),s=n(27)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,l=[];for(n in a)n!=s&&i(a,n)&&l.push(n);for(;e.length>c;)i(a,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var i=n(46),r=n(22);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(2),r=n(5),o=n(43);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var i=n(10),r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(24)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var i=n(2),r=n(14),o=n(1)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},function(t,e,n){var i=n(3),r=n(16),o=n(7),s=n(84),a="["+s+"]",c="​",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),h=function(t,e,n){var r={},a=o((function(){return!!s[t]()||c[t]()!=c})),l=r[t]=a?e(d):s[t];n&&(r[n]=l),i(i.P+i.F*a,"String",r)},d=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=h},function(t,e,n){var i,r,o,s=n(11),a=n(68),c=n(40),l=n(21),u=n(0),h=u.process,d=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,g=u.Dispatch,m=0,v={},b=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){b.call(t.data)};d&&f||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++m]=function(){a("function"==typeof t?t:Function(t),e)},i(m),m},f=function(t){delete v[t]},"process"==n(9)(h)?i=function(t){h.nextTick(s(b,t,1))}:g&&g.now?i=function(t){g.now(s(b,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=y,i=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",y,!1)):i="onreadystatechange"in l("script")?function(t){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:d,clear:f}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){"use strict";var i=n(3),r=n(20)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(36)("find")},function(t,e,n){"use strict";var i,r,o,s,a=n(24),c=n(0),l=n(11),u=n(38),h=n(3),d=n(5),f=n(14),p=n(61),g=n(66),m=n(50),v=n(52).set,b=n(75)(),y=n(43),_=n(80),x=n(86),w=n(48),S=c.TypeError,k=c.process,C=k&&k.versions,O=C&&C.v8||"",E=c.Promise,P="process"==u(k),M=function(){},T=r=y.f,A=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(M,M)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==O.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),D=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},$=function(t,e){if(!t._n){t._n=!0;var n=t._c;b((function(){for(var i=t._v,r=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&R(t),t._h=1),!0===a?n=i:(u&&u.enter(),n=a(i),u&&(u.exit(),s=!0)),n===e.promise?l(S("Promise-chain cycle")):(o=D(n))?o.call(n,c,l):c(n)):l(i)}catch(t){u&&!s&&u.exit(),l(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&L(t)}))}},L=function(t){v.call(c,(function(){var e,n,i,r=t._v,o=j(t);if(o&&(e=_((function(){P?k.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)})),t._h=P||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){v.call(c,(function(){var e;P?k.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},I=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),$(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=D(t))?b((function(){var i={_w:n,_d:!1};try{e.call(t,l(N,i,1),l(I,i,1))}catch(t){I.call(i,t)}})):(n._v=t,n._s=1,$(n,!1))}catch(t){I.call({_w:n,_d:!1},t)}}};A||(E=function(t){p(this,E,"Promise","_h"),f(t),i.call(this);try{t(l(N,this,1),l(I,this,1))}catch(t){I.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(81)(E.prototype,{then:function(t,e){var n=T(m(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&$(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=l(N,t,1),this.reject=l(I,t,1)},y.f=T=function(t){return t===E||t===s?new o(t):r(t)}),h(h.G+h.W+h.F*!A,{Promise:E}),n(26)(E,"Promise"),n(83)("Promise"),s=n(10).Promise,h(h.S+h.F*!A,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(a||!A),"Promise",{resolve:function(t){return w(a&&this===s?E:this,t)}}),h(h.S+h.F*!(A&&n(73)((function(t){E.all(t).catch(M)}))),"Promise",{all:function(t){var e=this,n=T(e),i=n.resolve,r=n.reject,o=_((function(){var n=[],o=0,s=1;g(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--s||i(n))}),r)})),--s||i(n)}));return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=T(e),i=n.reject,r=_((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},function(t,e,n){"use strict";var i=n(3),r=n(10),o=n(0),s=n(50),a=n(48);i(i.P+i.R,"Promise",{finally:function(t){var e=s(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";function i(t){n(99)}var r=n(35),o=n(101),s=n(100),a=i,c=s(r.a,o.a,!1,a,null,null);e.a=c.exports},function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.a=i},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return(r="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)})(t)}e.a=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(34),r=(n.n(i),n(55)),o=(n.n(r),n(56)),s=(n.n(o),n(57)),a=n(32),c=n(33);n.d(e,"Multiselect",(function(){return s.a})),n.d(e,"multiselectMixin",(function(){return a.a})),n.d(e,"pointerMixin",(function(){return c.a})),e.default=s.a},function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var i=n(14),r=n(28),o=n(23),s=n(19);t.exports=function(t,e,n,a,c){i(e);var l=r(t),u=o(l),h=s(l.length),d=c?h-1:0,f=c?-1:1;if(n<2)for(;;){if(d in u){a=u[d],d+=f;break}if(d+=f,c?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;c?d>=0:h>d;d+=f)d in u&&(a=e(a,u[d],d,l));return a}},function(t,e,n){var i=n(5),r=n(42),o=n(1)("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var i=n(63);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){"use strict";var i=n(8),r=n(6),o=n(7),s=n(16),a=n(1);t.exports=function(t,e,n){var c=a(t),l=n(s,c,""[t]),u=l[0],h=l[1];o((function(){var e={};return e[c]=function(){return 7},7!=""[t](e)}))&&(r(String.prototype,t,u),i(RegExp.prototype,c,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}))}},function(t,e,n){var i=n(11),r=n(70),o=n(69),s=n(2),a=n(19),c=n(87),l={},u={};e=t.exports=function(t,e,n,h,d){var f,p,g,m,v=d?function(){return t}:c(t),b=i(n,h,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=a(t.length);f>y;y++)if((m=e?b(s(p=t[y])[0],p[1]):b(t[y]))===l||m===u)return m}else for(g=v.call(t);!(p=g.next()).done;)if((m=r(g,b,p.value,e))===l||m===u)return m};e.BREAK=l,e.RETURN=u},function(t,e,n){var i=n(5),r=n(82).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(15),r=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(2);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,n){"use strict";var i=n(44),r=n(25),o=n(26),s={};n(8)(s,n(1)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var i=n(24),r=n(3),o=n(6),s=n(8),a=n(15),c=n(71),l=n(26),u=n(78),h=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,n,p,g,m,v){c(n,e,p);var b,y,_,x=function(t){if(!d&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",S="values"==g,k=!1,C=t.prototype,O=C[h]||C["@@iterator"]||g&&C[g],E=O||x(g),P=g?S?x("entries"):E:void 0,M="Array"==e&&C.entries||O;if(M&&(_=u(M.call(new t)))!==Object.prototype&&_.next&&(l(_,w,!0),i||"function"==typeof _[h]||s(_,h,f)),S&&O&&"values"!==O.name&&(k=!0,E=function(){return O.call(this)}),i&&!v||!d&&!k&&C[h]||s(C,h,E),a[e]=E,a[w]=f,g)if(b={values:S?E:x("values"),keys:m?E:x("keys"),entries:P},v)for(y in b)y in C||o(C,y,b[y]);else r(r.P+r.F*(d||k),e,b);return b}},function(t,e,n){var i=n(1)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var i=n(0),r=n(52).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,c="process"==n(9)(s);t.exports=function(){var t,e,n,l=function(){var i,r;for(c&&(i=s.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){s.nextTick(l)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(l)}}else n=function(){r.call(i,l)};else{var h=!0,d=document.createTextNode("");new o(l).observe(d,{characterData:!0}),n=function(){d.data=h=!h}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},function(t,e,n){var i=n(13),r=n(2),o=n(47);t.exports=n(4)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),a=s.length,c=0;a>c;)i.f(t,n=s[c++],e[n]);return t}},function(t,e,n){var i=n(46),r=n(22).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(12),r=n(28),o=n(27)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var i=n(6);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,n){var i=n(5),r=n(2),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n(11)(Function.call,n(45).f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){"use strict";var i=n(0),r=n(13),o=n(4),s=n(1)("species");t.exports=function(t){var e=i[t];o&&e&&!e[s]&&r.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,e,n){var i=n(53),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(0),r=i.navigator;t.exports=r&&r.userAgent||""},function(t,e,n){var i=n(38),r=n(1)("iterator"),o=n(15);t.exports=n(10).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){"use strict";var i=n(3),r=n(20)(2);i(i.P+i.F*!n(17)([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(3),r=n(37)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!n(17)(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},function(t,e,n){var i=n(3);i(i.S,"Array",{isArray:n(42)})},function(t,e,n){"use strict";var i=n(3),r=n(20)(1);i(i.P+i.F*!n(17)([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},function(t,e,n){"use strict";var i=n(3),r=n(62);i(i.P+i.F*!n(17)([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){var i=Date.prototype,r=i.toString,o=i.getTime;new Date(NaN)+""!="Invalid Date"&&n(6)(i,"toString",(function(){var t=o.call(this);return t===t?r.call(this):"Invalid Date"}))},function(t,e,n){n(4)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(39)})},function(t,e,n){n(65)("search",1,(function(t,e,n){return[function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},n]}))},function(t,e,n){"use strict";n(94);var i=n(2),r=n(39),o=n(4),s=/./.toString,a=function(t){n(6)(RegExp.prototype,"toString",t,!0)};n(7)((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?a((function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)})):"toString"!=s.name&&a((function(){return s.call(this)}))},function(t,e,n){"use strict";n(51)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){for(var i=n(34),r=n(47),o=n(6),s=n(0),a=n(8),c=n(15),l=n(1),u=l("iterator"),h=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),g=0;g<p.length;g++){var m,v=p[g],b=f[v],y=s[v],_=y&&y.prototype;if(_&&(_[u]||a(_,u,d),_[h]||a(_,h,v),c[v]=d,b))for(m in i)_[m]||o(_,m,i[m],!0)}},function(t,e){},function(t,e){t.exports=function(t,e,n,i,r,o){var s,a=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(s=t,a=t.default);var l,u="function"==typeof a?a.options:a;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=i),l){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=l,u.render=function(t,e){return l.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:s,exports:a,options:u}}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"multiselect",class:{"multiselect--active":t.isOpen,"multiselect--disabled":t.disabled,"multiselect--above":t.isAbove},attrs:{tabindex:t.searchable?-1:t.tabindex},on:{focus:function(e){t.activate()},blur:function(e){!t.searchable&&t.deactivate()},keydown:[function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?e.target!==e.currentTarget?null:(e.preventDefault(),void t.pointerForward()):null},function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?e.target!==e.currentTarget?null:(e.preventDefault(),void t.pointerBackward()):null}],keypress:function(e){return!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:(e.stopPropagation(),e.target!==e.currentTarget?null:void t.addPointerElement(e))},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,"Escape"))return null;t.deactivate()}}},[t._t("caret",[n("div",{staticClass:"multiselect__select",on:{mousedown:function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}}})],{toggle:t.toggle}),t._v(" "),t._t("clear",null,{search:t.search}),t._v(" "),n("div",{ref:"tags",staticClass:"multiselect__tags"},[t._t("selection",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visibleValues.length>0,expression:"visibleValues.length > 0"}],staticClass:"multiselect__tags-wrap"},[t._l(t.visibleValues,(function(e,i){return[t._t("tag",[n("span",{key:i,staticClass:"multiselect__tag"},[n("span",{domProps:{textContent:t._s(t.getOptionLabel(e))}}),t._v(" "),n("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"1"},on:{keypress:function(n){if(!("button"in n)&&t._k(n.keyCode,"enter",13,n.key,"Enter"))return null;n.preventDefault(),t.removeElement(e)},mousedown:function(n){n.preventDefault(),t.removeElement(e)}}})])],{option:e,search:t.search,remove:t.removeElement})]}))],2),t._v(" "),t.internalValue&&t.internalValue.length>t.limit?[t._t("limit",[n("strong",{staticClass:"multiselect__strong",domProps:{textContent:t._s(t.limitText(t.internalValue.length-t.limit))}})])]:t._e()],{search:t.search,remove:t.removeElement,values:t.visibleValues,isOpen:t.isOpen}),t._v(" "),n("transition",{attrs:{name:"multiselect__loading"}},[t._t("loading",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),t._v(" "),t.searchable?n("input",{ref:"search",staticClass:"multiselect__input",style:t.inputStyle,attrs:{name:t.name,id:t.id,type:"text",autocomplete:"nope",placeholder:t.placeholder,disabled:t.disabled,tabindex:t.tabindex},domProps:{value:t.search},on:{input:function(e){t.updateSearch(e.target.value)},focus:function(e){e.preventDefault(),t.activate()},blur:function(e){e.preventDefault(),t.deactivate()},keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,"Escape"))return null;t.deactivate()},keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault(),t.pointerForward()},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault(),t.pointerBackward()},function(e){if(!("button"in e)&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete"]))return null;e.stopPropagation(),t.removeLastElement()}],keypress:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.preventDefault(),e.stopPropagation(),e.target!==e.currentTarget?null:void t.addPointerElement(e)):null}}}):t._e(),t._v(" "),t.isSingleLabelVisible?n("span",{staticClass:"multiselect__single",on:{mousedown:function(e){return e.preventDefault(),t.toggle(e)}}},[t._t("singleLabel",[[t._v(t._s(t.currentOptionLabel))]],{option:t.singleValue})],2):t._e(),t._v(" "),t.isPlaceholderVisible?n("span",{staticClass:"multiselect__placeholder",on:{mousedown:function(e){return e.preventDefault(),t.toggle(e)}}},[t._t("placeholder",[t._v("\n          "+t._s(t.placeholder)+"\n        ")])],2):t._e()],2),t._v(" "),n("transition",{attrs:{name:"multiselect"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content-wrapper",style:{maxHeight:t.optimizedHeight+"px"},attrs:{tabindex:"-1"},on:{focus:t.activate,mousedown:function(t){t.preventDefault()}}},[n("ul",{staticClass:"multiselect__content",style:t.contentStyle},[t._t("beforeList"),t._v(" "),t.multiple&&t.max===t.internalValue.length?n("li",[n("span",{staticClass:"multiselect__option"},[t._t("maxElements",[t._v("Maximum of "+t._s(t.max)+" options selected. First remove a selected option to select another.")])],2)]):t._e(),t._v(" "),!t.max||t.internalValue.length<t.max?t._l(t.filteredOptions,(function(e,i){return n("li",{key:i,staticClass:"multiselect__element"},[e&&(e.$isLabel||e.$isDisabled)?t._e():n("span",{staticClass:"multiselect__option",class:t.optionHighlight(i,e),attrs:{"data-select":e&&e.isTag?t.tagPlaceholder:t.selectLabelText,"data-selected":t.selectedLabelText,"data-deselect":t.deselectLabelText},on:{click:function(n){n.stopPropagation(),t.select(e)},mouseenter:function(e){if(e.target!==e.currentTarget)return null;t.pointerSet(i)}}},[t._t("option",[n("span",[t._v(t._s(t.getOptionLabel(e)))])],{option:e,search:t.search})],2),t._v(" "),e&&(e.$isLabel||e.$isDisabled)?n("span",{staticClass:"multiselect__option",class:t.groupHighlight(i,e),attrs:{"data-select":t.groupSelect&&t.selectGroupLabelText,"data-deselect":t.groupSelect&&t.deselectGroupLabelText},on:{mouseenter:function(e){if(e.target!==e.currentTarget)return null;t.groupSelect&&t.pointerSet(i)},mousedown:function(n){n.preventDefault(),t.selectGroup(e)}}},[t._t("option",[n("span",[t._v(t._s(t.getOptionLabel(e)))])],{option:e,search:t.search})],2):t._e()])})):t._e(),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoResults&&0===t.filteredOptions.length&&t.search&&!t.loading,expression:"showNoResults && (filteredOptions.length === 0 && search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noResult",[t._v("No elements found. Consider changing the search query.")],{search:t.search})],2)]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:t.showNoOptions&&0===t.options.length&&!t.search&&!t.loading,expression:"showNoOptions && (options.length === 0 && !search && !loading)"}]},[n("span",{staticClass:"multiselect__option"},[t._t("noOptions",[t._v("List is empty.")])],2)]),t._v(" "),t._t("afterList")],2)])])],2)},r=[],o={render:i,staticRenderFns:r};e.a=o}])}))},"8ea1":function(t,e){var n="object"==typeof document&&document.all,i="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:i}},"90d8":function(t,e,n){var i=n("c65b"),r=n("1a2d"),o=n("3a9b"),s=n("ad6d"),a=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in a||r(t,"flags")||!o(a,t)?e:i(s,t)}},"90e3":function(t,e,n){var i=n("e330"),r=0,o=Math.random(),s=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++r+o,36)}},9112:function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var i=n("d039"),r=n("1626"),o=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==u||n!=l&&(r(e)?i(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";t.exports=s},"9bf2":function(t,e,n){var i=n("83ab"),r=n("0cfb"),o=n("aed9"),s=n("825a"),a=n("a04b"),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",f="writable";e.f=i?o?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&f in n&&!n[f]){var i=u(t,e);i&&i[f]&&(t[e]=n.value,n={configurable:d in n?n[d]:i[d],enumerable:h in n?n[h]:i[h],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=a(e),s(n),r)try{return l(t,e,n)}catch(i){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},a026:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Zi}));
/*!
 * Vue.js v2.7.14
 * (c) 2014-2022 Evan You
 * Released under the MIT License.
 */
var i=Object.freeze({}),r=Array.isArray;function o(t){return void 0===t||null===t}function s(t){return void 0!==t&&null!==t}function a(t){return!0===t}function c(t){return!1===t}function l(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function f(t){return"[object Object]"===d.call(t)}function p(t){return"[object RegExp]"===d.call(t)}function g(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return s(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===d?JSON.stringify(t,null,2):String(t)}function b(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var _=y("slot,component",!0),x=y("key,ref,slot,slot-scope,is");function w(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var S=Object.prototype.hasOwnProperty;function k(t,e){return S.call(t,e)}function C(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var O=/-(\w)/g,E=C((function(t){return t.replace(O,(function(t,e){return e?e.toUpperCase():""}))})),P=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),M=/\B([A-Z])/g,T=C((function(t){return t.replace(M,"-$1").toLowerCase()}));function A(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function D(t,e){return t.bind(e)}var $=Function.prototype.bind?D:A;function L(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function j(t,e){for(var n in e)t[n]=e[n];return t}function R(t){for(var e={},n=0;n<t.length;n++)t[n]&&j(e,t[n]);return e}function I(t,e,n){}var N=function(t,e,n){return!1},F=function(t){return t};function B(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}function z(t,e){if(t===e)return!0;var n=h(t),i=h(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return z(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return z(t[n],e[n])}))}catch(c){return!1}}function V(t,e){for(var n=0;n<t.length;n++)if(z(t[n],e))return n;return-1}function H(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function W(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var U="data-server-rendered",q=["component","directive","filter"],Y=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],X={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:I,parsePlatformTagName:F,mustUseProp:N,async:!0,_lifecycleHooks:Y},G=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function J(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var Z=new RegExp("[^".concat(G.source,".$_\\d]"));function Q(t){if(!Z.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var tt="__proto__"in{},et="undefined"!==typeof window,nt=et&&window.navigator.userAgent.toLowerCase(),it=nt&&/msie|trident/.test(nt),rt=nt&&nt.indexOf("msie 9.0")>0,ot=nt&&nt.indexOf("edge/")>0;nt&&nt.indexOf("android");var st=nt&&/iphone|ipad|ipod|ios/.test(nt);nt&&/chrome\/\d+/.test(nt),nt&&/phantomjs/.test(nt);var at,ct=nt&&nt.match(/firefox\/(\d+)/),lt={}.watch,ut=!1;if(et)try{var ht={};Object.defineProperty(ht,"passive",{get:function(){ut=!0}}),window.addEventListener("test-passive",null,ht)}catch(Ou){}var dt=function(){return void 0===at&&(at=!et&&"undefined"!==typeof t&&(t.process&&"server"===t.process.env.VUE_ENV)),at},ft=et&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pt(t){return"function"===typeof t&&/native code/.test(t.toString())}var gt,mt="undefined"!==typeof Symbol&&pt(Symbol)&&"undefined"!==typeof Reflect&&pt(Reflect.ownKeys);gt="undefined"!==typeof Set&&pt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var vt=null;function bt(t){void 0===t&&(t=null),t||vt&&vt._scope.off(),vt=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,i,r,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),_t=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function xt(t){return new yt(void 0,void 0,void 0,String(t))}function wt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var St=0,kt=[],Ct=function(){for(var t=0;t<kt.length;t++){var e=kt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}kt.length=0},Ot=function(){function t(){this._pending=!1,this.id=St++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,kt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,i=e.length;n<i;n++){var r=e[n];0,r.update()}},t}();Ot.target=null;var Et=[];function Pt(t){Et.push(t),Ot.target=t}function Mt(){Et.pop(),Ot.target=Et[Et.length-1]}var Tt=Array.prototype,At=Object.create(Tt),Dt=["push","pop","shift","unshift","splice","sort","reverse"];Dt.forEach((function(t){var e=Tt[t];J(At,t,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&s.observeArray(r),s.dep.notify(),o}))}));var $t=Object.getOwnPropertyNames(At),Lt={},jt=!0;function Rt(t){jt=t}var It={notify:I,depend:I,addSub:I,removeSub:I},Nt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?It:new Ot,this.vmCount=0,J(t,"__ob__",this),r(t)){if(!n)if(tt)t.__proto__=At;else for(var i=0,o=$t.length;i<o;i++){var s=$t[i];J(t,s,At[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(i=0;i<a.length;i++){s=a[i];Bt(t,s,Lt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ft(t[e],!1,this.mock)},t}();function Ft(t,e,n){return t&&k(t,"__ob__")&&t.__ob__ instanceof Nt?t.__ob__:!jt||!n&&dt()||!r(t)&&!f(t)||!Object.isExtensible(t)||t.__v_skip||Yt(t)||t instanceof yt?void 0:new Nt(t,e,n)}function Bt(t,e,n,i,o,s){var a=new Ot,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var l=c&&c.get,u=c&&c.set;l&&!u||n!==Lt&&2!==arguments.length||(n=t[e]);var h=!o&&Ft(n,!1,s);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=l?l.call(t):n;return Ot.target&&(a.depend(),h&&(h.dep.depend(),r(e)&&Ht(e))),Yt(e)&&!o?e.value:e},set:function(e){var i=l?l.call(t):n;if(W(i,e)){if(u)u.call(t,e);else{if(l)return;if(!o&&Yt(i)&&!Yt(e))return void(i.value=e);n=e}h=!o&&Ft(e,!1,s),a.notify()}}}),a}}function zt(t,e,n){if(!qt(t)){var i=t.__ob__;return r(t)&&g(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),i&&!i.shallow&&i.mock&&Ft(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||i&&i.vmCount?n:i?(Bt(i.value,e,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(t[e]=n,n)}}function Vt(t,e){if(r(t)&&g(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||qt(t)||k(t,e)&&(delete t[e],n&&n.dep.notify())}}function Ht(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Ht(e)}function Wt(t){return Ut(t,!0),J(t,"__v_isShallow",!0),t}function Ut(t,e){if(!qt(t)){Ft(t,e,dt());0}}function qt(t){return!(!t||!t.__v_isReadonly)}function Yt(t){return!(!t||!0!==t.__v_isRef)}function Xt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Yt(t))return t.value;var i=t&&t.__ob__;return i&&i.dep.depend(),t},set:function(t){var i=e[n];Yt(i)&&!Yt(t)?i.value=t:e[n]=t}})}var Gt=C((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function Kt(t,e){function n(){var t=n.fns;if(!r(t))return An(t,null,arguments,e,"v-on handler");for(var i=t.slice(),o=0;o<i.length;o++)An(i[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Jt(t,e,n,i,r,s){var c,l,u,h;for(c in t)l=t[c],u=e[c],h=Gt(c),o(l)||(o(u)?(o(l.fns)&&(l=t[c]=Kt(l,s)),a(h.once)&&(l=t[c]=r(h.name,l,h.capture)),n(h.name,l,h.capture,h.passive,h.params)):l!==u&&(u.fns=l,t[c]=u));for(c in e)o(t[c])&&(h=Gt(c),i(h.name,e[c],h.capture))}function Zt(t,e,n){var i;t instanceof yt&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function c(){n.apply(this,arguments),w(i.fns,c)}o(r)?i=Kt([c]):s(r.fns)&&a(r.merged)?(i=r,i.fns.push(c)):i=Kt([r,c]),i.merged=!0,t[e]=i}function Qt(t,e,n){var i=e.options.props;if(!o(i)){var r={},a=t.attrs,c=t.props;if(s(a)||s(c))for(var l in i){var u=T(l);te(r,c,l,u,!0)||te(r,a,l,u,!1)}return r}}function te(t,e,n,i,r){if(s(e)){if(k(e,n))return t[n]=e[n],r||delete e[n],!0;if(k(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function ee(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}function ne(t){return l(t)?[xt(t)]:r(t)?re(t):void 0}function ie(t){return s(t)&&s(t.text)&&c(t.isComment)}function re(t,e){var n,i,c,u,h=[];for(n=0;n<t.length;n++)i=t[n],o(i)||"boolean"===typeof i||(c=h.length-1,u=h[c],r(i)?i.length>0&&(i=re(i,"".concat(e||"","_").concat(n)),ie(i[0])&&ie(u)&&(h[c]=xt(u.text+i[0].text),i.shift()),h.push.apply(h,i)):l(i)?ie(u)?h[c]=xt(u.text+i):""!==i&&h.push(xt(i)):ie(i)&&ie(u)?h[c]=xt(u.text+i.text):(a(t._isVList)&&s(i.tag)&&o(i.key)&&s(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}var oe=1,se=2;function ae(t,e,n,i,o,s){return(r(n)||l(n))&&(o=i,i=n,n=void 0),a(s)&&(o=se),ce(t,e,n,i,o)}function ce(t,e,n,i,o){if(s(n)&&s(n.__ob__))return _t();if(s(n)&&s(n.is)&&(e=n.is),!e)return _t();var a,c;if(r(i)&&u(i[0])&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===se?i=ne(i):o===oe&&(i=ee(i)),"string"===typeof e){var l=void 0;c=t.$vnode&&t.$vnode.ns||X.getTagNamespace(e),a=X.isReservedTag(e)?new yt(X.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!s(l=Ui(t.$options,"components",e))?new yt(e,n,i,void 0,void 0,t):Pi(l,n,t,i,e)}else a=Pi(e,n,t,i);return r(a)?a:s(a)?(s(c)&&le(a,c),s(n)&&ue(n),a):_t()}function le(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),s(t.children))for(var i=0,r=t.children.length;i<r;i++){var c=t.children[i];s(c.tag)&&(o(c.ns)||a(n)&&"svg"!==c.tag)&&le(c,e,n)}}function ue(t){h(t.style)&&Xn(t.style),h(t.class)&&Xn(t.class)}function he(t,e){var n,i,o,a,c=null;if(r(t)||"string"===typeof t)for(c=new Array(t.length),n=0,i=t.length;n<i;n++)c[n]=e(t[n],n);else if("number"===typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(h(t))if(mt&&t[Symbol.iterator]){c=[];var l=t[Symbol.iterator](),u=l.next();while(!u.done)c.push(e(u.value,c.length)),u=l.next()}else for(o=Object.keys(t),c=new Array(o.length),n=0,i=o.length;n<i;n++)a=o[n],c[n]=e(t[a],a,n);return s(c)||(c=[]),c._isVList=!0,c}function de(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=j(j({},i),n)),r=o(n)||(u(e)?e():e)):r=this.$slots[t]||(u(e)?e():e);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},r):r}function fe(t){return Ui(this.$options,"filters",t,!0)||F}function pe(t,e){return r(t)?-1===t.indexOf(e):t!==e}function ge(t,e,n,i,r){var o=X.keyCodes[e]||n;return r&&i&&!X.keyCodes[e]?pe(r,i):o?pe(o,t):i?T(i)!==e:void 0===t}function me(t,e,n,i,o){if(n)if(h(n)){r(n)&&(n=R(n));var s=void 0,a=function(r){if("class"===r||"style"===r||x(r))s=t;else{var a=t.attrs&&t.attrs.type;s=i||X.mustUseProp(e,a,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=E(r),l=T(r);if(!(c in s)&&!(l in s)&&(s[r]=n[r],o)){var u=t.on||(t.on={});u["update:".concat(r)]=function(t){n[r]=t}}};for(var c in n)a(c)}return t}function ve(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),ye(i,"__static__".concat(t),!1)),i}function be(t,e,n){return ye(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function ye(t,e,n){if(r(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&_e(t[i],"".concat(e,"_").concat(i),n);else _e(t,e,n)}function _e(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function xe(t,e){if(e)if(f(e)){var n=t.on=t.on?j({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}return t}function we(t,e,n,i){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var s=t[o];r(s)?we(s,e,n):s&&(s.proxy&&(s.fn.proxy=!0),e[s.key]=s.fn)}return i&&(e.$key=i),e}function Se(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function ke(t,e){return"string"===typeof t?e+t:t}function Ce(t){t._o=be,t._n=b,t._s=v,t._l=he,t._t=de,t._q=z,t._i=V,t._m=ve,t._f=fe,t._k=ge,t._b=me,t._v=xt,t._e=_t,t._u=we,t._g=xe,t._d=Se,t._p=ke}function Oe(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,c=n[a]||(n[a]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(Ee)&&delete n[l];return n}function Ee(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Pe(t){return t.isComment&&t.asyncFactory}function Me(t,e,n,r){var o,s=Object.keys(n).length>0,a=e?!!e.$stable:!s,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==i&&c===r.$key&&!s&&!r.$hasNormal)return r;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=Te(t,n,l,e[l]))}else o={};for(var u in n)u in o||(o[u]=Ae(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),J(o,"$stable",a),J(o,"$key",c),J(o,"$hasNormal",s),o}function Te(t,e,n,i){var o=function(){var e=vt;bt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:ne(n);var o=n&&n[0];return bt(e),n&&(!o||1===n.length&&o.isComment&&!Pe(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Ae(t,e){return function(){return t[e]}}function De(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=$e(t);bt(t),Pt();var r=An(n,null,[t._props||Wt({}),i],t,"setup");if(Mt(),bt(),u(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var s in r)"__sfc"!==s&&Xt(o,r,s)}else for(var s in r)K(s)||Xt(t,r,s);else 0}}function $e(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};J(e,"_v_attr_proxy",!0),Le(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Le(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return Re(t)},emit:$(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Xt(t,e,n)}))}}}function Le(t,e,n,i,r){var o=!1;for(var s in e)s in t?e[s]!==n[s]&&(o=!0):(o=!0,je(t,s,i,r));for(var s in t)s in e||(o=!0,delete t[s]);return o}function je(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function Re(t){return t._slotsProxy||Ie(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ie(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Ne(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=Oe(e._renderChildren,r),t.$scopedSlots=n?Me(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return ae(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return ae(t,e,n,i,r,!0)};var o=n&&n.data;Bt(t,"$attrs",o&&o.attrs||i,null,!0),Bt(t,"$listeners",e._parentListeners||i,null,!0)}var Fe,Be=null;function ze(t){Ce(t.prototype),t.prototype.$nextTick=function(t){return Hn(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,o=n._parentVnode;o&&e._isMounted&&(e.$scopedSlots=Me(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Ie(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;try{bt(e),Be=e,t=i.call(e._renderProxy,e.$createElement)}catch(Ou){Tn(Ou,e,"render"),t=e._vnode}finally{Be=null,bt()}return r(t)&&1===t.length&&(t=t[0]),t instanceof yt||(t=_t()),t.parent=o,t}}function Ve(t,e){return(t.__esModule||mt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function He(t,e,n,i,r){var o=_t();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}function We(t,e){if(a(t.error)&&s(t.errorComp))return t.errorComp;if(s(t.resolved))return t.resolved;var n=Be;if(n&&s(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),a(t.loading)&&s(t.loadingComp))return t.loadingComp;if(n&&!s(t.owners)){var i=t.owners=[n],r=!0,c=null,l=null;n.$on("hook:destroyed",(function(){return w(i,n)}));var u=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},d=H((function(n){t.resolved=Ve(n,e),r?i.length=0:u(!0)})),f=H((function(e){s(t.errorComp)&&(t.error=!0,u(!0))})),p=t(d,f);return h(p)&&(m(p)?o(t.resolved)&&p.then(d,f):m(p.component)&&(p.component.then(d,f),s(p.error)&&(t.errorComp=Ve(p.error,e)),s(p.loading)&&(t.loadingComp=Ve(p.loading,e),0===p.delay?t.loading=!0:c=setTimeout((function(){c=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,u(!1))}),p.delay||200)),s(p.timeout)&&(l=setTimeout((function(){l=null,o(t.resolved)&&f(null)}),p.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}function Ue(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(s(n)&&(s(n.componentOptions)||Pe(n)))return n}}function qe(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ke(t,e)}function Ye(t,e){Fe.$on(t,e)}function Xe(t,e){Fe.$off(t,e)}function Ge(t,e){var n=Fe;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function Ke(t,e,n){Fe=t,Jt(e,n||{},Ye,Xe,Ge,t),Fe=void 0}function Je(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(r(t))for(var o=0,s=t.length;o<s;o++)i.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return n}var s,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;var c=a.length;while(c--)if(s=a[c],s===e||s.fn===e){a.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?L(n):n;for(var i=L(arguments,1),r='event handler for "'.concat(t,'"'),o=0,s=n.length;o<s;o++)An(n[o],e,i,e,r)}return e}}var Ze=null;function Qe(t){var e=Ze;return Ze=t,function(){Ze=e}}function tn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function en(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=Qe(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);var s=n;while(s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode)s.$parent.$el=s.$el,s=s.$parent},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){cn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||w(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),cn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function nn(t,e,n){var i;t.$el=e,t.$options.render||(t.$options.render=_t),cn(t,"beforeMount"),i=function(){t._update(t._render(),n)};var r={before:function(){t._isMounted&&!t._isDestroyed&&cn(t,"beforeUpdate")}};new Jn(t,i,I,r,!0),n=!1;var o=t._preWatchers;if(o)for(var s=0;s<o.length;s++)o[s].run();return null==t.$vnode&&(t._isMounted=!0,cn(t,"mounted")),t}function rn(t,e,n,r,o){var s=r.data.scopedSlots,a=t.$scopedSlots,c=!!(s&&!s.$stable||a!==i&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key||!s&&t.$scopedSlots.$key),l=!!(o||t.$options._renderChildren||c),u=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var h=r.data.attrs||i;t._attrsProxy&&Le(t._attrsProxy,h,u.data&&u.data.attrs||i,t,"$attrs")&&(l=!0),t.$attrs=h,n=n||i;var d=t.$options._parentListeners;if(t._listenersProxy&&Le(t._listenersProxy,n,d||i,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,Ke(t,n,d),e&&t.$options.props){Rt(!1);for(var f=t._props,p=t.$options._propKeys||[],g=0;g<p.length;g++){var m=p[g],v=t.$options.props;f[m]=qi(m,v,e,t)}Rt(!0),t.$options.propsData=e}l&&(t.$slots=Oe(o,r.context),t.$forceUpdate())}function on(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function sn(t,e){if(e){if(t._directInactive=!1,on(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)sn(t.$children[n]);cn(t,"activated")}}function an(t,e){if((!e||(t._directInactive=!0,!on(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)an(t.$children[n]);cn(t,"deactivated")}}function cn(t,e,n,i){void 0===i&&(i=!0),Pt();var r=vt;i&&bt(t);var o=t.$options[e],s="".concat(e," hook");if(o)for(var a=0,c=o.length;a<c;a++)An(o[a],t,n||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),i&&bt(r),Mt()}var ln=[],un=[],hn={},dn=!1,fn=!1,pn=0;function gn(){pn=ln.length=un.length=0,hn={},dn=fn=!1}var mn=0,vn=Date.now;if(et&&!it){var bn=window.performance;bn&&"function"===typeof bn.now&&vn()>document.createEvent("Event").timeStamp&&(vn=function(){return bn.now()})}var yn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function _n(){var t,e;for(mn=vn(),fn=!0,ln.sort(yn),pn=0;pn<ln.length;pn++)t=ln[pn],t.before&&t.before(),e=t.id,hn[e]=null,t.run();var n=un.slice(),i=ln.slice();gn(),Sn(n),xn(i),Ct(),ft&&X.devtools&&ft.emit("flush")}function xn(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&cn(i,"updated")}}function wn(t){t._inactive=!1,un.push(t)}function Sn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,sn(t[e],!0)}function kn(t){var e=t.id;if(null==hn[e]&&(t!==Ot.target||!t.noRecurse)){if(hn[e]=!0,fn){var n=ln.length-1;while(n>pn&&ln[n].id>t.id)n--;ln.splice(n+1,0,t)}else ln.push(t);dn||(dn=!0,Hn(_n))}}var Cn="watcher";"".concat(Cn," callback"),"".concat(Cn," getter"),"".concat(Cn," cleanup");var On;var En=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=On,!t&&On&&(this.index=(On.scopes||(On.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=On;try{return On=this,t()}finally{On=e}}else 0},t.prototype.on=function(){On=this},t.prototype.off=function(){On=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Pn(t,e){void 0===e&&(e=On),e&&e.active&&e.effects.push(t)}function Mn(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function Tn(t,e,n){Pt();try{if(e){var i=e;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{var s=!1===r[o].call(i,t,e,n);if(s)return}catch(Ou){Dn(Ou,i,"errorCaptured hook")}}}Dn(t,e,n)}finally{Mt()}}function An(t,e,n,i,r){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return Tn(t,i,r+" (Promise/async)")})),o._handled=!0)}catch(Ou){Tn(Ou,i,r)}return o}function Dn(t,e,n){if(X.errorHandler)try{return X.errorHandler.call(null,t,e,n)}catch(Ou){Ou!==t&&$n(Ou,null,"config.errorHandler")}$n(t,e,n)}function $n(t,e,n){if(!et||"undefined"===typeof console)throw t;console.error(t)}var Ln,jn=!1,Rn=[],In=!1;function Nn(){In=!1;var t=Rn.slice(0);Rn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&pt(Promise)){var Fn=Promise.resolve();Ln=function(){Fn.then(Nn),st&&setTimeout(I)},jn=!0}else if(it||"undefined"===typeof MutationObserver||!pt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ln="undefined"!==typeof setImmediate&&pt(setImmediate)?function(){setImmediate(Nn)}:function(){setTimeout(Nn,0)};else{var Bn=1,zn=new MutationObserver(Nn),Vn=document.createTextNode(String(Bn));zn.observe(Vn,{characterData:!0}),Ln=function(){Bn=(Bn+1)%2,Vn.data=String(Bn)},jn=!0}function Hn(t,e){var n;if(Rn.push((function(){if(t)try{t.call(e)}catch(Ou){Tn(Ou,e,"nextTick")}else n&&n(e)})),In||(In=!0,Ln()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function Wn(t){return function(e,n){if(void 0===n&&(n=vt),n)return Un(n,t,e)}}function Un(t,e,n){var i=t.$options;i[e]=Ii(i[e],n)}Wn("beforeMount"),Wn("mounted"),Wn("beforeUpdate"),Wn("updated"),Wn("beforeDestroy"),Wn("destroyed"),Wn("activated"),Wn("deactivated"),Wn("serverPrefetch"),Wn("renderTracked"),Wn("renderTriggered"),Wn("errorCaptured");var qn="2.7.14";var Yn=new gt;function Xn(t){return Gn(t,Yn),Yn.clear(),t}function Gn(t,e){var n,i,o=r(t);if(!(!o&&!h(t)||t.__v_skip||Object.isFrozen(t)||t instanceof yt)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(o){n=t.length;while(n--)Gn(t[n],e)}else if(Yt(t))Gn(t.value,e);else{i=Object.keys(t),n=i.length;while(n--)Gn(t[i[n]],e)}}}var Kn=0,Jn=function(){function t(t,e,n,i,r){Pn(this,On&&!On._vm?On:t?t._scope:void 0),(this.vm=t)&&r&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Kn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new gt,this.newDepIds=new gt,this.expression="",u(e)?this.getter=e:(this.getter=Q(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Ou){if(!this.user)throw Ou;Tn(Ou,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Xn(t),Mt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():kn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');An(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&w(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}(),Zn={enumerable:!0,configurable:!0,get:I,set:I};function Qn(t,e,n){Zn.get=function(){return this[e][n]},Zn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Zn)}function ti(t){var e=t.$options;if(e.props&&ei(t,e.props),De(t),e.methods&&li(t,e.methods),e.data)ni(t);else{var n=Ft(t._data={});n&&n.vmCount++}e.computed&&oi(t,e.computed),e.watch&&e.watch!==lt&&ui(t,e.watch)}function ei(t,e){var n=t.$options.propsData||{},i=t._props=Wt({}),r=t.$options._propKeys=[],o=!t.$parent;o||Rt(!1);var s=function(o){r.push(o);var s=qi(o,e,n,t);Bt(i,o,s),o in t||Qn(t,"_props",o)};for(var a in e)s(a);Rt(!0)}function ni(t){var e=t.$options.data;e=t._data=u(e)?ii(e,t):e||{},f(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var o=n[r];0,i&&k(i,o)||K(o)||Qn(t,"_data",o)}var s=Ft(e);s&&s.vmCount++}function ii(t,e){Pt();try{return t.call(e,e)}catch(Ou){return Tn(Ou,e,"data()"),{}}finally{Mt()}}var ri={lazy:!0};function oi(t,e){var n=t._computedWatchers=Object.create(null),i=dt();for(var r in e){var o=e[r],s=u(o)?o:o.get;0,i||(n[r]=new Jn(t,s||I,I,ri)),r in t||si(t,r,o)}}function si(t,e,n){var i=!dt();u(n)?(Zn.get=i?ai(e):ci(n),Zn.set=I):(Zn.get=n.get?i&&!1!==n.cache?ai(e):ci(n.get):I,Zn.set=n.set||I),Object.defineProperty(t,e,Zn)}function ai(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ot.target&&e.depend(),e.value}}function ci(t){return function(){return t.call(this,this)}}function li(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:$(e[n],t)}function ui(t,e){for(var n in e){var i=e[n];if(r(i))for(var o=0;o<i.length;o++)hi(t,n,i[o]);else hi(t,n,i)}}function hi(t,e,n,i){return f(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function di(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=zt,t.prototype.$delete=Vt,t.prototype.$watch=function(t,e,n){var i=this;if(f(e))return hi(i,t,e,n);n=n||{},n.user=!0;var r=new Jn(i,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(r.expression,'"');Pt(),An(e,i,[r.value],i,o),Mt()}return function(){r.teardown()}}}function fi(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!h(n))return;for(var i=Mn(t),r=mt?Reflect.ownKeys(n):Object.keys(n),o=0;o<r.length;o++){var s=r[o];Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(n,s))}}}function pi(t){var e=gi(t.$options.inject,t);e&&(Rt(!1),Object.keys(e).forEach((function(n){Bt(t,n,e[n])})),Rt(!0))}function gi(t,e){if(t){for(var n=Object.create(null),i=mt?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var s=t[o].from;if(s in e._provided)n[o]=e._provided[s];else if("default"in t[o]){var a=t[o].default;n[o]=u(a)?a.call(e):a}else 0}}return n}}var mi=0;function vi(t){t.prototype._init=function(t){var e=this;e._uid=mi++,e._isVue=!0,e.__v_skip=!0,e._scope=new En(!0),e._scope._vm=!0,t&&t._isComponent?bi(e,t):e.$options=Wi(yi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,tn(e),qe(e),Ne(e),cn(e,"beforeCreate",void 0,!1),pi(e),ti(e),fi(e),cn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function bi(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function yi(t){var e=t.options;if(t.super){var n=yi(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var r=_i(t);r&&j(t.extendOptions,r),e=t.options=Wi(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function _i(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}function xi(t,e,n,o,s){var c,l=this,u=s.options;k(o,"_uid")?(c=Object.create(o),c._original=o):(c=o,o=o._original);var h=a(u._compiled),d=!h;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||i,this.injections=gi(u.inject,o),this.slots=function(){return l.$slots||Me(o,t.scopedSlots,l.$slots=Oe(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Me(o,t.scopedSlots,this.slots())}}),h&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Me(o,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,i){var s=ae(c,t,e,n,i,d);return s&&!r(s)&&(s.fnScopeId=u._scopeId,s.fnContext=o),s}:this._c=function(t,e,n,i){return ae(c,t,e,n,i,d)}}function wi(t,e,n,o,a){var c=t.options,l={},u=c.props;if(s(u))for(var h in u)l[h]=qi(h,u,e||i);else s(n.attrs)&&ki(l,n.attrs),s(n.props)&&ki(l,n.props);var d=new xi(n,l,a,o,t),f=c.render.call(null,d._c,d);if(f instanceof yt)return Si(f,n,d.parent,c,d);if(r(f)){for(var p=ne(f)||[],g=new Array(p.length),m=0;m<p.length;m++)g[m]=Si(p[m],n,d.parent,c,d);return g}}function Si(t,e,n,i,r){var o=wt(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function ki(t,e){for(var n in e)t[E(n)]=e[n]}function Ci(t){return t.name||t.__name||t._componentTag}Ce(xi.prototype);var Oi={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Oi.prepatch(n,n)}else{var i=t.componentInstance=Mi(t,Ze);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;rn(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,cn(n,"mounted")),t.data.keepAlive&&(e._isMounted?wn(n):sn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?an(e,!0):e.$destroy())}},Ei=Object.keys(Oi);function Pi(t,e,n,i,r){if(!o(t)){var c=n.$options._base;if(h(t)&&(t=c.extend(t)),"function"===typeof t){var l;if(o(t.cid)&&(l=t,t=We(l,c),void 0===t))return He(l,e,n,i,r);e=e||{},yi(t),s(e.model)&&Di(t.options,e);var u=Qt(e,t,r);if(a(t.options.functional))return wi(t,u,e,n,i);var d=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}Ti(e);var p=Ci(t.options)||r,g=new yt("vue-component-".concat(t.cid).concat(p?"-".concat(p):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:u,listeners:d,tag:r,children:i},l);return g}}}function Mi(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return s(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function Ti(t){for(var e=t.hook||(t.hook={}),n=0;n<Ei.length;n++){var i=Ei[n],r=e[i],o=Oi[i];r===o||r&&r._merged||(e[i]=r?Ai(o,r):o)}}function Ai(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function Di(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[i],c=e.model.callback;s(a)?(r(a)?-1===a.indexOf(c):a!==c)&&(o[i]=[c].concat(a)):o[i]=c}var $i=I,Li=X.optionMergeStrategies;function ji(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var i,r,o,s=mt?Reflect.ownKeys(e):Object.keys(e),a=0;a<s.length;a++)i=s[a],"__ob__"!==i&&(r=t[i],o=e[i],n&&k(t,i)?r!==o&&f(r)&&f(o)&&ji(r,o):zt(t,i,o));return t}function Ri(t,e,n){return n?function(){var i=u(e)?e.call(n,n):e,r=u(t)?t.call(n,n):t;return i?ji(i,r):r}:e?t?function(){return ji(u(e)?e.call(this,this):e,u(t)?t.call(this,this):t)}:e:t}function Ii(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?Ni(n):n}function Ni(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Fi(t,e,n,i){var r=Object.create(t||null);return e?j(r,e):r}Li.data=function(t,e,n){return n?Ri(t,e,n):e&&"function"!==typeof e?t:Ri(t,e)},Y.forEach((function(t){Li[t]=Ii})),q.forEach((function(t){Li[t+"s"]=Fi})),Li.watch=function(t,e,n,i){if(t===lt&&(t=void 0),e===lt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var s in j(o,t),e){var a=o[s],c=e[s];a&&!r(a)&&(a=[a]),o[s]=a?a.concat(c):r(c)?c:[c]}return o},Li.props=Li.methods=Li.inject=Li.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return j(r,t),e&&j(r,e),r},Li.provide=function(t,e){return t?function(){var n=Object.create(null);return ji(n,u(t)?t.call(this):t),e&&ji(n,u(e)?e.call(this):e,!1),n}:e};var Bi=function(t,e){return void 0===e?t:e};function zi(t,e){var n=t.props;if(n){var i,o,s,a={};if(r(n)){i=n.length;while(i--)o=n[i],"string"===typeof o&&(s=E(o),a[s]={type:null})}else if(f(n))for(var c in n)o=n[c],s=E(c),a[s]=f(o)?o:{type:o};else 0;t.props=a}}function Vi(t,e){var n=t.inject;if(n){var i=t.inject={};if(r(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(f(n))for(var s in n){var a=n[s];i[s]=f(a)?j({from:s},a):{from:a}}else 0}}function Hi(t){var e=t.directives;if(e)for(var n in e){var i=e[n];u(i)&&(e[n]={bind:i,update:i})}}function Wi(t,e,n){if(u(e)&&(e=e.options),zi(e,n),Vi(e,n),Hi(e),!e._base&&(e.extends&&(t=Wi(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=Wi(t,e.mixins[i],n);var o,s={};for(o in t)a(o);for(o in e)k(t,o)||a(o);function a(i){var r=Li[i]||Bi;s[i]=r(t[i],e[i],n,i)}return s}function Ui(t,e,n,i){if("string"===typeof n){var r=t[e];if(k(r,n))return r[n];var o=E(n);if(k(r,o))return r[o];var s=P(o);if(k(r,s))return r[s];var a=r[n]||r[o]||r[s];return a}}function qi(t,e,n,i){var r=e[t],o=!k(n,t),s=n[t],a=Ji(Boolean,r.type);if(a>-1)if(o&&!k(r,"default"))s=!1;else if(""===s||s===T(t)){var c=Ji(String,r.type);(c<0||a<c)&&(s=!0)}if(void 0===s){s=Yi(i,r,t);var l=jt;Rt(!0),Ft(s),Rt(l)}return s}function Yi(t,e,n){if(k(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:u(i)&&"Function"!==Gi(e.type)?i.call(t):i}}var Xi=/^\s*function (\w+)/;function Gi(t){var e=t&&t.toString().match(Xi);return e?e[1]:""}function Ki(t,e){return Gi(t)===Gi(e)}function Ji(t,e){if(!r(e))return Ki(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Ki(e[n],t))return n;return-1}function Zi(t){this._init(t)}function Qi(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=L(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function tr(t){t.mixin=function(t){return this.options=Wi(this.options,t),this}}function er(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=Ci(t)||Ci(n.options);var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Wi(n.options,t),s["super"]=n,s.options.props&&nr(s),s.options.computed&&ir(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,q.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=j({},s.options),r[i]=s,s}}function nr(t){var e=t.options.props;for(var n in e)Qn(t.prototype,"_props",n)}function ir(t){var e=t.options.computed;for(var n in e)si(t.prototype,n,e[n])}function rr(t){q.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function or(t){return t&&(Ci(t.Ctor.options)||t.tag)}function sr(t,e){return r(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function ar(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var s=n[o];if(s){var a=s.name;a&&!e(a)&&cr(n,o,i,r)}}}function cr(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,w(n,e)}vi(Zi),di(Zi),Je(Zi),en(Zi),ze(Zi);var lr=[String,RegExp,Array],ur={name:"keep-alive",abstract:!0,props:{include:lr,exclude:lr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,s=i.componentInstance,a=i.componentOptions;e[r]={name:or(a),tag:o,componentInstance:s},n.push(r),this.max&&n.length>parseInt(this.max)&&cr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)cr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ar(t,(function(t){return sr(e,t)}))})),this.$watch("exclude",(function(e){ar(t,(function(t){return!sr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ue(t),n=e&&e.componentOptions;if(n){var i=or(n),r=this,o=r.include,s=r.exclude;if(o&&(!i||!sr(o,i))||s&&i&&sr(s,i))return e;var a=this,c=a.cache,l=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,w(l,u),l.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},hr={KeepAlive:ur};function dr(t){var e={get:function(){return X}};Object.defineProperty(t,"config",e),t.util={warn:$i,extend:j,mergeOptions:Wi,defineReactive:Bt},t.set=zt,t.delete=Vt,t.nextTick=Hn,t.observable=function(t){return Ft(t),t},t.options=Object.create(null),q.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,hr),Qi(t),tr(t),er(t),rr(t)}dr(Zi),Object.defineProperty(Zi.prototype,"$isServer",{get:dt}),Object.defineProperty(Zi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Zi,"FunctionalRenderContext",{value:xi}),Zi.version=qn;var fr=y("style,class"),pr=y("input,textarea,option,select,progress"),gr=function(t,e,n){return"value"===n&&pr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},mr=y("contenteditable,draggable,spellcheck"),vr=y("events,caret,typing,plaintext-only"),br=function(t,e){return Sr(e)||"false"===e?"false":"contenteditable"===t&&vr(e)?e:"true"},yr=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),_r="http://www.w3.org/1999/xlink",xr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},wr=function(t){return xr(t)?t.slice(6,t.length):""},Sr=function(t){return null==t||!1===t};function kr(t){var e=t.data,n=t,i=t;while(s(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Cr(i.data,e));while(s(n=n.parent))n&&n.data&&(e=Cr(e,n.data));return Or(e.staticClass,e.class)}function Cr(t,e){return{staticClass:Er(t.staticClass,e.staticClass),class:s(t.class)?[t.class,e.class]:e.class}}function Or(t,e){return s(t)||s(e)?Er(t,Pr(e)):""}function Er(t,e){return t?e?t+" "+e:t:e||""}function Pr(t){return Array.isArray(t)?Mr(t):h(t)?Tr(t):"string"===typeof t?t:""}function Mr(t){for(var e,n="",i=0,r=t.length;i<r;i++)s(e=Pr(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Tr(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Ar={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Dr=y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),$r=y("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Lr=function(t){return"pre"===t},jr=function(t){return Dr(t)||$r(t)};function Rr(t){return $r(t)?"svg":"math"===t?"math":void 0}var Ir=Object.create(null);function Nr(t){if(!et)return!0;if(jr(t))return!1;if(t=t.toLowerCase(),null!=Ir[t])return Ir[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ir[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ir[t]=/HTMLUnknownElement/.test(e.toString())}var Fr=y("text,number,password,search,email,tel,url");function Br(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function zr(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Vr(t,e){return document.createElementNS(Ar[t],e)}function Hr(t){return document.createTextNode(t)}function Wr(t){return document.createComment(t)}function Ur(t,e,n){t.insertBefore(e,n)}function qr(t,e){t.removeChild(e)}function Yr(t,e){t.appendChild(e)}function Xr(t){return t.parentNode}function Gr(t){return t.nextSibling}function Kr(t){return t.tagName}function Jr(t,e){t.textContent=e}function Zr(t,e){t.setAttribute(e,"")}var Qr=Object.freeze({__proto__:null,createElement:zr,createElementNS:Vr,createTextNode:Hr,createComment:Wr,insertBefore:Ur,removeChild:qr,appendChild:Yr,parentNode:Xr,nextSibling:Gr,tagName:Kr,setTextContent:Jr,setStyleScope:Zr}),to={create:function(t,e){eo(e)},update:function(t,e){t.data.ref!==e.data.ref&&(eo(t,!0),eo(e))},destroy:function(t){eo(t,!0)}};function eo(t,e){var n=t.data.ref;if(s(n)){var i=t.context,o=t.componentInstance||t.elm,a=e?null:o,c=e?void 0:o;if(u(n))An(n,i,[a],i,"template ref function");else{var l=t.data.refInFor,h="string"===typeof n||"number"===typeof n,d=Yt(n),f=i.$refs;if(h||d)if(l){var p=h?f[n]:n.value;e?r(p)&&w(p,o):r(p)?p.includes(o)||p.push(o):h?(f[n]=[o],no(i,n,f[n])):n.value=[o]}else if(h){if(e&&f[n]!==o)return;f[n]=c,no(i,n,a)}else if(d){if(e&&n.value!==o)return;n.value=a}else 0}}}function no(t,e,n){var i=t._setupState;i&&k(i,e)&&(Yt(i[e])?i[e].value=n:i[e]=n)}var io=new yt("",{},[]),ro=["create","activate","update","remove","destroy"];function oo(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&s(t.data)===s(e.data)&&so(t,e)||a(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function so(t,e){if("input"!==t.tag)return!0;var n,i=s(n=t.data)&&s(n=n.attrs)&&n.type,r=s(n=e.data)&&s(n=n.attrs)&&n.type;return i===r||Fr(i)&&Fr(r)}function ao(t,e,n){var i,r,o={};for(i=e;i<=n;++i)r=t[i].key,s(r)&&(o[r]=i);return o}function co(t){var e,n,i={},c=t.modules,u=t.nodeOps;for(e=0;e<ro.length;++e)for(i[ro[e]]=[],n=0;n<c.length;++n)s(c[n][ro[e]])&&i[ro[e]].push(c[n][ro[e]]);function h(t){return new yt(u.tagName(t).toLowerCase(),{},[],void 0,t)}function d(t,e){function n(){0===--n.listeners&&f(t)}return n.listeners=e,n}function f(t){var e=u.parentNode(t);s(e)&&u.removeChild(e,t)}function p(t,e,n,i,r,o,c){if(s(t.elm)&&s(o)&&(t=o[c]=wt(t)),t.isRootInsert=!r,!g(t,e,n,i)){var l=t.data,h=t.children,d=t.tag;s(d)?(t.elm=t.ns?u.createElementNS(t.ns,d):u.createElement(d,t),S(t),_(t,h,e),s(l)&&w(t,e),b(n,t.elm,i)):a(t.isComment)?(t.elm=u.createComment(t.text),b(n,t.elm,i)):(t.elm=u.createTextNode(t.text),b(n,t.elm,i))}}function g(t,e,n,i){var r=t.data;if(s(r)){var o=s(t.componentInstance)&&r.keepAlive;if(s(r=r.hook)&&s(r=r.init)&&r(t,!1),s(t.componentInstance))return m(t,e),b(n,t.elm,i),a(o)&&v(t,e,n,i),!0}}function m(t,e){s(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,x(t)?(w(t,e),S(t)):(eo(t),e.push(t))}function v(t,e,n,r){var o,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,s(o=a.data)&&s(o=o.transition)){for(o=0;o<i.activate.length;++o)i.activate[o](io,a);e.push(a);break}b(n,t.elm,r)}function b(t,e,n){s(t)&&(s(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function _(t,e,n){if(r(e)){0;for(var i=0;i<e.length;++i)p(e[i],n,t.elm,null,!0,e,i)}else l(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function x(t){while(t.componentInstance)t=t.componentInstance._vnode;return s(t.tag)}function w(t,n){for(var r=0;r<i.create.length;++r)i.create[r](io,t);e=t.data.hook,s(e)&&(s(e.create)&&e.create(io,t),s(e.insert)&&n.push(t))}function S(t){var e;if(s(e=t.fnScopeId))u.setStyleScope(t.elm,e);else{var n=t;while(n)s(e=n.context)&&s(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent}s(e=Ze)&&e!==t.context&&e!==t.fnContext&&s(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function k(t,e,n,i,r,o){for(;i<=r;++i)p(n[i],o,t,e,!1,n,i)}function C(t){var e,n,r=t.data;if(s(r))for(s(e=r.hook)&&s(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(s(e=t.children))for(n=0;n<t.children.length;++n)C(t.children[n])}function O(t,e,n){for(;e<=n;++e){var i=t[e];s(i)&&(s(i.tag)?(E(i),C(i)):f(i.elm))}}function E(t,e){if(s(e)||s(t.data)){var n,r=i.remove.length+1;for(s(e)?e.listeners+=r:e=d(t.elm,r),s(n=t.componentInstance)&&s(n=n._vnode)&&s(n.data)&&E(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);s(n=t.data.hook)&&s(n=n.remove)?n(t,e):e()}else f(t.elm)}function P(t,e,n,i,r){var a,c,l,h,d=0,f=0,g=e.length-1,m=e[0],v=e[g],b=n.length-1,y=n[0],_=n[b],x=!r;while(d<=g&&f<=b)o(m)?m=e[++d]:o(v)?v=e[--g]:oo(m,y)?(T(m,y,i,n,f),m=e[++d],y=n[++f]):oo(v,_)?(T(v,_,i,n,b),v=e[--g],_=n[--b]):oo(m,_)?(T(m,_,i,n,b),x&&u.insertBefore(t,m.elm,u.nextSibling(v.elm)),m=e[++d],_=n[--b]):oo(v,y)?(T(v,y,i,n,f),x&&u.insertBefore(t,v.elm,m.elm),v=e[--g],y=n[++f]):(o(a)&&(a=ao(e,d,g)),c=s(y.key)?a[y.key]:M(y,e,d,g),o(c)?p(y,i,t,m.elm,!1,n,f):(l=e[c],oo(l,y)?(T(l,y,i,n,f),e[c]=void 0,x&&u.insertBefore(t,l.elm,m.elm)):p(y,i,t,m.elm,!1,n,f)),y=n[++f]);d>g?(h=o(n[b+1])?null:n[b+1].elm,k(t,h,n,f,b,i)):f>b&&O(e,d,g)}function M(t,e,n,i){for(var r=n;r<i;r++){var o=e[r];if(s(o)&&oo(t,o))return r}}function T(t,e,n,r,c,l){if(t!==e){s(e.elm)&&s(r)&&(e=r[c]=wt(e));var h=e.elm=t.elm;if(a(t.isAsyncPlaceholder))s(e.asyncFactory.resolved)?$(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,f=e.data;s(f)&&s(d=f.hook)&&s(d=d.prepatch)&&d(t,e);var p=t.children,g=e.children;if(s(f)&&x(e)){for(d=0;d<i.update.length;++d)i.update[d](t,e);s(d=f.hook)&&s(d=d.update)&&d(t,e)}o(e.text)?s(p)&&s(g)?p!==g&&P(h,p,g,n,l):s(g)?(s(t.text)&&u.setTextContent(h,""),k(h,null,g,0,g.length-1,n)):s(p)?O(p,0,p.length-1):s(t.text)&&u.setTextContent(h,""):t.text!==e.text&&u.setTextContent(h,e.text),s(f)&&s(d=f.hook)&&s(d=d.postpatch)&&d(t,e)}}}function A(t,e,n){if(a(n)&&s(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var D=y("attrs,class,staticClass,staticStyle,key");function $(t,e,n,i){var r,o=e.tag,c=e.data,l=e.children;if(i=i||c&&c.pre,e.elm=t,a(e.isComment)&&s(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(s(c)&&(s(r=c.hook)&&s(r=r.init)&&r(e,!0),s(r=e.componentInstance)))return m(e,n),!0;if(s(o)){if(s(l))if(t.hasChildNodes())if(s(r=c)&&s(r=r.domProps)&&s(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,d=0;d<l.length;d++){if(!h||!$(h,l[d],n,i)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else _(e,l,n);if(s(c)){var f=!1;for(var p in c)if(!D(p)){f=!0,w(e,n);break}!f&&c["class"]&&Xn(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!o(e)){var c=!1,l=[];if(o(t))c=!0,p(e,l);else{var d=s(t.nodeType);if(!d&&oo(t,e))T(t,e,l,null,null,r);else{if(d){if(1===t.nodeType&&t.hasAttribute(U)&&(t.removeAttribute(U),n=!0),a(n)&&$(t,e,l))return A(e,l,!0),t;t=h(t)}var f=t.elm,g=u.parentNode(f);if(p(e,l,f._leaveCb?null:g,u.nextSibling(f)),s(e.parent)){var m=e.parent,v=x(e);while(m){for(var b=0;b<i.destroy.length;++b)i.destroy[b](m);if(m.elm=e.elm,v){for(var y=0;y<i.create.length;++y)i.create[y](io,m);var _=m.data.hook.insert;if(_.merged)for(var w=1;w<_.fns.length;w++)_.fns[w]()}else eo(m);m=m.parent}}s(g)?O([t],0,0):s(t.tag)&&C(t)}}return A(e,l,c),e.elm}s(t)&&C(t)}}var lo={create:uo,update:uo,destroy:function(t){uo(t,io)}};function uo(t,e){(t.data.directives||e.data.directives)&&ho(t,e)}function ho(t,e){var n,i,r,o=t===io,s=e===io,a=po(t.data.directives,t.context),c=po(e.data.directives,e.context),l=[],u=[];for(n in c)i=a[n],r=c[n],i?(r.oldValue=i.value,r.oldArg=i.arg,mo(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(mo(r,"bind",e,t),r.def&&r.def.inserted&&l.push(r));if(l.length){var h=function(){for(var n=0;n<l.length;n++)mo(l[n],"inserted",e,t)};o?Zt(e,"insert",h):h()}if(u.length&&Zt(e,"postpatch",(function(){for(var n=0;n<u.length;n++)mo(u[n],"componentUpdated",e,t)})),!o)for(n in a)c[n]||mo(a[n],"unbind",t,t,s)}var fo=Object.create(null);function po(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++){if(i=t[n],i.modifiers||(i.modifiers=fo),r[go(i)]=i,e._setupState&&e._setupState.__sfc){var o=i.def||Ui(e,"_setupState","v-"+i.name);i.def="function"===typeof o?{bind:o,update:o}:o}i.def=i.def||Ui(e.$options,"directives",i.name,!0)}return r}function go(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function mo(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(Ou){Tn(Ou,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var vo=[to,lo];function bo(t,e){var n=e.componentOptions;if((!s(n)||!1!==n.Ctor.options.inheritAttrs)&&(!o(t.data.attrs)||!o(e.data.attrs))){var i,r,c,l=e.elm,u=t.data.attrs||{},h=e.data.attrs||{};for(i in(s(h.__ob__)||a(h._v_attr_proxy))&&(h=e.data.attrs=j({},h)),h)r=h[i],c=u[i],c!==r&&yo(l,i,r,e.data.pre);for(i in(it||ot)&&h.value!==u.value&&yo(l,"value",h.value),u)o(h[i])&&(xr(i)?l.removeAttributeNS(_r,wr(i)):mr(i)||l.removeAttribute(i))}}function yo(t,e,n,i){i||t.tagName.indexOf("-")>-1?_o(t,e,n):yr(e)?Sr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):mr(e)?t.setAttribute(e,br(e,n)):xr(e)?Sr(n)?t.removeAttributeNS(_r,wr(e)):t.setAttributeNS(_r,e,n):_o(t,e,n)}function _o(t,e,n){if(Sr(n))t.removeAttribute(e);else{if(it&&!rt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var xo={create:bo,update:bo};function wo(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var a=kr(e),c=n._transitionClasses;s(c)&&(a=Er(a,Pr(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var So,ko,Co,Oo,Eo,Po,Mo={create:wo,update:wo},To=/[\w).+\-_$\]]/;function Ao(t){var e,n,i,r,o,s=!1,a=!1,c=!1,l=!1,u=0,h=0,d=0,f=0;for(i=0;i<t.length;i++)if(n=e,e=t.charCodeAt(i),s)39===e&&92!==n&&(s=!1);else if(a)34===e&&92!==n&&(a=!1);else if(c)96===e&&92!==n&&(c=!1);else if(l)47===e&&92!==n&&(l=!1);else if(124!==e||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||u||h||d){switch(e){case 34:a=!0;break;case 39:s=!0;break;case 96:c=!0;break;case 40:d++;break;case 41:d--;break;case 91:h++;break;case 93:h--;break;case 123:u++;break;case 125:u--;break}if(47===e){for(var p=i-1,g=void 0;p>=0;p--)if(g=t.charAt(p)," "!==g)break;g&&To.test(g)||(l=!0)}}else void 0===r?(f=i+1,r=t.slice(0,i).trim()):m();function m(){(o||(o=[])).push(t.slice(f,i).trim()),f=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==f&&m(),o)for(i=0;i<o.length;i++)r=Do(r,o[i]);return r}function Do(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");var i=e.slice(0,n),r=e.slice(n+1);return'_f("'.concat(i,'")(').concat(t).concat(")"!==r?","+r:r)}function $o(t,e){console.error("[Vue compiler]: ".concat(t))}function Lo(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function jo(t,e,n,i,r){(t.props||(t.props=[])).push(Uo({name:e,value:n,dynamic:r},i)),t.plain=!1}function Ro(t,e,n,i,r){var o=r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[]);o.push(Uo({name:e,value:n,dynamic:r},i)),t.plain=!1}function Io(t,e,n,i){t.attrsMap[e]=n,t.attrsList.push(Uo({name:e,value:n},i))}function No(t,e,n,i,r,o,s,a){(t.directives||(t.directives=[])).push(Uo({name:e,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:s},a)),t.plain=!1}function Fo(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function Bo(t,e,n,r,o,s,a,c){var l;r=r||i,r.right?c?e="(".concat(e,")==='click'?'contextmenu':(").concat(e,")"):"click"===e&&(e="contextmenu",delete r.right):r.middle&&(c?e="(".concat(e,")==='click'?'mouseup':(").concat(e,")"):"click"===e&&(e="mouseup")),r.capture&&(delete r.capture,e=Fo("!",e,c)),r.once&&(delete r.once,e=Fo("~",e,c)),r.passive&&(delete r.passive,e=Fo("&",e,c)),r.native?(delete r.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var u=Uo({value:n.trim(),dynamic:c},a);r!==i&&(u.modifiers=r);var h=l[e];Array.isArray(h)?o?h.unshift(u):h.push(u):l[e]=h?o?[u,h]:[h,u]:u,t.plain=!1}function zo(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function Vo(t,e,n){var i=Ho(t,":"+e)||Ho(t,"v-bind:"+e);if(null!=i)return Ao(i);if(!1!==n){var r=Ho(t,e);if(null!=r)return JSON.stringify(r)}}function Ho(t,e,n){var i;if(null!=(i=t.attrsMap[e]))for(var r=t.attrsList,o=0,s=r.length;o<s;o++)if(r[o].name===e){r.splice(o,1);break}return n&&delete t.attrsMap[e],i}function Wo(t,e){for(var n=t.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(e.test(o.name))return n.splice(i,1),o}}function Uo(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function qo(t,e,n){var i=n||{},r=i.number,o=i.trim,s="$$v",a=s;o&&(a="(typeof ".concat(s," === 'string'")+"? ".concat(s,".trim()")+": ".concat(s,")")),r&&(a="_n(".concat(a,")"));var c=Yo(e,a);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(s,") {").concat(c,"}")}}function Yo(t,e){var n=Xo(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function Xo(t){if(t=t.trim(),So=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<So-1)return Oo=t.lastIndexOf("."),Oo>-1?{exp:t.slice(0,Oo),key:'"'+t.slice(Oo+1)+'"'}:{exp:t,key:null};ko=t,Oo=Eo=Po=0;while(!Ko())Co=Go(),Jo(Co)?Qo(Co):91===Co&&Zo(Co);return{exp:t.slice(0,Eo),key:t.slice(Eo+1,Po)}}function Go(){return ko.charCodeAt(++Oo)}function Ko(){return Oo>=So}function Jo(t){return 34===t||39===t}function Zo(t){var e=1;Eo=Oo;while(!Ko())if(t=Go(),Jo(t))Qo(t);else if(91===t&&e++,93===t&&e--,0===e){Po=Oo;break}}function Qo(t){var e=t;while(!Ko())if(t=Go(),t===e)break}var ts,es="__r",ns="__c";function is(t,e,n){n;var i=e.value,r=e.modifiers,o=t.tag,s=t.attrsMap.type;if(t.component)return qo(t,i,r),!1;if("select"===o)ss(t,i,r);else if("input"===o&&"checkbox"===s)rs(t,i,r);else if("input"===o&&"radio"===s)os(t,i,r);else if("input"===o||"textarea"===o)as(t,i,r);else{if(!X.isReservedTag(o))return qo(t,i,r),!1}return!0}function rs(t,e,n){var i=n&&n.number,r=Vo(t,"value")||"null",o=Vo(t,"true-value")||"true",s=Vo(t,"false-value")||"false";jo(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(r,")>-1")+("true"===o?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")"))),Bo(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(s,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(i?"_n("+r+")":r,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(Yo(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(Yo(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(Yo(e,"$$c"),"}"),null,!0)}function os(t,e,n){var i=n&&n.number,r=Vo(t,"value")||"null";r=i?"_n(".concat(r,")"):r,jo(t,"checked","_q(".concat(e,",").concat(r,")")),Bo(t,"change",Yo(e,r),null,!0)}function ss(t,e,n){var i=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(i?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",s="var $$selectedVal = ".concat(r,";");s="".concat(s," ").concat(Yo(e,o)),Bo(t,"change",s,null,!0)}function as(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,s=r.number,a=r.trim,c=!o&&"range"!==i,l=o?"change":"range"===i?es:"input",u="$event.target.value";a&&(u="$event.target.value.trim()"),s&&(u="_n(".concat(u,")"));var h=Yo(e,u);c&&(h="if($event.target.composing)return;".concat(h)),jo(t,"value","(".concat(e,")")),Bo(t,l,h,null,!0),(a||s)&&Bo(t,"blur","$forceUpdate()")}function cs(t){if(s(t[es])){var e=it?"change":"input";t[e]=[].concat(t[es],t[e]||[]),delete t[es]}s(t[ns])&&(t.change=[].concat(t[ns],t.change||[]),delete t[ns])}function ls(t,e,n){var i=ts;return function r(){var o=e.apply(null,arguments);null!==o&&ds(t,r,n,i)}}var us=jn&&!(ct&&Number(ct[1])<=53);function hs(t,e,n,i){if(us){var r=mn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}ts.addEventListener(t,e,ut?{capture:n,passive:i}:n)}function ds(t,e,n,i){(i||ts).removeEventListener(t,e._wrapper||e,n)}function fs(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};ts=e.elm||t.elm,cs(n),Jt(n,i,hs,ds,ls,e.context),ts=void 0}}var ps,gs={create:fs,update:fs,destroy:function(t){return fs(t,io)}};function ms(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,c=t.data.domProps||{},l=e.data.domProps||{};for(n in(s(l.__ob__)||a(l._v_attr_proxy))&&(l=e.data.domProps=j({},l)),c)n in l||(r[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===c[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var u=o(i)?"":String(i);vs(r,u)&&(r.value=u)}else if("innerHTML"===n&&$r(r.tagName)&&o(r.innerHTML)){ps=ps||document.createElement("div"),ps.innerHTML="<svg>".concat(i,"</svg>");var h=ps.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==c[n])try{r[n]=i}catch(Ou){}}}}function vs(t,e){return!t.composing&&("OPTION"===t.tagName||bs(t,e)||ys(t,e))}function bs(t,e){var n=!0;try{n=document.activeElement!==t}catch(Ou){}return n&&t.value!==e}function ys(t,e){var n=t.value,i=t._vModifiers;if(s(i)){if(i.number)return b(n)!==b(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var _s={create:ms,update:ms},xs=C((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function ws(t){var e=Ss(t.style);return t.staticStyle?j(t.staticStyle,e):e}function Ss(t){return Array.isArray(t)?R(t):"string"===typeof t?xs(t):t}function ks(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=ws(r.data))&&j(i,n)}(n=ws(t.data))&&j(i,n);var o=t;while(o=o.parent)o.data&&(n=ws(o.data))&&j(i,n);return i}var Cs,Os=/^--/,Es=/\s*!important$/,Ps=function(t,e,n){if(Os.test(e))t.style.setProperty(e,n);else if(Es.test(n))t.style.setProperty(T(e),n.replace(Es,""),"important");else{var i=Ts(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},Ms=["Webkit","Moz","ms"],Ts=C((function(t){if(Cs=Cs||document.createElement("div").style,t=E(t),"filter"!==t&&t in Cs)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ms.length;n++){var i=Ms[n]+e;if(i in Cs)return i}}));function As(t,e){var n=e.data,i=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var r,a,c=e.elm,l=i.staticStyle,u=i.normalizedStyle||i.style||{},h=l||u,d=Ss(e.data.style)||{};e.data.normalizedStyle=s(d.__ob__)?j({},d):d;var f=ks(e,!0);for(a in h)o(f[a])&&Ps(c,a,"");for(a in f)r=f[a],r!==h[a]&&Ps(c,a,null==r?"":r)}}var Ds={create:As,update:As},$s=/\s+/;function Ls(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split($s).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function js(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split($s).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Rs(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&j(e,Is(t.name||"v")),j(e,t),e}return"string"===typeof t?Is(t):void 0}}var Is=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Ns=et&&!rt,Fs="transition",Bs="animation",zs="transition",Vs="transitionend",Hs="animation",Ws="animationend";Ns&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(zs="WebkitTransition",Vs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Hs="WebkitAnimation",Ws="webkitAnimationEnd"));var Us=et?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function qs(t){Us((function(){Us(t)}))}function Ys(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Ls(t,e))}function Xs(t,e){t._transitionClasses&&w(t._transitionClasses,e),js(t,e)}function Gs(t,e,n){var i=Js(t,e),r=i.type,o=i.timeout,s=i.propCount;if(!r)return n();var a=r===Fs?Vs:Ws,c=0,l=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++c>=s&&l()};setTimeout((function(){c<s&&l()}),o+1),t.addEventListener(a,u)}var Ks=/\b(transform|all)(,|$)/;function Js(t,e){var n,i=window.getComputedStyle(t),r=(i[zs+"Delay"]||"").split(", "),o=(i[zs+"Duration"]||"").split(", "),s=Zs(r,o),a=(i[Hs+"Delay"]||"").split(", "),c=(i[Hs+"Duration"]||"").split(", "),l=Zs(a,c),u=0,h=0;e===Fs?s>0&&(n=Fs,u=s,h=o.length):e===Bs?l>0&&(n=Bs,u=l,h=c.length):(u=Math.max(s,l),n=u>0?s>l?Fs:Bs:null,h=n?n===Fs?o.length:c.length:0);var d=n===Fs&&Ks.test(i[zs+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function Zs(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Qs(e)+Qs(t[n])})))}function Qs(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function ta(t,e){var n=t.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Rs(t.data.transition);if(!o(i)&&!s(n._enterCb)&&1===n.nodeType){var r=i.css,a=i.type,c=i.enterClass,l=i.enterToClass,d=i.enterActiveClass,f=i.appearClass,p=i.appearToClass,g=i.appearActiveClass,m=i.beforeEnter,v=i.enter,y=i.afterEnter,_=i.enterCancelled,x=i.beforeAppear,w=i.appear,S=i.afterAppear,k=i.appearCancelled,C=i.duration,O=Ze,E=Ze.$vnode;while(E&&E.parent)O=E.context,E=E.parent;var P=!O._isMounted||!t.isRootInsert;if(!P||w||""===w){var M=P&&f?f:c,T=P&&g?g:d,A=P&&p?p:l,D=P&&x||m,$=P&&u(w)?w:v,L=P&&S||y,j=P&&k||_,R=b(h(C)?C.enter:C);0;var I=!1!==r&&!rt,N=ia($),F=n._enterCb=H((function(){I&&(Xs(n,A),Xs(n,T)),F.cancelled?(I&&Xs(n,M),j&&j(n)):L&&L(n),n._enterCb=null}));t.data.show||Zt(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),$&&$(n,F)})),D&&D(n),I&&(Ys(n,M),Ys(n,T),qs((function(){Xs(n,M),F.cancelled||(Ys(n,A),N||(na(R)?setTimeout(F,R):Gs(n,a,F)))}))),t.data.show&&(e&&e(),$&&$(n,F)),I||N||F()}}}function ea(t,e){var n=t.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Rs(t.data.transition);if(o(i)||1!==n.nodeType)return e();if(!s(n._leaveCb)){var r=i.css,a=i.type,c=i.leaveClass,l=i.leaveToClass,u=i.leaveActiveClass,d=i.beforeLeave,f=i.leave,p=i.afterLeave,g=i.leaveCancelled,m=i.delayLeave,v=i.duration,y=!1!==r&&!rt,_=ia(f),x=b(h(v)?v.leave:v);0;var w=n._leaveCb=H((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(Xs(n,l),Xs(n,u)),w.cancelled?(y&&Xs(n,c),g&&g(n)):(e(),p&&p(n)),n._leaveCb=null}));m?m(S):S()}function S(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),y&&(Ys(n,c),Ys(n,u),qs((function(){Xs(n,c),w.cancelled||(Ys(n,l),_||(na(x)?setTimeout(w,x):Gs(n,a,w)))}))),f&&f(n,w),y||_||w())}}function na(t){return"number"===typeof t&&!isNaN(t)}function ia(t){if(o(t))return!1;var e=t.fns;return s(e)?ia(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ra(t,e){!0!==e.data.show&&ta(e)}var oa=et?{create:ra,activate:ra,remove:function(t,e){!0!==t.data.show?ea(t,e):e()}}:{},sa=[xo,Mo,gs,_s,Ds,oa],aa=sa.concat(vo),ca=co({nodeOps:Qr,modules:aa});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ma(t,"input")}));var la={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Zt(n,"postpatch",(function(){la.componentUpdated(t,e,n)})):ua(t,e,n.context),t._vOptions=[].map.call(t.options,fa)):("textarea"===n.tag||Fr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",pa),t.addEventListener("compositionend",ga),t.addEventListener("change",ga),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ua(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,fa);if(r.some((function(t,e){return!z(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return da(t,r)})):e.value!==e.oldValue&&da(e.value,r);o&&ma(t,"change")}}}};function ua(t,e,n){ha(t,e,n),(it||ot)&&setTimeout((function(){ha(t,e,n)}),0)}function ha(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,s,a=0,c=t.options.length;a<c;a++)if(s=t.options[a],r)o=V(i,fa(s))>-1,s.selected!==o&&(s.selected=o);else if(z(fa(s),i))return void(t.selectedIndex!==a&&(t.selectedIndex=a));r||(t.selectedIndex=-1)}}function da(t,e){return e.every((function(e){return!z(e,t)}))}function fa(t){return"_value"in t?t._value:t.value}function pa(t){t.target.composing=!0}function ga(t){t.target.composing&&(t.target.composing=!1,ma(t.target,"input"))}function ma(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function va(t){return!t.componentInstance||t.data&&t.data.transition?t:va(t.componentInstance._vnode)}var ba={bind:function(t,e,n){var i=e.value;n=va(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,ta(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=va(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?ta(n,(function(){t.style.display=t.__vOriginalDisplay})):ea(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},ya={model:la,show:ba},_a={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function xa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?xa(Ue(e.children)):t}function wa(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[E(i)]=r[i];return e}function Sa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ka(t){while(t=t.parent)if(t.data.transition)return!0}function Ca(t,e){return e.key===t.key&&e.tag===t.tag}var Oa=function(t){return t.tag||Pe(t)},Ea=function(t){return"show"===t.name},Pa={name:"transition",props:_a,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Oa),n.length)){0;var i=this.mode;0;var r=n[0];if(ka(this.$vnode))return r;var o=xa(r);if(!o)return r;if(this._leaving)return Sa(t,r);var s="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?s+"comment":s+o.tag:l(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var a=(o.data||(o.data={})).transition=wa(this),c=this._vnode,u=xa(c);if(o.data.directives&&o.data.directives.some(Ea)&&(o.data.show=!0),u&&u.data&&!Ca(o,u)&&!Pe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=j({},a);if("out-in"===i)return this._leaving=!0,Zt(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Sa(t,r);if("in-out"===i){if(Pe(o))return c;var d,f=function(){d()};Zt(a,"afterEnter",f),Zt(a,"enterCancelled",f),Zt(h,"delayLeave",(function(t){d=t}))}}return r}}},Ma=j({tag:String,moveClass:String},_a);delete Ma.mode;var Ta={props:Ma,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Qe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],s=wa(this),a=0;a<r.length;a++){var c=r[a];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=s}if(i){var l=[],u=[];for(a=0;a<i.length;a++){c=i[a];c.data.transition=s,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?l.push(c):u.push(c)}this.kept=t(e,null,l),this.removed=u}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Aa),t.forEach(Da),t.forEach($a),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;Ys(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Vs,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Vs,t),n._moveCb=null,Xs(n,e))})}})))},methods:{hasMove:function(t,e){if(!Ns)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){js(n,t)})),Ls(n,e),n.style.display="none",this.$el.appendChild(n);var i=Js(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function Aa(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Da(t){t.data.newPos=t.elm.getBoundingClientRect()}function $a(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),o.transitionDuration="0s"}}var La={Transition:Pa,TransitionGroup:Ta};Zi.config.mustUseProp=gr,Zi.config.isReservedTag=jr,Zi.config.isReservedAttr=fr,Zi.config.getTagNamespace=Rr,Zi.config.isUnknownElement=Nr,j(Zi.options.directives,ya),j(Zi.options.components,La),Zi.prototype.__patch__=et?ca:I,Zi.prototype.$mount=function(t,e){return t=t&&et?Br(t):void 0,nn(this,t,e)},et&&setTimeout((function(){X.devtools&&ft&&ft.emit("init",Zi)}),0);var ja=/\{\{((?:.|\r?\n)+?)\}\}/g,Ra=/[-.*+?^${}()|[\]\/\\]/g,Ia=C((function(t){var e=t[0].replace(Ra,"\\$&"),n=t[1].replace(Ra,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));function Na(t,e){var n=e?Ia(e):ja;if(n.test(t)){var i,r,o,s=[],a=[],c=n.lastIndex=0;while(i=n.exec(t)){r=i.index,r>c&&(a.push(o=t.slice(c,r)),s.push(JSON.stringify(o)));var l=Ao(i[1].trim());s.push("_s(".concat(l,")")),a.push({"@binding":l}),c=r+i[0].length}return c<t.length&&(a.push(o=t.slice(c)),s.push(JSON.stringify(o))),{expression:s.join("+"),tokens:a}}}function Fa(t,e){e.warn;var n=Ho(t,"class");n&&(t.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var i=Vo(t,"class",!1);i&&(t.classBinding=i)}function Ba(t){var e="";return t.staticClass&&(e+="staticClass:".concat(t.staticClass,",")),t.classBinding&&(e+="class:".concat(t.classBinding,",")),e}var za={staticKeys:["staticClass"],transformNode:Fa,genData:Ba};function Va(t,e){e.warn;var n=Ho(t,"style");n&&(t.staticStyle=JSON.stringify(xs(n)));var i=Vo(t,"style",!1);i&&(t.styleBinding=i)}function Ha(t){var e="";return t.staticStyle&&(e+="staticStyle:".concat(t.staticStyle,",")),t.styleBinding&&(e+="style:(".concat(t.styleBinding,"),")),e}var Wa,Ua={staticKeys:["staticStyle"],transformNode:Va,genData:Ha},qa={decode:function(t){return Wa=Wa||document.createElement("div"),Wa.innerHTML=t,Wa.textContent}},Ya=y("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Xa=y("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ga=y("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ka=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ja=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Za="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(G.source,"]*"),Qa="((?:".concat(Za,"\\:)?").concat(Za,")"),tc=new RegExp("^<".concat(Qa)),ec=/^\s*(\/?)>/,nc=new RegExp("^<\\/".concat(Qa,"[^>]*>")),ic=/^<!DOCTYPE [^>]+>/i,rc=/^<!\--/,oc=/^<!\[/,sc=y("script,style,textarea",!0),ac={},cc={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},lc=/&(?:lt|gt|quot|amp|#39);/g,uc=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,hc=y("pre,textarea",!0),dc=function(t,e){return t&&hc(t)&&"\n"===e[0]};function fc(t,e){var n=e?uc:lc;return t.replace(n,(function(t){return cc[t]}))}function pc(t,e){var n,i,r=[],o=e.expectHTML,s=e.isUnaryTag||N,a=e.canBeLeftOpenTag||N,c=0,l=function(){if(n=t,i&&sc(i)){var r=0,o=i.toLowerCase(),s=ac[o]||(ac[o]=new RegExp("([\\s\\S]*?)(</"+o+"[^>]*>)","i"));_=t.replace(s,(function(t,n,i){return r=i.length,sc(o)||"noscript"===o||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),dc(o,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-_.length,t=_,p(o,c-r,c)}else{var a=t.indexOf("<");if(0===a){if(rc.test(t)){var l=t.indexOf("--\x3e");if(l>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,l),c,c+l+3),h(l+3),"continue"}if(oc.test(t)){var u=t.indexOf("]>");if(u>=0)return h(u+2),"continue"}var g=t.match(ic);if(g)return h(g[0].length),"continue";var m=t.match(nc);if(m){var v=c;return h(m[0].length),p(m[1],v,c),"continue"}var b=d();if(b)return f(b),dc(b.tagName,t)&&h(1),"continue"}var y=void 0,_=void 0,x=void 0;if(a>=0){_=t.slice(a);while(!nc.test(_)&&!tc.test(_)&&!rc.test(_)&&!oc.test(_)){if(x=_.indexOf("<",1),x<0)break;a+=x,_=t.slice(a)}y=t.substring(0,a)}a<0&&(y=t),y&&h(y.length),e.chars&&y&&e.chars(y,c-y.length,c)}if(t===n)return e.chars&&e.chars(t),"break"};while(t){var u=l();if("break"===u)break}function h(e){c+=e,t=t.substring(e)}function d(){var e=t.match(tc);if(e){var n={tagName:e[1],attrs:[],start:c};h(e[0].length);var i=void 0,r=void 0;while(!(i=t.match(ec))&&(r=t.match(Ja)||t.match(Ka)))r.start=c,h(r[0].length),r.end=c,n.attrs.push(r);if(i)return n.unarySlash=i[1],h(i[0].length),n.end=c,n}}function f(t){var n=t.tagName,c=t.unarySlash;o&&("p"===i&&Ga(n)&&p(i),a(n)&&i===n&&p(n));for(var l=s(n)||!!c,u=t.attrs.length,h=new Array(u),d=0;d<u;d++){var f=t.attrs[d],g=f[3]||f[4]||f[5]||"",m="a"===n&&"href"===f[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[d]={name:f[1],value:fc(g,m)}}l||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),i=n),e.start&&e.start(n,h,l,t.start,t.end)}function p(t,n,o){var s,a;if(null==n&&(n=c),null==o&&(o=c),t){for(a=t.toLowerCase(),s=r.length-1;s>=0;s--)if(r[s].lowerCasedTag===a)break}else s=0;if(s>=0){for(var l=r.length-1;l>=s;l--)e.end&&e.end(r[l].tag,n,o);r.length=s,i=s&&r[s-1].tag}else"br"===a?e.start&&e.start(t,[],!0,n,o):"p"===a&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}p()}var gc,mc,vc,bc,yc,_c,xc,wc,Sc=/^@|^v-on:/,kc=/^v-|^@|^:|^#/,Cc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Oc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ec=/^\(|\)$/g,Pc=/^\[.*\]$/,Mc=/:(.*)$/,Tc=/^:|^\.|^v-bind:/,Ac=/\.[^.\]]+(?=[^\]]*$)/g,Dc=/^v-slot(:|$)|^#/,$c=/[\r\n]/,Lc=/[ \f\t\r\n]+/g,jc=C(qa.decode),Rc="_empty_";function Ic(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:rl(e),rawAttrsMap:{},parent:n,children:[]}}function Nc(t,e){gc=e.warn||$o,_c=e.isPreTag||N,xc=e.mustUseProp||N,wc=e.getTagNamespace||N;var n=e.isReservedTag||N;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),vc=Lo(e.modules,"transformNode"),bc=Lo(e.modules,"preTransformNode"),yc=Lo(e.modules,"postTransformNode"),mc=e.delimiters;var i,r,o=[],s=!1!==e.preserveWhitespace,a=e.whitespace,c=!1,l=!1;function u(t){if(h(t),c||t.processed||(t=zc(t,e)),o.length||t===i||i.if&&(t.elseif||t.else)&&Gc(i,{exp:t.elseif,block:t}),r&&!t.forbidden)if(t.elseif||t.else)Yc(t,r);else{if(t.slotScope){var n=t.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=t}r.children.push(t),t.parent=r}t.children=t.children.filter((function(t){return!t.slotScope})),h(t),t.pre&&(c=!1),_c(t.tag)&&(l=!1);for(var s=0;s<yc.length;s++)yc[s](t,e)}function h(t){if(!l){var e=void 0;while((e=t.children[t.children.length-1])&&3===e.type&&" "===e.text)t.children.pop()}}return pc(t,{warn:gc,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,s,a,h){var d=r&&r.ns||wc(t);it&&"svg"===d&&(n=ll(n));var f=Ic(t,n,r);d&&(f.ns=d),sl(f)&&!dt()&&(f.forbidden=!0);for(var p=0;p<bc.length;p++)f=bc[p](f,e)||f;c||(Fc(f),f.pre&&(c=!0)),_c(f.tag)&&(l=!0),c?Bc(f):f.processed||(Wc(f),qc(f),Kc(f)),i||(i=f),s?u(f):(r=f,o.push(f))},end:function(t,e,n){var i=o[o.length-1];o.length-=1,r=o[o.length-1],u(i)},chars:function(t,e,n){if(r&&(!it||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var i=r.children;if(t=l||t.trim()?ol(r)?t:jc(t):i.length?a?"condense"===a&&$c.test(t)?"":" ":s?" ":"":"",t){l||"condense"!==a||(t=t.replace(Lc," "));var o=void 0,u=void 0;!c&&" "!==t&&(o=Na(t,mc))?u={type:2,expression:o.expression,tokens:o.tokens,text:t}:" "===t&&i.length&&" "===i[i.length-1].text||(u={type:3,text:t}),u&&i.push(u)}}},comment:function(t,e,n){if(r){var i={type:3,text:t,isComment:!0};0,r.children.push(i)}}}),i}function Fc(t){null!=Ho(t,"v-pre")&&(t.pre=!0)}function Bc(t){var e=t.attrsList,n=e.length;if(n)for(var i=t.attrs=new Array(n),r=0;r<n;r++)i[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(i[r].start=e[r].start,i[r].end=e[r].end);else t.pre||(t.plain=!0)}function zc(t,e){Vc(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,Hc(t),Jc(t),Qc(t),tl(t);for(var n=0;n<vc.length;n++)t=vc[n](t,e)||t;return el(t),t}function Vc(t){var e=Vo(t,"key");e&&(t.key=e)}function Hc(t){var e=Vo(t,"ref");e&&(t.ref=e,t.refInFor=nl(t))}function Wc(t){var e;if(e=Ho(t,"v-for")){var n=Uc(e);n&&j(t,n)}}function Uc(t){var e=t.match(Cc);if(e){var n={};n.for=e[2].trim();var i=e[1].trim().replace(Ec,""),r=i.match(Oc);return r?(n.alias=i.replace(Oc,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i,n}}function qc(t){var e=Ho(t,"v-if");if(e)t.if=e,Gc(t,{exp:e,block:t});else{null!=Ho(t,"v-else")&&(t.else=!0);var n=Ho(t,"v-else-if");n&&(t.elseif=n)}}function Yc(t,e){var n=Xc(e.children);n&&n.if&&Gc(n,{exp:t.elseif,block:t})}function Xc(t){var e=t.length;while(e--){if(1===t[e].type)return t[e];t.pop()}}function Gc(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function Kc(t){var e=Ho(t,"v-once");null!=e&&(t.once=!0)}function Jc(t){var e;"template"===t.tag?(e=Ho(t,"scope"),t.slotScope=e||Ho(t,"slot-scope")):(e=Ho(t,"slot-scope"))&&(t.slotScope=e);var n=Vo(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ro(t,"slot",n,zo(t,"slot"))),"template"===t.tag){var i=Wo(t,Dc);if(i){0;var r=Zc(i),o=r.name,s=r.dynamic;t.slotTarget=o,t.slotTargetDynamic=s,t.slotScope=i.value||Rc}}else{i=Wo(t,Dc);if(i){0;var a=t.scopedSlots||(t.scopedSlots={}),c=Zc(i),l=c.name,u=(s=c.dynamic,a[l]=Ic("template",[],t));u.slotTarget=l,u.slotTargetDynamic=s,u.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=u,!0})),u.slotScope=i.value||Rc,t.children=[],t.plain=!1}}}function Zc(t){var e=t.name.replace(Dc,"");return e||"#"!==t.name[0]&&(e="default"),Pc.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'.concat(e,'"'),dynamic:!1}}function Qc(t){"slot"===t.tag&&(t.slotName=Vo(t,"name"))}function tl(t){var e;(e=Vo(t,"is"))&&(t.component=e),null!=Ho(t,"inline-template")&&(t.inlineTemplate=!0)}function el(t){var e,n,i,r,o,s,a,c,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(i=r=l[e].name,o=l[e].value,kc.test(i))if(t.hasBindings=!0,s=il(i.replace(kc,"")),s&&(i=i.replace(Ac,"")),Tc.test(i))i=i.replace(Tc,""),o=Ao(o),c=Pc.test(i),c&&(i=i.slice(1,-1)),s&&(s.prop&&!c&&(i=E(i),"innerHtml"===i&&(i="innerHTML")),s.camel&&!c&&(i=E(i)),s.sync&&(a=Yo(o,"$event"),c?Bo(t,'"update:"+('.concat(i,")"),a,null,!1,gc,l[e],!0):(Bo(t,"update:".concat(E(i)),a,null,!1,gc,l[e]),T(i)!==E(i)&&Bo(t,"update:".concat(T(i)),a,null,!1,gc,l[e])))),s&&s.prop||!t.component&&xc(t.tag,t.attrsMap.type,i)?jo(t,i,o,l[e],c):Ro(t,i,o,l[e],c);else if(Sc.test(i))i=i.replace(Sc,""),c=Pc.test(i),c&&(i=i.slice(1,-1)),Bo(t,i,o,s,!1,gc,l[e],c);else{i=i.replace(kc,"");var u=i.match(Mc),h=u&&u[1];c=!1,h&&(i=i.slice(0,-(h.length+1)),Pc.test(h)&&(h=h.slice(1,-1),c=!0)),No(t,i,r,o,h,c,s,l[e])}else Ro(t,i,JSON.stringify(o),l[e]),!t.component&&"muted"===i&&xc(t.tag,t.attrsMap.type,i)&&jo(t,i,"true",l[e])}}function nl(t){var e=t;while(e){if(void 0!==e.for)return!0;e=e.parent}return!1}function il(t){var e=t.match(Ac);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function rl(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}function ol(t){return"script"===t.tag||"style"===t.tag}function sl(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}var al=/^xmlns:NS\d+/,cl=/^NS\d+:/;function ll(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];al.test(i.name)||(i.name=i.name.replace(cl,""),e.push(i))}return e}function ul(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var i=void 0;if((n[":type"]||n["v-bind:type"])&&(i=Vo(t,"type")),n.type||i||!n["v-bind"]||(i="(".concat(n["v-bind"],").type")),i){var r=Ho(t,"v-if",!0),o=r?"&&(".concat(r,")"):"",s=null!=Ho(t,"v-else",!0),a=Ho(t,"v-else-if",!0),c=hl(t);Wc(c),Io(c,"type","checkbox"),zc(c,e),c.processed=!0,c.if="(".concat(i,")==='checkbox'")+o,Gc(c,{exp:c.if,block:c});var l=hl(t);Ho(l,"v-for",!0),Io(l,"type","radio"),zc(l,e),Gc(c,{exp:"(".concat(i,")==='radio'")+o,block:l});var u=hl(t);return Ho(u,"v-for",!0),Io(u,":type",i),zc(u,e),Gc(c,{exp:r,block:u}),s?c.else=!0:a&&(c.elseif=a),c}}}function hl(t){return Ic(t.tag,t.attrsList.slice(),t.parent)}var dl={preTransformNode:ul},fl=[za,Ua,dl];function pl(t,e){e.value&&jo(t,"textContent","_s(".concat(e.value,")"),e)}function gl(t,e){e.value&&jo(t,"innerHTML","_s(".concat(e.value,")"),e)}var ml,vl,bl={model:is,text:pl,html:gl},yl={expectHTML:!0,modules:fl,directives:bl,isPreTag:Lr,isUnaryTag:Ya,mustUseProp:gr,canBeLeftOpenTag:Xa,isReservedTag:jr,getTagNamespace:Rr,staticKeys:B(fl)},_l=C(wl);function xl(t,e){t&&(ml=_l(e.staticKeys||""),vl=e.isReservedTag||N,Sl(t),kl(t,!1))}function wl(t){return y("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function Sl(t){if(t.static=Cl(t),1===t.type){if(!vl(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var i=t.children[e];Sl(i),i.static||(t.static=!1)}if(t.ifConditions)for(e=1,n=t.ifConditions.length;e<n;e++){var r=t.ifConditions[e].block;Sl(r),r.static||(t.static=!1)}}}function kl(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,i=t.children.length;n<i;n++)kl(t.children[n],e||!!t.for);if(t.ifConditions)for(n=1,i=t.ifConditions.length;n<i;n++)kl(t.ifConditions[n].block,e)}}function Cl(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||_(t.tag)||!vl(t.tag)||Ol(t)||!Object.keys(t).every(ml))))}function Ol(t){while(t.parent){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}var El=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Pl=/\([^)]*?\);*$/,Ml=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Tl={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Al={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Dl=function(t){return"if(".concat(t,")return null;")},$l={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Dl("$event.target !== $event.currentTarget"),ctrl:Dl("!$event.ctrlKey"),shift:Dl("!$event.shiftKey"),alt:Dl("!$event.altKey"),meta:Dl("!$event.metaKey"),left:Dl("'button' in $event && $event.button !== 0"),middle:Dl("'button' in $event && $event.button !== 1"),right:Dl("'button' in $event && $event.button !== 2")};function Ll(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var s=jl(t[o]);t[o]&&t[o].dynamic?r+="".concat(o,",").concat(s,","):i+='"'.concat(o,'":').concat(s,",")}return i="{".concat(i.slice(0,-1),"}"),r?n+"_d(".concat(i,",[").concat(r.slice(0,-1),"])"):n+i}function jl(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return jl(t)})).join(","),"]");var e=Ml.test(t.value),n=El.test(t.value),i=Ml.test(t.value.replace(Pl,""));if(t.modifiers){var r="",o="",s=[],a=function(e){if($l[e])o+=$l[e],Tl[e]&&s.push(e);else if("exact"===e){var n=t.modifiers;o+=Dl(["ctrl","shift","alt","meta"].filter((function(t){return!n[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else s.push(e)};for(var c in t.modifiers)a(c);s.length&&(r+=Rl(s)),o&&(r+=o);var l=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):i?"return ".concat(t.value):t.value;return"function($event){".concat(r).concat(l,"}")}return e||n?t.value:"function($event){".concat(i?"return ".concat(t.value):t.value,"}")}function Rl(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(Il).join("&&"),")return null;")}function Il(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=Tl[t],i=Al[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(i))+")"}function Nl(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}}function Fl(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}}var Bl={on:Nl,bind:Fl,cloak:I},zl=function(){function t(t){this.options=t,this.warn=t.warn||$o,this.transforms=Lo(t.modules,"transformCode"),this.dataGenFns=Lo(t.modules,"genData"),this.directives=j(j({},Bl),t.directives);var e=t.isReservedTag||N;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}return t}();function Vl(t,e){var n=new zl(e),i=t?"script"===t.tag?"null":Hl(t,n):'_c("div")';return{render:"with(this){return ".concat(i,"}"),staticRenderFns:n.staticRenderFns}}function Hl(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ul(t,e);if(t.once&&!t.onceProcessed)return ql(t,e);if(t.for&&!t.forProcessed)return Gl(t,e);if(t.if&&!t.ifProcessed)return Yl(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return lu(t,e);var n=void 0;if(t.component)n=uu(t.component,t,e);else{var i=void 0,r=e.maybeComponent(t);(!t.plain||t.pre&&r)&&(i=Kl(t,e));var o=void 0,s=e.options.bindings;r&&s&&!1!==s.__isScriptSetup&&(o=Wl(s,t.tag)),o||(o="'".concat(t.tag,"'"));var a=t.inlineTemplate?null:iu(t,e,!0);n="_c(".concat(o).concat(i?",".concat(i):"").concat(a?",".concat(a):"",")")}for(var c=0;c<e.transforms.length;c++)n=e.transforms[c](t,n);return n}return iu(t,e)||"void 0"}function Wl(t,e){var n=E(e),i=P(n),r=function(r){return t[e]===r?e:t[n]===r?n:t[i]===r?i:void 0},o=r("setup-const")||r("setup-reactive-const");if(o)return o;var s=r("setup-let")||r("setup-ref")||r("setup-maybe-ref");return s||void 0}function Ul(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return ".concat(Hl(t,e),"}")),e.pre=n,"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function ql(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Yl(t,e);if(t.staticInFor){var n="",i=t.parent;while(i){if(i.for){n=i.key;break}i=i.parent}return n?"_o(".concat(Hl(t,e),",").concat(e.onceId++,",").concat(n,")"):Hl(t,e)}return Ul(t,e)}function Yl(t,e,n,i){return t.ifProcessed=!0,Xl(t.ifConditions.slice(),e,n,i)}function Xl(t,e,n,i){if(!t.length)return i||"_e()";var r=t.shift();return r.exp?"(".concat(r.exp,")?").concat(o(r.block),":").concat(Xl(t,e,n,i)):"".concat(o(r.block));function o(t){return n?n(t,e):t.once?ql(t,e):Hl(t,e)}}function Gl(t,e,n,i){var r=t.for,o=t.alias,s=t.iterator1?",".concat(t.iterator1):"",a=t.iterator2?",".concat(t.iterator2):"";return t.forProcessed=!0,"".concat(i||"_l","((").concat(r,"),")+"function(".concat(o).concat(s).concat(a,"){")+"return ".concat((n||Hl)(t,e))+"})"}function Kl(t,e){var n="{",i=Jl(t,e);i&&(n+=i+","),t.key&&(n+="key:".concat(t.key,",")),t.ref&&(n+="ref:".concat(t.ref,",")),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'.concat(t.tag,'",'));for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:".concat(hu(t.attrs),",")),t.props&&(n+="domProps:".concat(hu(t.props),",")),t.events&&(n+="".concat(Ll(t.events,!1),",")),t.nativeEvents&&(n+="".concat(Ll(t.nativeEvents,!0),",")),t.slotTarget&&!t.slotScope&&(n+="slot:".concat(t.slotTarget,",")),t.scopedSlots&&(n+="".concat(Ql(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var o=Zl(t,e);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(hu(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Jl(t,e){var n=t.directives;if(n){var i,r,o,s,a="directives:[",c=!1;for(i=0,r=n.length;i<r;i++){o=n[i],s=!0;var l=e.directives[o.name];l&&(s=!!l(t,o,e.warn)),s&&(c=!0,a+='{name:"'.concat(o.name,'",rawName:"').concat(o.rawName,'"').concat(o.value?",value:(".concat(o.value,"),expression:").concat(JSON.stringify(o.value)):"").concat(o.arg?",arg:".concat(o.isDynamicArg?o.arg:'"'.concat(o.arg,'"')):"").concat(o.modifiers?",modifiers:".concat(JSON.stringify(o.modifiers)):"","},"))}return c?a.slice(0,-1)+"]":void 0}}function Zl(t,e){var n=t.children[0];if(n&&1===n.type){var i=Vl(n,e.options);return"inlineTemplate:{render:function(){".concat(i.render,"},staticRenderFns:[").concat(i.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}function Ql(t,e,n){var i=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||eu(n)})),r=!!t.if;if(!i){var o=t.parent;while(o){if(o.slotScope&&o.slotScope!==Rc||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}}var s=Object.keys(e).map((function(t){return nu(e[t],n)})).join(",");return"scopedSlots:_u([".concat(s,"]").concat(i?",null,true":"").concat(!i&&r?",null,false,".concat(tu(s)):"",")")}function tu(t){var e=5381,n=t.length;while(n)e=33*e^t.charCodeAt(--n);return e>>>0}function eu(t){return 1===t.type&&("slot"===t.tag||t.children.some(eu))}function nu(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Yl(t,e,nu,"null");if(t.for&&!t.forProcessed)return Gl(t,e,nu);var i=t.slotScope===Rc?"":String(t.slotScope),r="function(".concat(i,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(iu(t,e)||"undefined",":undefined"):iu(t,e)||"undefined":Hl(t,e),"}"),o=i?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(r).concat(o,"}")}function iu(t,e,n,i,r){var o=t.children;if(o.length){var s=o[0];if(1===o.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var a=n?e.maybeComponent(s)?",1":",0":"";return"".concat((i||Hl)(s,e)).concat(a)}var c=n?ru(o,e.maybeComponent):0,l=r||su;return"[".concat(o.map((function(t){return l(t,e)})).join(","),"]").concat(c?",".concat(c):"")}}function ru(t,e){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(1===r.type){if(ou(r)||r.ifConditions&&r.ifConditions.some((function(t){return ou(t.block)}))){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}function ou(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function su(t,e){return 1===t.type?Hl(t,e):3===t.type&&t.isComment?cu(t):au(t)}function au(t){return"_v(".concat(2===t.type?t.expression:du(JSON.stringify(t.text)),")")}function cu(t){return"_e(".concat(JSON.stringify(t.text),")")}function lu(t,e){var n=t.slotName||'"default"',i=iu(t,e),r="_t(".concat(n).concat(i?",function(){return ".concat(i,"}"):""),o=t.attrs||t.dynamicAttrs?hu((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:E(t.name),value:t.value,dynamic:t.dynamic}}))):null,s=t.attrsMap["v-bind"];return!o&&!s||i||(r+=",null"),o&&(r+=",".concat(o)),s&&(r+="".concat(o?"":",null",",").concat(s)),r+")"}function uu(t,e,n){var i=e.inlineTemplate?null:iu(e,n,!0);return"_c(".concat(t,",").concat(Kl(e,n)).concat(i?",".concat(i):"",")")}function hu(t){for(var e="",n="",i=0;i<t.length;i++){var r=t[i],o=du(r.value);r.dynamic?n+="".concat(r.name,",").concat(o,","):e+='"'.concat(r.name,'":').concat(o,",")}return e="{".concat(e.slice(0,-1),"}"),n?"_d(".concat(e,",[").concat(n.slice(0,-1),"])"):e}function du(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function fu(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),I}}function pu(t){var e=Object.create(null);return function(n,i,r){i=j({},i);i.warn;delete i.warn;var o=i.delimiters?String(i.delimiters)+n:n;if(e[o])return e[o];var s=t(n,i);var a={},c=[];return a.render=fu(s.render,c),a.staticRenderFns=s.staticRenderFns.map((function(t){return fu(t,c)})),e[o]=a}}function gu(t){return function(e){function n(n,i){var r=Object.create(e),o=[],s=[],a=function(t,e,n){(n?s:o).push(t)};if(i)for(var c in i.modules&&(r.modules=(e.modules||[]).concat(i.modules)),i.directives&&(r.directives=j(Object.create(e.directives||null),i.directives)),i)"modules"!==c&&"directives"!==c&&(r[c]=i[c]);r.warn=a;var l=t(n.trim(),r);return l.errors=o,l.tips=s,l}return{compile:n,compileToFunctions:pu(n)}}}var mu,vu=gu((function(t,e){var n=Nc(t.trim(),e);!1!==e.optimize&&xl(n,e);var i=Vl(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}})),bu=vu(yl),yu=bu.compileToFunctions;function _u(t){return mu=mu||document.createElement("div"),mu.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',mu.innerHTML.indexOf("&#10;")>0}var xu=!!et&&_u(!1),wu=!!et&&_u(!0),Su=C((function(t){var e=Br(t);return e&&e.innerHTML})),ku=Zi.prototype.$mount;function Cu(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}Zi.prototype.$mount=function(t,e){if(t=t&&Br(t),t===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"===typeof i)"#"===i.charAt(0)&&(i=Su(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=Cu(t));if(i){0;var r=yu(i,{outputSourceRange:!1,shouldDecodeNewlines:xu,shouldDecodeNewlinesForHref:wu,delimiters:n.delimiters,comments:n.comments},this),o=r.render,s=r.staticRenderFns;n.render=o,n.staticRenderFns=s}}return ku.call(this,t,e)},Zi.compile=yu}).call(this,n("c8ba"))},a04b:function(t,e,n){var i=n("c04e"),r=n("d9b5");t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},aa47:function(t,e,n){"use strict";
/**!
 * Sortable 1.10.2
 * @author	RubaXa   <trash@rubaxa.org>
 * @author	owenm    <owen23355@gmail.com>
 * @license MIT
 */
function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o.apply(this,arguments)}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){r(t,e,n[e])}))}return t}function a(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}function c(t,e){if(null==t)return{};var n,i,r=a(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function l(t){return u(t)||h(t)||d()}function u(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance")}n.r(e),n.d(e,"MultiDrag",(function(){return Ne})),n.d(e,"Sortable",(function(){return Zt})),n.d(e,"Swap",(function(){return Oe}));var f="1.10.2";function p(t){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var g=p(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=p(/Edge/i),v=p(/firefox/i),b=p(/safari/i)&&!p(/chrome/i)&&!p(/android/i),y=p(/iP(ad|od|hone)/i),_=p(/chrome/i)&&p(/android/i),x={capture:!1,passive:!1};function w(t,e,n){t.addEventListener(e,n,!g&&x)}function S(t,e,n){t.removeEventListener(e,n,!g&&x)}function k(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(n){return!1}return!1}}function C(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function O(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&k(t,e):k(t,e))||i&&t===n)return t;if(t===n)break}while(t=C(t))}return null}var E,P=/\s+/g;function M(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(P," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(P," ")}}function T(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"===typeof n?"":"px")}}function A(t,e){var n="";if("string"===typeof t)n=t;else do{var i=T(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function D(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function $(){var t=document.scrollingElement;return t||document.documentElement}function L(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var o,s,a,c,l,u,h;if(t!==window&&t!==$()?(o=t.getBoundingClientRect(),s=o.top,a=o.left,c=o.bottom,l=o.right,u=o.height,h=o.width):(s=0,a=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!g))do{if(r&&r.getBoundingClientRect&&("none"!==T(r,"transform")||n&&"static"!==T(r,"position"))){var d=r.getBoundingClientRect();s-=d.top+parseInt(T(r,"border-top-width")),a-=d.left+parseInt(T(r,"border-left-width")),c=s+o.height,l=a+o.width;break}}while(r=r.parentNode);if(i&&t!==window){var f=A(r||t),p=f&&f.a,m=f&&f.d;f&&(s/=m,a/=p,h/=p,u/=m,c=s+u,l=a+h)}return{top:s,left:a,bottom:c,right:l,width:h,height:u}}}function j(t,e,n){var i=z(t,!0),r=L(t)[e];while(i){var o=L(i)[n],s=void 0;if(s="top"===n||"left"===n?r>=o:r<=o,!s)return i;if(i===$())break;i=z(i,!1)}return!1}function R(t,e,n){var i=0,r=0,o=t.children;while(r<o.length){if("none"!==o[r].style.display&&o[r]!==Zt.ghost&&o[r]!==Zt.dragged&&O(o[r],n.draggable,t,!1)){if(i===e)return o[r];i++}r++}return null}function I(t,e){var n=t.lastElementChild;while(n&&(n===Zt.ghost||"none"===T(n,"display")||e&&!k(n,e)))n=n.previousElementSibling;return n||null}function N(t,e){var n=0;if(!t||!t.parentNode)return-1;while(t=t.previousElementSibling)"TEMPLATE"===t.nodeName.toUpperCase()||t===Zt.clone||e&&!k(t,e)||n++;return n}function F(t){var e=0,n=0,i=$();if(t)do{var r=A(t),o=r.a,s=r.d;e+=t.scrollLeft*o,n+=t.scrollTop*s}while(t!==i&&(t=t.parentNode));return[e,n]}function B(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}function z(t,e){if(!t||!t.getBoundingClientRect)return $();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=T(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return $();if(i||e)return n;i=!0}}}while(n=n.parentNode);return $()}function V(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function H(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function W(t,e){return function(){if(!E){var n=arguments,i=this;1===n.length?t.call(i,n[0]):t.apply(i,n),E=setTimeout((function(){E=void 0}),e)}}}function U(){clearTimeout(E),E=void 0}function q(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function Y(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function X(t,e){T(t,"position","absolute"),T(t,"top",e.top),T(t,"left",e.left),T(t,"width",e.width),T(t,"height",e.height)}function G(t){T(t,"position",""),T(t,"top",""),T(t,"left",""),T(t,"width",""),T(t,"height","")}var K="Sortable"+(new Date).getTime();function J(){var t,e=[];return{captureAnimationState:function(){if(e=[],this.options.animation){var t=[].slice.call(this.el.children);t.forEach((function(t){if("none"!==T(t,"display")&&t!==Zt.ghost){e.push({target:t,rect:L(t)});var n=s({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=A(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))}},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(B(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"===typeof n&&n());var r=!1,o=0;e.forEach((function(t){var e=0,n=t.target,s=n.fromRect,a=L(n),c=n.prevFromRect,l=n.prevToRect,u=t.rect,h=A(n,!0);h&&(a.top-=h.f,a.left-=h.e),n.toRect=a,n.thisAnimationDuration&&H(c,a)&&!H(s,a)&&(u.top-a.top)/(u.left-a.left)===(s.top-a.top)/(s.left-a.left)&&(e=Q(u,c,l,i.options)),H(a,s)||(n.prevFromRect=s,n.prevToRect=a,e||(e=i.options.animation),i.animate(n,u,a,e)),e&&(r=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),r?t=setTimeout((function(){"function"===typeof n&&n()}),o):"function"===typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){T(t,"transition",""),T(t,"transform","");var r=A(this.el),o=r&&r.a,s=r&&r.d,a=(e.left-n.left)/(o||1),c=(e.top-n.top)/(s||1);t.animatingX=!!a,t.animatingY=!!c,T(t,"transform","translate3d("+a+"px,"+c+"px,0)"),Z(t),T(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),T(t,"transform","translate3d(0,0,0)"),"number"===typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){T(t,"transition",""),T(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}function Z(t){return t.offsetWidth}function Q(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}var tt=[],et={initializeByDefault:!0},nt={mount:function(t){for(var e in et)et.hasOwnProperty(e)&&!(e in t)&&(t[e]=et[e]);tt.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";tt.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](s({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](s({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var r in tt.forEach((function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var s=new i(t,e,t.options);s.sortable=t,s.options=t.options,t[r]=s,o(n,s.defaults)}})),t.options)if(t.options.hasOwnProperty(r)){var s=this.modifyOption(t,r,t.options[r]);"undefined"!==typeof s&&(t.options[r]=s)}},getEventProperties:function(t,e){var n={};return tt.forEach((function(i){"function"===typeof i.eventProperties&&o(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return tt.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"===typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))})),i}};function it(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,o=t.cloneEl,a=t.toEl,c=t.fromEl,l=t.oldIndex,u=t.newIndex,h=t.oldDraggableIndex,d=t.newDraggableIndex,f=t.originalEvent,p=t.putSortable,v=t.extraEventProperties;if(e=e||n&&n[K],e){var b,y=e.options,_="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||g||m?(b=document.createEvent("Event"),b.initEvent(i,!0,!0)):b=new CustomEvent(i,{bubbles:!0,cancelable:!0}),b.to=a||n,b.from=c||n,b.item=r||n,b.clone=o,b.oldIndex=l,b.newIndex=u,b.oldDraggableIndex=h,b.newDraggableIndex=d,b.originalEvent=f,b.pullMode=p?p.lastPutMode:void 0;var x=s({},v,nt.getEventProperties(i,e));for(var w in x)b[w]=x[w];n&&n.dispatchEvent(b),y[_]&&y[_].call(e,b)}}var rt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=c(n,["evt"]);nt.pluginEvent.bind(Zt)(t,e,s({dragEl:st,parentEl:at,ghostEl:ct,rootEl:lt,nextEl:ut,lastDownEl:ht,cloneEl:dt,cloneHidden:ft,dragStarted:Ot,putSortable:yt,activeSortable:Zt.active,originalEvent:i,oldIndex:pt,oldDraggableIndex:mt,newIndex:gt,newDraggableIndex:vt,hideGhostForTarget:Xt,unhideGhostForTarget:Gt,cloneNowHidden:function(){ft=!0},cloneNowShown:function(){ft=!1},dispatchSortableEvent:function(t){ot({sortable:e,name:t,originalEvent:i})}},r))};function ot(t){it(s({putSortable:yt,cloneEl:dt,targetEl:st,rootEl:lt,oldIndex:pt,oldDraggableIndex:mt,newIndex:gt,newDraggableIndex:vt},t))}var st,at,ct,lt,ut,ht,dt,ft,pt,gt,mt,vt,bt,yt,_t,xt,wt,St,kt,Ct,Ot,Et,Pt,Mt,Tt,At=!1,Dt=!1,$t=[],Lt=!1,jt=!1,Rt=[],It=!1,Nt=[],Ft="undefined"!==typeof document,Bt=y,zt=m||g?"cssFloat":"float",Vt=Ft&&!_&&!y&&"draggable"in document.createElement("div"),Ht=function(){if(Ft){if(g)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Wt=function(t,e){var n=T(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=R(t,0,e),o=R(t,1,e),s=r&&T(r),a=o&&T(o),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(r).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&s["float"]&&"none"!==s["float"]){var u="left"===s["float"]?"left":"right";return!o||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||c>=i&&"none"===n[zt]||o&&"none"===n[zt]&&c+l>i)?"vertical":"horizontal"},Ut=function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,o=n?t.width:t.height,s=n?e.left:e.top,a=n?e.right:e.bottom,c=n?e.width:e.height;return i===s||r===a||i+o/2===s+c/2},qt=function(t,e){var n;return $t.some((function(i){if(!I(i)){var r=L(i),o=i[K].options.emptyInsertThreshold,s=t>=r.left-o&&t<=r.right+o,a=e>=r.top-o&&e<=r.bottom+o;return o&&s&&a?n=i:void 0}})),n},Yt=function(t){function e(t,n){return function(i,r,o,s){var a=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"===typeof t)return e(t(i,r,o,s),n)(i,r,o,s);var c=(n?i:r).options.group.name;return!0===t||"string"===typeof t&&t===c||t.join&&t.indexOf(c)>-1}}var n={},r=t.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=e(r.pull,!0),n.checkPut=e(r.put),n.revertClone=r.revertClone,t.group=n},Xt=function(){!Ht&&ct&&T(ct,"display","none")},Gt=function(){!Ht&&ct&&T(ct,"display","")};Ft&&document.addEventListener("click",(function(t){if(Dt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Dt=!1,!1}),!0);var Kt=function(t){if(st){t=t.touches?t.touches[0]:t;var e=qt(t.clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[K]._onDragOver(n)}}},Jt=function(t){st&&st.parentNode[K]._isOutsideThisEl(t.target)};function Zt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[K]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Wt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Zt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in nt.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in Yt(e),this)"_"===r.charAt(0)&&"function"===typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&Vt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?w(t,"pointerdown",this._onTapStart):(w(t,"mousedown",this._onTapStart),w(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(w(t,"dragover",this),w(t,"dragenter",this)),$t.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,J())}function Qt(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function te(t,e,n,i,r,o,s,a){var c,l,u=t[K],h=u.options.onMove;return!window.CustomEvent||g||m?(c=document.createEvent("Event"),c.initEvent("move",!0,!0)):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=e,c.from=t,c.dragged=n,c.draggedRect=i,c.related=r||e,c.relatedRect=o||L(e),c.willInsertAfter=a,c.originalEvent=s,t.dispatchEvent(c),h&&(l=h.call(u,c,s)),l}function ee(t){t.draggable=!1}function ne(){It=!1}function ie(t,e,n){var i=L(I(n.el,n.options.draggable)),r=10;return e?t.clientX>i.right+r||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+r}function re(t,e,n,i,r,o,s,a){var c=i?t.clientY:t.clientX,l=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!s)if(a&&Mt<l*r){if(!Lt&&(1===Pt?c>u+l*o/2:c<h-l*o/2)&&(Lt=!0),Lt)d=!0;else if(1===Pt?c<u+Mt:c>h-Mt)return-Pt}else if(c>u+l*(1-r)/2&&c<h-l*(1-r)/2)return oe(e);return d=d||s,d&&(c<u+l*o/2||c>h-l*o/2)?c>u+l/2?1:-1:0}function oe(t){return N(st)<N(t)?1:-1}function se(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;while(n--)i+=e.charCodeAt(n);return i.toString(36)}function ae(t){Nt.length=0;var e=t.getElementsByTagName("input"),n=e.length;while(n--){var i=e[n];i.checked&&Nt.push(i)}}function ce(t){return setTimeout(t,0)}function le(t){return clearTimeout(t)}Zt.prototype={constructor:Zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,e){return"function"===typeof this.options.direction?this.options.direction.call(this,t,e,st):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=i.filter;if(ae(n),!st&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||i.disabled)&&!c.isContentEditable&&(a=O(a,i.draggable,n,!1),(!a||!a.animated)&&ht!==a)){if(pt=N(a),mt=N(a,i.draggable),"function"===typeof l){if(l.call(this,t,a,this))return ot({sortable:e,rootEl:c,name:"filter",targetEl:a,toEl:n,fromEl:n}),rt("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(i){if(i=O(c,i.trim(),n,!1),i)return ot({sortable:e,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),rt("filter",e,{evt:t}),!0})),l))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!O(c,i.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(n&&!st&&n.parentNode===o){var c=L(n);if(lt=o,st=n,at=st.parentNode,ut=st.nextSibling,ht=n,bt=s.group,Zt.dragged=st,_t={target:st,clientX:(e||t).clientX,clientY:(e||t).clientY},kt=_t.clientX-c.left,Ct=_t.clientY-c.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,st.style["will-change"]="all",i=function(){rt("delayEnded",r,{evt:t}),Zt.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!v&&r.nativeDraggable&&(st.draggable=!0),r._triggerDragStart(t,e),ot({sortable:r,name:"choose",originalEvent:t}),M(st,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){D(st,t.trim(),ee)})),w(a,"dragover",Kt),w(a,"mousemove",Kt),w(a,"touchmove",Kt),w(a,"mouseup",r._onDrop),w(a,"touchend",r._onDrop),w(a,"touchcancel",r._onDrop),v&&this.nativeDraggable&&(this.options.touchStartThreshold=4,st.draggable=!0),rt("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(m||g))i();else{if(Zt.eventCanceled)return void this._onDrop();w(a,"mouseup",r._disableDelayedDrag),w(a,"touchend",r._disableDelayedDrag),w(a,"touchcancel",r._disableDelayedDrag),w(a,"mousemove",r._delayedDragTouchMoveHandler),w(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&w(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){st&&ee(st),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;S(t,"mouseup",this._disableDelayedDrag),S(t,"touchend",this._disableDelayedDrag),S(t,"touchcancel",this._disableDelayedDrag),S(t,"mousemove",this._delayedDragTouchMoveHandler),S(t,"touchmove",this._delayedDragTouchMoveHandler),S(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?w(document,"pointermove",this._onTouchMove):w(document,e?"touchmove":"mousemove",this._onTouchMove):(w(st,"dragend",this),w(lt,"dragstart",this._onDragStart));try{document.selection?ce((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(t,e){if(At=!1,lt&&st){rt("dragStarted",this,{evt:e}),this.nativeDraggable&&w(document,"dragover",Jt);var n=this.options;!t&&M(st,n.dragClass,!1),M(st,n.ghostClass,!0),Zt.active=this,t&&this._appendGhost(),ot({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(xt){this._lastX=xt.clientX,this._lastY=xt.clientY,Xt();var t=document.elementFromPoint(xt.clientX,xt.clientY),e=t;while(t&&t.shadowRoot){if(t=t.shadowRoot.elementFromPoint(xt.clientX,xt.clientY),t===e)break;e=t}if(st.parentNode[K]._isOutsideThisEl(t),e)do{if(e[K]){var n=void 0;if(n=e[K]._onDragOver({clientX:xt.clientX,clientY:xt.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Gt()}},_onTouchMove:function(t){if(_t){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=ct&&A(ct,!0),s=ct&&o&&o.a,a=ct&&o&&o.d,c=Bt&&Tt&&F(Tt),l=(r.clientX-_t.clientX+i.x)/(s||1)+(c?c[0]-Rt[0]:0)/(s||1),u=(r.clientY-_t.clientY+i.y)/(a||1)+(c?c[1]-Rt[1]:0)/(a||1);if(!Zt.active&&!At){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(ct){o?(o.e+=l-(wt||0),o.f+=u-(St||0)):o={a:1,b:0,c:0,d:1,e:l,f:u};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");T(ct,"webkitTransform",h),T(ct,"mozTransform",h),T(ct,"msTransform",h),T(ct,"transform",h),wt=l,St=u,xt=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!ct){var t=this.options.fallbackOnBody?document.body:lt,e=L(st,!0,Bt,!0,t),n=this.options;if(Bt){Tt=t;while("static"===T(Tt,"position")&&"none"===T(Tt,"transform")&&Tt!==document)Tt=Tt.parentNode;Tt!==document.body&&Tt!==document.documentElement?(Tt===document&&(Tt=$()),e.top+=Tt.scrollTop,e.left+=Tt.scrollLeft):Tt=$(),Rt=F(Tt)}ct=st.cloneNode(!0),M(ct,n.ghostClass,!1),M(ct,n.fallbackClass,!0),M(ct,n.dragClass,!0),T(ct,"transition",""),T(ct,"transform",""),T(ct,"box-sizing","border-box"),T(ct,"margin",0),T(ct,"top",e.top),T(ct,"left",e.left),T(ct,"width",e.width),T(ct,"height",e.height),T(ct,"opacity","0.8"),T(ct,"position",Bt?"absolute":"fixed"),T(ct,"zIndex","100000"),T(ct,"pointerEvents","none"),Zt.ghost=ct,t.appendChild(ct),T(ct,"transform-origin",kt/parseInt(ct.style.width)*100+"% "+Ct/parseInt(ct.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;rt("dragStart",this,{evt:t}),Zt.eventCanceled?this._onDrop():(rt("setupClone",this),Zt.eventCanceled||(dt=Y(st),dt.draggable=!1,dt.style["will-change"]="",this._hideClone(),M(dt,this.options.chosenClass,!1),Zt.clone=dt),n.cloneId=ce((function(){rt("clone",n),Zt.eventCanceled||(n.options.removeCloneOnHide||lt.insertBefore(dt,st),n._hideClone(),ot({sortable:n,name:"clone"}))})),!e&&M(st,r.dragClass,!0),e?(Dt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(S(document,"mouseup",n._onDrop),S(document,"touchend",n._onDrop),S(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,st)),w(document,"drop",n),T(st,"transform","translateZ(0)")),At=!0,n._dragStartId=ce(n._dragStarted.bind(n,e,t)),w(document,"selectstart",n),Ot=!0,b&&T(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,o=this.el,a=t.target,c=this.options,l=c.group,u=Zt.active,h=bt===l,d=c.sort,f=yt||u,p=this,g=!1;if(!It){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=O(a,c.draggable,o,!0),D("dragOver"),Zt.eventCanceled)return g;if(st.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return R(!1);if(Dt=!1,u&&!c.disabled&&(h?d||(i=!lt.contains(st)):yt===this||(this.lastPutMode=bt.checkPull(this,u,st,t))&&l.checkPut(this,u,st,t))){if(r="vertical"===this._getDirection(t,a),e=L(st),D("dragOverValid"),Zt.eventCanceled)return g;if(i)return at=lt,$(),this._hideClone(),D("revert"),Zt.eventCanceled||(ut?lt.insertBefore(st,ut):lt.appendChild(st)),R(!0);var m=I(o,c.draggable);if(!m||ie(t,r,this)&&!m.animated){if(m===st)return R(!1);if(m&&o===t.target&&(a=m),a&&(n=L(a)),!1!==te(lt,o,st,e,a,n,t,!!a))return $(),o.appendChild(st),at=o,F(),R(!0)}else if(a.parentNode===o){n=L(a);var v,b,y=0,_=st.parentNode!==o,x=!Ut(st.animated&&st.toRect||e,a.animated&&a.toRect||n,r),w=r?"top":"left",S=j(a,"top","top")||j(st,"top","top"),k=S?S.scrollTop:void 0;if(Et!==a&&(v=n[w],Lt=!1,jt=!x&&c.invertSwap||_),y=re(t,a,n,r,x?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,jt,Et===a),0!==y){var C=N(st);do{C-=y,b=at.children[C]}while(b&&("none"===T(b,"display")||b===ct))}if(0===y||b===a)return R(!1);Et=a,Pt=y;var E=a.nextElementSibling,P=!1;P=1===y;var A=te(lt,o,st,e,a,n,t,P);if(!1!==A)return 1!==A&&-1!==A||(P=1===A),It=!0,setTimeout(ne,30),$(),P&&!E?o.appendChild(st):a.parentNode.insertBefore(st,P?E:a),S&&q(S,0,k-S.scrollTop),at=st.parentNode,void 0===v||jt||(Mt=Math.abs(v-L(a)[w])),F(),R(!0)}if(o.contains(st))return R(!1)}return!1}function D(c,l){rt(c,p,s({evt:t,isOwner:h,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:d,fromSortable:f,target:a,completed:R,onMove:function(n,i){return te(lt,o,st,e,n,L(n),t,i)},changed:F},l))}function $(){D("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function R(e){return D("dragOverCompleted",{insertion:e}),e&&(h?u._hideClone():u._showClone(p),p!==f&&(M(st,yt?yt.options.ghostClass:u.options.ghostClass,!1),M(st,c.ghostClass,!0)),yt!==p&&p!==Zt.active?yt=p:p===Zt.active&&yt&&(yt=null),f===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){D("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===st&&!st.animated||a===o&&!a.animated)&&(Et=null),c.dragoverBubble||t.rootEl||a===document||(st.parentNode[K]._isOutsideThisEl(t.target),!e&&Kt(t)),!c.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),g=!0}function F(){gt=N(st),vt=N(st,c.draggable),ot({sortable:p,name:"change",toEl:o,newIndex:gt,newDraggableIndex:vt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){S(document,"mousemove",this._onTouchMove),S(document,"touchmove",this._onTouchMove),S(document,"pointermove",this._onTouchMove),S(document,"dragover",Kt),S(document,"mousemove",Kt),S(document,"touchmove",Kt)},_offUpEvents:function(){var t=this.el.ownerDocument;S(t,"mouseup",this._onDrop),S(t,"touchend",this._onDrop),S(t,"pointerup",this._onDrop),S(t,"touchcancel",this._onDrop),S(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;gt=N(st),vt=N(st,n.draggable),rt("drop",this,{evt:t}),at=st&&st.parentNode,gt=N(st),vt=N(st,n.draggable),Zt.eventCanceled||(At=!1,jt=!1,Lt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),le(this.cloneId),le(this._dragStartId),this.nativeDraggable&&(S(document,"drop",this),S(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),b&&T(document.body,"user-select",""),T(st,"transform",""),t&&(Ot&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),ct&&ct.parentNode&&ct.parentNode.removeChild(ct),(lt===at||yt&&"clone"!==yt.lastPutMode)&&dt&&dt.parentNode&&dt.parentNode.removeChild(dt),st&&(this.nativeDraggable&&S(st,"dragend",this),ee(st),st.style["will-change"]="",Ot&&!At&&M(st,yt?yt.options.ghostClass:this.options.ghostClass,!1),M(st,this.options.chosenClass,!1),ot({sortable:this,name:"unchoose",toEl:at,newIndex:null,newDraggableIndex:null,originalEvent:t}),lt!==at?(gt>=0&&(ot({rootEl:at,name:"add",toEl:at,fromEl:lt,originalEvent:t}),ot({sortable:this,name:"remove",toEl:at,originalEvent:t}),ot({rootEl:at,name:"sort",toEl:at,fromEl:lt,originalEvent:t}),ot({sortable:this,name:"sort",toEl:at,originalEvent:t})),yt&&yt.save()):gt!==pt&&gt>=0&&(ot({sortable:this,name:"update",toEl:at,originalEvent:t}),ot({sortable:this,name:"sort",toEl:at,originalEvent:t})),Zt.active&&(null!=gt&&-1!==gt||(gt=pt,vt=mt),ot({sortable:this,name:"end",toEl:at,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),lt=st=at=ct=ut=dt=ht=ft=_t=xt=Ot=gt=vt=pt=mt=Et=Pt=yt=bt=Zt.dragged=Zt.ghost=Zt.clone=Zt.active=null,Nt.forEach((function(t){t.checked=!0})),Nt.length=wt=St=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":st&&(this._onDragOver(t),Qt(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)t=n[i],O(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||se(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,i){var r=n.children[i];O(r,this.options.draggable,n,!1)&&(e[t]=r)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return O(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=nt.modifyOption(this,t,e);n[t]="undefined"!==typeof i?i:e,"group"===t&&Yt(n)},destroy:function(){rt("destroy",this);var t=this.el;t[K]=null,S(t,"mousedown",this._onTapStart),S(t,"touchstart",this._onTapStart),S(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(S(t,"dragover",this),S(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),$t.splice($t.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ft){if(rt("hideClone",this),Zt.eventCanceled)return;T(dt,"display","none"),this.options.removeCloneOnHide&&dt.parentNode&&dt.parentNode.removeChild(dt),ft=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ft){if(rt("showClone",this),Zt.eventCanceled)return;lt.contains(st)&&!this.options.group.revertClone?lt.insertBefore(dt,st):ut?lt.insertBefore(dt,ut):lt.appendChild(dt),this.options.group.revertClone&&this.animate(st,dt),T(dt,"display",""),ft=!1}}else this._hideClone()}},Ft&&w(document,"touchmove",(function(t){(Zt.active||At)&&t.cancelable&&t.preventDefault()})),Zt.utils={on:w,off:S,css:T,find:D,is:function(t,e){return!!O(t,e,t,!1)},extend:V,throttle:W,closest:O,toggleClass:M,clone:Y,index:N,nextTick:ce,cancelNextTick:le,detectDirection:Wt,getChild:R},Zt.get=function(t){return t[K]},Zt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Zt.utils=s({},Zt.utils,t.utils)),nt.mount(t)}))},Zt.create=function(t,e){return new Zt(t,e)},Zt.version=f;var ue,he,de,fe,pe,ge,me=[],ve=!1;function be(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"===typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?w(document,"dragover",this._handleAutoScroll):this.options.supportPointer?w(document,"pointermove",this._handleFallbackAutoScroll):e.touches?w(document,"touchmove",this._handleFallbackAutoScroll):w(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?S(document,"dragover",this._handleAutoScroll):(S(document,"pointermove",this._handleFallbackAutoScroll),S(document,"touchmove",this._handleFallbackAutoScroll),S(document,"mousemove",this._handleFallbackAutoScroll)),_e(),ye(),U()},nulling:function(){pe=he=ue=ve=ge=de=fe=null,me.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(i,r);if(pe=t,e||m||g||b){we(t,this.options,o,e);var s=z(o,!0);!ve||ge&&i===de&&r===fe||(ge&&_e(),ge=setInterval((function(){var o=z(document.elementFromPoint(i,r),!0);o!==s&&(s=o,ye()),we(t,n.options,o,e)}),10),de=i,fe=r)}else{if(!this.options.bubbleScroll||z(o,!0)===$())return void ye();we(t,this.options,z(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}function ye(){me.forEach((function(t){clearInterval(t.pid)})),me=[]}function _e(){clearInterval(ge)}var xe,we=W((function(t,e,n,i){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,c=e.scrollSpeed,l=$(),u=!1;he!==n&&(he=n,ye(),ue=e.scroll,r=e.scrollFn,!0===ue&&(ue=z(n,!0)));var h=0,d=ue;do{var f=d,p=L(f),g=p.top,m=p.bottom,v=p.left,b=p.right,y=p.width,_=p.height,x=void 0,w=void 0,S=f.scrollWidth,k=f.scrollHeight,C=T(f),O=f.scrollLeft,E=f.scrollTop;f===l?(x=y<S&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(x=y<S&&("auto"===C.overflowX||"scroll"===C.overflowX),w=_<k&&("auto"===C.overflowY||"scroll"===C.overflowY));var P=x&&(Math.abs(b-o)<=a&&O+y<S)-(Math.abs(v-o)<=a&&!!O),M=w&&(Math.abs(m-s)<=a&&E+_<k)-(Math.abs(g-s)<=a&&!!E);if(!me[h])for(var A=0;A<=h;A++)me[A]||(me[A]={});me[h].vx==P&&me[h].vy==M&&me[h].el===f||(me[h].el=f,me[h].vx=P,me[h].vy=M,clearInterval(me[h].pid),0==P&&0==M||(u=!0,me[h].pid=setInterval(function(){i&&0===this.layer&&Zt.active._onTouchMove(pe);var e=me[this.layer].vy?me[this.layer].vy*c:0,n=me[this.layer].vx?me[this.layer].vx*c:0;"function"===typeof r&&"continue"!==r.call(Zt.dragged.parentNode[K],n,e,t,pe,me[this.layer].el)||q(me[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==l&&(d=z(d,!1)));ve=u}}),30),Se=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,o=t.dispatchSortableEvent,s=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var c=n||r;s();var l=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(l.clientX,l.clientY);a(),c&&!c.el.contains(u)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function ke(){}function Ce(){}function Oe(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;xe=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,r=t.activeSortable,o=t.changed,s=t.cancel;if(r.options.swap){var a=this.sortable.el,c=this.options;if(n&&n!==a){var l=xe;!1!==i(n)?(M(n,c.swapClass,!0),xe=n):xe=null,l&&l!==xe&&M(l,c.swapClass,!1)}o(),e(!0),s()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,i=t.dragEl,r=n||this.sortable,o=this.options;xe&&M(xe,o.swapClass,!1),xe&&(o.swap||n&&n.options.swap)&&i!==xe&&(r.captureAnimationState(),r!==e&&e.captureAnimationState(),Ee(i,xe),r.animateAll(),r!==e&&e.animateAll())},nulling:function(){xe=null}},o(t,{pluginName:"swap",eventProperties:function(){return{swapItem:xe}}})}function Ee(t,e){var n,i,r=t.parentNode,o=e.parentNode;r&&o&&!r.isEqualNode(e)&&!o.isEqualNode(t)&&(n=N(t),i=N(e),r.isEqualNode(o)&&n<i&&i++,r.insertBefore(e,r.children[n]),o.insertBefore(t,o.children[i]))}ke.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=R(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:Se},o(ke,{pluginName:"revertOnSpill"}),Ce.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,i=n||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:Se},o(Ce,{pluginName:"removeOnSpill"});var Pe,Me,Te,Ae,De,$e=[],Le=[],je=!1,Re=!1,Ie=!1;function Ne(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"===typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?w(document,"pointerup",this._deselectMultiDrag):(w(document,"mouseup",this._deselectMultiDrag),w(document,"touchend",this._deselectMultiDrag)),w(document,"keydown",this._checkKeyDown),w(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var i="";$e.length&&Me===t?$e.forEach((function(t,e){i+=(e?", ":"")+t.textContent})):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;Te=e},delayEnded:function(){this.isMultiDrag=~$e.indexOf(Te)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<$e.length;i++)Le.push(Y($e[i])),Le[i].sortableIndex=$e[i].sortableIndex,Le[i].draggable=!1,Le[i].style["will-change"]="",M(Le[i],this.options.selectedClass,!1),$e[i]===Te&&M(Le[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,r=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||$e.length&&Me===e&&(Be(!0,n),i("clone"),r()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(Be(!1,n),Le.forEach((function(t){T(t,"display","")})),e(),De=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(Le.forEach((function(t){T(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),De=!0,i())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&Me&&Me.multiDrag._deselectMultiDrag(),$e.forEach((function(t){t.sortableIndex=N(t)})),$e=$e.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),Ie=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){$e.forEach((function(t){t!==Te&&T(t,"position","absolute")}));var i=L(Te,!1,!0,!0);$e.forEach((function(t){t!==Te&&X(t,i)})),Re=!0,je=!0}n.animateAll((function(){Re=!1,je=!1,e.options.animation&&$e.forEach((function(t){G(t)})),e.options.sort&&ze()}))}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;Re&&~$e.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,r=t.dragRect;$e.length>1&&($e.forEach((function(t){i.addAnimationState({target:t,rect:Re?L(t):r}),G(t),t.fromRect=r,e.removeAnimationState(t)})),Re=!1,Fe(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,r=t.activeSortable,o=t.parentEl,s=t.putSortable,a=this.options;if(i){if(n&&r._hideClone(),je=!1,a.animation&&$e.length>1&&(Re||!n&&!r.options.sort&&!s)){var c=L(Te,!1,!0,!0);$e.forEach((function(t){t!==Te&&(X(t,c),o.appendChild(t))})),Re=!0}if(!n)if(Re||ze(),$e.length>1){var l=De;r._showClone(e),r.options.animation&&!De&&l&&Le.forEach((function(t){r.addAnimationState({target:t,rect:Ae}),t.fromRect=Ae,t.thisAnimationDuration=null}))}else r._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if($e.forEach((function(t){t.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){Ae=o({},e);var r=A(Te,!0);Ae.top-=r.f,Ae.left-=r.e}},dragOverAnimationComplete:function(){Re&&(Re=!1,ze())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,r=t.sortable,o=t.dispatchSortableEvent,s=t.oldIndex,a=t.putSortable,c=a||this.sortable;if(e){var l=this.options,u=i.children;if(!Ie)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),M(Te,l.selectedClass,!~$e.indexOf(Te)),~$e.indexOf(Te))$e.splice($e.indexOf(Te),1),Pe=null,it({sortable:r,rootEl:n,name:"deselect",targetEl:Te,originalEvt:e});else{if($e.push(Te),it({sortable:r,rootEl:n,name:"select",targetEl:Te,originalEvt:e}),e.shiftKey&&Pe&&r.el.contains(Pe)){var h,d,f=N(Pe),p=N(Te);if(~f&&~p&&f!==p)for(p>f?(d=f,h=p):(d=p,h=f+1);d<h;d++)~$e.indexOf(u[d])||(M(u[d],l.selectedClass,!0),$e.push(u[d]),it({sortable:r,rootEl:n,name:"select",targetEl:u[d],originalEvt:e}))}else Pe=Te;Me=c}if(Ie&&this.isMultiDrag){if((i[K].options.sort||i!==n)&&$e.length>1){var g=L(Te),m=N(Te,":not(."+this.options.selectedClass+")");if(!je&&l.animation&&(Te.thisAnimationDuration=null),c.captureAnimationState(),!je&&(l.animation&&(Te.fromRect=g,$e.forEach((function(t){if(t.thisAnimationDuration=null,t!==Te){var e=Re?L(t):g;t.fromRect=e,c.addAnimationState({target:t,rect:e})}}))),ze(),$e.forEach((function(t){u[m]?i.insertBefore(t,u[m]):i.appendChild(t),m++})),s===N(Te))){var v=!1;$e.forEach((function(t){t.sortableIndex===N(t)||(v=!0)})),v&&o("update")}$e.forEach((function(t){G(t)})),c.animateAll()}Me=c}(n===i||a&&"clone"!==a.lastPutMode)&&Le.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Ie=!1,Le.length=0},destroyGlobal:function(){this._deselectMultiDrag(),S(document,"pointerup",this._deselectMultiDrag),S(document,"mouseup",this._deselectMultiDrag),S(document,"touchend",this._deselectMultiDrag),S(document,"keydown",this._checkKeyDown),S(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(("undefined"===typeof Ie||!Ie)&&Me===this.sortable&&(!t||!O(t.target,this.options.draggable,this.sortable.el,!1))&&(!t||0===t.button))while($e.length){var e=$e[0];M(e,this.options.selectedClass,!1),$e.shift(),it({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[K];e&&e.options.multiDrag&&!~$e.indexOf(t)&&(Me&&Me!==e&&(Me.multiDrag._deselectMultiDrag(),Me=e),M(t,e.options.selectedClass,!0),$e.push(t))},deselect:function(t){var e=t.parentNode[K],n=$e.indexOf(t);e&&e.options.multiDrag&&~n&&(M(t,e.options.selectedClass,!1),$e.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return $e.forEach((function(i){var r;e.push({multiDragElement:i,index:i.sortableIndex}),r=Re&&i!==Te?-1:Re?N(i,":not(."+t.options.selectedClass+")"):N(i),n.push({multiDragElement:i,index:r})})),{items:l($e),clones:[].concat(Le),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),"ctrl"===t?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function Fe(t,e){$e.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function Be(t,e){Le.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function ze(){$e.forEach((function(t){t!==Te&&t.parentNode&&t.parentNode.removeChild(t)}))}Zt.mount(new be),Zt.mount(Ce,ke),e["default"]=Zt},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},aed9:function(t,e,n){var i=n("83ab"),r=n("d039");t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?i:n)(e)}},b50d:function(t,e,n){"use strict";var i=n("c532"),r=n("467f"),o=n("7aac"),s=n("30b5"),a=n("83b9"),c=n("c345"),l=n("3934"),u=n("2d83"),h=n("2444"),d=n("7a77");t.exports=function(t){return new Promise((function(e,n){var f,p=t.data,g=t.headers,m=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(f),t.signal&&t.signal.removeEventListener("abort",f)}i.isFormData(p)&&delete g["Content-Type"];var b=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+_)}var x=a(t.baseURL,t.url);function w(){if(b){var i="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,o=m&&"text"!==m&&"json"!==m?b.response:b.responseText,s={data:o,status:b.status,statusText:b.statusText,headers:i,config:t,request:b};r((function(t){e(t),v()}),(function(t){n(t),v()}),s),b=null}}if(b.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),b.timeout=t.timeout,"onloadend"in b?b.onloadend=w:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(w)},b.onabort=function(){b&&(n(u("Request aborted",t,"ECONNABORTED",b)),b=null)},b.onerror=function(){n(u("Network Error",t,null,b)),b=null},b.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",i=t.transitional||h.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,i.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},i.isStandardBrowserEnv()){var S=(t.withCredentials||l(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;S&&(g[t.xsrfHeaderName]=S)}"setRequestHeader"in b&&i.forEach(g,(function(t,e){"undefined"===typeof p&&"content-type"===e.toLowerCase()?delete g[e]:b.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(b.withCredentials=!!t.withCredentials),m&&"json"!==m&&(b.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&b.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(f=function(t){b&&(n(!t||t&&t.type?new d("canceled"):t),b.abort(),b=null)},t.cancelToken&&t.cancelToken.subscribe(f),t.signal&&(t.signal.aborted?f():t.signal.addEventListener("abort",f))),p||(p=null),b.send(p)}))}},b622:function(t,e,n){var i=n("da84"),r=n("5692"),o=n("1a2d"),s=n("90e3"),a=n("04f8"),c=n("fdbf"),l=r("wks"),u=i.Symbol,h=u&&u["for"],d=c?u:u&&u.withoutSetter||s;t.exports=function(t){if(!o(l,t)||!a&&"string"!=typeof l[t]){var e="Symbol."+t;a&&o(u,t)?l[t]=u[t]:l[t]=c&&h?h(e):d(e)}return l[t]}},b76a:function(t,e,n){(function(e,i){t.exports=i(n("aa47"))})("undefined"!==typeof self&&self,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",g="values",m=function(){return this};t.exports=function(t,e,n,v,b,y,_){c(n,e,v);var x,w,S,k=function(t){if(!d&&t in P)return P[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",O=b==g,E=!1,P=t.prototype,M=P[h]||P[f]||b&&P[b],T=M||k(b),A=b?O?k("entries"):T:void 0,D="Array"==e&&P.entries||M;if(D&&(S=u(D.call(new t)),S!==Object.prototype&&S.next&&(l(S,C,!0),i||"function"==typeof S[h]||s(S,h,m))),O&&M&&M.name!==g&&(E=!0,T=function(){return M.call(this)}),i&&!_||!d&&!E&&P[h]||s(P,h,T),a[e]=T,a[C]=m,b)if(x={values:O?T:k(g),keys:y?T:k(p),entries:A},_)for(w in x)w in P||o(P,w,x[w]);else r(r.P+r.F*(d||E),e,x);return x}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),l=a.length;return c<0||c>=l?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,s=o(e),a=s.length,c=0;while(a>c)i.f(t,n=s[c++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),c=n("520a"),l=a("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=a(t),f=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),p=f?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[d](""),!e})):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!h){var g=/./[d],m=n(s,d,""[t],(function(t,e,n,i,r){return e.exec===c?f&&!r?{done:!0,value:g.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),v=m[0],b=m[1];i(String.prototype,t,v),r(RegExp.prototype,d,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),c="toString",l=(""+a).split(c);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||r(n,s,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:a?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",l=function(){var t,e=n("230e")("iframe"),i=o.length,r="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+s+"document.F=Object"+r+"/script"+s),t.close(),l=t.F;while(i--)delete l[c][o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=i(t),n=new a,a[c]=null,n[s]=t):n=l(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))};a.store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),o="includes";i(i.P+i.F*n("5147")(o),"String",{includes:function(t){return!!~r(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[a]||0!==e[a]}(),l=void 0!==/()??/.exec("")[1],u=c||l;u&&(s=function(t){var e,n,s,u,h=this;return l&&(n=new RegExp("^"+h.source+"$(?!\\s)",i.call(h))),c&&(e=h[a]),s=r.call(h,t),c&&s&&(h[a]=h.global?s.index+s[0].length:e),l&&s&&s.length>1&&o.call(s[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s}),t.exports=s},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",s=r[o]||(r[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",l=function(t,e,n){var u,h,d,f,p=t&l.F,g=t&l.G,m=t&l.S,v=t&l.P,b=t&l.B,y=g?i:m?i[e]||(i[e]={}):(i[e]||{})[c],_=g?r:r[e]||(r[e]={}),x=_[c]||(_[c]={});for(u in g&&(n=e),n)h=!p&&y&&void 0!==y[u],d=(h?y:n)[u],f=b&&h?a(d,i):v&&"function"==typeof d?a(Function.call,d):d,y&&s(y,u,d,t&l.U),_[u]!=d&&o(_,u,f),v&&x[u]!=d&&(x[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",s)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),r=n("2621"),o=n("52a7"),s=n("4bf8"),a=n("626a"),c=Object.assign;t.exports=!c||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i}))?function(t,e){var n=s(t),c=arguments.length,l=1,u=r.f,h=o.f;while(c>l){var d,f=a(arguments[l++]),p=u?i(f).concat(u(f)):i(f),g=p.length,m=0;while(g>m)h.call(f,d=p[m++])&&(n[d]=f[d])}return n}:c},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),c=n("5f1b"),l=Math.max,u=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,g){return[function(i,r){var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(t,e){var r=g(n,t,this,e);if(r.done)return r.value;var h=i(t),d=String(this),f="function"===typeof e;f||(e=String(e));var v=h.global;if(v){var b=h.unicode;h.lastIndex=0}var y=[];while(1){var _=c(h,d);if(null===_)break;if(y.push(_),!v)break;var x=String(_[0]);""===x&&(h.lastIndex=a(d,o(h.lastIndex),b))}for(var w="",S=0,k=0;k<y.length;k++){_=y[k];for(var C=String(_[0]),O=l(u(s(_.index),d.length),0),E=[],P=1;P<_.length;P++)E.push(p(_[P]));var M=_.groups;if(f){var T=[C].concat(E,O,d);void 0!==M&&T.push(M);var A=String(e.apply(void 0,T))}else A=m(C,d,O,E,M,e);O>=S&&(w+=d.slice(S,O)+A,S=O+C.length)}return w+d.slice(S)}];function m(t,e,i,o,s,a){var c=i+t.length,l=o.length,u=f;return void 0!==s&&(s=r(s),u=d),n.call(a,u,(function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(c);case"<":a=s[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>l){var d=h(u/10);return 0===d?n:d<=l?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):n}a=o[u-1]}return void 0===a?"":a}))}}))},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),h=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),g=0;g<p.length;g++){var m,v=p[g],b=f[v],y=s[v],_=y&&y.prototype;if(_&&(_[u]||a(_,u,d),_[h]||a(_,h,v),c[v]=d,b))for(m in i)_[m]||o(_,m,i[m],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=i(e),l=r(c.length),u=o(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return c}));n("a481");function i(){return"undefined"!==typeof window?window.console:t.console}var r=i();function o(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var s=/-(\w)/g,a=o((function(t){return t.replace(s,(function(t,e){return e?e.toUpperCase():""}))}));function c(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function l(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,l=[];for(n in a)n!=s&&i(a,n)&&l.push(n);while(e.length>c)i(a,n=e[c++])&&(~o(l,n)||l.push(n));return l}},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),o=n("d2c8"),s="startsWith",a=""[s];i(i.P+i.F*n("5147")(s),"String",{startsWith:function(t){var e=o(this,t,s),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return a?a.call(e,i,n):e.slice(n,n+i.length)===i}})},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function r(t){if(Array.isArray(t))return t}function o(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done);i=!0)if(n.push(s.value),e&&n.length===e)break}catch(c){r=!0,o=c}finally{try{i||null==a["return"]||a["return"]()}finally{if(r)throw o}}return n}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t,e){if(t){if("string"===typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function c(){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 l(t,e){return r(t)||o(t,e)||a(t,e)||c()}n("6762"),n("2fdb");function u(t){if(Array.isArray(t))return s(t)}function h(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t){return u(t)||h(t)||a(t)||d()}var p=n("a352"),g=n.n(p),m=n("c649");function v(t,e,n){return void 0===n||(t=t||{},t[e]=n),t}function b(t,e){return t.map((function(t){return t.elm})).indexOf(e)}function y(t,e,n,i){if(!t)return[];var r=t.map((function(t){return t.elm})),o=e.length-i,s=f(e).map((function(t,e){return e>=o?r.length:r.indexOf(t)}));return n?s.filter((function(t){return-1!==t})):s}function _(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function x(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),_.call(e,t,n)}}function w(t){return["transition-group","TransitionGroup"].includes(t)}function S(t){if(!t||1!==t.length)return!1;var e=l(t,1),n=e[0].componentOptions;return!!n&&w(n.tag)}function k(t,e,n){return t[n]||(e[n]?e[n]():void 0)}function C(t,e,n){var i=0,r=0,o=k(e,n,"header");o&&(i=o.length,t=t?[].concat(f(o),f(t)):f(o));var s=k(e,n,"footer");return s&&(r=s.length,t=t?[].concat(f(t),f(s)):f(s)),{children:t,headerOffset:i,footerOffset:r}}function O(t,e){var n=null,i=function(t,e){n=v(n,t,e)},r=Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{});if(i("attrs",r),!e)return n;var o=e.on,s=e.props,a=e.attrs;return i("on",o),i("props",s),Object.assign(n.attrs,a),n}var E=["Start","Add","Remove","Update","End"],P=["Choose","Unchoose","Sort","Filter","Clone"],M=["Move"].concat(E,P).map((function(t){return"on"+t})),T=null,A={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},D={name:"draggable",inheritAttrs:!1,props:A,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=S(e);var n=C(e,this.$slots,this.$scopedSlots),i=n.children,r=n.headerOffset,o=n.footerOffset;this.headerOffset=r,this.footerOffset=o;var s=O(this.$attrs,this.componentData);return t(this.getTag(),s,i)},created:function(){null!==this.list&&null!==this.value&&m.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&m.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&m.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};E.forEach((function(n){e["on"+n]=x.call(t,n)})),P.forEach((function(n){e["on"+n]=_.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(m.a)(n)]=t.$attrs[n],e}),{}),i=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new g.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(m.a)(e);-1===M.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=y(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=b(this.getChildrenNodes()||[],t);if(-1===e)return null;var n=this.realList[e];return{index:e,element:n}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&w(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=f(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,f(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,o={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var s=i.getUnderlyingVm(n);if(s)return Object.assign(s,o)}return o},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var e=this.getChildrenNodes();e[t].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),T=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(m.d)(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(m.c)(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(m.d)(t.clone)},onDragUpdate:function(t){Object(m.d)(t.item),Object(m.c)(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=f(e.to.children).filter((function(t){return"none"!==t.style.display})),i=n.indexOf(e.related),r=t.component.getVmIndex(i),o=-1!==n.indexOf(T);return o||!e.willInsertAfter?r:r+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,o=this.computeFutureIndex(i,t);Object.assign(r,{futureIndex:o});var s=Object.assign({},t,{relatedContext:i,draggedContext:r});return n(s,e)},onDragEnd:function(){this.computeIndexes(),T=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",D);var $=D;e["default"]=$}})["default"]}))},b8ca:function(t,e,n){"use strict";function i(t){return t.split("-")[0]}function r(t){return t.split("-")[1]}function o(t){return["top","bottom"].includes(i(t))?"x":"y"}function s(t){return"y"===t?"height":"width"}function a(t){let{reference:e,floating:n,placement:a}=t;const c=e.x+e.width/2-n.width/2,l=e.y+e.height/2-n.height/2;let u;switch(i(a)){case"top":u={x:c,y:e.y-n.height};break;case"bottom":u={x:c,y:e.y+e.height};break;case"right":u={x:e.x+e.width,y:l};break;case"left":u={x:e.x-n.width,y:l};break;default:u={x:e.x,y:e.y}}const h=o(a),d=s(h);switch(r(a)){case"start":u[h]=u[h]-(e[d]/2-n[d]/2);break;case"end":u[h]=u[h]+(e[d]/2-n[d]/2);break}return u}n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return C})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return E})),n.d(e,"e",(function(){return M})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return A})),n.d(e,"h",(function(){return D}));const c=async(t,e,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:s}=n;let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:l,y:u}=a({...c,placement:i}),h=i,d={};for(let f=0;f<o.length;f++){0;const{name:n,fn:p}=o[f],{x:g,y:m,data:v,reset:b}=await p({x:l,y:u,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:s,elements:{reference:t,floating:e}});l=null!=g?g:l,u=null!=m?m:u,d={...d,[n]:null!=v?v:{}},b&&("object"===typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):b.rects),({x:l,y:u}=a({...c,placement:h}))),f=-1)}return{x:l,y:u,placement:h,strategy:r,middlewareData:d}};function l(t){return{top:0,right:0,bottom:0,left:0,...t}}function u(t){return"number"!==typeof t?l(t):{top:t,right:t,bottom:t,left:t}}function h(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function d(t,e){void 0===e&&(e={});const{x:n,y:i,platform:r,rects:o,elements:s,strategy:a}=t,{boundary:c="clippingParents",rootBoundary:l="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=e,g=u(p),m="floating"===d?"reference":"floating",v=s[f?m:d],b=await r.getClippingClientRect({element:await r.isElement(v)?v:v.contextElement||await r.getDocumentElement({element:s.floating}),boundary:c,rootBoundary:l}),y=h(await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...o.floating,x:n,y:i}:o.reference,offsetParent:await r.getOffsetParent({element:s.floating}),strategy:a}));return{top:b.top-y.top+g.top,bottom:y.bottom-b.bottom+g.bottom,left:b.left-y.left+g.left,right:y.right-b.right+g.right}}const f=Math.min,p=Math.max;function g(t,e,n){return p(t,f(e,n))}const m=t=>({name:"arrow",options:t,async fn(e){const{element:n,padding:r=0}=null!=t?t:{},{x:a,y:c,placement:l,rects:h,platform:d}=e;if(null==n)return{};const f=u(r),p={x:a,y:c},m=i(l),v=o(m),b=s(v),y=await d.getDimensions({element:n}),_="y"===v?"top":"left",x="y"===v?"bottom":"right",w=h.reference[b]+h.reference[v]-p[v]-h.floating[b],S=p[v]-h.reference[v],k=await d.getOffsetParent({element:n}),C=k?"y"===v?k.clientHeight||0:k.clientWidth||0:0,O=w/2-S/2,E=f[_],P=C-y[b]-f[x],M=C/2-y[b]/2+O,T=g(E,M,P);return{data:{[v]:T,centerOffset:M-T}}}}),v={left:"right",right:"left",bottom:"top",top:"bottom"};function b(t){return t.replace(/left|right|bottom|top/g,t=>v[t])}function y(t,e){const n="start"===r(t),i=o(t),a=s(i);let c="x"===i?n?"right":"left":n?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=b(c)),{main:c,cross:b(c)}}const _={start:"end",end:"start"};function x(t){return t.replace(/start|end/g,t=>_[t])}const w=["top","right","bottom","left"],S=w.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function k(t,e,n){const o=t?[...n.filter(e=>r(e)===t),...n.filter(e=>r(e)!==t)]:n.filter(t=>i(t)===t);return o.filter(n=>!t||(r(n)===t||!!e&&x(n)!==n))}const C=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o,s,a,c;const{x:l,y:u,rects:h,middlewareData:f,placement:p}=e,{alignment:g=null,allowedPlacements:m=S,autoAlignment:v=!0,...b}=t;if(null!=(n=f.autoPlacement)&&n.skip)return{};const _=k(g,v,m),x=await d(e,b),w=null!=(r=null==(o=f.autoPlacement)?void 0:o.index)?r:0,C=_[w],{main:O,cross:E}=y(C,h);if(p!==C)return{x:l,y:u,reset:{placement:_[0]}};const P=[x[i(C)],x[O],x[E]],M=[...null!=(s=null==(a=f.autoPlacement)?void 0:a.overflows)?s:[],{placement:C,overflows:P}],T=_[w+1];if(T)return{data:{index:w+1,overflows:M},reset:{placement:T}};const A=M.slice().sort((t,e)=>t.overflows[0]-e.overflows[0]),D=null==(c=A.find(t=>{let{overflows:e}=t;return e.every(t=>t<=0)}))?void 0:c.placement;return{data:{skip:!0},reset:{placement:null!=D?D:A[0].placement}}}}};function O(t){const e=b(t);return[x(t),e,x(e)]}const E=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:s,rects:a,initialPlacement:c}=e;if(null!=(n=s.flip)&&n.skip)return{};const{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",flipAlignment:p=!0,...g}=t,m=i(o),v=m===c,_=h||(v||!p?[b(c)]:O(c)),x=[c,..._],w=await d(e,g),S=[];let k=(null==(r=s.flip)?void 0:r.overflows)||[];if(l&&S.push(w[m]),u){const{main:t,cross:e}=y(o,a);S.push(w[t],w[e])}if(k=[...k,{placement:o,overflows:S}],!S.every(t=>t<=0)){var C,E;const t=(null!=(C=null==(E=s.flip)?void 0:E.index)?C:0)+1,e=x[t];if(e)return{data:{index:t,overflows:k},reset:{placement:e}};let n="bottom";switch(f){case"bestFit":{var P;const t=null==(P=k.slice().sort((t,e)=>t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)-e.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0))[0])?void 0:P.placement;t&&(n=t);break}case"initialPlacement":n=c;break}return{data:{skip:!0},reset:{placement:n}}}return{}}}};function P(t){let{placement:e,rects:n,value:r}=t;const s=i(e),a=["left","top"].includes(s)?-1:1,c="function"===typeof r?r({...n,placement:e}):r,{mainAxis:l,crossAxis:u}="number"===typeof c?{mainAxis:c,crossAxis:0}:{mainAxis:0,crossAxis:0,...c};return"x"===o(s)?{x:u,y:l*a}:{x:l*a,y:u}}const M=function(t){return void 0===t&&(t=0),{name:"offset",options:t,fn(e){const{x:n,y:i,placement:r,rects:o}=e,s=P({placement:r,rects:o,value:t});return{x:n+s.x,y:i+s.y,data:s}}}};function T(t){return"x"===t?"y":"x"}const A=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:s}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...u}=t,h={x:n,y:r},f=await d(e,u),p=o(i(s)),m=T(p);let v=h[p],b=h[m];if(a){const t="y"===p?"top":"left",e="y"===p?"bottom":"right",n=v+f[t],i=v-f[e];v=g(n,v,i)}if(c){const t="y"===m?"top":"left",e="y"===m?"bottom":"right",n=b+f[t],i=b-f[e];b=g(n,b,i)}const y=l.fn({...e,[p]:v,[m]:b});return{...y,data:{x:y.x-n,y:y.y-r}}}}},D=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n;const{placement:o,rects:s,middlewareData:a}=e,{apply:c,...l}=t;if(null!=(n=a.size)&&n.skip)return{};const u=await d(e,l),h=i(o),f="end"===r(o);let g,m;"top"===h||"bottom"===h?(g=h,m=f?"left":"right"):(m=h,g=f?"top":"bottom");const v=p(u.left,0),b=p(u.right,0),y=p(u.top,0),_=p(u.bottom,0),x={height:s.floating.height-(["left","right"].includes(o)?2*(0!==y||0!==_?y+_:p(u.top,u.bottom)):u[g]),width:s.floating.width-(["top","bottom"].includes(o)?2*(0!==v||0!==b?v+b:p(u.left,u.right)):u[m])};return null==c||c({...x,...s}),{data:{skip:!0},reset:{rects:!0}}}}}},bc3a:function(t,e,n){t.exports=n("cee4")},c04e:function(t,e,n){var i=n("c65b"),r=n("861d"),o=n("d9b5"),s=n("dc4a"),a=n("485a"),c=n("b622"),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,c=s(t,u);if(c){if(void 0===e&&(e="default"),n=i(c,t,e),!r(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},c345:function(t,e,n){"use strict";var i=n("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(s[e]&&r.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},c401:function(t,e,n){"use strict";var i=n("c532"),r=n("2444");t.exports=function(t,e,n){var o=this||r;return i.forEach(n,(function(n){t=n.call(o,t,e)})),t}},c430:function(t,e){t.exports=!1},c532:function(t,e,n){"use strict";var i=n("1d2b"),r=Object.prototype.toString;function o(t){return Array.isArray(t)}function s(t){return"undefined"===typeof t}function a(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===r.call(t)}function l(t){return"[object FormData]"===r.call(t)}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function h(t){return"string"===typeof t}function d(t){return"number"===typeof t}function f(t){return null!==t&&"object"===typeof t}function p(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===r.call(t)}function m(t){return"[object File]"===r.call(t)}function v(t){return"[object Blob]"===r.call(t)}function b(t){return"[object Function]"===r.call(t)}function y(t){return f(t)&&b(t.pipe)}function _(t){return"[object URLSearchParams]"===r.call(t)}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}function k(){var t={};function e(e,n){p(t[n])&&p(e)?t[n]=k(t[n],e):p(e)?t[n]=k({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,i=arguments.length;n<i;n++)S(arguments[n],e);return t}function C(t,e,n){return S(e,(function(e,r){t[r]=n&&"function"===typeof e?i(e,n):e})),t}function O(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:a,isFormData:l,isArrayBufferView:u,isString:h,isNumber:d,isObject:f,isPlainObject:p,isUndefined:s,isDate:g,isFile:m,isBlob:v,isFunction:b,isStream:y,isURLSearchParams:_,isStandardBrowserEnv:w,forEach:S,merge:k,extend:C,trim:x,stripBOM:O}},c65b:function(t,e,n){var i=n("40d5"),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},c6b6:function(t,e,n){var i=n("e330"),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},c6cd:function(t,e,n){var i=n("da84"),r=n("6374"),o="__core-js_shared__",s=i[o]||r(o,{});t.exports=s},c8af:function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var i=n("e330"),r=n("1a2d"),o=n("fc6a"),s=n("4d64").indexOf,a=n("d012"),c=i([].push);t.exports=function(t,e){var n,i=o(t),l=0,u=[];for(n in i)!r(a,n)&&r(i,n)&&c(u,n);while(e.length>l)r(i,n=e[l++])&&(~s(u,n)||c(u,n));return u}},cb2d:function(t,e,n){var i=n("1626"),r=n("9bf2"),o=n("13d2"),s=n("6374");t.exports=function(t,e,n,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:e;if(i(n)&&o(n,l,a),a.global)c?t[e]=n:s(e,n);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(u){}c?t[e]=n:r.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},cc12:function(t,e,n){var i=n("da84"),r=n("861d"),o=i.document,s=r(o)&&r(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},cdce:function(t,e,n){var i=n("da84"),r=n("1626"),o=i.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},cee4:function(t,e,n){"use strict";var i=n("c532"),r=n("1d2b"),o=n("0a06"),s=n("4a7b"),a=n("2444");function c(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n.create=function(e){return c(s(t,e))},n}var l=c(a);l.Axios=o,l.Cancel=n("7a77"),l.CancelToken=n("8df4"),l.isCancel=n("2e67"),l.VERSION=n("5cce").version,l.all=function(t){return Promise.all(t)},l.spread=n("0df6"),l.isAxiosError=n("5f02"),t.exports=l,t.exports.default=l},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var i=n("da84"),r=n("1626"),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t]):i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},d82b:function(t,e,n){var i;!function(){"use strict";var r={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(t){return a(l(t),arguments)}function s(t,e){return o.apply(null,[t].concat(e||[]))}function a(t,e){var n,i,s,a,c,l,u,h,d,f=1,p=t.length,g="";for(i=0;i<p;i++)if("string"===typeof t[i])g+=t[i];else if("object"===typeof t[i]){if(a=t[i],a.keys)for(n=e[f],s=0;s<a.keys.length;s++){if(void 0==n)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[s],a.keys[s-1]));n=n[a.keys[s]]}else n=a.param_no?e[a.param_no]:e[f++];if(r.not_type.test(a.type)&&r.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),r.numeric_arg.test(a.type)&&"number"!==typeof n&&isNaN(n))throw new TypeError(o("[sprintf] expecting number but found %T",n));switch(r.number.test(a.type)&&(h=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase();break}r.json.test(a.type)?g+=n:(!r.number.test(a.type)||h&&!a.sign?d="":(d=h?"+":"-",n=n.toString().replace(r.sign,"")),l=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(d+n).length,c=a.width&&u>0?l.repeat(u):"",g+=a.align?d+n+c:"0"===l?d+c+n:c+d+n)}return g}var c=Object.create(null);function l(t){if(c[t])return c[t];var e,n=t,i=[],o=0;while(n){if(null!==(e=r.text.exec(n)))i.push(e[0]);else if(null!==(e=r.modulo.exec(n)))i.push("%");else{if(null===(e=r.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var s=[],a=e[2],l=[];if(null===(l=r.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(l[1]);while(""!==(a=a.substring(l[0].length)))if(null!==(l=r.key_access.exec(a)))s.push(l[1]);else{if(null===(l=r.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(l[1])}e[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");i.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}n=n.substring(e[0].length)}return c[t]=i}e.sprintf=o,e.vsprintf=s,"undefined"!==typeof window&&(window.sprintf=o,window.vsprintf=s,i=function(){return{sprintf:o,vsprintf:s}}.call(e,n,e,t),void 0===i||(t.exports=i))}()},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},d9b5:function(t,e,n){var i=n("d066"),r=n("1626"),o=n("3a9b"),s=n("fdbf"),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&o(e.prototype,a(t))}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){var i=n("59ed"),r=n("7234");t.exports=function(t,e){var n=t[e];return r(n)?void 0:i(n)}},dd61:function(t,e,n){"use strict";
/*!
 * Chart.js v3.9.1
 * https://www.chartjs.org
 * (c) 2022 Chart.js Contributors
 * Released under the MIT License
 */
function i(){}n.d(e,"a",(function(){return Ls})),n.d(e,"b",(function(){return ar})),n.d(e,"c",(function(){return oa})),n.d(e,"d",(function(){return cr})),n.d(e,"e",(function(){return ja})),n.d(e,"f",(function(){return Ss})),n.d(e,"g",(function(){return ur})),n.d(e,"h",(function(){return ua})),n.d(e,"i",(function(){return hr})),n.d(e,"j",(function(){return Ys})),n.d(e,"k",(function(){return Fa})),n.d(e,"l",(function(){return fr})),n.d(e,"m",(function(){return Gs})),n.d(e,"n",(function(){return dr})),n.d(e,"o",(function(){return pr})),n.d(e,"p",(function(){return Wr})),n.d(e,"q",(function(){return fa})),n.d(e,"r",(function(){return Aa}));const r=function(){let t=0;return function(){return t++}}();function o(t){return null===t||"undefined"===typeof t}function s(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function a(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const c=t=>("number"===typeof t||t instanceof Number)&&isFinite(+t);function l(t,e){return c(t)?t:e}function u(t,e){return"undefined"===typeof t?e:t}const h=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,d=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function f(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function p(t,e,n,i){let r,o,c;if(s(t))if(o=t.length,i)for(r=o-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;r<o;r++)e.call(n,t[r],r);else if(a(t))for(c=Object.keys(t),o=c.length,r=0;r<o;r++)e.call(n,t[c[r]],c[r])}function g(t,e){let n,i,r,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(r=t[n],o=e[n],r.datasetIndex!==o.datasetIndex||r.index!==o.index)return!1;return!0}function m(t){if(s(t))return t.map(m);if(a(t)){const e=Object.create(null),n=Object.keys(t),i=n.length;let r=0;for(;r<i;++r)e[n[r]]=m(t[n[r]]);return e}return t}function v(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function b(t,e,n,i){if(!v(t))return;const r=e[t],o=n[t];a(r)&&a(o)?y(r,o,i):e[t]=m(o)}function y(t,e,n){const i=s(e)?e:[e],r=i.length;if(!a(t))return t;n=n||{};const o=n.merger||b;for(let s=0;s<r;++s){if(e=i[s],!a(e))continue;const r=Object.keys(e);for(let i=0,s=r.length;i<s;++i)o(r[i],t,e,n)}return t}function _(t,e){return y(t,e,{merger:x})}function x(t,e,n){if(!v(t))return;const i=e[t],r=n[t];a(i)&&a(r)?_(i,r):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=m(r))}const w={"":t=>t,x:t=>t.x,y:t=>t.y};function S(t,e){const n=w[e]||(w[e]=k(e));return n(t)}function k(t){const e=C(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}function C(t){const e=t.split("."),n=[];let i="";for(const r of e)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function O(t){return t.charAt(0).toUpperCase()+t.slice(1)}const E=t=>"undefined"!==typeof t,P=t=>"function"===typeof t,M=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function T(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const A=Math.PI,D=2*A,$=D+A,L=Number.POSITIVE_INFINITY,j=A/180,R=A/2,I=A/4,N=2*A/3,F=Math.log10,B=Math.sign;function z(t){const e=Math.round(t);t=W(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(F(t))),i=t/n,r=i<=1?1:i<=2?2:i<=5?5:10;return r*n}function V(t){const e=[],n=Math.sqrt(t);let i;for(i=1;i<n;i++)t%i===0&&(e.push(i),e.push(t/i));return n===(0|n)&&e.push(n),e.sort((t,e)=>t-e).pop(),e}function H(t){return!isNaN(parseFloat(t))&&isFinite(t)}function W(t,e,n){return Math.abs(t-e)<n}function U(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function q(t,e,n){let i,r,o;for(i=0,r=t.length;i<r;i++)o=t[i][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Y(t){return t*(A/180)}function X(t){return t*(180/A)}function G(t){if(!c(t))return;let e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function K(t,e){const n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i);let o=Math.atan2(i,n);return o<-.5*A&&(o+=D),{angle:o,distance:r}}function J(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Z(t,e){return(t-e+$)%D-A}function Q(t){return(t%D+D)%D}function tt(t,e,n,i){const r=Q(t),o=Q(e),s=Q(n),a=Q(o-r),c=Q(s-r),l=Q(r-o),u=Q(r-s);return r===o||r===s||i&&o===s||a>c&&l<u}function et(t,e,n){return Math.max(e,Math.min(n,t))}function nt(t){return et(t,-32768,32767)}function it(t,e,n,i=1e-6){return t>=Math.min(e,n)-i&&t<=Math.max(e,n)+i}function rt(t,e,n){n=n||(n=>t[n]<e);let i,r=t.length-1,o=0;while(r-o>1)i=o+r>>1,n(i)?o=i:r=i;return{lo:o,hi:r}}const ot=(t,e,n,i)=>rt(t,n,i?i=>t[i][e]<=n:i=>t[i][e]<n),st=(t,e,n)=>rt(t,n,i=>t[i][e]>=n);function at(t,e,n){let i=0,r=t.length;while(i<r&&t[i]<e)i++;while(r>i&&t[r-1]>n)r--;return i>0||r<t.length?t.slice(i,r):t}const ct=["push","pop","shift","splice","unshift"];function lt(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),ct.forEach(e=>{const n="_onData"+O(e),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const r=i.apply(this,e);return t._chartjs.listeners.forEach(t=>{"function"===typeof t[n]&&t[n](...e)}),r}})}))}function ut(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(ct.forEach(e=>{delete t[e]}),delete t._chartjs)}function ht(t){const e=new Set;let n,i;for(n=0,i=t.length;n<i;++n)e.add(t[n]);return e.size===i?t:Array.from(e)}const dt=function(){return"undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame}();function ft(t,e,n){const i=n||(t=>Array.prototype.slice.call(t));let r=!1,o=[];return function(...n){o=i(n),r||(r=!0,dt.call(window,()=>{r=!1,t.apply(e,o)}))}}function pt(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const gt=t=>"start"===t?"left":"end"===t?"right":"center",mt=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,vt=(t,e,n,i)=>{const r=i?"left":"right";return t===r?n:"center"===t?(e+n)/2:e};function bt(t,e,n){const i=e.length;let r=0,o=i;if(t._sorted){const{iScale:s,_parsed:a}=t,c=s.axis,{min:l,max:u,minDefined:h,maxDefined:d}=s.getUserBounds();h&&(r=et(Math.min(ot(a,s.axis,l).lo,n?i:ot(e,c,s.getPixelForValue(l)).lo),0,i-1)),o=d?et(Math.max(ot(a,s.axis,u,!0).hi+1,n?0:ot(e,c,s.getPixelForValue(u),!0).hi+1),r,i)-r:i-r}return{start:r,count:o}}function yt(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,r={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=r,!0;const o=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,r),o}const _t=t=>0===t||1===t,xt=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*D/n),wt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*D/n)+1,St={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*R),easeOutSine:t=>Math.sin(t*R),easeInOutSine:t=>-.5*(Math.cos(A*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>_t(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>_t(t)?t:xt(t,.075,.3),easeOutElastic:t=>_t(t)?t:wt(t,.075,.3),easeInOutElastic(t){const e=.1125,n=.45;return _t(t)?t:t<.5?.5*xt(2*t,e,n):.5+.5*wt(2*t-1,e,n)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-St.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*St.easeInBounce(2*t):.5*St.easeOutBounce(2*t-1)+.5};
/*!
 * @kurkle/color v0.2.1
 * https://github.com/kurkle/color#readme
 * (c) 2022 Jukka Kurkela
 * Released under the MIT License
 */
function kt(t){return t+.5|0}const Ct=(t,e,n)=>Math.max(Math.min(t,n),e);function Ot(t){return Ct(kt(2.55*t),0,255)}function Et(t){return Ct(kt(255*t),0,255)}function Pt(t){return Ct(kt(t/2.55)/100,0,1)}function Mt(t){return Ct(kt(100*t),0,100)}const Tt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},At=[..."0123456789ABCDEF"],Dt=t=>At[15&t],$t=t=>At[(240&t)>>4]+At[15&t],Lt=t=>(240&t)>>4===(15&t),jt=t=>Lt(t.r)&&Lt(t.g)&&Lt(t.b)&&Lt(t.a);function Rt(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*Tt[t[1]],g:255&17*Tt[t[2]],b:255&17*Tt[t[3]],a:5===n?17*Tt[t[4]]:255}:7!==n&&9!==n||(e={r:Tt[t[1]]<<4|Tt[t[2]],g:Tt[t[3]]<<4|Tt[t[4]],b:Tt[t[5]]<<4|Tt[t[6]],a:9===n?Tt[t[7]]<<4|Tt[t[8]]:255})),e}const It=(t,e)=>t<255?e(t):"";function Nt(t){var e=jt(t)?Dt:$t;return t?"#"+e(t.r)+e(t.g)+e(t.b)+It(t.a,e):void 0}const Ft=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Bt(t,e,n){const i=e*Math.min(n,1-n),r=(e,r=(e+t/30)%12)=>n-i*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function zt(t,e,n){const i=(i,r=(i+t/60)%6)=>n-n*e*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function Vt(t,e,n){const i=Bt(t,1,.5);let r;for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)i[r]*=1-e-n,i[r]+=e;return i}function Ht(t,e,n,i,r){return t===r?(e-n)/i+(e<n?6:0):e===r?(n-t)/i+2:(t-e)/i+4}function Wt(t){const e=255,n=t.r/e,i=t.g/e,r=t.b/e,o=Math.max(n,i,r),s=Math.min(n,i,r),a=(o+s)/2;let c,l,u;return o!==s&&(u=o-s,l=a>.5?u/(2-o-s):u/(o+s),c=Ht(n,i,r,u,o),c=60*c+.5),[0|c,l||0,a]}function Ut(t,e,n,i){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,i)).map(Et)}function qt(t,e,n){return Ut(Bt,t,e,n)}function Yt(t,e,n){return Ut(Vt,t,e,n)}function Xt(t,e,n){return Ut(zt,t,e,n)}function Gt(t){return(t%360+360)%360}function Kt(t){const e=Ft.exec(t);let n,i=255;if(!e)return;e[5]!==n&&(i=e[6]?Ot(+e[5]):Et(+e[5]));const r=Gt(+e[2]),o=+e[3]/100,s=+e[4]/100;return n="hwb"===e[1]?Yt(r,o,s):"hsv"===e[1]?Xt(r,o,s):qt(r,o,s),{r:n[0],g:n[1],b:n[2],a:i}}function Jt(t,e){var n=Wt(t);n[0]=Gt(n[0]+e),n=qt(n),t.r=n[0],t.g=n[1],t.b=n[2]}function Zt(t){if(!t)return;const e=Wt(t),n=e[0],i=Mt(e[1]),r=Mt(e[2]);return t.a<255?`hsla(${n}, ${i}%, ${r}%, ${Pt(t.a)})`:`hsl(${n}, ${i}%, ${r}%)`}const Qt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},te={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function ee(){const t={},e=Object.keys(te),n=Object.keys(Qt);let i,r,o,s,a;for(i=0;i<e.length;i++){for(s=a=e[i],r=0;r<n.length;r++)o=n[r],a=a.replace(o,Qt[o]);o=parseInt(te[s],16),t[a]=[o>>16&255,o>>8&255,255&o]}return t}let ne;function ie(t){ne||(ne=ee(),ne.transparent=[0,0,0,0]);const e=ne[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const re=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function oe(t){const e=re.exec(t);let n,i,r,o=255;if(e){if(e[7]!==n){const t=+e[7];o=e[8]?Ot(t):Ct(255*t,0,255)}return n=+e[1],i=+e[3],r=+e[5],n=255&(e[2]?Ot(n):Ct(n,0,255)),i=255&(e[4]?Ot(i):Ct(i,0,255)),r=255&(e[6]?Ot(r):Ct(r,0,255)),{r:n,g:i,b:r,a:o}}}function se(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Pt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const ae=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,ce=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function le(t,e,n){const i=ce(Pt(t.r)),r=ce(Pt(t.g)),o=ce(Pt(t.b));return{r:Et(ae(i+n*(ce(Pt(e.r))-i))),g:Et(ae(r+n*(ce(Pt(e.g))-r))),b:Et(ae(o+n*(ce(Pt(e.b))-o))),a:t.a+n*(e.a-t.a)}}function ue(t,e,n){if(t){let i=Wt(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,0===e?360:1)),i=qt(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function he(t,e){return t?Object.assign(e||{},t):t}function de(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Et(t[3]))):(e=he(t,{r:0,g:0,b:0,a:1}),e.a=Et(e.a)),e}function fe(t){return"r"===t.charAt(0)?oe(t):Kt(t)}class pe{constructor(t){if(t instanceof pe)return t;const e=typeof t;let n;"object"===e?n=de(t):"string"===e&&(n=Rt(t)||ie(t)||fe(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=he(this._rgb);return t&&(t.a=Pt(t.a)),t}set rgb(t){this._rgb=de(t)}rgbString(){return this._valid?se(this._rgb):void 0}hexString(){return this._valid?Nt(this._rgb):void 0}hslString(){return this._valid?Zt(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,i=t.rgb;let r;const o=e===r?.5:e,s=2*o-1,a=n.a-i.a,c=((s*a===-1?s:(s+a)/(1+s*a))+1)/2;r=1-c,n.r=255&c*n.r+r*i.r+.5,n.g=255&c*n.g+r*i.g+.5,n.b=255&c*n.b+r*i.b+.5,n.a=o*n.a+(1-o)*i.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=le(this._rgb,t._rgb,e)),this}clone(){return new pe(this.rgb)}alpha(t){return this._rgb.a=Et(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=kt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return ue(this._rgb,2,t),this}darken(t){return ue(this._rgb,2,-t),this}saturate(t){return ue(this._rgb,1,t),this}desaturate(t){return ue(this._rgb,1,-t),this}rotate(t){return Jt(this._rgb,t),this}}function ge(t){return new pe(t)}function me(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function ve(t){return me(t)?t:ge(t)}function be(t){return me(t)?t:ge(t).saturate(.5).darken(.1).hexString()}const ye=Object.create(null),_e=Object.create(null);function xe(t,e){if(!e)return t;const n=e.split(".");for(let i=0,r=n.length;i<r;++i){const e=n[i];t=t[e]||(t[e]=Object.create(null))}return t}function we(t,e,n){return"string"===typeof e?y(xe(t,e),n):y(xe(t,""),e)}class Se{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>be(e.backgroundColor),this.hoverBorderColor=(t,e)=>be(e.borderColor),this.hoverColor=(t,e)=>be(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return we(this,t,e)}get(t){return xe(this,t)}describe(t,e){return we(_e,t,e)}override(t,e){return we(ye,t,e)}route(t,e,n,i){const r=xe(this,t),o=xe(this,n),s="_"+e;Object.defineProperties(r,{[s]:{value:r[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[s],e=o[i];return a(t)?Object.assign({},e,t):u(t,e)},set(t){this[s]=t}}})}}var ke=new Se({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Ce(t){return!t||o(t.size)||o(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Oe(t,e,n,i,r){let o=e[r];return o||(o=e[r]=t.measureText(r).width,n.push(r)),o>i&&(i=o),i}function Ee(t,e,n,i){i=i||{};let r=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let a=0;const c=n.length;let l,u,h,d,f;for(l=0;l<c;l++)if(d=n[l],void 0!==d&&null!==d&&!0!==s(d))a=Oe(t,r,o,a,d);else if(s(d))for(u=0,h=d.length;u<h;u++)f=d[u],void 0===f||null===f||s(f)||(a=Oe(t,r,o,a,f));t.restore();const p=o.length/2;if(p>n.length){for(l=0;l<p;l++)delete r[o[l]];o.splice(0,p)}return a}function Pe(t,e,n){const i=t.currentDevicePixelRatio,r=0!==n?Math.max(n/2,.5):0;return Math.round((e-r)*i)/i+r}function Me(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function Te(t,e,n,i){Ae(t,e,n,i,null)}function Ae(t,e,n,i,r){let o,s,a,c,l,u;const h=e.pointStyle,d=e.rotation,f=e.radius;let p=(d||0)*j;if(h&&"object"===typeof h&&(o=h.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(n,i),t.rotate(p),t.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),void t.restore();if(!(isNaN(f)||f<=0)){switch(t.beginPath(),h){default:r?t.ellipse(n,i,r/2,f,0,0,D):t.arc(n,i,f,0,D),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(p)*f,i-Math.cos(p)*f),p+=N,t.lineTo(n+Math.sin(p)*f,i-Math.cos(p)*f),p+=N,t.lineTo(n+Math.sin(p)*f,i-Math.cos(p)*f),t.closePath();break;case"rectRounded":l=.516*f,c=f-l,s=Math.cos(p+I)*c,a=Math.sin(p+I)*c,t.arc(n-s,i-a,l,p-A,p-R),t.arc(n+a,i-s,l,p-R,p),t.arc(n+s,i+a,l,p,p+R),t.arc(n-a,i+s,l,p+R,p+A),t.closePath();break;case"rect":if(!d){c=Math.SQRT1_2*f,u=r?r/2:c,t.rect(n-u,i-c,2*u,2*c);break}p+=I;case"rectRot":s=Math.cos(p)*f,a=Math.sin(p)*f,t.moveTo(n-s,i-a),t.lineTo(n+a,i-s),t.lineTo(n+s,i+a),t.lineTo(n-a,i+s),t.closePath();break;case"crossRot":p+=I;case"cross":s=Math.cos(p)*f,a=Math.sin(p)*f,t.moveTo(n-s,i-a),t.lineTo(n+s,i+a),t.moveTo(n+a,i-s),t.lineTo(n-a,i+s);break;case"star":s=Math.cos(p)*f,a=Math.sin(p)*f,t.moveTo(n-s,i-a),t.lineTo(n+s,i+a),t.moveTo(n+a,i-s),t.lineTo(n-a,i+s),p+=I,s=Math.cos(p)*f,a=Math.sin(p)*f,t.moveTo(n-s,i-a),t.lineTo(n+s,i+a),t.moveTo(n+a,i-s),t.lineTo(n-a,i+s);break;case"line":s=r?r/2:Math.cos(p)*f,a=Math.sin(p)*f,t.moveTo(n-s,i-a),t.lineTo(n+s,i+a);break;case"dash":t.moveTo(n,i),t.lineTo(n+Math.cos(p)*f,i+Math.sin(p)*f);break}t.fill(),e.borderWidth>0&&t.stroke()}}function De(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function $e(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Le(t){t.restore()}function je(t,e,n,i,r){if(!e)return t.lineTo(n.x,n.y);if("middle"===r){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else"after"===r!==!!i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function Re(t,e,n,i){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(i?e.cp1x:e.cp2x,i?e.cp1y:e.cp2y,i?n.cp2x:n.cp1x,i?n.cp2y:n.cp1y,n.x,n.y)}function Ie(t,e,n,i,r,a={}){const c=s(e)?e:[e],l=a.strokeWidth>0&&""!==a.strokeColor;let u,h;for(t.save(),t.font=r.string,Ne(t,a),u=0;u<c.length;++u)h=c[u],l&&(a.strokeColor&&(t.strokeStyle=a.strokeColor),o(a.strokeWidth)||(t.lineWidth=a.strokeWidth),t.strokeText(h,n,i,a.maxWidth)),t.fillText(h,n,i,a.maxWidth),Fe(t,n,i,h,a),i+=r.lineHeight;t.restore()}function Ne(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),o(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function Fe(t,e,n,i,r){if(r.strikethrough||r.underline){const o=t.measureText(i),s=e-o.actualBoundingBoxLeft,a=e+o.actualBoundingBoxRight,c=n-o.actualBoundingBoxAscent,l=n+o.actualBoundingBoxDescent,u=r.strikethrough?(c+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=r.decorationWidth||2,t.moveTo(s,u),t.lineTo(a,u),t.stroke()}}function Be(t,e){const{x:n,y:i,w:r,h:o,radius:s}=e;t.arc(n+s.topLeft,i+s.topLeft,s.topLeft,-R,A,!0),t.lineTo(n,i+o-s.bottomLeft),t.arc(n+s.bottomLeft,i+o-s.bottomLeft,s.bottomLeft,A,R,!0),t.lineTo(n+r-s.bottomRight,i+o),t.arc(n+r-s.bottomRight,i+o-s.bottomRight,s.bottomRight,R,0,!0),t.lineTo(n+r,i+s.topRight),t.arc(n+r-s.topRight,i+s.topRight,s.topRight,0,-R,!0),t.lineTo(n+s.topLeft,i)}const ze=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),Ve=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function He(t,e){const n=(""+t).match(ze);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const We=t=>+t||0;function Ue(t,e){const n={},i=a(e),r=i?Object.keys(e):e,o=a(t)?i?n=>u(t[n],t[e[n]]):e=>t[e]:()=>t;for(const s of r)n[s]=We(o(s));return n}function qe(t){return Ue(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Ye(t){return Ue(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Xe(t){const e=qe(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ge(t,e){t=t||{},e=e||ke.font;let n=u(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let i=u(t.style,e.style);i&&!(""+i).match(Ve)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const r={family:u(t.family,e.family),lineHeight:He(u(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:u(t.weight,e.weight),string:""};return r.string=Ce(r),r}function Ke(t,e,n,i){let r,o,a,c=!0;for(r=0,o=t.length;r<o;++r)if(a=t[r],void 0!==a&&(void 0!==e&&"function"===typeof a&&(a=a(e),c=!1),void 0!==n&&s(a)&&(a=a[n%a.length],c=!1),void 0!==a))return i&&!c&&(i.cacheable=!1),a}function Je(t,e,n){const{min:i,max:r}=t,o=d(e,(r-i)/2),s=(t,e)=>n&&0===t?0:t+e;return{min:s(i,-Math.abs(o)),max:s(r,o)}}function Ze(t,e){return Object.assign(Object.create(t),e)}function Qe(t,e=[""],n=t,i,r=(()=>t[0])){E(i)||(i=mn("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:i,_getTarget:r,override:r=>Qe([r,...t],e,n,i)};return new Proxy(o,{deleteProperty(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get(n,i){return on(n,i,()=>gn(i,e,t,n))},getOwnPropertyDescriptor(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(t,e){return vn(t).includes(e)},ownKeys(t){return vn(t)},set(t,e,n){const i=t._storage||(t._storage=r());return t[e]=i[e]=n,delete t._keys,!0}})}function tn(t,e,n,i){const r={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:en(t,i),setContext:e=>tn(t,e,n,i),override:r=>tn(t.override(r),e,n,i)};return new Proxy(r,{deleteProperty(e,n){return delete e[n],delete t[n],!0},get(t,e,n){return on(t,e,()=>sn(t,e,n))},getOwnPropertyDescriptor(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(e,n){return Reflect.has(t,n)},ownKeys(){return Reflect.ownKeys(t)},set(e,n,i){return t[n]=i,delete e[n],!0}})}function en(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:r=e.allKeys}=t;return{allKeys:r,scriptable:n,indexable:i,isScriptable:P(n)?n:()=>n,isIndexable:P(i)?i:()=>i}}const nn=(t,e)=>t?t+O(e):e,rn=(t,e)=>a(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function on(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const i=n();return t[e]=i,i}function sn(t,e,n){const{_proxy:i,_context:r,_subProxy:o,_descriptors:a}=t;let c=i[e];return P(c)&&a.isScriptable(e)&&(c=an(e,c,t,n)),s(c)&&c.length&&(c=cn(e,c,t,a.isIndexable)),rn(e,c)&&(c=tn(c,r,o&&o[e],a)),c}function an(t,e,n,i){const{_proxy:r,_context:o,_subProxy:s,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),e=e(o,s||i),a.delete(t),rn(t,e)&&(e=dn(r._scopes,r,t,e)),e}function cn(t,e,n,i){const{_proxy:r,_context:o,_subProxy:s,_descriptors:c}=n;if(E(o.index)&&i(t))e=e[o.index%e.length];else if(a(e[0])){const n=e,i=r._scopes.filter(t=>t!==n);e=[];for(const a of n){const n=dn(i,r,t,a);e.push(tn(n,o,s&&s[t],c))}}return e}function ln(t,e,n){return P(t)?t(e,n):t}const un=(t,e)=>!0===t?e:"string"===typeof t?S(e,t):void 0;function hn(t,e,n,i,r){for(const o of e){const e=un(n,o);if(e){t.add(e);const o=ln(e._fallback,n,r);if(E(o)&&o!==n&&o!==i)return o}else if(!1===e&&E(i)&&n!==i)return null}return!1}function dn(t,e,n,i){const r=e._rootScopes,o=ln(e._fallback,n,i),s=[...t,...r],a=new Set;a.add(i);let c=fn(a,s,n,o||n,i);return null!==c&&((!E(o)||o===n||(c=fn(a,s,o,c,i),null!==c))&&Qe(Array.from(a),[""],r,o,()=>pn(e,n,i)))}function fn(t,e,n,i,r){while(n)n=hn(t,e,n,i,r);return n}function pn(t,e,n){const i=t._getTarget();e in i||(i[e]={});const r=i[e];return s(r)&&a(n)?n:r}function gn(t,e,n,i){let r;for(const o of e)if(r=mn(nn(o,t),n),E(r))return rn(t,r)?dn(n,i,t,r):r}function mn(t,e){for(const n of e){if(!n)continue;const e=n[t];if(E(e))return e}}function vn(t){let e=t._keys;return e||(e=t._keys=bn(t._scopes)),e}function bn(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter(t=>!t.startsWith("_")))e.add(t);return Array.from(e)}function yn(t,e,n,i){const{iScale:r}=t,{key:o="r"}=this._parsing,s=new Array(i);let a,c,l,u;for(a=0,c=i;a<c;++a)l=a+n,u=e[l],s[a]={r:r.parse(S(u,o),l)};return s}const _n=Number.EPSILON||1e-14,xn=(t,e)=>e<t.length&&!t[e].skip&&t[e],wn=t=>"x"===t?"y":"x";function Sn(t,e,n,i){const r=t.skip?e:t,o=e,s=n.skip?e:n,a=J(o,r),c=J(s,o);let l=a/(a+c),u=c/(a+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const h=i*l,d=i*u;return{previous:{x:o.x-h*(s.x-r.x),y:o.y-h*(s.y-r.y)},next:{x:o.x+d*(s.x-r.x),y:o.y+d*(s.y-r.y)}}}function kn(t,e,n){const i=t.length;let r,o,s,a,c,l=xn(t,0);for(let u=0;u<i-1;++u)c=l,l=xn(t,u+1),c&&l&&(W(e[u],0,_n)?n[u]=n[u+1]=0:(r=n[u]/e[u],o=n[u+1]/e[u],a=Math.pow(r,2)+Math.pow(o,2),a<=9||(s=3/Math.sqrt(a),n[u]=r*s*e[u],n[u+1]=o*s*e[u])))}function Cn(t,e,n="x"){const i=wn(n),r=t.length;let o,s,a,c=xn(t,0);for(let l=0;l<r;++l){if(s=a,a=c,c=xn(t,l+1),!a)continue;const r=a[n],u=a[i];s&&(o=(r-s[n])/3,a["cp1"+n]=r-o,a["cp1"+i]=u-o*e[l]),c&&(o=(c[n]-r)/3,a["cp2"+n]=r+o,a["cp2"+i]=u+o*e[l])}}function On(t,e="x"){const n=wn(e),i=t.length,r=Array(i).fill(0),o=Array(i);let s,a,c,l=xn(t,0);for(s=0;s<i;++s)if(a=c,c=l,l=xn(t,s+1),c){if(l){const t=l[e]-c[e];r[s]=0!==t?(l[n]-c[n])/t:0}o[s]=a?l?B(r[s-1])!==B(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}kn(t,r,o),Cn(t,o,e)}function En(t,e,n){return Math.max(Math.min(t,n),e)}function Pn(t,e){let n,i,r,o,s,a=De(t[0],e);for(n=0,i=t.length;n<i;++n)s=o,o=a,a=n<i-1&&De(t[n+1],e),o&&(r=t[n],s&&(r.cp1x=En(r.cp1x,e.left,e.right),r.cp1y=En(r.cp1y,e.top,e.bottom)),a&&(r.cp2x=En(r.cp2x,e.left,e.right),r.cp2y=En(r.cp2y,e.top,e.bottom)))}function Mn(t,e,n,i,r){let o,s,a,c;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)On(t,r);else{let n=i?t[t.length-1]:t[0];for(o=0,s=t.length;o<s;++o)a=t[o],c=Sn(n,a,t[Math.min(o+1,s-(i?0:1))%s],e.tension),a.cp1x=c.previous.x,a.cp1y=c.previous.y,a.cp2x=c.next.x,a.cp2y=c.next.y,n=a}e.capBezierPoints&&Pn(t,n)}function Tn(){return"undefined"!==typeof window&&"undefined"!==typeof document}function An(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Dn(t,e,n){let i;return"string"===typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}const $n=t=>window.getComputedStyle(t,null);function Ln(t,e){return $n(t).getPropertyValue(e)}const jn=["top","right","bottom","left"];function Rn(t,e,n){const i={};n=n?"-"+n:"";for(let r=0;r<4;r++){const o=jn[r];i[o]=parseFloat(t[e+"-"+o+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const In=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Nn(t,e){const n=t.touches,i=n&&n.length?n[0]:t,{offsetX:r,offsetY:o}=i;let s,a,c=!1;if(In(r,o,t.target))s=r,a=o;else{const t=e.getBoundingClientRect();s=i.clientX-t.left,a=i.clientY-t.top,c=!0}return{x:s,y:a,box:c}}function Fn(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:i}=e,r=$n(n),o="border-box"===r.boxSizing,s=Rn(r,"padding"),a=Rn(r,"border","width"),{x:c,y:l,box:u}=Nn(t,n),h=s.left+(u&&a.left),d=s.top+(u&&a.top);let{width:f,height:p}=e;return o&&(f-=s.width+a.width,p-=s.height+a.height),{x:Math.round((c-h)/f*n.width/i),y:Math.round((l-d)/p*n.height/i)}}function Bn(t,e,n){let i,r;if(void 0===e||void 0===n){const o=An(t);if(o){const t=o.getBoundingClientRect(),s=$n(o),a=Rn(s,"border","width"),c=Rn(s,"padding");e=t.width-c.width-a.width,n=t.height-c.height-a.height,i=Dn(s.maxWidth,o,"clientWidth"),r=Dn(s.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:i||L,maxHeight:r||L}}const zn=t=>Math.round(10*t)/10;function Vn(t,e,n,i){const r=$n(t),o=Rn(r,"margin"),s=Dn(r.maxWidth,t,"clientWidth")||L,a=Dn(r.maxHeight,t,"clientHeight")||L,c=Bn(t,e,n);let{width:l,height:u}=c;if("content-box"===r.boxSizing){const t=Rn(r,"border","width"),e=Rn(r,"padding");l-=e.width+t.width,u-=e.height+t.height}return l=Math.max(0,l-o.width),u=Math.max(0,i?Math.floor(l/i):u-o.height),l=zn(Math.min(l,s,c.maxWidth)),u=zn(Math.min(u,a,c.maxHeight)),l&&!u&&(u=zn(l/2)),{width:l,height:u}}function Hn(t,e,n){const i=e||1,r=Math.floor(t.height*i),o=Math.floor(t.width*i);t.height=r/i,t.width=o/i;const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=t.height+"px",s.style.width=t.width+"px"),(t.currentDevicePixelRatio!==i||s.height!==r||s.width!==o)&&(t.currentDevicePixelRatio=i,s.height=r,s.width=o,t.ctx.setTransform(i,0,0,i,0,0),!0)}const Wn=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}return t}();function Un(t,e){const n=Ln(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function qn(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function Yn(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:"middle"===i?n<.5?t.y:e.y:"after"===i?n<1?t.y:e.y:n>0?e.y:t.y}}function Xn(t,e,n,i){const r={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},s=qn(t,r,n),a=qn(r,o,n),c=qn(o,e,n),l=qn(s,a,n),u=qn(a,c,n);return qn(l,u,n)}const Gn=new Map;function Kn(t,e){e=e||{};const n=t+JSON.stringify(e);let i=Gn.get(n);return i||(i=new Intl.NumberFormat(t,e),Gn.set(n,i)),i}function Jn(t,e,n){return Kn(e,n).format(t)}const Zn=function(t,e){return{x(n){return t+t+e-n},setWidth(t){e=t},textAlign(t){return"center"===t?t:"right"===t?"left":"right"},xPlus(t,e){return t-e},leftForLtr(t,e){return t-e}}},Qn=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ti(t,e,n){return t?Zn(e,n):Qn()}function ei(t,e){let n,i;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function ni(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ii(t){return"angle"===t?{between:tt,compare:Z,normalize:Q}:{between:it,compare:(t,e)=>t-e,normalize:t=>t}}function ri({start:t,end:e,count:n,loop:i,style:r}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n===0,style:r}}function oi(t,e,n){const{property:i,start:r,end:o}=n,{between:s,normalize:a}=ii(i),c=e.length;let l,u,{start:h,end:d,loop:f}=t;if(f){for(h+=c,d+=c,l=0,u=c;l<u;++l){if(!s(a(e[h%c][i]),r,o))break;h--,d--}h%=c,d%=c}return d<h&&(d+=c),{start:h,end:d,loop:f,style:t.style}}function si(t,e,n){if(!n)return[t];const{property:i,start:r,end:o}=n,s=e.length,{compare:a,between:c,normalize:l}=ii(i),{start:u,end:h,loop:d,style:f}=oi(t,e,n),p=[];let g,m,v,b=!1,y=null;const _=()=>c(r,v,g)&&0!==a(r,v),x=()=>0===a(o,g)||c(o,v,g),w=()=>b||_(),S=()=>!b||x();for(let k=u,C=u;k<=h;++k)m=e[k%s],m.skip||(g=l(m[i]),g!==v&&(b=c(g,r,o),null===y&&w()&&(y=0===a(g,r)?k:C),null!==y&&S()&&(p.push(ri({start:y,end:k,loop:d,count:s,style:f})),y=null),C=k,v=g));return null!==y&&p.push(ri({start:y,end:h,loop:d,count:s,style:f})),p}function ai(t,e){const n=[],i=t.segments;for(let r=0;r<i.length;r++){const o=si(i[r],t.points,e);o.length&&n.push(...o)}return n}function ci(t,e,n,i){let r=0,o=e-1;if(n&&!i)while(r<e&&!t[r].skip)r++;while(r<e&&t[r].skip)r++;r%=e,n&&(o+=r);while(o>r&&t[o%e].skip)o--;return o%=e,{start:r,end:o}}function li(t,e,n,i){const r=t.length,o=[];let s,a=e,c=t[e];for(s=e+1;s<=n;++s){const n=t[s%r];n.skip||n.stop?c.skip||(i=!1,o.push({start:e%r,end:(s-1)%r,loop:i}),e=a=n.stop?s:null):(a=s,c.skip&&(e=s)),c=n}return null!==a&&o.push({start:e%r,end:a%r,loop:i}),o}function ui(t,e){const n=t.points,i=t.options.spanGaps,r=n.length;if(!r)return[];const o=!!t._loop,{start:s,end:a}=ci(n,r,o,i);if(!0===i)return hi(t,[{start:s,end:a,loop:o}],n,e);const c=a<s?a+r:a,l=!!t._fullLoop&&0===s&&a===r-1;return hi(t,li(n,s,c,l),n,e)}function hi(t,e,n,i){return i&&i.setContext&&n?di(t,e,n,i):e}function di(t,e,n,i){const r=t._chart.getContext(),o=fi(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,c=n.length,l=[];let u=o,h=e[0].start,d=h;function f(t,e,i,r){const o=a?-1:1;if(t!==e){t+=c;while(n[t%c].skip)t-=o;while(n[e%c].skip)e+=o;t%c!==e%c&&(l.push({start:t%c,end:e%c,loop:i,style:r}),u=r,h=e%c)}}for(const p of e){h=a?h:p.start;let t,e=n[h%c];for(d=h+1;d<=p.end;d++){const o=n[d%c];t=fi(i.setContext(Ze(r,{type:"segment",p0:e,p1:o,p0DataIndex:(d-1)%c,p1DataIndex:d%c,datasetIndex:s}))),pi(t,u)&&f(h,d-1,p.loop,u),e=o,u=t}h<d-1&&f(h,d-1,p.loop,u)}return l}function fi(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function pi(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}
/*!
 * Chart.js v3.9.1
 * https://www.chartjs.org
 * (c) 2022 Chart.js Contributors
 * Released under the MIT License
 */class gi{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,i){const r=e.listeners[i],o=e.duration;r.forEach(i=>i({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=dt.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((n,i)=>{if(!n.running||!n.items.length)return;const r=n.items;let o,s=r.length-1,a=!1;for(;s>=0;--s)o=r[s],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),a=!0):(r[s]=r[r.length-1],r.pop());a&&(i.draw(),this._notify(i,n,t,"progress")),r.length||(n.running=!1,this._notify(i,n,t,"complete"),n.initial=!1),e+=r.length}),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((t,e)=>Math.max(t,e._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var mi=new gi;const vi="transparent",bi={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=ve(t||vi),r=i.valid&&ve(e||vi);return r&&r.valid?r.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class yi{constructor(t,e,n,i){const r=e[n];i=Ke([t.to,i,r,t.from]);const o=Ke([t.from,r,i]);this._active=!0,this._fn=t.fn||bi[t.type||typeof o],this._easing=St[t.easing]||St.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=o,this._to=i,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const i=this._target[this._prop],r=n-this._start,o=this._duration-r;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=Ke([t.to,e,i,t.from]),this._from=Ke([t.from,i,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,i=this._prop,r=this._from,o=this._loop,s=this._to;let a;if(this._active=r!==s&&(o||e<n),!this._active)return this._target[i]=s,void this._notify(!0);e<0?this._target[i]=r:(a=e/n%2,a=o&&a>1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[i]=this._fn(r,s,a))}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,n)=>{t.push({res:e,rej:n})})}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let i=0;i<n.length;i++)n[i][e]()}}const _i=["x","y","borderWidth","radius","tension"],xi=["color","borderColor","backgroundColor"];ke.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const wi=Object.keys(ke.animation);ke.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),ke.set("animations",{colors:{type:"color",properties:xi},numbers:{type:"number",properties:_i}}),ke.describe("animations",{_fallback:"animation"}),ke.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class Si{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!a(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach(n=>{const i=t[n];if(!a(i))return;const r={};for(const t of wi)r[t]=i[t];(s(i.properties)&&i.properties||[n]).forEach(t=>{t!==n&&e.has(t)||e.set(t,r)})})}_animateOptions(t,e){const n=e.options,i=Ci(t,n);if(!i)return[];const r=this._createAnimations(i,n);return n.$shared&&ki(t.options.$animations,n).then(()=>{t.options=n},()=>{}),r}_createAnimations(t,e){const n=this._properties,i=[],r=t.$animations||(t.$animations={}),o=Object.keys(e),s=Date.now();let a;for(a=o.length-1;a>=0;--a){const c=o[a];if("$"===c.charAt(0))continue;if("options"===c){i.push(...this._animateOptions(t,e));continue}const l=e[c];let u=r[c];const h=n.get(c);if(u){if(h&&u.active()){u.update(h,l,s);continue}u.cancel()}h&&h.duration?(r[c]=u=new yi(h,t,c,l),i.push(u)):t[c]=l}return i}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(mi.add(this._chart,n),!0):void 0}}function ki(t,e){const n=[],i=Object.keys(e);for(let r=0;r<i.length;r++){const e=t[i[r]];e&&e.active()&&n.push(e.wait())}return Promise.all(n)}function Ci(t,e){if(!e)return;let n=t.options;if(n)return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;t.options=e}function Oi(t,e){const n=t&&t.options||{},i=n.reverse,r=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:i?o:r,end:i?r:o}}function Ei(t,e,n){if(!1===n)return!1;const i=Oi(t,n),r=Oi(e,n);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function Pi(t){let e,n,i,r;return a(t)?(e=t.top,n=t.right,i=t.bottom,r=t.left):e=n=i=r=t,{top:e,right:n,bottom:i,left:r,disabled:!1===t}}function Mi(t,e){const n=[],i=t._getSortedDatasetMetas(e);let r,o;for(r=0,o=i.length;r<o;++r)n.push(i[r].index);return n}function Ti(t,e,n,i={}){const r=t.keys,o="single"===i.mode;let s,a,l,u;if(null!==e){for(s=0,a=r.length;s<a;++s){if(l=+r[s],l===n){if(i.all)continue;break}u=t.values[l],c(u)&&(o||0===e||B(e)===B(u))&&(e+=u)}return e}}function Ai(t){const e=Object.keys(t),n=new Array(e.length);let i,r,o;for(i=0,r=e.length;i<r;++i)o=e[i],n[i]={x:o,y:t[o]};return n}function Di(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function $i(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Li(t){const{min:e,max:n,minDefined:i,maxDefined:r}=t.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function ji(t,e,n){const i=t[e]||(t[e]={});return i[n]||(i[n]={})}function Ri(t,e,n,i){for(const r of e.getMatchingVisibleMetas(i).reverse()){const e=t[r.index];if(n&&e>0||!n&&e<0)return r.index}return null}function Ii(t,e){const{chart:n,_cachedMeta:i}=t,r=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=i,c=o.axis,l=s.axis,u=$i(o,s,i),h=e.length;let d;for(let f=0;f<h;++f){const t=e[f],{[c]:n,[l]:o}=t,h=t._stacks||(t._stacks={});d=h[l]=ji(r,u,n),d[a]=o,d._top=Ri(d,s,!0,i.type),d._bottom=Ri(d,s,!1,i.type)}}function Ni(t,e){const n=t.scales;return Object.keys(n).filter(t=>n[t].axis===e).shift()}function Fi(t,e){return Ze(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Bi(t,e,n){return Ze(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function zi(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[i]||void 0===e[i][n])return;delete e[i][n]}}}const Vi=t=>"reset"===t||"none"===t,Hi=(t,e)=>e?t:Object.assign({},t),Wi=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Mi(n,!0),values:null};class Ui{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Di(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&zi(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),i=(t,e,n,i)=>"x"===t?e:"r"===t?i:n,r=e.xAxisID=u(n.xAxisID,Ni(t,"x")),o=e.yAxisID=u(n.yAxisID,Ni(t,"y")),s=e.rAxisID=u(n.rAxisID,Ni(t,"r")),a=e.indexAxis,c=e.iAxisID=i(a,r,o,s),l=e.vAxisID=i(a,o,r,s);e.xScale=this.getScaleForId(r),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(s),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&ut(this._data,this),t._stacked&&zi(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if(a(e))this._data=Ai(e);else if(n!==e){if(n){ut(n,this);const t=this._cachedMeta;zi(t),t._parsed=[]}e&&Object.isExtensible(e)&&lt(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const r=e._stacked;e._stacked=Di(e.vScale,e),e.stack!==n.stack&&(i=!0,zi(e),e.stack=n.stack),this._resyncElements(t),(i||r!==e._stacked)&&Ii(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:i}=this,{iScale:r,_stacked:o}=n,c=r.axis;let l,u,h,d=0===t&&e===i.length||n._sorted,f=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=i,n._sorted=!0,h=i;else{h=s(i[t])?this.parseArrayData(n,i,t,e):a(i[t])?this.parseObjectData(n,i,t,e):this.parsePrimitiveData(n,i,t,e);const r=()=>null===u[c]||f&&u[c]<f[c];for(l=0;l<e;++l)n._parsed[l+t]=u=h[l],d&&(r()&&(d=!1),f=u);n._sorted=d}o&&Ii(this,h)}parsePrimitiveData(t,e,n,i){const{iScale:r,vScale:o}=t,s=r.axis,a=o.axis,c=r.getLabels(),l=r===o,u=new Array(i);let h,d,f;for(h=0,d=i;h<d;++h)f=h+n,u[h]={[s]:l||r.parse(c[f],f),[a]:o.parse(e[f],f)};return u}parseArrayData(t,e,n,i){const{xScale:r,yScale:o}=t,s=new Array(i);let a,c,l,u;for(a=0,c=i;a<c;++a)l=a+n,u=e[l],s[a]={x:r.parse(u[0],l),y:o.parse(u[1],l)};return s}parseObjectData(t,e,n,i){const{xScale:r,yScale:o}=t,{xAxisKey:s="x",yAxisKey:a="y"}=this._parsing,c=new Array(i);let l,u,h,d;for(l=0,u=i;l<u;++l)h=l+n,d=e[h],c[l]={x:r.parse(S(d,s),h),y:o.parse(S(d,a),h)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const i=this.chart,r=this._cachedMeta,o=e[t.axis],s={keys:Mi(i,!0),values:e._stacks[t.axis]};return Ti(s,o,r.index,{mode:n})}updateRangeFromParsed(t,e,n,i){const r=n[e.axis];let o=null===r?NaN:r;const s=i&&n._stacks[e.axis];i&&s&&(i.values=s,o=Ti(i,r,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const n=this._cachedMeta,i=n._parsed,r=n._sorted&&t===n.iScale,o=i.length,s=this._getOtherScale(t),a=Wi(e,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Li(s);let d,f;function p(){f=i[d];const e=f[s.axis];return!c(f[t.axis])||u>e||h<e}for(d=0;d<o;++d)if(!p()&&(this.updateRangeFromParsed(l,t,f,a),r))break;if(r)for(d=o-1;d>=0;--d)if(!p()){this.updateRangeFromParsed(l,t,f,a);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let i,r,o;for(i=0,r=e.length;i<r;++i)o=e[i][t.axis],c(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,i=e.vScale,r=this.getParsed(t);return{label:n?""+n.getLabelForValue(r[n.axis]):"",value:i?""+i.getLabelForValue(r[i.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=Pi(u(this.options.clip,Ei(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,i=n.data||[],r=e.chartArea,o=[],s=this._drawStart||0,a=this._drawCount||i.length-s,c=this.options.drawActiveElementsOnTop;let l;for(n.dataset&&n.dataset.draw(t,r,s,a),l=s;l<s+a;++l){const e=i[l];e.hidden||(e.active&&c?o.push(e):e.draw(t,r))}for(l=0;l<o.length;++l)o[l].draw(t,r)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const i=this.getDataset();let r;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];r=e.$context||(e.$context=Bi(this.getContext(),t,e)),r.parsed=this.getParsed(t),r.raw=i.data[t],r.index=r.dataIndex=t}else r=this.$context||(this.$context=Fi(this.chart.getContext(),this.index)),r.dataset=i,r.index=r.datasetIndex=this.index;return r.active=!!e,r.mode=n,r}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",n){const i="active"===e,r=this._cachedDataOpts,o=t+"-"+e,s=r[o],a=this.enableOptionSharing&&E(n);if(s)return Hi(s,a);const c=this.chart.config,l=c.datasetElementScopeKeys(this._type,t),u=i?[t+"Hover","hover",t,""]:[t,""],h=c.getOptionScopes(this.getDataset(),l),d=Object.keys(ke.elements[t]),f=()=>this.getContext(n,i),p=c.resolveNamedOptions(h,d,f,u);return p.$shared&&(p.$shared=a,r[o]=Object.freeze(Hi(p,a))),p}_resolveAnimations(t,e,n){const i=this.chart,r=this._cachedDataOpts,o="animation-"+e,s=r[o];if(s)return s;let a;if(!1!==i.options.animation){const i=this.chart.config,r=i.datasetAnimationScopeKeys(this._type,e),o=i.getOptionScopes(this.getDataset(),r);a=i.createResolver(o,this.getContext(t,n,e))}const c=new Si(i,a&&a.animations);return a&&a._cacheable&&(r[o]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Vi(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),i=this._sharedOptions,r=this.getSharedOptions(n),o=this.includeOptions(e,r)||r!==i;return this.updateSharedOptions(r,e,n),{sharedOptions:r,includeOptions:o}}updateElement(t,e,n,i){Vi(i)?Object.assign(t,n):this._resolveAnimations(e,i).update(t,n)}updateSharedOptions(t,e,n){t&&!Vi(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,i){t.active=i;const r=this.getStyle(e,i);this._resolveAnimations(e,n,i).update(t,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[s,a,c]of this._syncList)this[s](a,c);this._syncList=[];const i=n.length,r=e.length,o=Math.min(r,i);o&&this.parse(0,o),r>i?this._insertElements(i,r-i,t):r<i&&this._removeElements(r,i-r)}_insertElements(t,e,n=!0){const i=this._cachedMeta,r=i.data,o=t+e;let s;const a=t=>{for(t.length+=e,s=t.length-1;s>=o;s--)t[s]=t[s-e]};for(a(r),s=t;s<o;++s)r[s]=new this.dataElementType;this._parsing&&a(i._parsed),this.parse(t,e),n&&this.updateElements(r,t,e,"reset")}updateElements(t,e,n,i){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const i=n._parsed.splice(t,e);n._stacked&&zi(n,i)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,i]=t;this[e](n,i)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function qi(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let i=[];for(let e=0,r=n.length;e<r;e++)i=i.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=ht(i.sort((t,e)=>t-e))}return t._cache.$bar}function Yi(t){const e=t.iScale,n=qi(e,t.type);let i,r,o,s,a=e._length;const c=()=>{32767!==o&&-32768!==o&&(E(s)&&(a=Math.min(a,Math.abs(o-s)||a)),s=o)};for(i=0,r=n.length;i<r;++i)o=e.getPixelForValue(n[i]),c();for(s=void 0,i=0,r=e.ticks.length;i<r;++i)o=e.getPixelForTick(i),c();return a}function Xi(t,e,n,i){const r=n.barThickness;let s,a;return o(r)?(s=e.min*n.categoryPercentage,a=n.barPercentage):(s=r*i,a=1),{chunk:s/i,ratio:a,start:e.pixels[t]-s/2}}function Gi(t,e,n,i){const r=e.pixels,o=r[t];let s=t>0?r[t-1]:null,a=t<r.length-1?r[t+1]:null;const c=n.categoryPercentage;null===s&&(s=o-(null===a?e.end-e.start:a-o)),null===a&&(a=o+o-s);const l=o-(o-Math.min(s,a))/2*c,u=Math.abs(a-s)/2*c;return{chunk:u/i,ratio:n.barPercentage,start:l}}function Ki(t,e,n,i){const r=n.parse(t[0],i),o=n.parse(t[1],i),s=Math.min(r,o),a=Math.max(r,o);let c=s,l=a;Math.abs(s)>Math.abs(a)&&(c=a,l=s),e[n.axis]=l,e._custom={barStart:c,barEnd:l,start:r,end:o,min:s,max:a}}function Ji(t,e,n,i){return s(t)?Ki(t,e,n,i):e[n.axis]=n.parse(t,i),e}function Zi(t,e,n,i){const r=t.iScale,o=t.vScale,s=r.getLabels(),a=r===o,c=[];let l,u,h,d;for(l=n,u=n+i;l<u;++l)d=e[l],h={},h[r.axis]=a||r.parse(s[l],l),c.push(Ji(d,h,o,l));return c}function Qi(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function tr(t,e,n){return 0!==t?B(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function er(t){let e,n,i,r,o;return t.horizontal?(e=t.base>t.x,n="left",i="right"):(e=t.base<t.y,n="bottom",i="top"),e?(r="end",o="start"):(r="start",o="end"),{start:n,end:i,reverse:e,top:r,bottom:o}}function nr(t,e,n,i){let r=e.borderSkipped;const o={};if(!r)return void(t.borderSkipped=o);if(!0===r)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:s,end:a,reverse:c,top:l,bottom:u}=er(t);"middle"===r&&n&&(t.enableBorderRadius=!0,(n._top||0)===i?r=l:(n._bottom||0)===i?r=u:(o[ir(u,s,a,c)]=!0,r=l)),o[ir(r,s,a,c)]=!0,t.borderSkipped=o}function ir(t,e,n,i){return i?(t=rr(t,e,n),t=or(t,n,e)):t=or(t,e,n),t}function rr(t,e,n){return t===e?n:t===n?e:t}function or(t,e,n){return"start"===t?e:"end"===t?n:t}function sr(t,{inflateAmount:e},n){t.inflateAmount="auto"===e?1===n?.33:0:e}Ui.defaults={},Ui.prototype.datasetElementType=null,Ui.prototype.dataElementType=null;class ar extends Ui{parsePrimitiveData(t,e,n,i){return Zi(t,e,n,i)}parseArrayData(t,e,n,i){return Zi(t,e,n,i)}parseObjectData(t,e,n,i){const{iScale:r,vScale:o}=t,{xAxisKey:s="x",yAxisKey:a="y"}=this._parsing,c="x"===r.axis?s:a,l="x"===o.axis?s:a,u=[];let h,d,f,p;for(h=n,d=n+i;h<d;++h)p=e[h],f={},f[r.axis]=r.parse(S(p,c),h),u.push(Ji(S(p,l),f,o,h));return u}updateRangeFromParsed(t,e,n,i){super.updateRangeFromParsed(t,e,n,i);const r=n._custom;r&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:i}=e,r=this.getParsed(t),o=r._custom,s=Qi(o)?"["+o.start+", "+o.end+"]":""+i.getLabelForValue(r[i.axis]);return{label:""+n.getLabelForValue(r[n.axis]),value:s}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,n,i){const r="reset"===i,{index:s,_cachedMeta:{vScale:a}}=this,c=a.getBasePixel(),l=a.isHorizontal(),u=this._getRuler(),{sharedOptions:h,includeOptions:d}=this._getSharedOptions(e,i);for(let f=e;f<e+n;f++){const e=this.getParsed(f),n=r||o(e[a.axis])?{base:c,head:c}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,u),g=(e._stacks||{})[a.axis],m={horizontal:l,base:n.base,enableBorderRadius:!g||Qi(e._custom)||s===g._top||s===g._bottom,x:l?n.head:p.center,y:l?p.center:n.head,height:l?p.size:Math.abs(n.size),width:l?Math.abs(n.size):p.size};d&&(m.options=h||this.resolveDataElementOptions(f,t[f].active?"active":i));const v=m.options||t[f].options;nr(m,v,g,s),sr(m,v,u.ratio),this.updateElement(t[f],f,m,i)}}_getStacks(t,e){const{iScale:n}=this._cachedMeta,i=n.getMatchingVisibleMetas(this._type).filter(t=>t.controller.options.grouped),r=n.options.stacked,s=[],a=t=>{const n=t.controller.getParsed(e),i=n&&n[t.vScale.axis];if(o(i)||isNaN(i))return!0};for(const o of i)if((void 0===e||!a(o))&&((!1===r||-1===s.indexOf(o.stack)||void 0===r&&void 0===o.stack)&&s.push(o.stack),o.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const i=this._getStacks(t,n),r=void 0!==e?i.indexOf(e):-1;return-1===r?i.length-1:r}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,i=[];let r,o;for(r=0,o=e.data.length;r<o;++r)i.push(n.getPixelForValue(this.getParsed(r)[n.axis],r));const s=t.barThickness,a=s||Yi(e);return{min:a,pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:s?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n},options:{base:i,minBarLength:r}}=this,s=i||0,a=this.getParsed(t),c=a._custom,l=Qi(c);let u,h,d=a[e.axis],f=0,p=n?this.applyStack(e,a,n):d;p!==d&&(f=p-d,p=d),l&&(d=c.barStart,p=c.barEnd-c.barStart,0!==d&&B(d)!==B(c.barEnd)&&(f=0),f+=d);const g=o(i)||l?f:i;let m=e.getPixelForValue(g);if(u=this.chart.getDataVisibility(t)?e.getPixelForValue(f+p):m,h=u-m,Math.abs(h)<r){h=tr(h,e,s)*r,d===s&&(m-=h/2);const t=e.getPixelForDecimal(0),n=e.getPixelForDecimal(1),i=Math.min(t,n),o=Math.max(t,n);m=Math.max(Math.min(m,o),i),u=m+h}if(m===e.getPixelForValue(s)){const t=B(h)*e.getLineWidthForValue(s)/2;m+=t,h-=t}return{size:h,base:m,head:u,center:u+h/2}}_calculateBarIndexPixels(t,e){const n=e.scale,i=this.options,r=i.skipNull,o=u(i.maxBarThickness,1/0);let s,a;if(e.grouped){const n=r?this._getStackCount(t):e.stackCount,c="flex"===i.barThickness?Gi(t,e,i,n):Xi(t,e,i,n),l=this._getStackIndex(this.index,this._cachedMeta.stack,r?t:void 0);s=c.start+c.chunk*l+c.chunk/2,a=Math.min(o,c.chunk*c.ratio)}else s=n.getPixelForValue(this.getParsed(t)[n.axis],t),a=Math.min(o,e.min*e.ratio);return{base:s-a/2,head:s+a/2,center:s,size:a}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,i=n.length;let r=0;for(;r<i;++r)null!==this.getParsed(r)[e.axis]&&n[r].draw(this._ctx)}}ar.id="bar",ar.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},ar.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class cr extends Ui{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,n,i){const r=super.parsePrimitiveData(t,e,n,i);for(let o=0;o<r.length;o++)r[o]._custom=this.resolveDataElementOptions(o+n).radius;return r}parseArrayData(t,e,n,i){const r=super.parseArrayData(t,e,n,i);for(let o=0;o<r.length;o++){const t=e[n+o];r[o]._custom=u(t[2],this.resolveDataElementOptions(o+n).radius)}return r}parseObjectData(t,e,n,i){const r=super.parseObjectData(t,e,n,i);for(let o=0;o<r.length;o++){const t=e[n+o];r[o]._custom=u(t&&t.r&&+t.r,this.resolveDataElementOptions(o+n).radius)}return r}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:n,yScale:i}=e,r=this.getParsed(t),o=n.getLabelForValue(r.x),s=i.getLabelForValue(r.y),a=r._custom;return{label:e.label,value:"("+o+", "+s+(a?", "+a:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,i){const r="reset"===i,{iScale:o,vScale:s}=this._cachedMeta,{sharedOptions:a,includeOptions:c}=this._getSharedOptions(e,i),l=o.axis,u=s.axis;for(let h=e;h<e+n;h++){const e=t[h],n=!r&&this.getParsed(h),d={},f=d[l]=r?o.getPixelForDecimal(.5):o.getPixelForValue(n[l]),p=d[u]=r?s.getBasePixel():s.getPixelForValue(n[u]);d.skip=isNaN(f)||isNaN(p),c&&(d.options=a||this.resolveDataElementOptions(h,e.active?"active":i),r&&(d.options.radius=0)),this.updateElement(e,h,d,i)}}resolveDataElementOptions(t,e){const n=this.getParsed(t);let i=super.resolveDataElementOptions(t,e);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const r=i.radius;return"active"!==e&&(i.radius=0),i.radius+=u(n&&n._custom,r),i}}function lr(t,e,n){let i=1,r=1,o=0,s=0;if(e<D){const a=t,c=a+e,l=Math.cos(a),u=Math.sin(a),h=Math.cos(c),d=Math.sin(c),f=(t,e,i)=>tt(t,a,c,!0)?1:Math.max(e,e*n,i,i*n),p=(t,e,i)=>tt(t,a,c,!0)?-1:Math.min(e,e*n,i,i*n),g=f(0,l,h),m=f(R,u,d),v=p(A,l,h),b=p(A+R,u,d);i=(g-v)/2,r=(m-b)/2,o=-(g+v)/2,s=-(m+b)/2}return{ratioX:i,ratioY:r,offsetX:o,offsetY:s}}cr.id="bubble",cr.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},cr.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title(){return""}}}}};class ur extends Ui{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const n=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=n;else{let r,o,s=t=>+n[t];if(a(n[t])){const{key:t="value"}=this._parsing;s=e=>+S(n[e],t)}for(r=t,o=t+e;r<o;++r)i._parsed[r]=s(r)}}_getRotation(){return Y(this.options.rotation-90)}_getCircumference(){return Y(this.options.circumference)}_getRotationExtents(){let t=D,e=-D;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)){const i=this.chart.getDatasetMeta(n).controller,r=i._getRotation(),o=i._getCircumference();t=Math.min(t,r),e=Math.max(e,r+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:n}=e,i=this._cachedMeta,r=i.data,o=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,s=Math.max((Math.min(n.width,n.height)-o)/2,0),a=Math.min(h(this.options.cutout,s),1),c=this._getRingWeight(this.index),{circumference:l,rotation:u}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:g,offsetY:m}=lr(u,l,a),v=(n.width-o)/f,b=(n.height-o)/p,y=Math.max(Math.min(v,b)/2,0),_=d(this.options.radius,y),x=Math.max(_*a,0),w=(_-x)/this._getVisibleDatasetWeightTotal();this.offsetX=g*_,this.offsetY=m*_,i.total=this.calculateTotal(),this.outerRadius=_-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*c,0),this.updateElements(r,0,r.length,t)}_circumference(t,e){const n=this.options,i=this._cachedMeta,r=this._getCircumference();return e&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||null===i._parsed[t]||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*r/D)}updateElements(t,e,n,i){const r="reset"===i,o=this.chart,s=o.chartArea,a=o.options,c=a.animation,l=(s.left+s.right)/2,u=(s.top+s.bottom)/2,h=r&&c.animateScale,d=h?0:this.innerRadius,f=h?0:this.outerRadius,{sharedOptions:p,includeOptions:g}=this._getSharedOptions(e,i);let m,v=this._getRotation();for(m=0;m<e;++m)v+=this._circumference(m,r);for(m=e;m<e+n;++m){const e=this._circumference(m,r),n=t[m],o={x:l+this.offsetX,y:u+this.offsetY,startAngle:v,endAngle:v+e,circumference:e,outerRadius:f,innerRadius:d};g&&(o.options=p||this.resolveDataElementOptions(m,n.active?"active":i)),v+=e,this.updateElement(n,m,o,i)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let n,i=0;for(n=0;n<e.length;n++){const r=t._parsed[n];null===r||isNaN(r)||!this.chart.getDataVisibility(n)||e[n].hidden||(i+=Math.abs(r))}return i}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?D*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,i=n.data.labels||[],r=Jn(e._parsed[t],n.options.locale);return{label:i[t]||"",value:r}}getMaxBorderWidth(t){let e=0;const n=this.chart;let i,r,o,s,a;if(!t)for(i=0,r=n.data.datasets.length;i<r;++i)if(n.isDatasetVisible(i)){o=n.getDatasetMeta(i),t=o.data,s=o.controller;break}if(!t)return 0;for(i=0,r=t.length;i<r;++i)a=s.resolveDataElementOptions(i),"inner"!==a.borderAlign&&(e=Math.max(e,a.borderWidth||0,a.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let n=0,i=t.length;n<i;++n){const t=this.resolveDataElementOptions(n);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e}_getRingWeight(t){return Math.max(u(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}ur.id="doughnut",ur.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},ur.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},ur.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((e,i)=>{const r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){let e=t.label;const n=": "+t.formattedValue;return s(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class hr extends Ui{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:i=[],_dataset:r}=e,o=this.chart._animationsDisabled;let{start:s,count:a}=bt(e,i,o);this._drawStart=s,this._drawCount=a,yt(e)&&(s=0,a=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!r._decimated,n.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:c},t),this.updateElements(i,s,a,t)}updateElements(t,e,n,i){const r="reset"===i,{iScale:s,vScale:a,_stacked:c,_dataset:l}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(e,i),d=s.axis,f=a.axis,{spanGaps:p,segment:g}=this.options,m=H(p)?p:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||r||"none"===i;let b=e>0&&this.getParsed(e-1);for(let y=e;y<e+n;++y){const e=t[y],n=this.getParsed(y),p=v?e:{},_=o(n[f]),x=p[d]=s.getPixelForValue(n[d],y),w=p[f]=r||_?a.getBasePixel():a.getPixelForValue(c?this.applyStack(a,n,c):n[f],y);p.skip=isNaN(x)||isNaN(w)||_,p.stop=y>0&&Math.abs(n[d]-b[d])>m,g&&(p.parsed=n,p.raw=l.data[y]),h&&(p.options=u||this.resolveDataElementOptions(y,e.active?"active":i)),v||this.updateElement(e,y,p,i),b=n}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,i=t.data||[];if(!i.length)return n;const r=i[0].size(this.resolveDataElementOptions(0)),o=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(n,r,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}hr.id="line",hr.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},hr.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class dr extends Ui{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,i=n.data.labels||[],r=Jn(e._parsed[t].r,n.options.locale);return{label:i[t]||"",value:r}}parseObjectData(t,e,n,i){return yn.bind(this)(t,e,n,i)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((t,n)=>{const i=this.getParsed(n).r;!isNaN(i)&&this.chart.getDataVisibility(n)&&(i<e.min&&(e.min=i),i>e.max&&(e.max=i))}),e}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,i=Math.min(e.right-e.left,e.bottom-e.top),r=Math.max(i/2,0),o=Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0),s=(r-o)/t.getVisibleDatasetCount();this.outerRadius=r-s*this.index,this.innerRadius=this.outerRadius-s}updateElements(t,e,n,i){const r="reset"===i,o=this.chart,s=o.options,a=s.animation,c=this._cachedMeta.rScale,l=c.xCenter,u=c.yCenter,h=c.getIndexAngle(0)-.5*A;let d,f=h;const p=360/this.countVisibleElements();for(d=0;d<e;++d)f+=this._computeAngle(d,i,p);for(d=e;d<e+n;d++){const e=t[d];let n=f,s=f+this._computeAngle(d,i,p),g=o.getDataVisibility(d)?c.getDistanceFromCenterForValue(this.getParsed(d).r):0;f=s,r&&(a.animateScale&&(g=0),a.animateRotate&&(n=s=h));const m={x:l,y:u,innerRadius:0,outerRadius:g,startAngle:n,endAngle:s,options:this.resolveDataElementOptions(d,e.active?"active":i)};this.updateElement(e,d,m,i)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach((t,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&e++}),e}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?Y(this.resolveDataElementOptions(t,e).angle||n):0}}dr.id="polarArea",dr.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},dr.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map((e,i)=>{const r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(i),index:i}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class fr extends ur{}fr.id="pie",fr.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class pr extends Ui{getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}parseObjectData(t,e,n,i){return yn.bind(this)(t,e,n,i)}update(t){const e=this._cachedMeta,n=e.dataset,i=e.data||[],r=e.iScale.getLabels();if(n.points=i,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:r.length===i.length,options:e};this.updateElement(n,void 0,o,t)}this.updateElements(i,0,i.length,t)}updateElements(t,e,n,i){const r=this._cachedMeta.rScale,o="reset"===i;for(let s=e;s<e+n;s++){const e=t[s],n=this.resolveDataElementOptions(s,e.active?"active":i),a=r.getPointPositionForValue(s,this.getParsed(s).r),c=o?r.xCenter:a.x,l=o?r.yCenter:a.y,u={x:c,y:l,angle:a.angle,skip:isNaN(c)||isNaN(l),options:n};this.updateElement(e,s,u,i)}}}pr.id="radar",pr.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},pr.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class gr{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return H(this.x)&&H(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const i={};return t.forEach(t=>{i[t]=n[t]&&n[t].active()?n[t]._to:this[t]}),i}}gr.defaults={},gr.defaultRoutes=void 0;const mr={values(t){return s(t)?t:""+t},numeric(t,e,n){if(0===t)return"0";const i=this.chart.options.locale;let r,o=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(r="scientific"),o=vr(t,n)}const s=F(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(s),20),0),c={notation:r,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(c,this.options.ticks.format),Jn(t,i,c)},logarithmic(t,e,n){if(0===t)return"0";const i=t/Math.pow(10,Math.floor(F(t)));return 1===i||2===i||5===i?mr.numeric.call(this,t,e,n):""}};function vr(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var br={formatters:mr};function yr(t,e){const n=t.options.ticks,i=n.maxTicksLimit||_r(t),r=n.major.enabled?wr(e):[],s=r.length,a=r[0],c=r[s-1],l=[];if(s>i)return Sr(e,l,r,s/i),l;const u=xr(r,e,i);if(s>0){let t,n;const i=s>1?Math.round((c-a)/(s-1)):null;for(kr(e,l,u,o(i)?0:a-i,a),t=0,n=s-1;t<n;t++)kr(e,l,u,r[t],r[t+1]);return kr(e,l,u,c,o(i)?e.length:c+i),l}return kr(e,l,u),l}function _r(t){const e=t.options.offset,n=t._tickSize(),i=t._length/n+(e?0:1),r=t._maxLength/n;return Math.floor(Math.min(i,r))}function xr(t,e,n){const i=Cr(t),r=e.length/n;if(!i)return Math.max(r,1);const o=V(i);for(let s=0,a=o.length-1;s<a;s++){const t=o[s];if(t>r)return t}return Math.max(r,1)}function wr(t){const e=[];let n,i;for(n=0,i=t.length;n<i;n++)t[n].major&&e.push(n);return e}function Sr(t,e,n,i){let r,o=0,s=n[0];for(i=Math.ceil(i),r=0;r<t.length;r++)r===s&&(e.push(t[r]),o++,s=n[o*i])}function kr(t,e,n,i,r){const o=u(i,0),s=Math.min(u(r,t.length),t.length);let a,c,l,h=0;n=Math.ceil(n),r&&(a=r-i,n=a/Math.floor(a/n)),l=o;while(l<0)h++,l=Math.round(o+h*n);for(c=Math.max(o,0);c<s;c++)c===l&&(e.push(t[c]),h++,l=Math.round(o+h*n))}function Cr(t){const e=t.length;let n,i;if(e<2)return!1;for(i=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==i)return!1;return i}ke.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:br.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),ke.route("scale.ticks","color","","color"),ke.route("scale.grid","color","","borderColor"),ke.route("scale.grid","borderColor","","borderColor"),ke.route("scale.title","color","","color"),ke.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),ke.describe("scales",{_fallback:"scale"}),ke.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Or=t=>"left"===t?"right":"right"===t?"left":t,Er=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n;function Pr(t,e){const n=[],i=t.length/e,r=t.length;let o=0;for(;o<r;o+=i)n.push(t[Math.floor(o)]);return n}function Mr(t,e,n){const i=t.ticks.length,r=Math.min(e,i-1),o=t._startPixel,s=t._endPixel,a=1e-6;let c,l=t.getPixelForTick(r);if(!(n&&(c=1===i?Math.max(l-o,s-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(r-1))/2,l+=r<e?c:-c,l<o-a||l>s+a)))return l}function Tr(t,e){p(t,t=>{const n=t.gc,i=n.length/2;let r;if(i>e){for(r=0;r<i;++r)delete t.data[n[r]];n.splice(0,i)}})}function Ar(t){return t.drawTicks?t.tickLength:0}function Dr(t,e){if(!t.display)return 0;const n=Ge(t.font,e),i=Xe(t.padding),r=s(t.text)?t.text.length:1;return r*n.lineHeight+i.height}function $r(t,e){return Ze(t,{scale:e,type:"scale"})}function Lr(t,e,n){return Ze(t,{tick:n,index:e,type:"tick"})}function jr(t,e,n){let i=gt(t);return(n&&"right"!==e||!n&&"right"===e)&&(i=Or(i)),i}function Rr(t,e,n,i){const{top:r,left:o,bottom:s,right:c,chart:l}=t,{chartArea:u,scales:h}=l;let d,f,p,g=0;const m=s-r,v=c-o;if(t.isHorizontal()){if(f=mt(i,o,c),a(n)){const t=Object.keys(n)[0],i=n[t];p=h[t].getPixelForValue(i)+m-e}else p="center"===n?(u.bottom+u.top)/2+m-e:Er(t,n,e);d=c-o}else{if(a(n)){const t=Object.keys(n)[0],i=n[t];f=h[t].getPixelForValue(i)-v+e}else f="center"===n?(u.left+u.right)/2-v+e:Er(t,n,e);p=mt(i,s,r),g="left"===n?-R:R}return{titleX:f,titleY:p,maxWidth:d,rotation:g}}class Ir extends gr{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:i}=this;return t=l(t,Number.POSITIVE_INFINITY),e=l(e,Number.NEGATIVE_INFINITY),n=l(n,Number.POSITIVE_INFINITY),i=l(i,Number.NEGATIVE_INFINITY),{min:l(t,n),max:l(e,i),minDefined:c(t),maxDefined:c(e)}}getMinMax(t){let e,{min:n,max:i,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:n,max:i};const s=this.getMatchingVisibleMetas();for(let a=0,c=s.length;a<c;++a)e=s[a].controller.getMinMax(this,t),r||(n=Math.min(n,e.min)),o||(i=Math.max(i,e.max));return n=o&&n>i?i:n,i=r&&n>i?n:i,{min:l(n,l(i,n)),max:l(i,l(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){f(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:i,grace:r,ticks:o}=this.options,s=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Je(this,r,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const a=s<this.ticks.length;this._convertTicksToLabels(a?Pr(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=yr(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),a&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){f(this.options.afterUpdate,[this])}beforeSetDimensions(){f(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){f(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),f(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){f(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,i,r;for(n=0,i=t.length;n<i;n++)r=t[n],r.label=f(e.callback,[r.value,n,t],this)}afterTickToLabelConversion(){f(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){f(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=this.ticks.length,i=e.minRotation||0,r=e.maxRotation;let o,s,a,c=i;if(!this._isVisible()||!e.display||i>=r||n<=1||!this.isHorizontal())return void(this.labelRotation=i);const l=this._getLabelSizes(),u=l.widest.width,h=l.highest.height,d=et(this.chart.width-u,0,this.maxWidth);o=t.offset?this.maxWidth/n:d/(n-1),u+6>o&&(o=d/(n-(t.offset?.5:1)),s=this.maxHeight-Ar(t.grid)-e.padding-Dr(t.title,this.chart.options.font),a=Math.sqrt(u*u+h*h),c=X(Math.min(Math.asin(et((l.highest.height+6)/o,-1,1)),Math.asin(et(s/a,-1,1))-Math.asin(et(h/a,-1,1)))),c=Math.max(i,Math.min(r,c))),this.labelRotation=c}afterCalculateLabelRotation(){f(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){f(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:i,grid:r}}=this,o=this._isVisible(),s=this.isHorizontal();if(o){const o=Dr(i,e.options.font);if(s?(t.width=this.maxWidth,t.height=Ar(r)+o):(t.height=this.maxHeight,t.width=Ar(r)+o),n.display&&this.ticks.length){const{first:e,last:i,widest:r,highest:o}=this._getLabelSizes(),a=2*n.padding,c=Y(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(s){const e=n.mirror?0:u*r.width+l*o.height;t.height=Math.min(this.maxHeight,t.height+e+a)}else{const e=n.mirror?0:l*r.width+u*o.height;t.width=Math.min(this.maxWidth,t.width+e+a)}this._calculatePadding(e,i,u,l)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,i){const{ticks:{align:r,padding:o},position:s}=this.options,a=0!==this.labelRotation,c="top"!==s&&"x"===this.axis;if(this.isHorizontal()){const s=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;a?c?(u=i*t.width,h=n*e.height):(u=n*t.height,h=i*e.width):"start"===r?h=e.width:"end"===r?u=t.width:"inner"!==r&&(u=t.width/2,h=e.width/2),this.paddingLeft=Math.max((u-s+o)*this.width/(this.width-s),0),this.paddingRight=Math.max((h-l+o)*this.width/(this.width-l),0)}else{let n=e.height/2,i=t.height/2;"start"===r?(n=0,i=t.height):"end"===r&&(n=e.height,i=0),this.paddingTop=n+o,this.paddingBottom=i+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){f(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)o(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=Pr(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length)}return t}_computeLabelSizes(t,e){const{ctx:n,_longestTextCache:i}=this,r=[],a=[];let c,l,u,h,d,f,p,g,m,v,b,y=0,_=0;for(c=0;c<e;++c){if(h=t[c].label,d=this._resolveTickFontOptions(c),n.font=f=d.string,p=i[f]=i[f]||{data:{},gc:[]},g=d.lineHeight,m=v=0,o(h)||s(h)){if(s(h))for(l=0,u=h.length;l<u;++l)b=h[l],o(b)||s(b)||(m=Oe(n,p.data,p.gc,m,b),v+=g)}else m=Oe(n,p.data,p.gc,m,h),v=g;r.push(m),a.push(v),y=Math.max(m,y),_=Math.max(v,_)}Tr(i,e);const x=r.indexOf(y),w=a.indexOf(_),S=t=>({width:r[t]||0,height:a[t]||0});return{first:S(0),last:S(e-1),widest:S(x),highest:S(w),widths:r,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return nt(this._alignToPixels?Pe(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=Lr(this.getContext(),t,n))}return this.$context||(this.$context=$r(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,e=Y(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),r=this._getLabelSizes(),o=t.autoSkipPadding||0,s=r?r.widest.width+o:0,a=r?r.highest.height+o:0;return this.isHorizontal()?a*n>s*i?s/n:a/i:a*i<s*n?a/n:s/i}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,i=this.options,{grid:r,position:o}=i,s=r.offset,c=this.isHorizontal(),l=this.ticks,h=l.length+(s?1:0),d=Ar(r),f=[],p=r.setContext(this.getContext()),g=p.drawBorder?p.borderWidth:0,m=g/2,v=function(t){return Pe(n,t,g)};let b,y,_,x,w,S,k,C,O,E,P,M;if("top"===o)b=v(this.bottom),S=this.bottom-d,C=b-m,E=v(t.top)+m,M=t.bottom;else if("bottom"===o)b=v(this.top),E=t.top,M=v(t.bottom)-m,S=b+m,C=this.top+d;else if("left"===o)b=v(this.right),w=this.right-d,k=b-m,O=v(t.left)+m,P=t.right;else if("right"===o)b=v(this.left),O=t.left,P=v(t.right)-m,w=b+m,k=this.left+d;else if("x"===e){if("center"===o)b=v((t.top+t.bottom)/2+.5);else if(a(o)){const t=Object.keys(o)[0],e=o[t];b=v(this.chart.scales[t].getPixelForValue(e))}E=t.top,M=t.bottom,S=b+m,C=S+d}else if("y"===e){if("center"===o)b=v((t.left+t.right)/2);else if(a(o)){const t=Object.keys(o)[0],e=o[t];b=v(this.chart.scales[t].getPixelForValue(e))}w=b-m,k=w-d,O=t.left,P=t.right}const T=u(i.ticks.maxTicksLimit,h),A=Math.max(1,Math.ceil(h/T));for(y=0;y<h;y+=A){const t=r.setContext(this.getContext(y)),e=t.lineWidth,i=t.color,o=t.borderDash||[],a=t.borderDashOffset,l=t.tickWidth,u=t.tickColor,h=t.tickBorderDash||[],d=t.tickBorderDashOffset;_=Mr(this,y,s),void 0!==_&&(x=Pe(n,_,e),c?w=k=O=P=x:S=C=E=M=x,f.push({tx1:w,ty1:S,tx2:k,ty2:C,x1:O,y1:E,x2:P,y2:M,width:e,color:i,borderDash:o,borderDashOffset:a,tickWidth:l,tickColor:u,tickBorderDash:h,tickBorderDashOffset:d}))}return this._ticksLength=h,this._borderValue=b,f}_computeLabelItems(t){const e=this.axis,n=this.options,{position:i,ticks:r}=n,o=this.isHorizontal(),c=this.ticks,{align:l,crossAlign:u,padding:h,mirror:d}=r,f=Ar(n.grid),p=f+h,g=d?-h:p,m=-Y(this.labelRotation),v=[];let b,y,_,x,w,S,k,C,O,E,P,M,T="middle";if("top"===i)S=this.bottom-g,k=this._getXAxisLabelAlignment();else if("bottom"===i)S=this.top+g,k=this._getXAxisLabelAlignment();else if("left"===i){const t=this._getYAxisLabelAlignment(f);k=t.textAlign,w=t.x}else if("right"===i){const t=this._getYAxisLabelAlignment(f);k=t.textAlign,w=t.x}else if("x"===e){if("center"===i)S=(t.top+t.bottom)/2+p;else if(a(i)){const t=Object.keys(i)[0],e=i[t];S=this.chart.scales[t].getPixelForValue(e)+p}k=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===i)w=(t.left+t.right)/2-p;else if(a(i)){const t=Object.keys(i)[0],e=i[t];w=this.chart.scales[t].getPixelForValue(e)}k=this._getYAxisLabelAlignment(f).textAlign}"y"===e&&("start"===l?T="top":"end"===l&&(T="bottom"));const A=this._getLabelSizes();for(b=0,y=c.length;b<y;++b){_=c[b],x=_.label;const t=r.setContext(this.getContext(b));C=this.getPixelForTick(b)+r.labelOffset,O=this._resolveTickFontOptions(b),E=O.lineHeight,P=s(x)?x.length:1;const e=P/2,n=t.color,a=t.textStrokeColor,l=t.textStrokeWidth;let h,f=k;if(o?(w=C,"inner"===k&&(f=b===y-1?this.options.reverse?"left":"right":0===b?this.options.reverse?"right":"left":"center"),M="top"===i?"near"===u||0!==m?-P*E+E/2:"center"===u?-A.highest.height/2-e*E+E:-A.highest.height+E/2:"near"===u||0!==m?E/2:"center"===u?A.highest.height/2-e*E:A.highest.height-P*E,d&&(M*=-1)):(S=C,M=(1-P)*E/2),t.showLabelBackdrop){const e=Xe(t.backdropPadding),n=A.heights[b],i=A.widths[b];let r=S+M-e.top,o=w-e.left;switch(T){case"middle":r-=n/2;break;case"bottom":r-=n;break}switch(k){case"center":o-=i/2;break;case"right":o-=i;break}h={left:o,top:r,width:i+e.width,height:n+e.height,color:t.backdropColor}}v.push({rotation:m,label:x,font:O,color:n,strokeColor:a,strokeWidth:l,textOffset:M,textAlign:f,textBaseline:T,translation:[w,S],backdrop:h})}return v}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options,n=-Y(this.labelRotation);if(n)return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:i,padding:r}}=this.options,o=this._getLabelSizes(),s=t+r,a=o.widest.width;let c,l;return"left"===e?i?(l=this.right+r,"near"===n?c="left":"center"===n?(c="center",l+=a/2):(c="right",l+=a)):(l=this.right-s,"near"===n?c="right":"center"===n?(c="center",l-=a/2):(c="left",l=this.left)):"right"===e?i?(l=this.left+r,"near"===n?c="right":"center"===n?(c="center",l-=a/2):(c="left",l-=a)):(l=this.left+s,"near"===n?c="left":"center"===n?(c="center",l+=a/2):(c="right",l=this.right)):c="right",{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:i,width:r,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,i,r,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks,i=n.findIndex(e=>e.value===t);if(i>=0){const t=e.setContext(this.getContext(i));return t.lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const s=(t,e,i)=>{i.width&&i.color&&(n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.setLineDash(i.borderDash||[]),n.lineDashOffset=i.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(r=0,o=i.length;r<o;++r){const t=i[r];e.drawOnChartArea&&s({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&s({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:n}}=this,i=n.setContext(this.getContext()),r=n.drawBorder?i.borderWidth:0;if(!r)return;const o=n.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let a,c,l,u;this.isHorizontal()?(a=Pe(t,this.left,r)-r/2,c=Pe(t,this.right,o)+o/2,l=u=s):(l=Pe(t,this.top,r)-r/2,u=Pe(t,this.bottom,o)+o/2,a=c=s),e.save(),e.lineWidth=i.borderWidth,e.strokeStyle=i.borderColor,e.beginPath(),e.moveTo(a,l),e.lineTo(c,u),e.stroke(),e.restore()}drawLabels(t){const e=this.options.ticks;if(!e.display)return;const n=this.ctx,i=this._computeLabelArea();i&&$e(n,i);const r=this._labelItems||(this._labelItems=this._computeLabelItems(t));let o,s;for(o=0,s=r.length;o<s;++o){const t=r[o],e=t.font,i=t.label;t.backdrop&&(n.fillStyle=t.backdrop.color,n.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height));let s=t.textOffset;Ie(n,i,0,s,e,t)}i&&Le(n)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:i}}=this;if(!n.display)return;const r=Ge(n.font),o=Xe(n.padding),c=n.align;let l=r.lineHeight/2;"bottom"===e||"center"===e||a(e)?(l+=o.bottom,s(n.text)&&(l+=r.lineHeight*(n.text.length-1))):l+=o.top;const{titleX:u,titleY:h,maxWidth:d,rotation:f}=Rr(this,l,e,c);Ie(t,n.text,0,0,r,{color:n.color,maxWidth:d,rotation:f,textAlign:jr(c,e,i),textBaseline:"middle",translation:[u,h]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=u(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===Ir.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:n+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",i=[];let r,o;for(r=0,o=e.length;r<o;++r){const o=e[r];o[n]!==this.id||t&&o.type!==t||i.push(o)}return i}_resolveTickFontOptions(t){const e=this.options.ticks.setContext(this.getContext(t));return Ge(e.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Nr{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;zr(e)&&(n=this.register(e));const i=this.items,r=t.id,o=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+t);return r in i||(i[r]=t,Fr(t,o,n),this.override&&ke.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,i=this.scope;n in e&&delete e[n],i&&n in ke[i]&&(delete ke[i][n],this.override&&delete ye[n])}}function Fr(t,e,n){const i=y(Object.create(null),[n?ke.get(n):{},ke.get(e),t.defaults]);ke.set(e,i),t.defaultRoutes&&Br(e,t.defaultRoutes),t.descriptors&&ke.describe(e,t.descriptors)}function Br(t,e){Object.keys(e).forEach(n=>{const i=n.split("."),r=i.pop(),o=[t].concat(i).join("."),s=e[n].split("."),a=s.pop(),c=s.join(".");ke.route(o,r,c,a)})}function zr(t){return"id"in t&&"defaults"in t}class Vr{constructor(){this.controllers=new Nr(Ui,"datasets",!0),this.elements=new Nr(gr,"elements"),this.plugins=new Nr(Object,"plugins"),this.scales=new Nr(Ir,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach(e=>{const i=n||this._getRegistryForType(e);n||i.isForType(e)||i===this.plugins&&e.id?this._exec(t,i,e):p(e,e=>{const i=n||this._getRegistryForType(e);this._exec(t,i,e)})})}_exec(t,e,n){const i=O(t);f(n["before"+i],[],n),e[t](n),f(n["after"+i],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const i=e.get(t);if(void 0===i)throw new Error('"'+t+'" is not a registered '+n+".");return i}}var Hr=new Vr;class Wr extends Ui{update(t){const e=this._cachedMeta,{data:n=[]}=e,i=this.chart._animationsDisabled;let{start:r,count:o}=bt(e,n,i);if(this._drawStart=r,this._drawCount=o,yt(e)&&(r=0,o=n.length),this.options.showLine){const{dataset:r,_dataset:o}=e;r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=n;const s=this.resolveDatasetElementOptions(t);s.segment=this.options.segment,this.updateElement(r,void 0,{animated:!i,options:s},t)}this.updateElements(n,r,o,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=Hr.getElement("line")),super.addElements()}updateElements(t,e,n,i){const r="reset"===i,{iScale:s,vScale:a,_stacked:c,_dataset:l}=this._cachedMeta,u=this.resolveDataElementOptions(e,i),h=this.getSharedOptions(u),d=this.includeOptions(i,h),f=s.axis,p=a.axis,{spanGaps:g,segment:m}=this.options,v=H(g)?g:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||r||"none"===i;let y=e>0&&this.getParsed(e-1);for(let _=e;_<e+n;++_){const e=t[_],n=this.getParsed(_),u=b?e:{},g=o(n[p]),x=u[f]=s.getPixelForValue(n[f],_),w=u[p]=r||g?a.getBasePixel():a.getPixelForValue(c?this.applyStack(a,n,c):n[p],_);u.skip=isNaN(x)||isNaN(w)||g,u.stop=_>0&&Math.abs(n[f]-y[f])>v,m&&(u.parsed=n,u.raw=l.data[_]),d&&(u.options=h||this.resolveDataElementOptions(_,e.active?"active":i)),b||this.updateElement(e,_,u,i),y=n}this.updateSharedOptions(h,i,u)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}const n=t.dataset,i=n.options&&n.options.borderWidth||0;if(!e.length)return i;const r=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(i,r,o)/2}}Wr.id="scatter",Wr.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},Wr.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(t){return"("+t.label+", "+t.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function Ur(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class qr{constructor(t){this.options=t||{}}init(t){}formats(){return Ur()}parse(t,e){return Ur()}format(t,e){return Ur()}add(t,e,n){return Ur()}diff(t,e,n){return Ur()}startOf(t,e,n){return Ur()}endOf(t,e){return Ur()}}qr.override=function(t){Object.assign(qr.prototype,t)};var Yr={_date:qr};function Xr(t,e,n,i){const{controller:r,data:o,_sorted:s}=t,a=r._cachedMeta.iScale;if(a&&e===a.axis&&"r"!==e&&s&&o.length){const t=a._reversePixels?st:ot;if(!i)return t(o,e,n);if(r._sharedOptions){const i=o[0],r="function"===typeof i.getRange&&i.getRange(e);if(r){const i=t(o,e,n-r),s=t(o,e,n+r);return{lo:i.lo,hi:s.hi}}}}return{lo:0,hi:o.length-1}}function Gr(t,e,n,i,r){const o=t.getSortedVisibleDatasetMetas(),s=n[e];for(let a=0,c=o.length;a<c;++a){const{index:t,data:n}=o[a],{lo:c,hi:l}=Xr(o[a],e,s,r);for(let e=c;e<=l;++e){const r=n[e];r.skip||i(r,t,e)}}}function Kr(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){const r=e?Math.abs(t.x-i.x):0,o=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function Jr(t,e,n,i,r){const o=[];if(!r&&!t.isPointInArea(e))return o;const s=function(n,s,a){(r||De(n,t.chartArea,0))&&n.inRange(e.x,e.y,i)&&o.push({element:n,datasetIndex:s,index:a})};return Gr(t,n,e,s,!0),o}function Zr(t,e,n,i){let r=[];function o(t,n,o){const{startAngle:s,endAngle:a}=t.getProps(["startAngle","endAngle"],i),{angle:c}=K(t,{x:e.x,y:e.y});tt(c,s,a)&&r.push({element:t,datasetIndex:n,index:o})}return Gr(t,n,e,o),r}function Qr(t,e,n,i,r,o){let s=[];const a=Kr(n);let c=Number.POSITIVE_INFINITY;function l(n,l,u){const h=n.inRange(e.x,e.y,r);if(i&&!h)return;const d=n.getCenterPoint(r),f=!!o||t.isPointInArea(d);if(!f&&!h)return;const p=a(e,d);p<c?(s=[{element:n,datasetIndex:l,index:u}],c=p):p===c&&s.push({element:n,datasetIndex:l,index:u})}return Gr(t,n,e,l),s}function to(t,e,n,i,r,o){return o||t.isPointInArea(e)?"r"!==n||i?Qr(t,e,n,i,r,o):Zr(t,e,n,r):[]}function eo(t,e,n,i,r){const o=[],s="x"===n?"inXRange":"inYRange";let a=!1;return Gr(t,n,e,(t,i,c)=>{t[s](e[n],r)&&(o.push({element:t,datasetIndex:i,index:c}),a=a||t.inRange(e.x,e.y,r))}),i&&!a?[]:o}var no={evaluateInteractionItems:Gr,modes:{index(t,e,n,i){const r=Fn(e,t),o=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Jr(t,r,o,i,s):to(t,r,o,!1,i,s),c=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(t=>{const e=a[0].index,n=t.data[e];n&&!n.skip&&c.push({element:n,datasetIndex:t.index,index:e})}),c):[]},dataset(t,e,n,i){const r=Fn(e,t),o=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Jr(t,r,o,i,s):to(t,r,o,!1,i,s);if(a.length>0){const e=a[0].datasetIndex,n=t.getDatasetMeta(e).data;a=[];for(let t=0;t<n.length;++t)a.push({element:n[t],datasetIndex:e,index:t})}return a},point(t,e,n,i){const r=Fn(e,t),o=n.axis||"xy",s=n.includeInvisible||!1;return Jr(t,r,o,i,s)},nearest(t,e,n,i){const r=Fn(e,t),o=n.axis||"xy",s=n.includeInvisible||!1;return to(t,r,o,n.intersect,i,s)},x(t,e,n,i){const r=Fn(e,t);return eo(t,r,"x",n.intersect,i)},y(t,e,n,i){const r=Fn(e,t);return eo(t,r,"y",n.intersect,i)}}};const io=["left","top","right","bottom"];function ro(t,e){return t.filter(t=>t.pos===e)}function oo(t,e){return t.filter(t=>-1===io.indexOf(t.pos)&&t.box.axis===e)}function so(t,e){return t.sort((t,n)=>{const i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function ao(t){const e=[];let n,i,r,o,s,a;for(n=0,i=(t||[]).length;n<i;++n)r=t[n],({position:o,options:{stack:s,stackWeight:a=1}}=r),e.push({index:n,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&o+s,stackWeight:a});return e}function co(t){const e={};for(const n of t){const{stack:t,pos:i,stackWeight:r}=n;if(!t||!io.includes(i))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return e}function lo(t,e){const n=co(t),{vBoxMaxWidth:i,hBoxMaxHeight:r}=e;let o,s,a;for(o=0,s=t.length;o<s;++o){a=t[o];const{fullSize:s}=a.box,c=n[a.stack],l=c&&a.stackWeight/c.weight;a.horizontal?(a.width=l?l*i:s&&e.availableWidth,a.height=r):(a.width=i,a.height=l?l*r:s&&e.availableHeight)}return n}function uo(t){const e=ao(t),n=so(e.filter(t=>t.box.fullSize),!0),i=so(ro(e,"left"),!0),r=so(ro(e,"right")),o=so(ro(e,"top"),!0),s=so(ro(e,"bottom")),a=oo(e,"x"),c=oo(e,"y");return{fullSize:n,leftAndTop:i.concat(o),rightAndBottom:r.concat(c).concat(s).concat(a),chartArea:ro(e,"chartArea"),vertical:i.concat(r).concat(c),horizontal:o.concat(s).concat(a)}}function ho(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function fo(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function po(t,e,n,i){const{pos:r,box:o}=n,s=t.maxPadding;if(!a(r)){n.size&&(t[r]-=n.size);const e=i[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?o.height:o.width),n.size=e.size/e.count,t[r]+=n.size}o.getPadding&&fo(s,o.getPadding());const c=Math.max(0,e.outerWidth-ho(s,t,"left","right")),l=Math.max(0,e.outerHeight-ho(s,t,"top","bottom")),u=c!==t.w,h=l!==t.h;return t.w=c,t.h=l,n.horizontal?{same:u,other:h}:{same:h,other:u}}function go(t){const e=t.maxPadding;function n(n){const i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function mo(t,e){const n=e.maxPadding;function i(t){const i={left:0,top:0,right:0,bottom:0};return t.forEach(t=>{i[t]=Math.max(e[t],n[t])}),i}return i(t?["left","right"]:["top","bottom"])}function vo(t,e,n,i){const r=[];let o,s,a,c,l,u;for(o=0,s=t.length,l=0;o<s;++o){a=t[o],c=a.box,c.update(a.width||e.w,a.height||e.h,mo(a.horizontal,e));const{same:s,other:h}=po(e,n,a,i);l|=s&&r.length,u=u||h,c.fullSize||r.push(a)}return l&&vo(r,e,n,i)||u}function bo(t,e,n,i,r){t.top=n,t.left=e,t.right=e+i,t.bottom=n+r,t.width=i,t.height=r}function yo(t,e,n,i){const r=n.padding;let{x:o,y:s}=e;for(const a of t){const t=a.box,c=i[a.stack]||{count:1,placed:0,weight:1},l=a.stackWeight/c.weight||1;if(a.horizontal){const i=e.w*l,o=c.size||t.height;E(c.start)&&(s=c.start),t.fullSize?bo(t,r.left,s,n.outerWidth-r.right-r.left,o):bo(t,e.left+c.placed,s,i,o),c.start=s,c.placed+=i,s=t.bottom}else{const i=e.h*l,s=c.size||t.width;E(c.start)&&(o=c.start),t.fullSize?bo(t,o,r.top,s,n.outerHeight-r.bottom-r.top):bo(t,o,e.top+c.placed,s,i),c.start=o,c.placed+=i,o=t.right}}e.x=o,e.y=s}ke.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var _o={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,i){if(!t)return;const r=Xe(t.options.layout.padding),o=Math.max(e-r.width,0),s=Math.max(n-r.height,0),a=uo(t.boxes),c=a.vertical,l=a.horizontal;p(t.boxes,t=>{"function"===typeof t.beforeLayout&&t.beforeLayout()});const u=c.reduce((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/u,hBoxMaxHeight:s/2}),d=Object.assign({},r);fo(d,Xe(i));const f=Object.assign({maxPadding:d,w:o,h:s,x:r.left,y:r.top},r),g=lo(c.concat(l),h);vo(a.fullSize,f,h,g),vo(c,f,h,g),vo(l,f,h,g)&&vo(c,f,h,g),go(f),yo(a.leftAndTop,f,h,g),f.x+=f.w,f.y+=f.h,yo(a.rightAndBottom,f,h,g),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},p(a.chartArea,e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class xo{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,i){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,i?Math.floor(e/i):n)}}isAttached(t){return!0}updateConfig(t){}}class wo extends xo{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const So="$chartjs",ko={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Co=t=>null===t||""===t;function Oo(t,e){const n=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[So]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Co(r)){const e=Un(t,"width");void 0!==e&&(t.width=e)}if(Co(i))if(""===t.style.height)t.height=t.width/(e||2);else{const e=Un(t,"height");void 0!==e&&(t.height=e)}return t}const Eo=!!Wn&&{passive:!0};function Po(t,e,n){t.addEventListener(e,n,Eo)}function Mo(t,e,n){t.canvas.removeEventListener(e,n,Eo)}function To(t,e){const n=ko[t.type]||t.type,{x:i,y:r}=Fn(t,e);return{type:n,chart:e,native:t,x:void 0!==i?i:null,y:void 0!==r?r:null}}function Ao(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Do(t,e,n){const i=t.canvas,r=new MutationObserver(t=>{let e=!1;for(const n of t)e=e||Ao(n.addedNodes,i),e=e&&!Ao(n.removedNodes,i);e&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function $o(t,e,n){const i=t.canvas,r=new MutationObserver(t=>{let e=!1;for(const n of t)e=e||Ao(n.removedNodes,i),e=e&&!Ao(n.addedNodes,i);e&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const Lo=new Map;let jo=0;function Ro(){const t=window.devicePixelRatio;t!==jo&&(jo=t,Lo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function Io(t,e){Lo.size||window.addEventListener("resize",Ro),Lo.set(t,e)}function No(t){Lo.delete(t),Lo.size||window.removeEventListener("resize",Ro)}function Fo(t,e,n){const i=t.canvas,r=i&&An(i);if(!r)return;const o=ft((t,e)=>{const i=r.clientWidth;n(t,e),i<r.clientWidth&&n()},window),s=new ResizeObserver(t=>{const e=t[0],n=e.contentRect.width,i=e.contentRect.height;0===n&&0===i||o(n,i)});return s.observe(r),Io(t,o),s}function Bo(t,e,n){n&&n.disconnect(),"resize"===e&&No(t)}function zo(t,e,n){const i=t.canvas,r=ft(e=>{null!==t.ctx&&n(To(e,t))},t,t=>{const e=t[0];return[e,e.offsetX,e.offsetY]});return Po(i,e,r),r}class Vo extends xo{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(Oo(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[So])return!1;const n=e[So].initial;["height","width"].forEach(t=>{const i=n[t];o(i)?e.removeAttribute(t):e.setAttribute(t,i)});const i=n.style||{};return Object.keys(i).forEach(t=>{e.style[t]=i[t]}),e.width=e.width,delete e[So],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const i=t.$proxies||(t.$proxies={}),r={attach:Do,detach:$o,resize:Fo},o=r[e]||zo;i[e]=o(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),i=n[e];if(!i)return;const r={attach:Bo,detach:Bo,resize:Bo},o=r[e]||Mo;o(t,e,i),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,i){return Vn(t,e,n,i)}isAttached(t){const e=An(t);return!(!e||!e.isConnected)}}function Ho(t){return!Tn()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?wo:Vo}class Wo{constructor(){this._init=[]}notify(t,e,n,i){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=i?this._descriptors(t).filter(i):this._descriptors(t),o=this._notify(r,t,e,n);return"afterDestroy"===e&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,n,i){i=i||{};for(const r of t){const t=r.plugin,o=t[n],s=[e,i,r.options];if(!1===f(o,s,t)&&i.cancelable)return!1}return!0}invalidate(){o(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,i=u(n.options&&n.options.plugins,{}),r=Uo(n);return!1!==i||e?Yo(t,r,i,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,i=(t,e)=>t.filter(t=>!e.some(e=>t.plugin.id===e.plugin.id));this._notify(i(e,n),t,"stop"),this._notify(i(n,e),t,"start")}}function Uo(t){const e={},n=[],i=Object.keys(Hr.plugins.items);for(let o=0;o<i.length;o++)n.push(Hr.getPlugin(i[o]));const r=t.plugins||[];for(let o=0;o<r.length;o++){const t=r[o];-1===n.indexOf(t)&&(n.push(t),e[t.id]=!0)}return{plugins:n,localIds:e}}function qo(t,e){return e||!1!==t?!0===t?{}:t:null}function Yo(t,{plugins:e,localIds:n},i,r){const o=[],s=t.getContext();for(const a of e){const e=a.id,c=qo(i[e],r);null!==c&&o.push({plugin:a,options:Xo(t.config,{plugin:a,local:n[e]},c,s)})}return o}function Xo(t,{plugin:e,local:n},i,r){const o=t.pluginScopeKeys(e),s=t.getOptionScopes(i,o);return n&&e.defaults&&s.push(e.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Go(t,e){const n=ke.datasets[t]||{},i=(e.datasets||{})[t]||{};return i.indexAxis||e.indexAxis||n.indexAxis||"x"}function Ko(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}function Jo(t,e){return t===e?"_index_":"_value_"}function Zo(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}function Qo(t,e){return"x"===t||"y"===t?t:e.axis||Zo(e.position)||t.charAt(0).toLowerCase()}function ts(t,e){const n=ye[t.type]||{scales:{}},i=e.scales||{},r=Go(t.type,e),o=Object.create(null),s=Object.create(null);return Object.keys(i).forEach(t=>{const e=i[t];if(!a(e))return console.error("Invalid scale configuration for scale: "+t);if(e._proxy)return console.warn("Ignoring resolver passed as options for scale: "+t);const c=Qo(t,e),l=Jo(c,r),u=n.scales||{};o[c]=o[c]||t,s[t]=_(Object.create(null),[{axis:c},e,u[c],u[l]])}),t.data.datasets.forEach(n=>{const r=n.type||t.type,a=n.indexAxis||Go(r,e),c=ye[r]||{},l=c.scales||{};Object.keys(l).forEach(t=>{const e=Ko(t,a),r=n[e+"AxisID"]||o[e]||e;s[r]=s[r]||Object.create(null),_(s[r],[{axis:e},i[r],l[t]])})}),Object.keys(s).forEach(t=>{const e=s[t];_(e,[ke.scales[e.type],ke.scale])}),s}function es(t){const e=t.options||(t.options={});e.plugins=u(e.plugins,{}),e.scales=ts(t,e)}function ns(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function is(t){return t=t||{},t.data=ns(t.data),es(t),t}const rs=new Map,os=new Set;function ss(t,e){let n=rs.get(t);return n||(n=e(),rs.set(t,n),os.add(n)),n}const as=(t,e,n)=>{const i=S(e,n);void 0!==i&&t.add(i)};class cs{constructor(t){this._config=is(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ns(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),es(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ss(t,()=>[["datasets."+t,""]])}datasetAnimationScopeKeys(t,e){return ss(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,"transitions."+e],["datasets."+t,""]])}datasetElementScopeKeys(t,e){return ss(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,"datasets."+t,"elements."+e,""]])}pluginScopeKeys(t){const e=t.id,n=this.type;return ss(`${n}-plugin-${e}`,()=>[["plugins."+e,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const n=this._scopeCache;let i=n.get(t);return i&&!e||(i=new Map,n.set(t,i)),i}getOptionScopes(t,e,n){const{options:i,type:r}=this,o=this._cachedScopes(t,n),s=o.get(e);if(s)return s;const a=new Set;e.forEach(e=>{t&&(a.add(t),e.forEach(e=>as(a,t,e))),e.forEach(t=>as(a,i,t)),e.forEach(t=>as(a,ye[r]||{},t)),e.forEach(t=>as(a,ke,t)),e.forEach(t=>as(a,_e,t))});const c=Array.from(a);return 0===c.length&&c.push(Object.create(null)),os.has(e)&&o.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,ye[e]||{},ke.datasets[e]||{},{type:e},ke,_e]}resolveNamedOptions(t,e,n,i=[""]){const r={$shared:!0},{resolver:o,subPrefixes:s}=ls(this._resolverCache,t,i);let a=o;if(hs(o,e)){r.$shared=!1,n=P(n)?n():n;const e=this.createResolver(t,n,s);a=tn(o,n,e)}for(const c of e)r[c]=a[c];return r}createResolver(t,e,n=[""],i){const{resolver:r}=ls(this._resolverCache,t,n);return a(e)?tn(r,e,void 0,i):r}}function ls(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const r=n.join();let o=i.get(r);if(!o){const t=Qe(e,n);o={resolver:t,subPrefixes:n.filter(t=>!t.toLowerCase().includes("hover"))},i.set(r,o)}return o}const us=t=>a(t)&&Object.getOwnPropertyNames(t).reduce((e,n)=>e||P(t[n]),!1);function hs(t,e){const{isScriptable:n,isIndexable:i}=en(t);for(const r of e){const e=n(r),o=i(r),a=(o||e)&&t[r];if(e&&(P(a)||us(a))||o&&s(a))return!0}return!1}var ds="3.9.1";const fs=["top","bottom","left","right","chartArea"];function ps(t,e){return"top"===t||"bottom"===t||-1===fs.indexOf(t)&&"x"===e}function gs(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function ms(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),f(n&&n.onComplete,[t],e)}function vs(t){const e=t.chart,n=e.options.animation;f(n&&n.onProgress,[t],e)}function bs(t){return Tn()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ys={},_s=t=>{const e=bs(t);return Object.values(ys).filter(t=>t.canvas===e).pop()};function xs(t,e,n){const i=Object.keys(t);for(const r of i){const i=+r;if(i>=e){const o=t[r];delete t[r],(n>0||i>e)&&(t[i+n]=o)}}}function ws(t,e,n,i){return n&&"mouseout"!==t.type?i?e:t:null}class Ss{constructor(t,e){const n=this.config=new cs(e),i=bs(t),o=_s(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||Ho(i)),this.platform.updateConfig(n);const a=this.platform.acquireContext(i,s.aspectRatio),c=a&&a.canvas,l=c&&c.height,u=c&&c.width;this.id=r(),this.ctx=a,this.canvas=c,this.width=u,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Wo,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=pt(t=>this.update(t),s.resizeDelay||0),this._dataChanges=[],ys[this.id]=this,a&&c?(mi.listen(this,"complete",ms),mi.listen(this,"progress",vs),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:i,_aspectRatio:r}=this;return o(t)?e&&r?r:i?n/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Hn(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Me(this.canvas,this.ctx),this}stop(){return mi.stop(this),this}resize(t,e){mi.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,i=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(i,t,e,r),s=n.devicePixelRatio||this.platform.getDevicePixelRatio(),a=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Hn(this,s,!0)&&(this.notifyPlugins("resize",{size:o}),f(n.onResize,[this,o],this),this.attached&&this._doResize(a)&&this.render())}ensureScalesHaveIDs(){const t=this.options,e=t.scales||{};p(e,(t,e)=>{t.id=e})}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,i=Object.keys(n).reduce((t,e)=>(t[e]=!1,t),{});let r=[];e&&(r=r.concat(Object.keys(e).map(t=>{const n=e[t],i=Qo(t,n),r="r"===i,o="x"===i;return{options:n,dposition:r?"chartArea":o?"bottom":"left",dtype:r?"radialLinear":o?"category":"linear"}}))),p(r,e=>{const r=e.options,o=r.id,s=Qo(o,r),a=u(r.type,e.dtype);void 0!==r.position&&ps(r.position,s)===ps(e.dposition)||(r.position=e.dposition),i[o]=!0;let c=null;if(o in n&&n[o].type===a)c=n[o];else{const t=Hr.getScale(a);c=new t({id:o,type:a,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(r,t)}),p(i,(t,e)=>{t||delete n[e]}),p(n,t=>{_o.configure(this,t,t.options),_o.addBox(this,t)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort((t,e)=>t.index-e.index),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort(gs("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach((t,n)=>{0===e.filter(e=>e===t._dataset).length&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=e.length;n<i;n++){const i=e[n];let r=this.getDatasetMeta(n);const o=i.type||this.config.type;if(r.type&&r.type!==o&&(this._destroyDatasetMeta(n),r=this.getDatasetMeta(n)),r.type=o,r.indexAxis=i.indexAxis||Go(o,this.options),r.order=i.order||0,r.index=n,r.label=""+i.label,r.visible=this.isDatasetVisible(n),r.controller)r.controller.updateIndex(n),r.controller.linkScales();else{const e=Hr.getController(o),{datasetElementType:i,dataElementType:s}=ke.datasets[o];Object.assign(e.prototype,{dataElementType:Hr.getElement(s),datasetElementType:i&&Hr.getElement(i)}),r.controller=new e(this,n),t.push(r.controller)}}return this._updateMetasets(),t}_resetElements(){p(this.data.datasets,(t,e)=>{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,l=this.data.datasets.length;c<l;c++){const{controller:t}=this.getDatasetMeta(c),e=!i&&-1===r.indexOf(t);t.buildOrUpdateElements(e),o=Math.max(+t.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),i||p(r,t=>{t.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(gs("z","_idx"));const{_active:s,_lastEvent:a}=this;a?this._eventHandler(a,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){p(this.scales,t=>{_o.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);M(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:r}of e){const e="_removeElements"===n?-r:r;xs(t,i,e)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter(t=>t[0]===e).map((t,e)=>e+","+t.splice(1).join(","))),i=n(0);for(let r=1;r<e;r++)if(!M(i,n(r)))return;return Array.from(i).map(t=>t.split(",")).map(t=>({method:t[1],start:+t[2],count:+t[3]}))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;_o.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],p(this.boxes,t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))},this),this._layers.forEach((t,e)=>{t._idx=e}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,P(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),i={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",i)&&(n.controller._update(e),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(mi.has(this)?this.attached&&!mi.running(this)&&mi.start(this):(this.draw(),ms({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let i,r;for(i=0,r=e.length;i<r;++i){const r=e[i];t&&!r.visible||n.push(r)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,i=!n.disabled,r=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(i&&$e(e,{left:!1===n.left?0:r.left-n.left,right:!1===n.right?this.width:r.right+n.right,top:!1===n.top?0:r.top-n.top,bottom:!1===n.bottom?this.height:r.bottom+n.bottom}),t.controller.draw(),i&&Le(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return De(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,i){const r=no.modes[e];return"function"===typeof r?r(this,t,n,i):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let i=n.filter(t=>t&&t._dataset===e).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(i)),i}getContext(){return this.$context||(this.$context=Ze(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){const n=this.getDatasetMeta(t);n.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const i=n?"show":"hide",r=this.getDatasetMeta(t),o=r.controller._resolveAnimations(void 0,i);E(e)?(r.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(r,{visible:n}),this.update(e=>e.datasetIndex===t?i:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),mi.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Me(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete ys[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,i)=>{e.addEventListener(this,n,i),t[n]=i},i=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};p(this.options.events,t=>n(t,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,i)=>{e.addEventListener(this,n,i),t[n]=i},i=(n,i)=>{t[n]&&(e.removeEventListener(this,n,i),delete t[n])},r=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const s=()=>{i("attach",s),this.attached=!0,this.resize(),n("resize",r),n("detach",o)};o=()=>{this.attached=!1,i("resize",r),this._stop(),this._resize(0,0),n("attach",s)},e.isAttached(this.canvas)?s():o()}unbindEvents(){p(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},p(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const i=n?"set":"remove";let r,o,s,a;for("dataset"===e&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+i+"DatasetHoverStyle"]()),s=0,a=t.length;s<a;++s){o=t[s];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[i+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map(({datasetIndex:t,index:e})=>{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}}),i=!g(n,e);i&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}_updateHoverStyles(t,e,n){const i=this.options.hover,r=(t,e)=>t.filter(t=>!e.some(e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)),o=r(e,t),s=n?t:r(t,e);o.length&&this.updateHoverStyle(o,i.mode,!1),s.length&&i.mode&&this.updateHoverStyle(s,i.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},i=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,i))return;const r=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(r||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:i=[],options:r}=this,o=e,s=this._getActiveElements(t,i,n,o),a=T(t),c=ws(t,this._lastEvent,n,a);n&&(this._lastEvent=null,f(r.onHover,[t,s,this],this),a&&f(r.onClick,[t,s,this],this));const l=!g(s,i);return(l||e)&&(this._active=s,this._updateHoverStyles(s,i,e)),this._lastEvent=c,l}_getActiveElements(t,e,n,i){if("mouseout"===t.type)return[];if(!n)return e;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,i)}}const ks=()=>p(Ss.instances,t=>t._plugins.invalidate()),Cs=!0;function Os(t,e,n){const{startAngle:i,pixelMargin:r,x:o,y:s,outerRadius:a,innerRadius:c}=e;let l=r/a;t.beginPath(),t.arc(o,s,a,i-l,n+l),c>r?(l=r/c,t.arc(o,s,c,n+l,i-l,!0)):t.arc(o,s,r,n+R,i-R),t.closePath(),t.clip()}function Es(t){return Ue(t,["outerStart","outerEnd","innerStart","innerEnd"])}function Ps(t,e,n,i){const r=Es(t.options.borderRadius),o=(n-e)/2,s=Math.min(o,i*e/2),a=t=>{const e=(n-Math.min(o,t))*i/2;return et(t,0,Math.min(o,e))};return{outerStart:a(r.outerStart),outerEnd:a(r.outerEnd),innerStart:et(r.innerStart,0,s),innerEnd:et(r.innerEnd,0,s)}}function Ms(t,e,n,i){return{x:n+t*Math.cos(e),y:i+t*Math.sin(e)}}function Ts(t,e,n,i,r,o){const{x:s,y:a,startAngle:c,pixelMargin:l,innerRadius:u}=e,h=Math.max(e.outerRadius+i+n-l,0),d=u>0?u+i+n+l:0;let f=0;const p=r-c;if(i){const t=u>0?u-i:0,e=h>0?h-i:0,n=(t+e)/2,r=0!==n?p*n/(n+i):p;f=(p-r)/2}const g=Math.max(.001,p*h-n/A)/h,m=(p-g)/2,v=c+m+f,b=r-m-f,{outerStart:y,outerEnd:_,innerStart:x,innerEnd:w}=Ps(e,d,h,b-v),S=h-y,k=h-_,C=v+y/S,O=b-_/k,E=d+x,P=d+w,M=v+x/E,T=b-w/P;if(t.beginPath(),o){if(t.arc(s,a,h,C,O),_>0){const e=Ms(k,O,s,a);t.arc(e.x,e.y,_,O,b+R)}const e=Ms(P,b,s,a);if(t.lineTo(e.x,e.y),w>0){const e=Ms(P,T,s,a);t.arc(e.x,e.y,w,b+R,T+Math.PI)}if(t.arc(s,a,d,b-w/d,v+x/d,!0),x>0){const e=Ms(E,M,s,a);t.arc(e.x,e.y,x,M+Math.PI,v-R)}const n=Ms(S,v,s,a);if(t.lineTo(n.x,n.y),y>0){const e=Ms(S,C,s,a);t.arc(e.x,e.y,y,v-R,C)}}else{t.moveTo(s,a);const e=Math.cos(C)*h+s,n=Math.sin(C)*h+a;t.lineTo(e,n);const i=Math.cos(O)*h+s,r=Math.sin(O)*h+a;t.lineTo(i,r)}t.closePath()}function As(t,e,n,i,r){const{fullCircles:o,startAngle:s,circumference:a}=e;let c=e.endAngle;if(o){Ts(t,e,n,i,s+D,r);for(let e=0;e<o;++e)t.fill();isNaN(a)||(c=s+a%D,a%D===0&&(c+=D))}return Ts(t,e,n,i,c,r),t.fill(),c}function Ds(t,e,n){const{x:i,y:r,startAngle:o,pixelMargin:s,fullCircles:a}=e,c=Math.max(e.outerRadius-s,0),l=e.innerRadius+s;let u;for(n&&Os(t,e,o+D),t.beginPath(),t.arc(i,r,l,o+D,o,!0),u=0;u<a;++u)t.stroke();for(t.beginPath(),t.arc(i,r,c,o,o+D),u=0;u<a;++u)t.stroke()}function $s(t,e,n,i,r,o){const{options:s}=e,{borderWidth:a,borderJoinStyle:c}=s,l="inner"===s.borderAlign;a&&(l?(t.lineWidth=2*a,t.lineJoin=c||"round"):(t.lineWidth=a,t.lineJoin=c||"bevel"),e.fullCircles&&Ds(t,e,l),l&&Os(t,e,r),Ts(t,e,n,i,r,o),t.stroke())}Object.defineProperties(Ss,{defaults:{enumerable:Cs,value:ke},instances:{enumerable:Cs,value:ys},overrides:{enumerable:Cs,value:ye},registry:{enumerable:Cs,value:Hr},version:{enumerable:Cs,value:ds},getChart:{enumerable:Cs,value:_s},register:{enumerable:Cs,value:(...t)=>{Hr.add(...t),ks()}},unregister:{enumerable:Cs,value:(...t)=>{Hr.remove(...t),ks()}}});class Ls extends gr{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const i=this.getProps(["x","y"],n),{angle:r,distance:o}=K(i,{x:t,y:e}),{startAngle:s,endAngle:a,innerRadius:c,outerRadius:l,circumference:h}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=this.options.spacing/2,f=u(h,a-s),p=f>=D||tt(r,s,a),g=it(o,c+d,l+d);return p&&g}getCenterPoint(t){const{x:e,y:n,startAngle:i,endAngle:r,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:a,spacing:c}=this.options,l=(i+r)/2,u=(o+s+c+a)/2;return{x:e+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,i=(e.offset||0)/2,r=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>D?Math.floor(n/D):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();let s=0;if(i){s=i/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*s,Math.sin(e)*s),this.circumference>=A&&(s=i)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const a=As(t,this,s,r,o);$s(t,this,s,r,a,o),t.restore()}}function js(t,e,n=e){t.lineCap=u(n.borderCapStyle,e.borderCapStyle),t.setLineDash(u(n.borderDash,e.borderDash)),t.lineDashOffset=u(n.borderDashOffset,e.borderDashOffset),t.lineJoin=u(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=u(n.borderWidth,e.borderWidth),t.strokeStyle=u(n.borderColor,e.borderColor)}function Rs(t,e,n){t.lineTo(n.x,n.y)}function Is(t){return t.stepped?je:t.tension||"monotone"===t.cubicInterpolationMode?Re:Rs}function Ns(t,e,n={}){const i=t.length,{start:r=0,end:o=i-1}=n,{start:s,end:a}=e,c=Math.max(r,s),l=Math.min(o,a),u=r<s&&o<s||r>a&&o>a;return{count:i,start:c,loop:e.loop,ilen:l<c&&!u?i+l-c:l-c}}function Fs(t,e,n,i){const{points:r,options:o}=e,{count:s,start:a,loop:c,ilen:l}=Ns(r,n,i),u=Is(o);let h,d,f,{move:p=!0,reverse:g}=i||{};for(h=0;h<=l;++h)d=r[(a+(g?l-h:h))%s],d.skip||(p?(t.moveTo(d.x,d.y),p=!1):u(t,f,d,g,o.stepped),f=d);return c&&(d=r[(a+(g?l:0))%s],u(t,f,d,g,o.stepped)),!!c}function Bs(t,e,n,i){const r=e.points,{count:o,start:s,ilen:a}=Ns(r,n,i),{move:c=!0,reverse:l}=i||{};let u,h,d,f,p,g,m=0,v=0;const b=t=>(s+(l?a-t:t))%o,y=()=>{f!==p&&(t.lineTo(m,p),t.lineTo(m,f),t.lineTo(m,g))};for(c&&(h=r[b(0)],t.moveTo(h.x,h.y)),u=0;u<=a;++u){if(h=r[b(u)],h.skip)continue;const e=h.x,n=h.y,i=0|e;i===d?(n<f?f=n:n>p&&(p=n),m=(v*m+e)/++v):(y(),t.lineTo(e,n),d=i,v=0,f=p=n),g=n}y()}function zs(t){const e=t.options,n=e.borderDash&&e.borderDash.length,i=!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n;return i?Bs:Fs}function Vs(t){return t.stepped?Yn:t.tension||"monotone"===t.cubicInterpolationMode?Xn:qn}function Hs(t,e,n,i){let r=e._path;r||(r=e._path=new Path2D,e.path(r,n,i)&&r.closePath()),js(t,e.options),t.stroke(r)}function Ws(t,e,n,i){const{segments:r,options:o}=e,s=zs(e);for(const a of r)js(t,o,a.style),t.beginPath(),s(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}Ls.id="arc",Ls.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Ls.defaultRoutes={backgroundColor:"backgroundColor"};const Us="function"===typeof Path2D;function qs(t,e,n,i){Us&&!e.options.segment?Hs(t,e,n,i):Ws(t,e,n,i)}class Ys extends gr{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;Mn(this._points,n,t,i,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=ui(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,i=t[e],r=this.points,o=ai(this,{property:e,start:i,end:i});if(!o.length)return;const s=[],a=Vs(n);let c,l;for(c=0,l=o.length;c<l;++c){const{start:l,end:u}=o[c],h=r[l],d=r[u];if(h===d){s.push(h);continue}const f=Math.abs((i-h[e])/(d[e]-h[e])),p=a(h,d,f,n.stepped);p[e]=t[e],s.push(p)}return 1===s.length?s[0]:s}pathSegment(t,e,n){const i=zs(this);return i(t,this,e,n)}path(t,e,n){const i=this.segments,r=zs(this);let o=this._loop;e=e||0,n=n||this.points.length-e;for(const s of i)o&=r(t,this,s,{start:e,end:e+n-1});return!!o}draw(t,e,n,i){const r=this.options||{},o=this.points||[];o.length&&r.borderWidth&&(t.save(),qs(t,this,n,i),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Xs(t,e,n,i){const r=t.options,{[n]:o}=t.getProps([n],i);return Math.abs(e-o)<r.radius+r.hitRadius}Ys.id="line",Ys.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},Ys.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},Ys.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class Gs extends gr{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const i=this.options,{x:r,y:o}=this.getProps(["x","y"],n);return Math.pow(t-r,2)+Math.pow(e-o,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(t,e){return Xs(this,t,"x",e)}inYRange(t,e){return Xs(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){t=t||this.options||{};let e=t.radius||0;e=Math.max(e,e&&t.hoverRadius||0);const n=e&&t.borderWidth||0;return 2*(e+n)}draw(t,e){const n=this.options;this.skip||n.radius<.1||!De(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,Te(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Ks(t,e){const{x:n,y:i,base:r,width:o,height:s}=t.getProps(["x","y","base","width","height"],e);let a,c,l,u,h;return t.horizontal?(h=s/2,a=Math.min(n,r),c=Math.max(n,r),l=i-h,u=i+h):(h=o/2,a=n-h,c=n+h,l=Math.min(i,r),u=Math.max(i,r)),{left:a,top:l,right:c,bottom:u}}function Js(t,e,n,i){return t?0:et(e,n,i)}function Zs(t,e,n){const i=t.options.borderWidth,r=t.borderSkipped,o=qe(i);return{t:Js(r.top,o.top,0,n),r:Js(r.right,o.right,0,e),b:Js(r.bottom,o.bottom,0,n),l:Js(r.left,o.left,0,e)}}function Qs(t,e,n){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),r=t.options.borderRadius,o=Ye(r),s=Math.min(e,n),c=t.borderSkipped,l=i||a(r);return{topLeft:Js(!l||c.top||c.left,o.topLeft,0,s),topRight:Js(!l||c.top||c.right,o.topRight,0,s),bottomLeft:Js(!l||c.bottom||c.left,o.bottomLeft,0,s),bottomRight:Js(!l||c.bottom||c.right,o.bottomRight,0,s)}}function ta(t){const e=Ks(t),n=e.right-e.left,i=e.bottom-e.top,r=Zs(t,n/2,i/2),o=Qs(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i,radius:o},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,o.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(r.b,r.r))}}}}function ea(t,e,n,i){const r=null===e,o=null===n,s=r&&o,a=t&&!s&&Ks(t,i);return a&&(r||it(e,a.left,a.right))&&(o||it(n,a.top,a.bottom))}function na(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function ia(t,e){t.rect(e.x,e.y,e.w,e.h)}function ra(t,e,n={}){const i=t.x!==n.x?-e:0,r=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-i,s=(t.y+t.h!==n.y+n.h?e:0)-r;return{x:t.x+i,y:t.y+r,w:t.w+o,h:t.h+s,radius:t.radius}}Gs.id="point",Gs.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Gs.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class oa extends gr{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:i}}=this,{inner:r,outer:o}=ta(this),s=na(o.radius)?Be:ia;t.save(),o.w===r.w&&o.h===r.h||(t.beginPath(),s(t,ra(o,e,r)),t.clip(),s(t,ra(r,-e,o)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),s(t,ra(r,e)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,e,n){return ea(this,t,e,n)}inXRange(t,e){return ea(this,t,null,e)}inYRange(t,e){return ea(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:i,horizontal:r}=this.getProps(["x","y","base","horizontal"],t);return{x:r?(e+i)/2:e,y:r?n:(n+i)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}oa.id="bar",oa.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},oa.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};const sa=(t,e)=>{let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=t.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}},aa=(t,e)=>null!==t&&null!==e&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class ca extends gr{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=f(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(e=>t.filter(e,this.chart.data))),t.sort&&(e=e.sort((e,n)=>t.sort(e,n,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,i=Ge(n.font),r=i.size,o=this._computeTitleHeight(),{boxWidth:s,itemHeight:a}=sa(n,r);let c,l;e.font=i.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(o,r,s,a)+10):(l=this.maxHeight,c=this._fitCols(o,r,s,a)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(l,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,i){const{ctx:r,maxWidth:o,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],c=this.lineWidths=[0],l=i+s;let u=t;r.textAlign="left",r.textBaseline="middle";let h=-1,d=-l;return this.legendItems.forEach((t,f)=>{const p=n+e/2+r.measureText(t.text).width;(0===f||c[c.length-1]+p+2*s>o)&&(u+=l,c[c.length-(f>0?0:1)]=0,d+=l,h++),a[f]={left:0,top:d,row:h,width:p,height:i},c[c.length-1]+=p+s}),u}_fitCols(t,e,n,i){const{ctx:r,maxHeight:o,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],c=this.columnSizes=[],l=o-t;let u=s,h=0,d=0,f=0,p=0;return this.legendItems.forEach((t,o)=>{const g=n+e/2+r.measureText(t.text).width;o>0&&d+i+2*s>l&&(u+=h+s,c.push({width:h,height:d}),f+=h+s,p++,h=d=0),a[o]={left:f,top:d,col:p,width:g,height:i},h=Math.max(h,g),d+=i+s}),u+=h,c.push({width:h,height:d}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:i},rtl:r}}=this,o=ti(r,this.left,this.width);if(this.isHorizontal()){let r=0,s=mt(n,this.left+i,this.right-this.lineWidths[r]);for(const a of e)r!==a.row&&(r=a.row,s=mt(n,this.left+i,this.right-this.lineWidths[r])),a.top+=this.top+t+i,a.left=o.leftForLtr(o.x(s),a.width),s+=a.width+i}else{let r=0,s=mt(n,this.top+t+i,this.bottom-this.columnSizes[r].height);for(const a of e)a.col!==r&&(r=a.col,s=mt(n,this.top+t+i,this.bottom-this.columnSizes[r].height)),a.top=s,a.left+=this.left+i,a.left=o.leftForLtr(o.x(a.left),a.width),s+=a.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;$e(t,this),this._draw(),Le(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:i}=this,{align:r,labels:o}=t,s=ke.color,a=ti(t.rtl,this.left,this.width),c=Ge(o.font),{color:l,padding:h}=o,d=c.size,f=d/2;let p;this.drawTitle(),i.textAlign=a.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:g,boxHeight:m,itemHeight:v}=sa(o,d),b=function(t,e,n){if(isNaN(g)||g<=0||isNaN(m)||m<0)return;i.save();const r=u(n.lineWidth,1);if(i.fillStyle=u(n.fillStyle,s),i.lineCap=u(n.lineCap,"butt"),i.lineDashOffset=u(n.lineDashOffset,0),i.lineJoin=u(n.lineJoin,"miter"),i.lineWidth=r,i.strokeStyle=u(n.strokeStyle,s),i.setLineDash(u(n.lineDash,[])),o.usePointStyle){const s={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},c=a.xPlus(t,g/2),l=e+f;Ae(i,s,c,l,o.pointStyleWidth&&g)}else{const o=e+Math.max((d-m)/2,0),s=a.leftForLtr(t,g),c=Ye(n.borderRadius);i.beginPath(),Object.values(c).some(t=>0!==t)?Be(i,{x:s,y:o,w:g,h:m,radius:c}):i.rect(s,o,g,m),i.fill(),0!==r&&i.stroke()}i.restore()},y=function(t,e,n){Ie(i,n.text,t,e+v/2,c,{strikethrough:n.hidden,textAlign:a.textAlign(n.textAlign)})},_=this.isHorizontal(),x=this._computeTitleHeight();p=_?{x:mt(r,this.left+h,this.right-n[0]),y:this.top+h+x,line:0}:{x:this.left+h,y:mt(r,this.top+x+h,this.bottom-e[0].height),line:0},ei(this.ctx,t.textDirection);const w=v+h;this.legendItems.forEach((s,c)=>{i.strokeStyle=s.fontColor||l,i.fillStyle=s.fontColor||l;const u=i.measureText(s.text).width,d=a.textAlign(s.textAlign||(s.textAlign=o.textAlign)),m=g+f+u;let v=p.x,S=p.y;a.setWidth(this.width),_?c>0&&v+m+h>this.right&&(S=p.y+=w,p.line++,v=p.x=mt(r,this.left+h,this.right-n[p.line])):c>0&&S+w>this.bottom&&(v=p.x=v+e[p.line].width+h,p.line++,S=p.y=mt(r,this.top+x+h,this.bottom-e[p.line].height));const k=a.x(v);b(k,S,s),v=vt(d,v+g+f,_?v+m:this.right,t.rtl),y(a.x(v),S,s),_?p.x+=m+h:p.y+=w}),ni(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=Ge(e.font),i=Xe(e.padding);if(!e.display)return;const r=ti(t.rtl,this.left,this.width),o=this.ctx,s=e.position,a=n.size/2,c=i.top+a;let l,u=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),l=this.top+c,u=mt(t.align,u,this.right-h);else{const e=this.columnSizes.reduce((t,e)=>Math.max(t,e.height),0);l=c+mt(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const d=mt(s,u,u+h);o.textAlign=r.textAlign(gt(s)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=n.string,Ie(o,e.text,d,l,n)}_computeTitleHeight(){const t=this.options.title,e=Ge(t.font),n=Xe(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,i,r;if(it(t,this.left,this.right)&&it(e,this.top,this.bottom))for(r=this.legendHitBoxes,n=0;n<r.length;++n)if(i=r[n],it(t,i.left,i.left+i.width)&&it(e,i.top,i.top+i.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!la(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const i=this._hoveredItem,r=aa(i,n);i&&!r&&f(e.onLeave,[t,i,this],this),this._hoveredItem=n,n&&!r&&f(e.onHover,[t,n,this],this)}else n&&f(e.onClick,[t,n,this],this)}}function la(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}var ua={id:"legend",_element:ca,start(t,e,n){const i=t.legend=new ca({ctx:t.ctx,options:n,chart:t});_o.configure(t,i,n),_o.addBox(t,i)},stop(t){_o.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const i=t.legend;_o.configure(t,i,n),i.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const i=e.datasetIndex,r=n.chart;r.isDatasetVisible(i)?(r.hide(i),e.hidden=!0):(r.show(i),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:r,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map(t=>{const s=t.controller.getStyle(n?0:void 0),a=Xe(s.borderWidth);return{text:e[t.index].label,fillStyle:s.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:s.borderCapStyle,lineDash:s.borderDash,lineDashOffset:s.borderDashOffset,lineJoin:s.borderJoinStyle,lineWidth:(a.width+a.height)/4,strokeStyle:s.borderColor,pointStyle:i||s.pointStyle,rotation:s.rotation,textAlign:r||s.textAlign,borderRadius:0,datasetIndex:t.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class ha extends gr{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const i=s(n.text)?n.text.length:1;this._padding=Xe(n.padding);const r=i*Ge(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:i,right:r,options:o}=this,s=o.align;let a,c,l,u=0;return this.isHorizontal()?(c=mt(s,n,r),l=e+t,a=r-n):("left"===o.position?(c=n+t,l=mt(s,i,e),u=-.5*A):(c=r-t,l=mt(s,e,i),u=.5*A),a=i-e),{titleX:c,titleY:l,maxWidth:a,rotation:u}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=Ge(e.font),i=n.lineHeight,r=i/2+this._padding.top,{titleX:o,titleY:s,maxWidth:a,rotation:c}=this._drawArgs(r);Ie(t,e.text,0,0,n,{color:e.color,maxWidth:a,rotation:c,textAlign:gt(e.align),textBaseline:"middle",translation:[o,s]})}}function da(t,e){const n=new ha({ctx:t.ctx,options:e,chart:t});_o.configure(t,n,e),_o.addBox(t,n),t.titleBlock=n}var fa={id:"title",_element:ha,start(t,e,n){da(t,n)},stop(t){const e=t.titleBlock;_o.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const i=t.titleBlock;_o.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const pa={average(t){if(!t.length)return!1;let e,n,i=0,r=0,o=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();i+=t.x,r+=t.y,++o}}return{x:i/o,y:r/o}},nearest(t,e){if(!t.length)return!1;let n,i,r,o=e.x,s=e.y,a=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){const i=t[n].element;if(i&&i.hasValue()){const t=i.getCenterPoint(),n=J(e,t);n<a&&(a=n,r=i)}}if(r){const t=r.tooltipPosition();o=t.x,s=t.y}return{x:o,y:s}}};function ga(t,e){return e&&(s(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function ma(t){return("string"===typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function va(t,e){const{element:n,datasetIndex:i,index:r}=e,o=t.getDatasetMeta(i).controller,{label:s,value:a}=o.getLabelAndValue(r);return{chart:t,label:s,parsed:o.getParsed(r),raw:t.data.datasets[i].data[r],formattedValue:a,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:n}}function ba(t,e){const n=t.chart.ctx,{body:i,footer:r,title:o}=t,{boxWidth:s,boxHeight:a}=e,c=Ge(e.bodyFont),l=Ge(e.titleFont),u=Ge(e.footerFont),h=o.length,d=r.length,f=i.length,g=Xe(e.padding);let m=g.height,v=0,b=i.reduce((t,e)=>t+e.before.length+e.lines.length+e.after.length,0);if(b+=t.beforeBody.length+t.afterBody.length,h&&(m+=h*l.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),b){const t=e.displayColors?Math.max(a,c.lineHeight):c.lineHeight;m+=f*t+(b-f)*c.lineHeight+(b-1)*e.bodySpacing}d&&(m+=e.footerMarginTop+d*u.lineHeight+(d-1)*e.footerSpacing);let y=0;const _=function(t){v=Math.max(v,n.measureText(t).width+y)};return n.save(),n.font=l.string,p(t.title,_),n.font=c.string,p(t.beforeBody.concat(t.afterBody),_),y=e.displayColors?s+2+e.boxPadding:0,p(i,t=>{p(t.before,_),p(t.lines,_),p(t.after,_)}),y=0,n.font=u.string,p(t.footer,_),n.restore(),v+=g.width,{width:v,height:m}}function ya(t,e){const{y:n,height:i}=e;return n<i/2?"top":n>t.height-i/2?"bottom":"center"}function _a(t,e,n,i){const{x:r,width:o}=i,s=n.caretSize+n.caretPadding;return"left"===t&&r+o+s>e.width||("right"===t&&r-o-s<0||void 0)}function xa(t,e,n,i){const{x:r,width:o}=n,{width:s,chartArea:{left:a,right:c}}=t;let l="center";return"center"===i?l=r<=(a+c)/2?"left":"right":r<=o/2?l="left":r>=s-o/2&&(l="right"),_a(l,t,e,n)&&(l="center"),l}function wa(t,e,n){const i=n.yAlign||e.yAlign||ya(t,n);return{xAlign:n.xAlign||e.xAlign||xa(t,e,n,i),yAlign:i}}function Sa(t,e){let{x:n,width:i}=t;return"right"===e?n-=i:"center"===e&&(n-=i/2),n}function ka(t,e,n){let{y:i,height:r}=t;return"top"===e?i+=n:i-="bottom"===e?r+n:r/2,i}function Ca(t,e,n,i){const{caretSize:r,caretPadding:o,cornerRadius:s}=t,{xAlign:a,yAlign:c}=n,l=r+o,{topLeft:u,topRight:h,bottomLeft:d,bottomRight:f}=Ye(s);let p=Sa(e,a);const g=ka(e,c,l);return"center"===c?"left"===a?p+=l:"right"===a&&(p-=l):"left"===a?p-=Math.max(u,d)+r:"right"===a&&(p+=Math.max(h,f)+r),{x:et(p,0,i.width-e.width),y:et(g,0,i.height-e.height)}}function Oa(t,e,n){const i=Xe(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function Ea(t){return ga([],ma(t))}function Pa(t,e,n){return Ze(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Ma(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class Ta extends gr{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),i=n.enabled&&e.options.animation&&n.animations,r=new Si(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=Pa(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:n}=e,i=n.beforeTitle.apply(this,[t]),r=n.title.apply(this,[t]),o=n.afterTitle.apply(this,[t]);let s=[];return s=ga(s,ma(i)),s=ga(s,ma(r)),s=ga(s,ma(o)),s}getBeforeBody(t,e){return Ea(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:n}=e,i=[];return p(t,t=>{const e={before:[],lines:[],after:[]},r=Ma(n,t);ga(e.before,ma(r.beforeLabel.call(this,t))),ga(e.lines,r.label.call(this,t)),ga(e.after,ma(r.afterLabel.call(this,t))),i.push(e)}),i}getAfterBody(t,e){return Ea(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:n}=e,i=n.beforeFooter.apply(this,[t]),r=n.footer.apply(this,[t]),o=n.afterFooter.apply(this,[t]);let s=[];return s=ga(s,ma(i)),s=ga(s,ma(r)),s=ga(s,ma(o)),s}_createItems(t){const e=this._active,n=this.chart.data,i=[],r=[],o=[];let s,a,c=[];for(s=0,a=e.length;s<a;++s)c.push(va(this.chart,e[s]));return t.filter&&(c=c.filter((e,i,r)=>t.filter(e,i,r,n))),t.itemSort&&(c=c.sort((e,i)=>t.itemSort(e,i,n))),p(c,e=>{const n=Ma(t.callbacks,e);i.push(n.labelColor.call(this,e)),r.push(n.labelPointStyle.call(this,e)),o.push(n.labelTextColor.call(this,e))}),this.labelColors=i,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=c,c}update(t,e){const n=this.options.setContext(this.getContext()),i=this._active;let r,o=[];if(i.length){const t=pa[n.position].call(this,i,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const e=this._size=ba(this,n),s=Object.assign({},t,e),a=wa(this.chart,n,s),c=Ca(n,s,a,this.chart);this.xAlign=a.xAlign,this.yAlign=a.yAlign,r={opacity:1,x:c.x,y:c.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(r={opacity:0});this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,i){const r=this.getCaretPosition(t,n,i);e.lineTo(r.x1,r.y1),e.lineTo(r.x2,r.y2),e.lineTo(r.x3,r.y3)}getCaretPosition(t,e,n){const{xAlign:i,yAlign:r}=this,{caretSize:o,cornerRadius:s}=n,{topLeft:a,topRight:c,bottomLeft:l,bottomRight:u}=Ye(s),{x:h,y:d}=t,{width:f,height:p}=e;let g,m,v,b,y,_;return"center"===r?(y=d+p/2,"left"===i?(g=h,m=g-o,b=y+o,_=y-o):(g=h+f,m=g+o,b=y-o,_=y+o),v=g):(m="left"===i?h+Math.max(a,l)+o:"right"===i?h+f-Math.max(c,u)-o:this.caretX,"top"===r?(b=d,y=b-o,g=m-o,v=m+o):(b=d+p,y=b+o,g=m+o,v=m-o),_=b),{x1:g,x2:m,x3:v,y1:b,y2:y,y3:_}}drawTitle(t,e,n){const i=this.title,r=i.length;let o,s,a;if(r){const c=ti(n.rtl,this.x,this.width);for(t.x=Oa(this,n.titleAlign,n),e.textAlign=c.textAlign(n.titleAlign),e.textBaseline="middle",o=Ge(n.titleFont),s=n.titleSpacing,e.fillStyle=n.titleColor,e.font=o.string,a=0;a<r;++a)e.fillText(i[a],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+s,a+1===r&&(t.y+=n.titleMarginBottom-s)}}_drawColorBox(t,e,n,i,r){const o=this.labelColors[n],s=this.labelPointStyles[n],{boxHeight:c,boxWidth:l,boxPadding:u}=r,h=Ge(r.bodyFont),d=Oa(this,"left",r),f=i.x(d),p=c<h.lineHeight?(h.lineHeight-c)/2:0,g=e.y+p;if(r.usePointStyle){const e={radius:Math.min(l,c)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},n=i.leftForLtr(f,l)+l/2,a=g+c/2;t.strokeStyle=r.multiKeyBackground,t.fillStyle=r.multiKeyBackground,Te(t,e,n,a),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,Te(t,e,n,a)}else{t.lineWidth=a(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=i.leftForLtr(f,l-u),n=i.leftForLtr(i.xPlus(f,1),l-u-2),s=Ye(o.borderRadius);Object.values(s).some(t=>0!==t)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,Be(t,{x:e,y:g,w:l,h:c,radius:s}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Be(t,{x:n,y:g+1,w:l-2,h:c-2,radius:s}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(e,g,l,c),t.strokeRect(e,g,l,c),t.fillStyle=o.backgroundColor,t.fillRect(n,g+1,l-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:i}=this,{bodySpacing:r,bodyAlign:o,displayColors:s,boxHeight:a,boxWidth:c,boxPadding:l}=n,u=Ge(n.bodyFont);let h=u.lineHeight,d=0;const f=ti(n.rtl,this.x,this.width),g=function(n){e.fillText(n,f.x(t.x+d),t.y+h/2),t.y+=h+r},m=f.textAlign(o);let v,b,y,_,x,w,S;for(e.textAlign=o,e.textBaseline="middle",e.font=u.string,t.x=Oa(this,m,n),e.fillStyle=n.bodyColor,p(this.beforeBody,g),d=s&&"right"!==m?"center"===o?c/2+l:c+2+l:0,_=0,w=i.length;_<w;++_){for(v=i[_],b=this.labelTextColors[_],e.fillStyle=b,p(v.before,g),y=v.lines,s&&y.length&&(this._drawColorBox(e,t,_,f,n),h=Math.max(u.lineHeight,a)),x=0,S=y.length;x<S;++x)g(y[x]),h=u.lineHeight;p(v.after,g)}d=0,h=u.lineHeight,p(this.afterBody,g),t.y-=r}drawFooter(t,e,n){const i=this.footer,r=i.length;let o,s;if(r){const a=ti(n.rtl,this.x,this.width);for(t.x=Oa(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=a.textAlign(n.footerAlign),e.textBaseline="middle",o=Ge(n.footerFont),e.fillStyle=n.footerColor,e.font=o.string,s=0;s<r;++s)e.fillText(i[s],a.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+n.footerSpacing}}drawBackground(t,e,n,i){const{xAlign:r,yAlign:o}=this,{x:s,y:a}=t,{width:c,height:l}=n,{topLeft:u,topRight:h,bottomLeft:d,bottomRight:f}=Ye(i.cornerRadius);e.fillStyle=i.backgroundColor,e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.beginPath(),e.moveTo(s+u,a),"top"===o&&this.drawCaret(t,e,n,i),e.lineTo(s+c-h,a),e.quadraticCurveTo(s+c,a,s+c,a+h),"center"===o&&"right"===r&&this.drawCaret(t,e,n,i),e.lineTo(s+c,a+l-f),e.quadraticCurveTo(s+c,a+l,s+c-f,a+l),"bottom"===o&&this.drawCaret(t,e,n,i),e.lineTo(s+d,a+l),e.quadraticCurveTo(s,a+l,s,a+l-d),"center"===o&&"left"===r&&this.drawCaret(t,e,n,i),e.lineTo(s,a+u),e.quadraticCurveTo(s,a,s+u,a),e.closePath(),e.fill(),i.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,i=n&&n.x,r=n&&n.y;if(i||r){const n=pa[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=ba(this,t),s=Object.assign({},n,this._size),a=wa(e,t,s),c=Ca(t,s,a,e);i._to===c.x&&r._to===c.y||(this.xAlign=a.xAlign,this.yAlign=a.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const i={width:this.width,height:this.height},r={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=Xe(e.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&s&&(t.save(),t.globalAlpha=n,this.drawBackground(r,t,i,e),ei(t,e.textDirection),r.y+=o.top,this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),ni(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,i=t.map(({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}}),r=!g(n,i),o=this._positionChanged(i,e);(r||o)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,r=this._active||[],o=this._getActiveElements(t,r,e,n),s=this._positionChanged(o,t),a=e||!g(o,r)||s;return a&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),a}_getActiveElements(t,e,n,i){const r=this.options;if("mouseout"===t.type)return[];if(!i)return e;const o=this.chart.getElementsAtEventForMode(t,r.mode,r,n);return r.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:i,options:r}=this,o=pa[r.position].call(this,t,e);return!1!==o&&(n!==o.x||i!==o.y)}}Ta.positioners=pa;var Aa={id:"tooltip",_element:Ta,positioners:pa,afterInit(t,e,n){n&&(t.tooltip=new Ta({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",n))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:i,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex<i)return n[e.dataIndex]}return""},afterTitle:i,beforeBody:i,beforeLabel:i,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return o(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex),n=e.controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex),n=e.controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:i,afterBody:i,beforeFooter:i,footer:i,afterFooter:i}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Da=(t,e,n,i)=>("string"===typeof e?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function $a(t,e,n,i){const r=t.indexOf(e);if(-1===r)return Da(t,e,n,i);const o=t.lastIndexOf(e);return r!==o?n:r}const La=(t,e)=>null===t?null:et(Math.round(t),0,e);class ja extends Ir{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:i}of e)t[n]===i&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(o(t))return null;const n=this.getLabels();return e=isFinite(e)&&n[e]===t?e:$a(n,t,u(e,t),this._addedLabels),La(e,n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:i}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(i=this.getLabels().length-1)),this.min=n,this.max=i}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,i=[];let r=this.getLabels();r=0===t&&e===r.length-1?r:r.slice(t,e+1),this._valueRange=Math.max(r.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let o=t;o<=e;o++)i.push({value:o});return i}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!==typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Ra(t,e){const n=[],i=1e-14,{bounds:r,step:s,min:a,max:c,precision:l,count:u,maxTicks:h,maxDigits:d,includeBounds:f}=t,p=s||1,g=h-1,{min:m,max:v}=e,b=!o(a),y=!o(c),_=!o(u),x=(v-m)/(d+1);let w,S,k,C,O=z((v-m)/g/p)*p;if(O<i&&!b&&!y)return[{value:m},{value:v}];C=Math.ceil(v/O)-Math.floor(m/O),C>g&&(O=z(C*O/g/p)*p),o(l)||(w=Math.pow(10,l),O=Math.ceil(O*w)/w),"ticks"===r?(S=Math.floor(m/O)*O,k=Math.ceil(v/O)*O):(S=m,k=v),b&&y&&s&&U((c-a)/s,O/1e3)?(C=Math.round(Math.min((c-a)/O,h)),O=(c-a)/C,S=a,k=c):_?(S=b?a:S,k=y?c:k,C=u-1,O=(k-S)/C):(C=(k-S)/O,C=W(C,Math.round(C),O/1e3)?Math.round(C):Math.ceil(C));const E=Math.max(G(O),G(S));w=Math.pow(10,o(l)?E:l),S=Math.round(S*w)/w,k=Math.round(k*w)/w;let P=0;for(b&&(f&&S!==a?(n.push({value:a}),S<a&&P++,W(Math.round((S+P*O)*w)/w,a,Ia(a,x,t))&&P++):S<a&&P++);P<C;++P)n.push({value:Math.round((S+P*O)*w)/w});return y&&f&&k!==c?n.length&&W(n[n.length-1].value,c,Ia(c,x,t))?n[n.length-1].value=c:n.push({value:c}):y&&k!==c||n.push({value:k}),n}function Ia(t,e,{horizontal:n,minRotation:i}){const r=Y(i),o=(n?Math.sin(r):Math.cos(r))||.001,s=.75*e*(""+t).length;return Math.min(e/o,s)}ja.id="category",ja.defaults={ticks:{callback:ja.prototype.getLabelForValue}};class Na extends Ir{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return o(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:i,max:r}=this;const o=t=>i=e?i:t,s=t=>r=n?r:t;if(t){const t=B(i),e=B(r);t<0&&e<0?s(0):t>0&&e>0&&o(0)}if(i===r){let e=1;(r>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*r)),s(r+e),t||o(i-e)}this.min=i,this.max=r}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:i}=t;return i?(e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},r=this._range||this,o=Ra(i,r);return"ticks"===t.bounds&&q(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const i=(n-e)/Math.max(t.length-1,1)/2;e-=i,n+=i}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return Jn(t,this.chart.options.locale,this.options.ticks.format)}}class Fa extends Na{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=c(t)?t:0,this.max=c(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=Y(this.options.ticks.minRotation),i=(t?Math.sin(n):Math.cos(n))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,r.lineHeight/i))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function Ba(t){const e=t/Math.pow(10,Math.floor(F(t)));return 1===e}function za(t,e){const n=Math.floor(F(e.max)),i=Math.ceil(e.max/Math.pow(10,n)),r=[];let o=l(t.min,Math.pow(10,Math.floor(F(e.min)))),s=Math.floor(F(o)),a=Math.floor(o/Math.pow(10,s)),c=s<0?Math.pow(10,Math.abs(s)):1;do{r.push({value:o,major:Ba(o)}),++a,10===a&&(a=1,++s,c=s>=0?1:c),o=Math.round(a*Math.pow(10,s)*c)/c}while(s<n||s===n&&a<i);const u=l(t.max,o);return r.push({value:u,major:Ba(o)}),r}Fa.id="linear",Fa.defaults={ticks:{callback:br.formatters.numeric}};class Va extends Ir{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=Na.prototype.parse.apply(this,[t,e]);if(0!==n)return c(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=c(t)?Math.max(0,t):null,this.max=c(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,i=this.max;const r=e=>n=t?n:e,o=t=>i=e?i:t,s=(t,e)=>Math.pow(10,Math.floor(F(t))+e);n===i&&(n<=0?(r(1),o(10)):(r(s(n,-1)),o(s(i,1)))),n<=0&&r(s(i,-1)),i<=0&&o(s(n,1)),this._zero&&this.min!==this._suggestedMin&&n===s(this.min,0)&&r(s(n,-1)),this.min=n,this.max=i}buildTicks(){const t=this.options,e={min:this._userMin,max:this._userMax},n=za(e,this);return"ticks"===t.bounds&&q(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(t){return void 0===t?"0":Jn(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=F(t),this._valueRange=F(this.max)-F(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(F(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Ha(t){const e=t.ticks;if(e.display&&t.display){const t=Xe(e.backdropPadding);return u(e.font&&e.font.size,ke.font.size)+t.height}return 0}function Wa(t,e,n){return n=s(n)?n:[n],{w:Ee(t,e.string,n),h:n.length*e.lineHeight}}function Ua(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:t<i||t>r?{start:e-n,end:e}:{start:e,end:e+n}}function qa(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),i=[],r=[],o=t._pointLabels.length,s=t.options.pointLabels,a=s.centerPointLabels?A/o:0;for(let c=0;c<o;c++){const o=s.setContext(t.getPointLabelContext(c));r[c]=o.padding;const l=t.getPointPosition(c,t.drawingArea+r[c],a),u=Ge(o.font),h=Wa(t.ctx,u,t._pointLabels[c]);i[c]=h;const d=Q(t.getIndexAngle(c)+a),f=Math.round(X(d)),p=Ua(f,l.x,h.w,0,180),g=Ua(f,l.y,h.h,90,270);Ya(n,e,d,p,g)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=Xa(t,i,r)}function Ya(t,e,n,i,r){const o=Math.abs(Math.sin(n)),s=Math.abs(Math.cos(n));let a=0,c=0;i.start<e.l?(a=(e.l-i.start)/o,t.l=Math.min(t.l,e.l-a)):i.end>e.r&&(a=(i.end-e.r)/o,t.r=Math.max(t.r,e.r+a)),r.start<e.t?(c=(e.t-r.start)/s,t.t=Math.min(t.t,e.t-c)):r.end>e.b&&(c=(r.end-e.b)/s,t.b=Math.max(t.b,e.b+c))}function Xa(t,e,n){const i=[],r=t._pointLabels.length,o=t.options,s=Ha(o)/2,a=t.drawingArea,c=o.pointLabels.centerPointLabels?A/r:0;for(let l=0;l<r;l++){const r=t.getPointPosition(l,a+s+n[l],c),o=Math.round(X(Q(r.angle+R))),u=e[l],h=Ja(r.y,u.h,o),d=Ga(o),f=Ka(r.x,u.w,d);i.push({x:r.x,y:h,textAlign:d,left:f,top:h,right:f+u.w,bottom:h+u.h})}return i}function Ga(t){return 0===t||180===t?"center":t<180?"left":"right"}function Ka(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Ja(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function Za(t,e){const{ctx:n,options:{pointLabels:i}}=t;for(let r=e-1;r>=0;r--){const e=i.setContext(t.getPointLabelContext(r)),s=Ge(e.font),{x:a,y:c,textAlign:l,left:u,top:h,right:d,bottom:f}=t._pointLabelItems[r],{backdropColor:p}=e;if(!o(p)){const t=Ye(e.borderRadius),i=Xe(e.backdropPadding);n.fillStyle=p;const r=u-i.left,o=h-i.top,s=d-u+i.width,a=f-h+i.height;Object.values(t).some(t=>0!==t)?(n.beginPath(),Be(n,{x:r,y:o,w:s,h:a,radius:t}),n.fill()):n.fillRect(r,o,s,a)}Ie(n,t._pointLabels[r],a,c+s.lineHeight/2,s,{color:e.color,textAlign:l,textBaseline:"middle"})}}function Qa(t,e,n,i){const{ctx:r}=t;if(n)r.arc(t.xCenter,t.yCenter,e,0,D);else{let n=t.getPointPosition(0,e);r.moveTo(n.x,n.y);for(let o=1;o<i;o++)n=t.getPointPosition(o,e),r.lineTo(n.x,n.y)}}function tc(t,e,n,i){const r=t.ctx,o=e.circular,{color:s,lineWidth:a}=e;!o&&!i||!s||!a||n<0||(r.save(),r.strokeStyle=s,r.lineWidth=a,r.setLineDash(e.borderDash),r.lineDashOffset=e.borderDashOffset,r.beginPath(),Qa(t,n,o,i),r.closePath(),r.stroke(),r.restore())}function ec(t,e,n){return Ze(t,{label:n,index:e,type:"pointLabel"})}Va.id="logarithmic",Va.defaults={ticks:{callback:br.formatters.logarithmic,major:{enabled:!0}}};class nc extends Na{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Xe(Ha(this.options)/2),e=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(e,n)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=c(t)&&!isNaN(t)?t:0,this.max=c(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Ha(this.options))}generateTickLabels(t){Na.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((t,e)=>{const n=f(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""}).filter((t,e)=>this.chart.getDataVisibility(e))}fit(){const t=this.options;t.display&&t.pointLabels.display?qa(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,i){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,i))}getIndexAngle(t){const e=D/(this._pointLabels.length||1),n=this.options.startAngle||0;return Q(t*e+Y(n))}getDistanceFromCenterForValue(t){if(o(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(o(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const n=e[t];return ec(this.getContext(),t,n)}}getPointPosition(t,e,n=0){const i=this.getIndexAngle(t)-R+n;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter,angle:i}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:i,bottom:r}=this._pointLabelItems[t];return{left:e,top:n,right:i,bottom:r}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),Qa(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:i}=e,r=this._pointLabels.length;let o,s,a;if(e.pointLabels.display&&Za(this,r),i.display&&this.ticks.forEach((t,e)=>{if(0!==e){s=this.getDistanceFromCenterForValue(t.value);const n=i.setContext(this.getContext(e-1));tc(this,n,s,r)}}),n.display){for(t.save(),o=r-1;o>=0;o--){const i=n.setContext(this.getPointLabelContext(o)),{color:r,lineWidth:c}=i;c&&r&&(t.lineWidth=c,t.strokeStyle=r,t.setLineDash(i.borderDash),t.lineDashOffset=i.borderDashOffset,s=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),a=this.getPointPosition(o,s),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(a.x,a.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const i=this.getIndexAngle(0);let r,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((i,s)=>{if(0===s&&!e.reverse)return;const a=n.setContext(this.getContext(s)),c=Ge(a.font);if(r=this.getDistanceFromCenterForValue(this.ticks[s].value),a.showLabelBackdrop){t.font=c.string,o=t.measureText(i.label).width,t.fillStyle=a.backdropColor;const e=Xe(a.backdropPadding);t.fillRect(-o/2-e.left,-r-c.size/2-e.top,o+e.width,c.size+e.height)}Ie(t,i.label,0,-r,c,{color:a.color})}),t.restore()}drawTitle(){}}nc.id="radialLinear",nc.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:br.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}},nc.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},nc.descriptors={angleLines:{_fallback:"grid"}};const ic={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},rc=Object.keys(ic);function oc(t,e){return t-e}function sc(t,e){if(o(e))return null;const n=t._adapter,{parser:i,round:r,isoWeekday:s}=t._parseOpts;let a=e;return"function"===typeof i&&(a=i(a)),c(a)||(a="string"===typeof i?n.parse(a,i):n.parse(a)),null===a?null:(r&&(a="week"!==r||!H(s)&&!0!==s?n.startOf(a,r):n.startOf(a,"isoWeek",s)),+a)}function ac(t,e,n,i){const r=rc.length;for(let o=rc.indexOf(t);o<r-1;++o){const t=ic[rc[o]],r=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(r*t.size))<=i)return rc[o]}return rc[r-1]}function cc(t,e,n,i,r){for(let o=rc.length-1;o>=rc.indexOf(n);o--){const n=rc[o];if(ic[n].common&&t._adapter.diff(r,i,n)>=e-1)return n}return rc[n?rc.indexOf(n):0]}function lc(t){for(let e=rc.indexOf(t)+1,n=rc.length;e<n;++e)if(ic[rc[e]].common)return rc[e]}function uc(t,e,n){if(n){if(n.length){const{lo:i,hi:r}=rt(n,e),o=n[i]>=e?n[i]:n[r];t[o]=!0}}else t[e]=!0}function hc(t,e,n,i){const r=t._adapter,o=+r.startOf(e[0].value,i),s=e[e.length-1].value;let a,c;for(a=o;a<=s;a=+r.add(a,1,i))c=n[a],c>=0&&(e[c].major=!0);return e}function dc(t,e,n){const i=[],r={},o=e.length;let s,a;for(s=0;s<o;++s)a=e[s],r[a]=s,i.push({value:a,major:!1});return 0!==o&&n?hc(t,i,r,n):i}class fc extends Ir{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const n=t.time||(t.time={}),i=this._adapter=new Yr._date(t.adapters.date);i.init(e),_(n.displayFormats,i.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:sc(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:i,max:r,minDefined:o,maxDefined:s}=this.getUserBounds();function a(t){o||isNaN(t.min)||(i=Math.min(i,t.min)),s||isNaN(t.max)||(r=Math.max(r,t.max))}o&&s||(a(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||a(this.getMinMax(!1))),i=c(i)&&!isNaN(i)?i:+e.startOf(Date.now(),n),r=c(r)&&!isNaN(r)?r:+e.endOf(Date.now(),n)+1,this.min=Math.min(i,r-1),this.max=Math.max(i+1,r)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,i="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const r=this.min,o=this.max,s=at(i,r,o);return this._unit=e.unit||(n.autoSkip?ac(e.minUnit,this.min,this.max,this._getLabelCapacity(r)):cc(this,s.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?lc(this._unit):void 0,this.initOffsets(i),t.reverse&&s.reverse(),dc(this,s,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t){let e,n,i=0,r=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),i=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),r=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;i=et(i,0,o),r=et(r,0,o),this._offsets={start:i,end:r,factor:1/(i+1+r)}}_generate(){const t=this._adapter,e=this.min,n=this.max,i=this.options,r=i.time,o=r.unit||ac(r.minUnit,e,n,this._getLabelCapacity(e)),s=u(r.stepSize,1),a="week"===o&&r.isoWeekday,c=H(a)||!0===a,l={};let h,d,f=e;if(c&&(f=+t.startOf(f,"isoWeek",a)),f=+t.startOf(f,c?"day":o),t.diff(n,e,o)>1e5*s)throw new Error(e+" and "+n+" are too far apart with stepSize of "+s+" "+o);const p="data"===i.ticks.source&&this.getDataTimestamps();for(h=f,d=0;h<n;h=+t.add(h,s,o),d++)uc(l,h,p);return h!==n&&"ticks"!==i.bounds&&1!==d||uc(l,h,p),Object.keys(l).sort((t,e)=>t-e).map(t=>+t)}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}_tickFormatFunction(t,e,n,i){const r=this.options,o=r.time.displayFormats,s=this._unit,a=this._majorUnit,c=s&&o[s],l=a&&o[a],u=n[e],h=a&&l&&u&&u.major,d=this._adapter.format(t,i||(h?l:c)),p=r.ticks.callback;return p?f(p,[d,e,n],this):d}generateTickLabels(t){let e,n,i;for(e=0,n=t.length;e<n;++e)i=t[e],i.label=this._tickFormatFunction(i.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,i=Y(this.isHorizontal()?e.maxRotation:e.minRotation),r=Math.cos(i),o=Math.sin(i),s=this._resolveTickFontOptions(0).size;return{w:n*r+s*o,h:n*o+s*r}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,i=n[e.unit]||n.millisecond,r=this._tickFormatFunction(t,0,dc(this,[t],this._majorUnit),i),o=this._getLabelSize(r),s=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return s>0?s:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(t=0,e=i.length;t<e;++t)n=n.concat(i[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const i=this.getLabels();for(e=0,n=i.length;e<n;++e)t.push(sc(this,i[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return ht(t.sort(oc))}}function pc(t,e,n){let i,r,o,s,a=0,c=t.length-1;n?(e>=t[a].pos&&e<=t[c].pos&&({lo:a,hi:c}=ot(t,"pos",e)),({pos:i,time:o}=t[a]),({pos:r,time:s}=t[c])):(e>=t[a].time&&e<=t[c].time&&({lo:a,hi:c}=ot(t,"time",e)),({time:i,pos:o}=t[a]),({time:r,pos:s}=t[c]));const l=r-i;return l?o+(s-o)*(e-i)/l:o}fc.id="time",fc.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class gc extends fc{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=pc(e,this.min),this._tableRange=pc(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,i=[],r=[];let o,s,a,c,l;for(o=0,s=t.length;o<s;++o)c=t[o],c>=e&&c<=n&&i.push(c);if(i.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(o=0,s=i.length;o<s;++o)l=i[o+1],a=i[o-1],c=i[o],Math.round((l+a)/2)!==c&&r.push({time:c,pos:o/(s-1)});return r}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return t=e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,t=this._cache.all=t,t}getDecimalForValue(t){return(pc(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return pc(this._table,n*this._tableRange+this._minPos,!0)}}gc.id="timeseries",gc.defaults=fc.defaults},df75:function(t,e,n){var i=n("ca84"),r=n("7839");t.exports=Object.keys||function(t){return i(t,r)}},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,i=t.length-1;i>=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i<t.length;i++)e(t[i],i,t)&&n.push(t[i]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,i="/"===s.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),s="/"===o(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&s&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),o=i(n.split("/")),s=Math.min(r.length,o.length),a=s,c=0;c<s;c++)if(r[c]!==o[c]){a=c;break}var l=[];for(c=a;c<r.length;c++)l.push("..");return l=l.concat(o.slice(a)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,i=-1,r=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!r){i=o;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,o=0,s=t.length-1;s>=0;--s){var a=t.charCodeAt(s);if(47!==a)-1===i&&(r=!1,i=s+1),46===a?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!r){n=s+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===n+1?"":t.slice(e,i)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e1e2:function(t,e,n){function i(t,e){var n,i,r=0;function o(){var o,s,a=n,c=arguments.length;t:while(a){if(a.args.length===arguments.length){for(s=0;s<c;s++)if(a.args[s]!==arguments[s]){a=a.next;continue t}return a!==n&&(a===i&&(i=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n,a.prev=null,n.prev=a,n=a),a.val}a=a.next}for(o=new Array(c),s=0;s<c;s++)o[s]=arguments[s];return a={args:o,val:t.apply(null,o)},n?(n.prev=a,a.next=n):i=a,r===e.maxSize?(i=i.prev,i.next=null):r++,n=a,a.val}return e=e||{},o.clear=function(){n=null,i=null,r=0},o}t.exports=i},e20a:function(t,e,n){"use strict";n.d(e,"a",(function(){return B})),n.d(e,"b",(function(){return $}));var i=n("b8ca");function r(t){return"[object Window]"===(null==t?void 0:t.toString())}function o(t){if(null==t)return window;if(!r(t)){const e=t.ownerDocument;return e&&e.defaultView||window}return t}function s(t){return o(t).getComputedStyle(t)}function a(t){return r(t)?"":t?(t.nodeName||"").toLowerCase():""}function c(t){return t instanceof o(t).HTMLElement}function l(t){return t instanceof o(t).Element}function u(t){return t instanceof o(t).Node}function h(t){const e=o(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function d(t){const{overflow:e,overflowX:n,overflowY:i}=s(t);return/auto|scroll|overlay|hidden/.test(e+i+n)}function f(t){return["table","td","th"].includes(a(t))}function p(t){const e=navigator.userAgent.toLowerCase().includes("firefox"),n=s(t);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||e&&"filter"===n.willChange||e&&!!n.filter&&"none"!==n.filter}const g=Math.min,m=Math.max,v=Math.round;function b(t,e){void 0===e&&(e=!1);const n=t.getBoundingClientRect();let i=1,r=1;return e&&c(t)&&(i=t.offsetWidth>0&&v(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&v(n.height)/t.offsetHeight||1),{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function y(t){return((u(t)?t.ownerDocument:t.document)||window.document).documentElement}function _(t){return r(t)?{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}:{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function x(t){return b(y(t)).left+_(t).scrollLeft}function w(t){const e=b(t);return v(e.width)!==t.offsetWidth||v(e.height)!==t.offsetHeight}function S(t,e,n){const i=c(e),r=y(e),o=b(t,i&&w(e));let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(i||!i&&"fixed"!==n)if(("body"!==a(e)||d(r))&&(s=_(e)),c(e)){const t=b(e,!0);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=x(r));return{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function k(t){return"html"===a(t)?t:t.assignedSlot||t.parentNode||(h(t)?t.host:null)||y(t)}function C(t){return c(t)&&"fixed"!==getComputedStyle(t).position?t.offsetParent:null}function O(t){let e=k(t);while(c(e)&&!["html","body"].includes(a(e))){if(p(e))return e;e=e.parentNode}return null}function E(t){const e=o(t);let n=C(t);while(n&&f(n)&&"static"===getComputedStyle(n).position)n=C(n);return n&&("html"===a(n)||"body"===a(n)&&"static"===getComputedStyle(n).position&&!p(n))?e:n||O(t)||e}function P(t){return{width:t.offsetWidth,height:t.offsetHeight}}function M(t){let{rect:e,offsetParent:n,strategy:i}=t;const r=c(n),o=y(n);if(n===o)return e;let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&"fixed"!==i)&&(("body"!==a(n)||d(o))&&(s=_(n)),c(n))){const t=b(n,!0);l.x=t.x+n.clientLeft,l.y=t.y+n.clientTop}return{...e,x:e.x-s.scrollLeft+l.x,y:e.y-s.scrollTop+l.y}}function T(t){const e=o(t),n=y(t),i=e.visualViewport;let r=n.clientWidth,s=n.clientHeight,a=0,c=0;return i&&(r=i.width,s=i.height,Math.abs(e.innerWidth/i.scale-i.width)<.01&&(a=i.offsetLeft,c=i.offsetTop)),{width:r,height:s,x:a,y:c}}function A(t){var e;const n=y(t),i=_(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=m(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=m(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let c=-i.scrollLeft+x(t);const l=-i.scrollTop;return"rtl"===s(r||n).direction&&(c+=m(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:c,y:l}}function D(t){return["html","body","#document"].includes(a(t))?t.ownerDocument.body:c(t)&&d(t)?t:D(k(t))}function $(t,e){var n;void 0===e&&(e=[]);const i=D(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),s=o(i),a=r?[s].concat(s.visualViewport||[],d(i)?i:[]):i,c=e.concat(a);return r?c:c.concat($(k(a)))}function L(t,e){const n=null==e.getRootNode?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&h(n)){let n=e;do{if(n&&t===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function j(t){const e=b(t),n=e.top+t.clientTop,i=e.left+t.clientLeft;return{top:n,left:i,x:i,y:n,right:i+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function R(t,e){return"viewport"===e?Object(i.f)(T(t)):l(e)?j(e):Object(i.f)(A(y(t)))}function I(t){const e=$(k(t)),n=["absolute","fixed"].includes(s(t).position),i=n&&c(t)?E(t):t;return l(i)?e.filter(t=>l(t)&&L(t,i)&&"body"!==a(t)):[]}function N(t){let{element:e,boundary:n,rootBoundary:i}=t;const r="clippingParents"===n?I(e):[].concat(n),o=[...r,i],s=o[0],a=o.reduce((t,n)=>{const i=R(e,n);return t.top=m(i.top,t.top),t.right=g(i.right,t.right),t.bottom=g(i.bottom,t.bottom),t.left=m(i.left,t.left),t},R(e,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}const F={getElementRects:t=>{let{reference:e,floating:n,strategy:i}=t;return{reference:S(e,E(n),i),floating:{...P(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:t=>M(t),getOffsetParent:t=>{let{element:e}=t;return E(e)},isElement:t=>l(t),getDocumentElement:t=>{let{element:e}=t;return y(e)},getClippingClientRect:t=>N(t),getDimensions:t=>{let{element:e}=t;return P(e)},getClientRects:t=>{let{element:e}=t;return e.getClientRects()}},B=(t,e,n)=>Object(i.c)(t,e,{platform:F,...n})},e330:function(t,e,n){var i=n("40d5"),r=Function.prototype,o=r.call,s=i&&r.bind.bind(o,o);t.exports=i?s:function(t){return function(){return o.apply(t,arguments)}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e893:function(t,e,n){var i=n("1a2d"),r=n("56ef"),o=n("06cf"),s=n("9bf2");t.exports=function(t,e,n){for(var a=r(e),c=s.f,l=o.f,u=0;u<a.length;u++){var h=a[u];i(t,h)||n&&i(n,h)||c(t,h,l(e,h))}}},e8b5:function(t,e,n){var i=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},ea98:function(t,e,n){"use strict";var i=n("23e7"),r=n("e330"),o=n("1d80"),s=n("5926"),a=n("577e"),c=n("d039"),l=r("".charAt),u=c((function(){return"\ud842"!=="𠮷".at(-2)}));i({target:"String",proto:!0,forced:u},{at:function(t){var e=a(o(this)),n=e.length,i=s(t),r=i>=0?i:n+i;return r<0||r>=n?void 0:l(e,r)}})},ec26:function(t,e,n){"use strict";var i,r=new Uint8Array(16);function o(){if(!i&&(i="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(r)}var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function a(t){return"string"===typeof t&&s.test(t)}for(var c=a,l=[],u=0;u<256;++u)l.push((u+256).toString(16).substr(1));function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase();if(!c(n))throw TypeError("Stringified UUID is invalid");return n}var d=h;function f(t,e,n){t=t||{};var i=t.random||(t.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var r=0;r<16;++r)e[n+r]=i[r];return e}return d(i)}e.a=f},f5df:function(t,e,n){var i=n("00ee"),r=n("1626"),o=n("c6b6"),s=n("b622"),a=s("toStringTag"),c=Object,l="Arguments"==o(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(n){}};t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=c(t),a))?n:l?o(e):"Object"==(i=o(e))&&r(e.callee)?"Arguments":i}},f6b4:function(t,e,n){"use strict";var i=n("c532");function r(){this.handlers=[]}r.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},f772:function(t,e,n){var i=n("5692"),r=n("90e3"),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},f7fe:function(t,e,n){(function(e){var n="Expected a function",i=NaN,r="[object Symbol]",o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof e&&e&&e.Object===Object&&e,h="object"==typeof self&&self&&self.Object===Object&&self,d=u||h||Function("return this")(),f=Object.prototype,p=f.toString,g=Math.max,m=Math.min,v=function(){return d.Date.now()};function b(t,e,i){var r,o,s,a,c,l,u=0,h=!1,d=!1,f=!0;if("function"!=typeof t)throw new TypeError(n);function p(e){var n=r,i=o;return r=o=void 0,u=e,a=t.apply(i,n),a}function b(t){return u=t,c=setTimeout(S,e),h?p(t):a}function _(t){var n=t-l,i=t-u,r=e-n;return d?m(r,s-i):r}function x(t){var n=t-l,i=t-u;return void 0===l||n>=e||n<0||d&&i>=s}function S(){var t=v();if(x(t))return k(t);c=setTimeout(S,_(t))}function k(t){return c=void 0,f&&r?p(t):(r=o=void 0,a)}function C(){void 0!==c&&clearTimeout(c),u=0,r=l=o=c=void 0}function O(){return void 0===c?a:k(v())}function E(){var t=v(),n=x(t);if(r=arguments,o=this,l=t,n){if(void 0===c)return b(l);if(d)return c=setTimeout(S,e),p(l)}return void 0===c&&(c=setTimeout(S,e)),a}return e=w(e)||0,y(i)&&(h=!!i.leading,d="maxWait"in i,s=d?g(w(i.maxWait)||0,e):s,f="trailing"in i?!!i.trailing:f),E.cancel=C,E.flush=O,E}function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function _(t){return!!t&&"object"==typeof t}function x(t){return"symbol"==typeof t||_(t)&&p.call(t)==r}function w(t){if("number"==typeof t)return t;if(x(t))return i;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=a.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):s.test(t)?i:+t}t.exports=b}).call(this,n("c8ba"))},f9d5:function(t,e,n){(function(e){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{},n={exports:{}};n.exports=function(){const t=t=>{const e=[];for(let n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e},e=t=>t.charAt(0).toUpperCase()+t.slice(1),n=t=>Array.prototype.slice.call(t),i=t=>{},r=t=>{},o=[],s=t=>{o.includes(t)||(o.push(t),i(t))},a=(t,e)=>{s('"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'))},c=t=>"function"==typeof t?t():t,l=t=>t&&"function"==typeof t.toPromise,u=t=>l(t)?t.toPromise():Promise.resolve(t),h=t=>t&&Promise.resolve(t)===t,d={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},f=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],p={},g=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],m=t=>Object.prototype.hasOwnProperty.call(d,t),v=t=>-1!==f.indexOf(t),b=t=>p[t],y=t=>{m(t)||i('Unknown parameter "'.concat(t,'"'))},_=t=>{g.includes(t)&&i('The parameter "'.concat(t,'" is incompatible with toasts'))},x=t=>{b(t)&&a(t,b(t))},w=t=>{!t.backdrop&&t.allowOutsideClick&&i('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)y(e),t.toast&&_(e),x(e)},S="swal2-",k=t=>{const e={};for(const n in t)e[t[n]]=S+t[n];return e},C=k(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),O=k(["success","warning","info","question","error"]),E=()=>document.body.querySelector(".".concat(C.container)),P=t=>{const e=E();return e?e.querySelector(t):null},M=t=>P(".".concat(t)),T=()=>M(C.popup),A=()=>M(C.icon),D=()=>M(C.title),$=()=>M(C["html-container"]),L=()=>M(C.image),j=()=>M(C["progress-steps"]),R=()=>M(C["validation-message"]),I=()=>P(".".concat(C.actions," .").concat(C.confirm)),N=()=>P(".".concat(C.actions," .").concat(C.deny)),F=()=>M(C["input-label"]),B=()=>P(".".concat(C.loader)),z=()=>P(".".concat(C.actions," .").concat(C.cancel)),V=()=>M(C.actions),H=()=>M(C.footer),W=()=>M(C["timer-progress-bar"]),U=()=>M(C.close),q='\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n',Y=()=>{const e=n(T().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((t,e)=>{const n=parseInt(t.getAttribute("tabindex")),i=parseInt(e.getAttribute("tabindex"));return n>i?1:n<i?-1:0}),i=n(T().querySelectorAll(q)).filter(t=>"-1"!==t.getAttribute("tabindex"));return t(e.concat(i)).filter(t=>ft(t))},X=()=>!Q(document.body,C["toast-shown"])&&!Q(document.body,C["no-backdrop"]),G=()=>T()&&Q(T(),C.toast),K=()=>T().hasAttribute("data-loading"),J={previousBodyPadding:null},Z=(t,e)=>{if(t.textContent="",e){const i=(new DOMParser).parseFromString(e,"text/html");n(i.querySelector("head").childNodes).forEach(e=>{t.appendChild(e)}),n(i.querySelector("body").childNodes).forEach(e=>{t.appendChild(e)})}},Q=(t,e)=>{if(!e)return!1;const n=e.split(/\s+/);for(let i=0;i<n.length;i++)if(!t.classList.contains(n[i]))return!1;return!0},tt=(t,e)=>{n(t.classList).forEach(n=>{Object.values(C).includes(n)||Object.values(O).includes(n)||Object.values(e.showClass).includes(n)||t.classList.remove(n)})},et=(t,e,n)=>{if(tt(t,e),e.customClass&&e.customClass[n]){if("string"!=typeof e.customClass[n]&&!e.customClass[n].forEach)return i("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(typeof e.customClass[n],'"'));ot(t,e.customClass[n])}},nt=(t,e)=>{if(!e)return null;switch(e){case"select":case"textarea":case"file":return t.querySelector(".".concat(C.popup," > .").concat(C[e]));case"checkbox":return t.querySelector(".".concat(C.popup," > .").concat(C.checkbox," input"));case"radio":return t.querySelector(".".concat(C.popup," > .").concat(C.radio," input:checked"))||t.querySelector(".".concat(C.popup," > .").concat(C.radio," input:first-child"));case"range":return t.querySelector(".".concat(C.popup," > .").concat(C.range," input"));default:return t.querySelector(".".concat(C.popup," > .").concat(C.input))}},it=t=>{if(t.focus(),"file"!==t.type){const e=t.value;t.value="",t.value=e}},rt=(t,e,n)=>{t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(e=>{Array.isArray(t)?t.forEach(t=>{n?t.classList.add(e):t.classList.remove(e)}):n?t.classList.add(e):t.classList.remove(e)}))},ot=(t,e)=>{rt(t,e,!0)},st=(t,e)=>{rt(t,e,!1)},at=(t,e)=>{const i=n(t.childNodes);for(let n=0;n<i.length;n++)if(Q(i[n],e))return i[n]},ct=(t,e,n)=>{n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?t.style[e]="number"==typeof n?"".concat(n,"px"):n:t.style.removeProperty(e)},lt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.display=e},ut=t=>{t.style.display="none"},ht=(t,e,n,i)=>{const r=t.querySelector(e);r&&(r.style[n]=i)},dt=(t,e,n)=>{e?lt(t,n):ut(t)},ft=t=>!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),pt=()=>!ft(I())&&!ft(N())&&!ft(z()),gt=t=>!!(t.scrollHeight>t.clientHeight),mt=t=>{const e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),i=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||i>0},vt=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=W();ft(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout(()=>{n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"},10))},bt=()=>{const t=W(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";const n=e/parseInt(window.getComputedStyle(t).width)*100;t.style.removeProperty("transition"),t.style.width="".concat(n,"%")},yt=()=>"undefined"==typeof window||"undefined"==typeof document,_t=100,xt={},wt=()=>{xt.previousActiveElement&&xt.previousActiveElement.focus?(xt.previousActiveElement.focus(),xt.previousActiveElement=null):document.body&&document.body.focus()},St=t=>new Promise(e=>{if(!t)return e();const n=window.scrollX,i=window.scrollY;xt.restoreFocusTimeout=setTimeout(()=>{wt(),e()},_t),window.scrollTo(n,i)}),kt='\n <div aria-labelledby="'.concat(C.title,'" aria-describedby="').concat(C["html-container"],'" class="').concat(C.popup,'" tabindex="-1">\n   <button type="button" class="').concat(C.close,'"></button>\n   <ul class="').concat(C["progress-steps"],'"></ul>\n   <div class="').concat(C.icon,'"></div>\n   <img class="').concat(C.image,'" />\n   <h2 class="').concat(C.title,'" id="').concat(C.title,'"></h2>\n   <div class="').concat(C["html-container"],'" id="').concat(C["html-container"],'"></div>\n   <input class="').concat(C.input,'" />\n   <input type="file" class="').concat(C.file,'" />\n   <div class="').concat(C.range,'">\n     <input type="range" />\n     <output></output>\n   </div>\n   <select class="').concat(C.select,'"></select>\n   <div class="').concat(C.radio,'"></div>\n   <label for="').concat(C.checkbox,'" class="').concat(C.checkbox,'">\n     <input type="checkbox" />\n     <span class="').concat(C.label,'"></span>\n   </label>\n   <textarea class="').concat(C.textarea,'"></textarea>\n   <div class="').concat(C["validation-message"],'" id="').concat(C["validation-message"],'"></div>\n   <div class="').concat(C.actions,'">\n     <div class="').concat(C.loader,'"></div>\n     <button type="button" class="').concat(C.confirm,'"></button>\n     <button type="button" class="').concat(C.deny,'"></button>\n     <button type="button" class="').concat(C.cancel,'"></button>\n   </div>\n   <div class="').concat(C.footer,'"></div>\n   <div class="').concat(C["timer-progress-bar-container"],'">\n     <div class="').concat(C["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Ct=()=>{const t=E();return!!t&&(t.remove(),st([document.documentElement,document.body],[C["no-backdrop"],C["toast-shown"],C["has-column"]]),!0)},Ot=()=>{xt.currentInstance.resetValidationMessage()},Et=()=>{const t=T(),e=at(t,C.input),n=at(t,C.file),i=t.querySelector(".".concat(C.range," input")),r=t.querySelector(".".concat(C.range," output")),o=at(t,C.select),s=t.querySelector(".".concat(C.checkbox," input")),a=at(t,C.textarea);e.oninput=Ot,n.onchange=Ot,o.onchange=Ot,s.onchange=Ot,a.oninput=Ot,i.oninput=()=>{Ot(),r.value=i.value},i.onchange=()=>{Ot(),i.nextSibling.value=i.value}},Pt=t=>"string"==typeof t?document.querySelector(t):t,Mt=t=>{const e=T();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")},Tt=t=>{"rtl"===window.getComputedStyle(t).direction&&ot(E(),C.rtl)},At=t=>{const e=Ct();if(yt())return void r("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=C.container,e&&ot(n,C["no-transition"]),Z(n,kt);const i=Pt(t.target);i.appendChild(n),Mt(t),Tt(i),Et()},Dt=(t,e)=>{t instanceof HTMLElement?e.appendChild(t):"object"==typeof t?$t(t,e):t&&Z(e,t)},$t=(t,e)=>{t.jquery?Lt(e,t):Z(e,t.toString())},Lt=(t,e)=>{if(t.textContent="",0 in e)for(let n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},jt=(()=>{if(yt())return!1;const t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1})(),Rt=()=>{const t=document.createElement("div");t.className=C["scrollbar-measure"],document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},It=(t,e)=>{const n=V(),i=B();e.showConfirmButton||e.showDenyButton||e.showCancelButton?lt(n):ut(n),et(n,e,"actions"),Nt(n,i,e),Z(i,e.loaderHtml),et(i,e,"loader")};function Nt(t,e,n){const i=I(),r=N(),o=z();Bt(i,"confirm",n),Bt(r,"deny",n),Bt(o,"cancel",n),Ft(i,r,o,n),n.reverseButtons&&(n.toast?(t.insertBefore(o,i),t.insertBefore(r,i)):(t.insertBefore(o,e),t.insertBefore(r,e),t.insertBefore(i,e)))}function Ft(t,e,n,i){if(!i.buttonsStyling)return st([t,e,n],C.styled);ot([t,e,n],C.styled),i.confirmButtonColor&&(t.style.backgroundColor=i.confirmButtonColor,ot(t,C["default-outline"])),i.denyButtonColor&&(e.style.backgroundColor=i.denyButtonColor,ot(e,C["default-outline"])),i.cancelButtonColor&&(n.style.backgroundColor=i.cancelButtonColor,ot(n,C["default-outline"]))}function Bt(t,n,i){dt(t,i["show".concat(e(n),"Button")],"inline-block"),Z(t,i["".concat(n,"ButtonText")]),t.setAttribute("aria-label",i["".concat(n,"ButtonAriaLabel")]),t.className=C[n],et(t,i,"".concat(n,"Button")),ot(t,i["".concat(n,"ButtonClass")])}function zt(t,e){"string"==typeof e?t.style.background=e:e||ot([document.documentElement,document.body],C["no-backdrop"])}function Vt(t,e){e in C?ot(t,C[e]):(i('The "position" parameter is not valid, defaulting to "center"'),ot(t,C.center))}function Ht(t,e){if(e&&"string"==typeof e){const n="grow-".concat(e);n in C&&ot(t,C[n])}}const Wt=(t,e)=>{const n=E();n&&(zt(n,e.backdrop),Vt(n,e.position),Ht(n,e.grow),et(n,e,"container"))};var Ut={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const qt=["input","file","range","select","radio","checkbox","textarea"],Yt=(t,e)=>{const n=T(),i=Ut.innerParams.get(t),r=!i||e.input!==i.input;qt.forEach(t=>{const i=C[t],o=at(n,i);Kt(t,e.inputAttributes),o.className=i,r&&ut(o)}),e.input&&(r&&Xt(e),Jt(e))},Xt=t=>{if(!ee[t.input])return r('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));const e=te(t.input),n=ee[t.input](e,t);lt(n),setTimeout(()=>{it(n)})},Gt=t=>{for(let e=0;e<t.attributes.length;e++){const n=t.attributes[e].name;["type","value","style"].includes(n)||t.removeAttribute(n)}},Kt=(t,e)=>{const n=nt(T(),t);if(n){Gt(n);for(const t in e)n.setAttribute(t,e[t])}},Jt=t=>{const e=te(t.input);t.customClass&&ot(e,t.customClass.input)},Zt=(t,e)=>{t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},Qt=(t,e,n)=>{if(n.inputLabel){t.id=C.input;const i=document.createElement("label"),r=C["input-label"];i.setAttribute("for",t.id),i.className=r,ot(i,n.customClass.inputLabel),i.innerText=n.inputLabel,e.insertAdjacentElement("beforebegin",i)}},te=t=>{const e=C[t]?C[t]:C.input;return at(T(),e)},ee={};ee.text=ee.email=ee.password=ee.number=ee.tel=ee.url=(t,e)=>("string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:h(e.inputValue)||i('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof e.inputValue,'"')),Qt(t,t,e),Zt(t,e),t.type=e.input,t),ee.file=(t,e)=>(Qt(t,t,e),Zt(t,e),t),ee.range=(t,e)=>{const n=t.querySelector("input"),i=t.querySelector("output");return n.value=e.inputValue,n.type=e.input,i.value=e.inputValue,Qt(n,t,e),t},ee.select=(t,e)=>{if(t.textContent="",e.inputPlaceholder){const n=document.createElement("option");Z(n,e.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,t.appendChild(n)}return Qt(t,t,e),t},ee.radio=t=>(t.textContent="",t),ee.checkbox=(t,e)=>{const n=nt(T(),"checkbox");n.value="1",n.id=C.checkbox,n.checked=Boolean(e.inputValue);const i=t.querySelector("span");return Z(i,e.inputPlaceholder),t},ee.textarea=(t,e)=>{t.value=e.inputValue,Zt(t,e),Qt(t,t,e);const n=t=>parseInt(window.getComputedStyle(t).marginLeft)+parseInt(window.getComputedStyle(t).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const e=parseInt(window.getComputedStyle(T()).width);new MutationObserver(()=>{const i=t.offsetWidth+n(t);T().style.width=i>e?"".concat(i,"px"):null}).observe(t,{attributes:!0,attributeFilter:["style"]})}}),t};const ne=(t,e)=>{const n=$();et(n,e,"htmlContainer"),e.html?(Dt(e.html,n),lt(n,"block")):e.text?(n.textContent=e.text,lt(n,"block")):ut(n),Yt(t,e)},ie=(t,e)=>{const n=H();dt(n,e.footer),e.footer&&Dt(e.footer,n),et(n,e,"footer")},re=(t,e)=>{const n=U();Z(n,e.closeButtonHtml),et(n,e,"closeButton"),dt(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)},oe=(t,e)=>{const n=Ut.innerParams.get(t),i=A();return n&&e.icon===n.icon?(ue(i,e),void se(i,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(O).indexOf(e.icon)?(r('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),ut(i)):(lt(i),ue(i,e),se(i,e),void ot(i,e.showClass.icon)):ut(i)},se=(t,e)=>{for(const n in O)e.icon!==n&&st(t,O[n]);ot(t,O[e.icon]),he(t,e),ae(),et(t,e,"icon")},ae=()=>{const t=T(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let i=0;i<n.length;i++)n[i].style.backgroundColor=e},ce='\n  <div class="swal2-success-circular-line-left"></div>\n  <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n  <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n  <div class="swal2-success-circular-line-right"></div>\n',le='\n  <span class="swal2-x-mark">\n    <span class="swal2-x-mark-line-left"></span>\n    <span class="swal2-x-mark-line-right"></span>\n  </span>\n',ue=(t,e)=>{t.textContent="",e.iconHtml?Z(t,de(e.iconHtml)):"success"===e.icon?Z(t,ce):"error"===e.icon?Z(t,le):Z(t,de({question:"?",warning:"!",info:"i"}[e.icon]))},he=(t,e)=>{if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ht(t,n,"backgroundColor",e.iconColor);ht(t,".swal2-success-ring","borderColor",e.iconColor)}},de=t=>'<div class="'.concat(C["icon-content"],'">').concat(t,"</div>"),fe=(t,e)=>{const n=L();if(!e.imageUrl)return ut(n);lt(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),ct(n,"width",e.imageWidth),ct(n,"height",e.imageHeight),n.className=C.image,et(n,e,"image")},pe=t=>{const e=document.createElement("li");return ot(e,C["progress-step"]),Z(e,t),e},ge=t=>{const e=document.createElement("li");return ot(e,C["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e},me=(t,e)=>{const n=j();if(!e.progressSteps||0===e.progressSteps.length)return ut(n);lt(n),n.textContent="",e.currentProgressStep>=e.progressSteps.length&&i("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((t,i)=>{const r=pe(t);if(n.appendChild(r),i===e.currentProgressStep&&ot(r,C["active-progress-step"]),i!==e.progressSteps.length-1){const t=ge(e);n.appendChild(t)}})},ve=(t,e)=>{const n=D();dt(n,e.title||e.titleText,"block"),e.title&&Dt(e.title,n),e.titleText&&(n.innerText=e.titleText),et(n,e,"title")},be=(t,e)=>{const n=E(),i=T();e.toast?(ct(n,"width",e.width),i.style.width="100%",i.insertBefore(B(),A())):ct(i,"width",e.width),ct(i,"padding",e.padding),e.color&&(i.style.color=e.color),e.background&&(i.style.background=e.background),ut(R()),ye(i,e)},ye=(t,e)=>{t.className="".concat(C.popup," ").concat(ft(t)?e.showClass.popup:""),e.toast?(ot([document.documentElement,document.body],C["toast-shown"]),ot(t,C.toast)):ot(t,C.modal),et(t,e,"popup"),"string"==typeof e.customClass&&ot(t,e.customClass),e.icon&&ot(t,C["icon-".concat(e.icon)])},_e=(t,e)=>{be(t,e),Wt(t,e),me(t,e),oe(t,e),fe(t,e),ve(t,e),re(t,e),ne(t,e),It(t,e),ie(t,e),"function"==typeof e.didRender&&e.didRender(T())},xe=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),we=()=>{n(document.body.children).forEach(t=>{t===E()||t.contains(E())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})},Se=()=>{n(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},ke=["swal-title","swal-html","swal-footer"],Ce=t=>{const e="string"==typeof t.template?document.querySelector(t.template):t.template;if(!e)return{};const n=e.content;return De(n),Object.assign(Oe(n),Ee(n),Pe(n),Me(n),Te(n),Ae(n,ke))},Oe=t=>{const e={};return n(t.querySelectorAll("swal-param")).forEach(t=>{$e(t,["name","value"]);const n=t.getAttribute("name"),i=t.getAttribute("value");"boolean"==typeof d[n]&&"false"===i&&(e[n]=!1),"object"==typeof d[n]&&(e[n]=JSON.parse(i))}),e},Ee=t=>{const i={};return n(t.querySelectorAll("swal-button")).forEach(t=>{$e(t,["type","color","aria-label"]);const n=t.getAttribute("type");i["".concat(n,"ButtonText")]=t.innerHTML,i["show".concat(e(n),"Button")]=!0,t.hasAttribute("color")&&(i["".concat(n,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(i["".concat(n,"ButtonAriaLabel")]=t.getAttribute("aria-label"))}),i},Pe=t=>{const e={},n=t.querySelector("swal-image");return n&&($e(n,["src","width","height","alt"]),n.hasAttribute("src")&&(e.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(e.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(e.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(e.imageAlt=n.getAttribute("alt"))),e},Me=t=>{const e={},n=t.querySelector("swal-icon");return n&&($e(n,["type","color"]),n.hasAttribute("type")&&(e.icon=n.getAttribute("type")),n.hasAttribute("color")&&(e.iconColor=n.getAttribute("color")),e.iconHtml=n.innerHTML),e},Te=t=>{const e={},i=t.querySelector("swal-input");i&&($e(i,["type","label","placeholder","value"]),e.input=i.getAttribute("type")||"text",i.hasAttribute("label")&&(e.inputLabel=i.getAttribute("label")),i.hasAttribute("placeholder")&&(e.inputPlaceholder=i.getAttribute("placeholder")),i.hasAttribute("value")&&(e.inputValue=i.getAttribute("value")));const r=t.querySelectorAll("swal-input-option");return r.length&&(e.inputOptions={},n(r).forEach(t=>{$e(t,["value"]);const n=t.getAttribute("value"),i=t.innerHTML;e.inputOptions[n]=i})),e},Ae=(t,e)=>{const n={};for(const i in e){const r=e[i],o=t.querySelector(r);o&&($e(o,[]),n[r.replace(/^swal-/,"")]=o.innerHTML.trim())}return n},De=t=>{const e=ke.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);n(t.children).forEach(t=>{const n=t.tagName.toLowerCase();-1===e.indexOf(n)&&i("Unrecognized element <".concat(n,">"))})},$e=(t,e)=>{n(t.attributes).forEach(n=>{-1===e.indexOf(n.name)&&i(['Unrecognized attribute "'.concat(n.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(e.length?"Allowed attributes are: ".concat(e.join(", ")):"To set the value, use HTML within the element.")])})};var Le={email:(t,e)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};function je(t){t.inputValidator||Object.keys(Le).forEach(e=>{t.input===e&&(t.inputValidator=Le[e])})}function Re(t){(!t.target||"string"==typeof t.target&&!document.querySelector(t.target)||"string"!=typeof t.target&&!t.target.appendChild)&&(i('Target parameter is not valid, defaulting to "body"'),t.target="body")}function Ie(t){je(t),t.showLoaderOnConfirm&&!t.preConfirm&&i("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),Re(t),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),At(t)}class Ne{constructor(t,e){this.callback=t,this.remaining=e,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(t){const e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Fe=()=>{null===J.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(J.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(J.previousBodyPadding+Rt(),"px"))},Be=()=>{null!==J.previousBodyPadding&&(document.body.style.paddingRight="".concat(J.previousBodyPadding,"px"),J.previousBodyPadding=null)},ze=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!Q(document.body,C.iosfix)){const t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),ot(document.body,C.iosfix),He(),Ve()}},Ve=()=>{const t=navigator.userAgent,e=!!t.match(/iPad/i)||!!t.match(/iPhone/i),n=!!t.match(/WebKit/i);if(e&&n&&!t.match(/CriOS/i)){const t=44;T().scrollHeight>window.innerHeight-t&&(E().style.paddingBottom="".concat(t,"px"))}},He=()=>{const t=E();let e;t.ontouchstart=t=>{e=We(t)},t.ontouchmove=t=>{e&&(t.preventDefault(),t.stopPropagation())}},We=t=>{const e=t.target,n=E();return!(Ue(t)||qe(t)||e!==n&&(gt(n)||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||gt($())&&$().contains(e)))},Ue=t=>t.touches&&t.touches.length&&"stylus"===t.touches[0].touchType,qe=t=>t.touches&&t.touches.length>1,Ye=()=>{if(Q(document.body,C.iosfix)){const t=parseInt(document.body.style.top,10);st(document.body,C.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},Xe=10,Ge=t=>{const e=E(),n=T();"function"==typeof t.willOpen&&t.willOpen(n);const i=window.getComputedStyle(document.body).overflowY;Qe(e,n,t),setTimeout(()=>{Je(e,n)},Xe),X()&&(Ze(e,t.scrollbarPadding,i),we()),G()||xt.previousActiveElement||(xt.previousActiveElement=document.activeElement),"function"==typeof t.didOpen&&setTimeout(()=>t.didOpen(n)),st(e,C["no-transition"])},Ke=t=>{const e=T();if(t.target!==e)return;const n=E();e.removeEventListener(jt,Ke),n.style.overflowY="auto"},Je=(t,e)=>{jt&&mt(e)?(t.style.overflowY="hidden",e.addEventListener(jt,Ke)):t.style.overflowY="auto"},Ze=(t,e,n)=>{ze(),e&&"hidden"!==n&&Fe(),setTimeout(()=>{t.scrollTop=0})},Qe=(t,e,n)=>{ot(t,n.showClass.backdrop),e.style.setProperty("opacity","0","important"),lt(e,"grid"),setTimeout(()=>{ot(e,n.showClass.popup),e.style.removeProperty("opacity")},Xe),ot([document.documentElement,document.body],C.shown),n.heightAuto&&n.backdrop&&!n.toast&&ot([document.documentElement,document.body],C["height-auto"])},tn=t=>{let e=T();e||new Wi,e=T();const n=B();G()?ut(A()):en(e,t),lt(n),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},en=(t,e)=>{const n=V(),i=B();!e&&ft(I())&&(e=I()),lt(n),e&&(ut(e),i.setAttribute("data-button-to-replace",e.className)),i.parentNode.insertBefore(i,e),ot([t,n],C.loading)},nn=(t,e)=>{"select"===e.input||"radio"===e.input?cn(t,e):["text","email","number","tel","textarea"].includes(e.input)&&(l(e.inputValue)||h(e.inputValue))&&(tn(I()),ln(t,e))},rn=(t,e)=>{const n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return on(n);case"radio":return sn(n);case"file":return an(n);default:return e.inputAutoTrim?n.value.trim():n.value}},on=t=>t.checked?1:0,sn=t=>t.checked?t.value:null,an=t=>t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null,cn=(t,e)=>{const n=T(),i=t=>un[e.input](n,hn(t),e);l(e.inputOptions)||h(e.inputOptions)?(tn(I()),u(e.inputOptions).then(e=>{t.hideLoading(),i(e)})):"object"==typeof e.inputOptions?i(e.inputOptions):r("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof e.inputOptions))},ln=(t,e)=>{const n=t.getInput();ut(n),u(e.inputValue).then(i=>{n.value="number"===e.input?parseFloat(i)||0:"".concat(i),lt(n),n.focus(),t.hideLoading()}).catch(e=>{r("Error in inputValue promise: ".concat(e)),n.value="",lt(n),n.focus(),t.hideLoading()})},un={select:(t,e,n)=>{const i=at(t,C.select),r=(t,e,i)=>{const r=document.createElement("option");r.value=i,Z(r,e),r.selected=dn(i,n.inputValue),t.appendChild(r)};e.forEach(t=>{const e=t[0],n=t[1];if(Array.isArray(n)){const t=document.createElement("optgroup");t.label=e,t.disabled=!1,i.appendChild(t),n.forEach(e=>r(t,e[1],e[0]))}else r(i,n,e)}),i.focus()},radio:(t,e,n)=>{const i=at(t,C.radio);e.forEach(t=>{const e=t[0],r=t[1],o=document.createElement("input"),s=document.createElement("label");o.type="radio",o.name=C.radio,o.value=e,dn(e,n.inputValue)&&(o.checked=!0);const a=document.createElement("span");Z(a,r),a.className=C.label,s.appendChild(o),s.appendChild(a),i.appendChild(s)});const r=i.querySelectorAll("input");r.length&&r[0].focus()}},hn=t=>{const e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach((t,n)=>{let i=t;"object"==typeof i&&(i=hn(i)),e.push([n,i])}):Object.keys(t).forEach(n=>{let i=t[n];"object"==typeof i&&(i=hn(i)),e.push([n,i])}),e},dn=(t,e)=>e&&e.toString()===t.toString(),fn=t=>{const e=Ut.innerParams.get(t);t.disableButtons(),e.input?mn(t,"confirm"):xn(t,!0)},pn=t=>{const e=Ut.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?mn(t,"deny"):bn(t,!1)},gn=(t,e)=>{t.disableButtons(),e(xe.cancel)},mn=(t,n)=>{const i=Ut.innerParams.get(t);if(!i.input)return r('The "input" parameter is needed to be set when using returnInputValueOn'.concat(e(n)));const o=rn(t,i);i.inputValidator?vn(t,o,n):t.getInput().checkValidity()?"deny"===n?bn(t,o):xn(t,o):(t.enableButtons(),t.showValidationMessage(i.validationMessage))},vn=(t,e,n)=>{const i=Ut.innerParams.get(t);t.disableInput(),Promise.resolve().then(()=>u(i.inputValidator(e,i.validationMessage))).then(i=>{t.enableButtons(),t.enableInput(),i?t.showValidationMessage(i):"deny"===n?bn(t,e):xn(t,e)})},bn=(t,e)=>{const n=Ut.innerParams.get(t||void 0);n.showLoaderOnDeny&&tn(N()),n.preDeny?(Ut.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>u(n.preDeny(e,n.validationMessage))).then(n=>{!1===n?t.hideLoading():t.closePopup({isDenied:!0,value:void 0===n?e:n})}).catch(e=>_n(t||void 0,e))):t.closePopup({isDenied:!0,value:e})},yn=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},_n=(t,e)=>{t.rejectPromise(e)},xn=(t,e)=>{const n=Ut.innerParams.get(t||void 0);n.showLoaderOnConfirm&&tn(),n.preConfirm?(t.resetValidationMessage(),Ut.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>u(n.preConfirm(e,n.validationMessage))).then(n=>{ft(R())||!1===n?t.hideLoading():yn(t,void 0===n?e:n)}).catch(e=>_n(t||void 0,e))):yn(t,e)},wn=(t,e,n)=>{Ut.innerParams.get(t).toast?Sn(t,e,n):(On(e),En(e),Pn(t,e,n))},Sn=(t,e,n)=>{e.popup.onclick=()=>{const e=Ut.innerParams.get(t);e&&(kn(e)||e.timer||e.input)||n(xe.close)}},kn=t=>t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton;let Cn=!1;const On=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(Cn=!0)}}},En=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,(e.target===t.popup||t.popup.contains(e.target))&&(Cn=!0)}}},Pn=(t,e,n)=>{e.container.onclick=i=>{const r=Ut.innerParams.get(t);Cn?Cn=!1:i.target===e.container&&c(r.allowOutsideClick)&&n(xe.backdrop)}},Mn=()=>ft(T()),Tn=()=>I()&&I().click(),An=()=>N()&&N().click(),Dn=()=>z()&&z().click(),$n=(t,e,n,i)=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1),n.toast||(e.keydownHandler=e=>In(t,e,i),e.keydownTarget=n.keydownListenerCapture?window:T(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Ln=(t,e,n)=>{const i=Y();if(i.length)return(e+=n)===i.length?e=0:-1===e&&(e=i.length-1),i[e].focus();T().focus()},jn=["ArrowRight","ArrowDown"],Rn=["ArrowLeft","ArrowUp"],In=(t,e,n)=>{const i=Ut.innerParams.get(t);i&&(i.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?Nn(t,e,i):"Tab"===e.key?Fn(e,i):[...jn,...Rn].includes(e.key)?Bn(e.key):"Escape"===e.key&&zn(e,i,n))},Nn=(t,e,n)=>{if(c(n.allowEnterKey)&&!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;Tn(),e.preventDefault()}},Fn=(t,e)=>{const n=t.target,i=Y();let r=-1;for(let o=0;o<i.length;o++)if(n===i[o]){r=o;break}t.shiftKey?Ln(e,r,-1):Ln(e,r,1),t.stopPropagation(),t.preventDefault()},Bn=t=>{if(![I(),N(),z()].includes(document.activeElement))return;const e=jn.includes(t)?"nextElementSibling":"previousElementSibling",n=document.activeElement[e];n instanceof HTMLElement&&n.focus()},zn=(t,e,n)=>{c(e.allowEscapeKey)&&(t.preventDefault(),n(xe.esc))},Vn=t=>"object"==typeof t&&t.jquery,Hn=t=>t instanceof Element||Vn(t),Wn=t=>{const e={};return"object"!=typeof t[0]||Hn(t[0])?["title","html","icon"].forEach((n,i)=>{const o=t[i];"string"==typeof o||Hn(o)?e[n]=o:void 0!==o&&r("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(typeof o))}):Object.assign(e,t[0]),e};function Un(){const t=this;for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return new t(...n)}function qn(t){class e extends(this){_main(e,n){return super._main(e,Object.assign({},t,n))}}return e}const Yn=()=>xt.timeout&&xt.timeout.getTimerLeft(),Xn=()=>{if(xt.timeout)return bt(),xt.timeout.stop()},Gn=()=>{if(xt.timeout){const t=xt.timeout.start();return vt(t),t}},Kn=()=>{const t=xt.timeout;return t&&(t.running?Xn():Gn())},Jn=t=>{if(xt.timeout){const e=xt.timeout.increase(t);return vt(e,!0),e}},Zn=()=>xt.timeout&&xt.timeout.isRunning();let Qn=!1;const ti={};function ei(){ti[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,Qn||(document.body.addEventListener("click",ni),Qn=!0)}const ni=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const t in ti){const n=e.getAttribute(t);if(n)return void ti[t].fire({template:n})}};var ii=Object.freeze({isValidParameter:m,isUpdatableParameter:v,isDeprecatedParameter:b,argsToParams:Wn,isVisible:Mn,clickConfirm:Tn,clickDeny:An,clickCancel:Dn,getContainer:E,getPopup:T,getTitle:D,getHtmlContainer:$,getImage:L,getIcon:A,getInputLabel:F,getCloseButton:U,getActions:V,getConfirmButton:I,getDenyButton:N,getCancelButton:z,getLoader:B,getFooter:H,getTimerProgressBar:W,getFocusableElements:Y,getValidationMessage:R,isLoading:K,fire:Un,mixin:qn,showLoading:tn,enableLoading:tn,getTimerLeft:Yn,stopTimer:Xn,resumeTimer:Gn,toggleTimer:Kn,increaseTimer:Jn,isTimerRunning:Zn,bindClickHandler:ei});function ri(){const t=Ut.innerParams.get(this);if(!t)return;const e=Ut.domCache.get(this);ut(e.loader),G()?t.icon&&lt(A()):oi(e),st([e.popup,e.actions],C.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}const oi=t=>{const e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));e.length?lt(e[0],"inline-block"):pt()&&ut(t.actions)};function si(t){const e=Ut.innerParams.get(t||this),n=Ut.domCache.get(t||this);return n?nt(n.popup,e.input):null}var ai={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};function ci(t,e,n,i){G()?bi(t,i):(St(n).then(()=>bi(t,i)),xt.keydownTarget.removeEventListener("keydown",xt.keydownHandler,{capture:xt.keydownListenerCapture}),xt.keydownHandlerAdded=!1),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),X()&&(Be(),Ye(),Se()),li()}function li(){st([document.documentElement,document.body],[C.shown,C["height-auto"],C["no-backdrop"],C["toast-shown"]])}function ui(t){t=gi(t);const e=ai.swalPromiseResolve.get(this),n=di(this);this.isAwaitingPromise()?t.isDismissed||(pi(this),e(t)):n&&e(t)}function hi(){return!!Ut.awaitingPromise.get(this)}const di=t=>{const e=T();if(!e)return!1;const n=Ut.innerParams.get(t);if(!n||Q(e,n.hideClass.popup))return!1;st(e,n.showClass.popup),ot(e,n.hideClass.popup);const i=E();return st(i,n.showClass.backdrop),ot(i,n.hideClass.backdrop),mi(t,e,n),!0};function fi(t){const e=ai.swalPromiseReject.get(this);pi(this),e&&e(t)}const pi=t=>{t.isAwaitingPromise()&&(Ut.awaitingPromise.delete(t),Ut.innerParams.get(t)||t._destroy())},gi=t=>void 0===t?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),mi=(t,e,n)=>{const i=E(),r=jt&&mt(e);"function"==typeof n.willClose&&n.willClose(e),r?vi(t,e,i,n.returnFocus,n.didClose):ci(t,i,n.returnFocus,n.didClose)},vi=(t,e,n,i,r)=>{xt.swalCloseEventFinishedCallback=ci.bind(null,t,n,i,r),e.addEventListener(jt,(function(t){t.target===e&&(xt.swalCloseEventFinishedCallback(),delete xt.swalCloseEventFinishedCallback)}))},bi=(t,e)=>{setTimeout(()=>{"function"==typeof e&&e.bind(t.params)(),t._destroy()})};function yi(t,e,n){const i=Ut.domCache.get(t);e.forEach(t=>{i[t].disabled=n})}function _i(t,e){if(!t)return!1;if("radio"===t.type){const n=t.parentNode.parentNode.querySelectorAll("input");for(let t=0;t<n.length;t++)n[t].disabled=e}else t.disabled=e}function xi(){yi(this,["confirmButton","denyButton","cancelButton"],!1)}function wi(){yi(this,["confirmButton","denyButton","cancelButton"],!0)}function Si(){return _i(this.getInput(),!1)}function ki(){return _i(this.getInput(),!0)}function Ci(t){const e=Ut.domCache.get(this),n=Ut.innerParams.get(this);Z(e.validationMessage,t),e.validationMessage.className=C["validation-message"],n.customClass&&n.customClass.validationMessage&&ot(e.validationMessage,n.customClass.validationMessage),lt(e.validationMessage);const i=this.getInput();i&&(i.setAttribute("aria-invalid",!0),i.setAttribute("aria-describedby",C["validation-message"]),it(i),ot(i,C.inputerror))}function Oi(){const t=Ut.domCache.get(this);t.validationMessage&&ut(t.validationMessage);const e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby"),st(e,C.inputerror))}function Ei(){return Ut.domCache.get(this).progressSteps}function Pi(t){const e=T(),n=Ut.innerParams.get(this);if(!e||Q(e,n.hideClass.popup))return i("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const r=Mi(t),o=Object.assign({},n,r);_e(this,o),Ut.innerParams.set(this,o),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})}const Mi=t=>{const e={};return Object.keys(t).forEach(n=>{v(n)?e[n]=t[n]:i('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))}),e};function Ti(){const t=Ut.domCache.get(this),e=Ut.innerParams.get(this);e?(t.popup&&xt.swalCloseEventFinishedCallback&&(xt.swalCloseEventFinishedCallback(),delete xt.swalCloseEventFinishedCallback),xt.deferDisposalTimer&&(clearTimeout(xt.deferDisposalTimer),delete xt.deferDisposalTimer),"function"==typeof e.didDestroy&&e.didDestroy(),Ai(this)):Di(this)}const Ai=t=>{Di(t),delete t.params,delete xt.keydownHandler,delete xt.keydownTarget,delete xt.currentInstance},Di=t=>{t.isAwaitingPromise()?($i(Ut,t),Ut.awaitingPromise.set(t,!0)):($i(ai,t),$i(Ut,t))},$i=(t,e)=>{for(const n in t)t[n].delete(e)};var Li=Object.freeze({hideLoading:ri,disableLoading:ri,getInput:si,close:ui,isAwaitingPromise:hi,rejectPromise:fi,closePopup:ui,closeModal:ui,closeToast:ui,enableButtons:xi,disableButtons:wi,enableInput:Si,disableInput:ki,showValidationMessage:Ci,resetValidationMessage:Oi,getProgressSteps:Ei,update:Pi,_destroy:Ti});let ji;class Ri{constructor(){if("undefined"==typeof window)return;ji=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];const i=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0,configurable:!0}});const r=this._main(this.params);Ut.promise.set(this,r)}_main(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w(Object.assign({},e,t)),xt.currentInstance&&(xt.currentInstance._destroy(),X()&&Se()),xt.currentInstance=this;const n=Ni(t,e);Ie(n),Object.freeze(n),xt.timeout&&(xt.timeout.stop(),delete xt.timeout),clearTimeout(xt.restoreFocusTimeout);const i=Fi(this);return _e(this,n),Ut.innerParams.set(this,n),Ii(this,i,n)}then(t){return Ut.promise.get(this).then(t)}finally(t){return Ut.promise.get(this).finally(t)}}const Ii=(t,e,n)=>new Promise((i,r)=>{const o=e=>{t.closePopup({isDismissed:!0,dismiss:e})};ai.swalPromiseResolve.set(t,i),ai.swalPromiseReject.set(t,r),e.confirmButton.onclick=()=>fn(t),e.denyButton.onclick=()=>pn(t),e.cancelButton.onclick=()=>gn(t,o),e.closeButton.onclick=()=>o(xe.close),wn(t,e,o),$n(t,xt,n,o),nn(t,n),Ge(n),Bi(xt,n,o),zi(e,n),setTimeout(()=>{e.container.scrollTop=0})}),Ni=(t,e)=>{const n=Ce(t),i=Object.assign({},d,e,n,t);return i.showClass=Object.assign({},d.showClass,i.showClass),i.hideClass=Object.assign({},d.hideClass,i.hideClass),i},Fi=t=>{const e={popup:T(),container:E(),actions:V(),confirmButton:I(),denyButton:N(),cancelButton:z(),loader:B(),closeButton:U(),validationMessage:R(),progressSteps:j()};return Ut.domCache.set(t,e),e},Bi=(t,e,n)=>{const i=W();ut(i),e.timer&&(t.timeout=new Ne(()=>{n("timer"),delete t.timeout},e.timer),e.timerProgressBar&&(lt(i),et(i,e,"timerProgressBar"),setTimeout(()=>{t.timeout&&t.timeout.running&&vt(e.timer)})))},zi=(t,e)=>{if(!e.toast)return c(e.allowEnterKey)?void(Vi(t,e)||Ln(e,-1,1)):Hi()},Vi=(t,e)=>e.focusDeny&&ft(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&ft(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!ft(t.confirmButton)||(t.confirmButton.focus(),0)),Hi=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};Object.assign(Ri.prototype,Li),Object.assign(Ri,ii),Object.keys(Li).forEach(t=>{Ri[t]=function(){if(ji)return ji[t](...arguments)}}),Ri.DismissReason=xe,Ri.version="11.4.0";const Wi=Ri;return Wi.default=Wi,Wi}(),void 0!==t&&t.Sweetalert2&&(t.swal=t.sweetAlert=t.Swal=t.SweetAlert=t.Sweetalert2);var i=n.exports;return class{static install(t,e={}){var n;const r=i.mixin(e),o=function(...t){return r.fire.call(r,...t)};Object.assign(o,i),Object.keys(i).filter(t=>"function"==typeof i[t]).forEach(t=>{o[t]=r[t].bind(r)}),(null==(n=t.config)?void 0:n.globalProperties)&&!t.config.globalProperties.$swal?(t.config.globalProperties.$swal=o,t.provide("$swal",o)):Object.prototype.hasOwnProperty.call(t,"$swal")||(t.prototype.$swal=o,t.swal=o)}}}))}).call(this,n("c8ba"))},fc6a:function(t,e,n){var i=n("44ad"),r=n("1d80");t.exports=function(t){return i(r(t))}},fdbf:function(t,e,n){var i=n("04f8");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}}]);



(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-common"],{"008f":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("span",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltipConfig,expression:"tooltipConfig"}],staticClass:"userfeedback-tooltip",on:{click:function(t){t.preventDefault()}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:[icon]",arg:t.icon}]})])},s=[],r={name:"UserFeedbackIconTooltip",props:{content:{type:String,required:!0},theme:{type:String,default:"uf"},icon:{type:String,default:"info-circle"}},computed:{tooltipConfig(){return{content:this.content,theme:this.theme,html:!0}}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e.a=o.exports},"027a":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"screen-header"},[e("div",{staticClass:"screen-header__start"},[t._t("header-start")],2),e("div",{staticClass:"screen-header__end"},[t._t("header-end")],2),e("div",{staticClass:"screen-header__bottom"},[t._t("header-bottom")],2)])},s=[],r={name:"ScreenHeader"},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},"0486":function(t,e,a){"use strict";var i=a("4279");const s=t=>Object(i.a)({action:"userfeedback_ajax_vue_remove_notice",notice_id:t}),r=t=>Object(i.a)({action:"userfeedback_ajax_vue_remove_wp_notice",notice_id:t});var n={state:{notices:{},wp_notices:{}},mutations:{addNotice(t,e){e.id&&(t.notices={...t.notices,[e.id]:e})},removeNotice(t,e){const a={...t.notices};delete a[e],t.notices=a},removeAllNotices(t){t.notices={}},addWpNotice(t,e){e.id&&(t.wp_notices={...t.wp_notices,[e.id]:e})},removeWpNotice(t,e){const a={...t.wp_notices};delete a[e],t.wp_notices=a},removeAllWpNotices(t){t.wp_notices={}}},actions:{async removeNotice({commit:t},e){t("removeNotice",e.id),e.isRemote&&await s(e.id)},async removeWpNotice({commit:t},e){t("removeWpNotice",e.id),e.isRemote&&await r(e.id)}}};const l={install(t,e){const{store:a}=e;a?(a.registerModule("notices",n),a.registerModule("wp_notices",n),a.state.$uf&&(a.state.$uf.notices.forEach(t=>{const e={...t,isClosable:!0,isRemote:!0};e.onClose=()=>{a.dispatch("removeNotice",e)},a.commit("addNotice",e)}),a.state.$uf.wp_notices.forEach(t=>{const e={...t,isClosable:!!t.dismissable,isRemote:!0};e.onClose=()=>{a.dispatch("removeWpNotice",e)},a.commit("addWpNotice",e)}))):console.error("Missing Store for UF notices plugin.")}};e.a=l},"0792":function(t,e,a){"use strict";a.d(e,"f",(function(){return r})),a.d(e,"d",(function(){return n})),a.d(e,"i",(function(){return l})),a.d(e,"c",(function(){return o})),a.d(e,"h",(function(){return c})),a.d(e,"b",(function(){return u})),a.d(e,"g",(function(){return d})),a.d(e,"j",(function(){return m})),a.d(e,"a",(function(){return g})),a.d(e,"e",(function(){return p}));var i=a("b39f");const s=new i.a,r=(t={})=>s.get("surveys",{params:t}).then(t=>t.data),n=(t,e={})=>s.get("surveys/"+t,{params:e}).then(t=>t.data),l=t=>s.post("surveys",t).then(t=>t.data),o=t=>s.post(`surveys/${t}/duplicate`).then(t=>t.data),c=t=>s.post("surveys/restore",{survey_ids:t}).then(t=>t.data),u=t=>s.post("surveys/draft",{survey_ids:t}).then(t=>t.data),d=t=>s.post("surveys/publish",{survey_ids:t}).then(t=>t.data),m=t=>s.post("surveys/trash",{survey_ids:t}).then(t=>t.data),g=t=>s.delete("surveys",{data:{survey_ids:t}}).then(t=>t.data),p=()=>s.get("survey-templates").then(t=>t.data)},"0b5f":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));var i=a("ec26");const s=t=>{const e=Object(i.a)();return{id:e,type:t,title:"",config:{options:[]},settings:{required:!1,randomize:!1,comment_box:!1},logic:{enabled:!1,action:"show",conditions:[]}}}},"0eb0":function(t,e,a){"use strict";var i=a("561c");const s={install(t,e={}){t.prototype.$swal&&(t.prototype.$ufSavingToast=function(e){const{animation:a=!1,toast:s=!0,position:r="top-end",showConfirmButton:n=!1,type:l="info",customClass:o="uf-info",showCloseButton:c=!0,title:u=Object(i.a)("Saving Changes...",t.prototype.$textDomain)}=e;return t.prototype.$swal({customContainerClass:"userfeedback-swal",animation:a,toast:s,position:r,showConfirmButton:n,type:l,customClass:o,showCloseButton:c,title:u})},t.prototype.$ufSuccessToast=function(e){const{animation:a=!1,toast:s=!0,position:r="top-end",showConfirmButton:n=!1,type:l="success",timer:o=3e3,customClass:c="uf-success",showCloseButton:u=!0,title:d=Object(i.a)("Settings Updated",t.prototype.$textDomain),showCancelButton:m=!1,confirmButtonText:g="",cancelButtonText:p="",text:v=""}=e;return t.prototype.$swal({customContainerClass:"userfeedback-swal",animation:a,toast:s,position:r,showConfirmButton:n,type:l,customClass:c,showCloseButton:u,title:d,timer:o,showCancelButton:m,confirmButtonText:g,cancelButtonText:p,text:v})},t.prototype.$ufErrorToast=function(e){const{animation:a=!1,toast:s=!0,position:r="top-end",showConfirmButton:n=!1,type:l="error",customClass:o="uf-error",showCloseButton:c=!0,title:u=Object(i.a)("Could Not Save Changes",t.prototype.$textDomain),text:d="",footer:m="",confirmButtonText:g=""}=e;return t.prototype.$swal({customContainerClass:"userfeedback-swal",animation:a,toast:s,position:r,showConfirmButton:n,type:l,customClass:o,showCloseButton:c,title:u,text:d,footer:m,confirmButtonText:g,onOpen:function(){t.prototype.$swal.hideLoading()}})})}};e.a=s},"0f7e":function(t,e,a){var i={"./results/routes.js":"32ea","./settings/routes.js":"5943","./surveys/routes.js":"74f4"};function s(t){var e=r(t);return a(e)}function r(t){if(!a.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}s.keys=function(){return Object.keys(i)},s.resolve=r,t.exports=s,s.id="0f7e"},"0fcd":function(t,e,a){"use strict";a("33d1"),a("ea98");var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"separator"}),e("user-feedback-upgrade-to-pro",{attrs:{show:t.show_upgrade_modal,feature:t.upgrade_modal_feature,campign:"schedule-later"},on:{"modal-state":e=>t.show_upgrade_modal=e}}),e("div",{on:{click:t.showUpgradeToProModal}},[e("user-feedback-toggle",{attrs:{id:"survey-schedule",disabled:!t.$uf.is_pro},model:{value:t.isScheduled,callback:function(e){t.isScheduled=e},expression:"isScheduled"}},[e("span",[t._v(t._s(t.texts.scheduleToggle))]),e("span",{attrs:{slot:"help"},slot:"help"},[t._v(t._s(t.texts.scheduleToggleHelp))])])],1),e("div",{staticClass:"field inline-fields"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.scheduleTimeParts.date,expression:"scheduleTimeParts.date"}],attrs:{type:"date",placeholder:t.texts.datePlaceholder,min:t.todayDate,disabled:!t.scheduleSurvey},domProps:{value:t.scheduleTimeParts.date},on:{input:function(e){e.target.composing||t.$set(t.scheduleTimeParts,"date",e.target.value)}}}),e("span",[t._v(t._s(t.texts.at))]),e("div",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.scheduleTimeParts.time,expression:"scheduleTimeParts.time"}],attrs:{name:"survey-schedule-time",id:"survey-schedule-time",disabled:!t.scheduleSurvey},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.scheduleTimeParts,"time",e.target.multiple?a:a[0])}}},[t._l(12,(function(a){return[e("option",{key:a+":00",domProps:{value:a+":00"}},[t._v(t._s(a)+":00")]),e("option",{key:a+":30",domProps:{value:a+":30"}},[t._v(t._s(a)+":30")])]}))],2)]),e("div",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.scheduleTimeParts.period,expression:"scheduleTimeParts.period"}],attrs:{name:"survey-schedule-am-pm",id:"survey-schedule-am-pm",disabled:!t.scheduleSurvey},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.scheduleTimeParts,"period",e.target.multiple?a:a[0])}}},[e("option",{attrs:{value:"am"}},[t._v("AM")]),e("option",{attrs:{value:"pm"}},[t._v("PM")])])])])],1)},s=[],r=a("561c"),n={name:"SurveySchedulingOptions",props:{survey:{type:Object,required:!0},scheduleSurvey:{type:Boolean,default:!1}},data(){return{scheduleTimeParts:{date:null,time:"8:00",period:"am"},show_upgrade_modal:!1,upgrade_modal_feature:""}},computed:{isScheduled:{get(){return this.scheduleSurvey},set(t){this.$emit("update:scheduleSurvey",t)}},isComplete(){return null!==this.scheduleTimeParts.date},texts(){return{scheduleToggle:Object(r.a)("Schedule for Later",this.$textDomain),scheduleToggleHelp:Object(r.a)("Setup your Survey to start at a later date and time.",this.$textDomain),datePlaceholder:Object(r.a)("Choose Date",this.$textDomain),at:Object(r.a)("at",this.$textDomain),featureScheduleLater:Object(r.a)("Schedule for Later",this.$textDomain)}},todayDate(){const t=new Date;let e=t.getMonth()+1,a=t.getDate();return e<10&&(e="0"+e),a<10&&(a="0"+a),`${t.getFullYear()}-${e}-${a}`},scheduleDateTime(){const{date:t,time:e,period:a}=this.scheduleTimeParts;if(!t||!this.scheduleSurvey)return null;const i=new Date(t+"T00:00:00");let[s,r]=e.split(":");return s=Number.parseInt(s),r=Number.parseInt(r),"pm"===a&&(s+=12),i.setHours(s,r),i}},mounted(){if(this.survey.publish_at){this.isScheduled=!0;let t=new Date(this.survey.publish_at);const e=6e4*t.getTimezoneOffset();t=new Date(t.getTime()-e);let a=t.getMonth()+1,i=t.getDate();a<10&&(a="0"+a),i<10&&(i="0"+i),this.scheduleTimeParts.date=`${t.getFullYear()}-${a}-${i}`;let s=t.getHours(),r=t.getMinutes(),n="am";s>12&&(s-=12,n="pm"),r<10&&(r="0"+r),this.scheduleTimeParts.time=`${s}:${r}`,this.scheduleTimeParts.period=n}},watch:{scheduleSurvey(t){t&&"draft"===this.survey.status&&(this.survey.status="publish")},"survey.status"(t){"draft"===t&&(this.scheduleSurvey=!1)},scheduleDateTime(t){this.survey.publish_at=t}},methods:{showUpgradeToProModal(){this.$uf.is_pro||(this.show_upgrade_modal=!0,this.upgrade_modal_feature=this.texts.featureScheduleLater)}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e.a=c.exports},1268:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return s}));const i=(t,e,a)=>new Intl.NumberFormat(e,a).format(t),s=(t,e)=>Math.floor(Math.random()*(e-t)+t)},"155d":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("label",{staticClass:"color-picker"},[e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"color"},domProps:{value:t.innerValue},on:{input:function(e){e.target.composing||(t.innerValue=e.target.value)}}},"input",t.$attrs,!1)),e("span",{staticClass:"color-picker__skin",style:t.skinStyles}),e("input",{directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],staticClass:"color-picker__desc",attrs:{type:"text",autocomplete:"false",spellcheck:"false",disabled:t.$attrs.disabled},domProps:{value:t.innerValue},on:{input:function(e){e.target.composing||(t.innerValue=e.target.value)}}})])},s=[],r={inheritAttrs:!1,name:"ColorPicker",props:{value:{type:String}},computed:{skinStyles(){return{backgroundColor:this.value}},innerValue:{get(){return this.value},set(t){this.$emit("input",t)}}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},1892:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"restricted-access-overlay"},[e("div",{staticClass:"restricted-access-modal"},[e("div",{staticClass:"restricted-access-modal__body"},[t._t("modal-content")],2),e("div",{staticClass:"restricted-access-modal__footer"},[t._t("modal-footer")],2)])])},s=[],r={name:"RestrictedAccessOverlay"},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},"197e":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"userfeedback-question__comment-box"},[e("simple-input",{attrs:{type:"textarea",placeholder:t.texts.commentBoxPlaceholder},model:{value:t.innerValue,callback:function(e){t.innerValue=e},expression:"innerValue"}})],1)},s=[],r=a("561c"),n=a("a103"),l={name:"QuestionCommentBox",components:{SimpleInput:n.a},props:{value:{type:String}},computed:{innerValue:{get(){return this.value},set(t){this.$emit("input",t)}},texts(){return{commentBoxPlaceholder:Object(r.a)("Anything to add?",this.$textDomain)}}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e.a=u.exports},"19e8":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("header",{staticClass:"admin-header",class:"admin-header--"+t.type},["workflow"===t.type?[e("figure",{staticClass:"admin-header__branding is-small"},[e("img",{attrs:{src:t.logoSmall,alt:""}})]),e(t.$_componentPrefix+"AdminHeaderWorkflow",{tag:"component",attrs:{workflow:t.workflow}},[e("template",{slot:"workflow-step-separator"},[t._t("workflow-step-separator")],2)],2),e("button",{staticClass:"admin-header__close",on:{click:t.onClose}},[t._t("header-close",(function(){return[e("span",[t._v(t._s(t.texts.close))])]}))],2)]:"custom"===t.type?t._t("default"):[e("figure",{staticClass:"admin-header__branding"},[e("a",{attrs:{href:t.$getUpgradeUrl("logo","header")}},[e("img",{attrs:{src:t.logo,alt:""}})])]),e("div",{staticClass:"admin-header__end"},[t._t("header-end")],2)]],2)},s=[],r=a("561c"),n={name:"AdminHeader",props:{workflow:{type:Object},useSmallLogo:{type:Boolean,default:!1},type:{type:String,default:"default",validator:function(t){return-1!==["default","workflow","custom"].indexOf(t)}},logo:{type:String},logoSmall:{type:String}},computed:{texts(){return{close:Object(r.a)("Close",this.$_textDomain)}}},methods:{onClose(){this.$emit("close")}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"1cce":function(t,e,a){"use strict";a.d(e,"b",(function(){return s})),a.d(e,"a",(function(){return r}));var i=a("561c");const s=(t=null)=>{const e=[{symbol:"=",label:Object(i.a)("Is","userfeedback")},{symbol:"!=",label:Object(i.a)("Is not","userfeedback")}],a=[...e,{symbol:"<",label:Object(i.a)("Lower than","userfeedback")},{symbol:">",label:Object(i.a)("Greater than","userfeedback")}],s=[...e,{symbol:"in",label:Object(i.a)("Includes","userfeedback")}];switch(t){case"star-rating":case"nps":return a;case"checkbox":return s;default:return e}},r=(t,e,a)=>{if(!e)return!1;switch(t){case"=":return e.toString()===a.toString();case"!=":return e.toString()!==a.toString();case"<":return e<a;case">":return e>a;case"in":return Array.isArray(e)&&e.includes(a);default:return!1}}},"20b9":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("nav",{staticClass:"page-navigator"},[e("div",{staticClass:"page-navigator__desc"},[t._t("desc")],2),e("div",{staticClass:"page-navigator__widget"},[e("button",{staticClass:"button page-navigator__button",attrs:{role:"button",disabled:!t.canGoBack},on:{click:t.goToPrev}},[t._t("prev-button",(function(){return[e("span",[t._v(t._s(t.texts.previous))])]}))],2),e("span",{staticClass:"page-navigator__current"},[t._v(t._s(t.currentPage))]),e("button",{staticClass:"button page-navigator__button",attrs:{role:"button",disabled:!t.canGoNext},on:{click:t.goToNext}},[t._t("next-button",(function(){return[e("span",[t._v(t._s(t.texts.next))])]}))],2)])])},s=[],r=a("561c"),n={name:"PageNavigator",props:{currentPage:{type:Number,required:!0},totalPages:{type:Number,required:!0}},computed:{canGoBack(){return this.currentPage>1},canGoNext(){return this.currentPage<this.totalPages},texts(){return{previous:Object(r.a)("Previous",this.$_textDomain),next:Object(r.a)("Next",this.$_textDomain)}}},methods:{goToPrev(){this.$emit("prev")},goToNext(){this.$emit("next")}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},2728:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("article",{staticClass:"expandable-card",class:{"is-open":t.isOpen}},[e("header",{staticClass:"expandable-card__header"},[e("div",{staticClass:"expandable-card__title"},[t._t("title")],2),e("button",{staticClass:"expandable-card__toggle",attrs:{type:"button"},on:{click:t.toggleCard}},[t._t("toggle",(function(){return[e("span",[t._v(t._s(t.texts.toggle))])]}))],2)]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}]},[t._t("before-content"),e("div",{staticClass:"expandable-card__content",class:{"is-slim":t.slim}},[t._t("content")],2),e("div",{staticClass:"expandable-card__footer"},[t._t("footer")],2)],2)])},s=[],r=a("561c"),n={name:"ExpandableCard",props:{startOpen:{type:Boolean,default:!1},slim:{type:Boolean,default:!1},locked:{type:Boolean,default:!1}},data(){return{isOpen:!1}},computed:{texts(){return{toggle:Object(r.a)("Toggle",this.$_textDomain)}}},methods:{toggleCard(){this.isOpen?this.closeCard():this.openCard()},openCard(){this.locked||(this.isOpen=!0)},closeCard(){this.isOpen=!1}},mounted(){this.startOpen&&!this.locked&&this.openCard()}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"274d":function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var i=a("561c");const s="userfeedback",r=[{title:Object(i.a)("Setup",s),key:"setup"},{title:Object(i.a)("Questions",s),key:"questions"},{title:Object(i.a)("Settings",s),key:"settings"},{title:Object(i.a)("Notifications",s),key:"notifications"},{title:Object(i.a)("Publish",s),key:"publish"}]},"2abc":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"a",(function(){return s}));const i=["January","February","March","April","May","June","July","August","September","October","November","December"],s=t=>{const e=t.getTimezoneOffset(),a=new Date(t.getTime()-60*e*1e3);return a.toISOString().split("T")[0]}},"2af8":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("tfoot",[e("tr",[t.allowSelectAll?e("td",{staticClass:"manage-column column-cb check-column"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"cb-select-all-2"}},[t._v(t._s(t.texts.selectAll))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.isSelectingAll,expression:"isSelectingAll"}],attrs:{id:"cb-select-all-2",type:"checkbox"},domProps:{checked:Array.isArray(t.isSelectingAll)?t._i(t.isSelectingAll,null)>-1:t.isSelectingAll},on:{click:function(e){return e.stopPropagation(),t.selectAll.apply(null,arguments)},change:function(e){var a=t.isSelectingAll,i=e.target,s=!!i.checked;if(Array.isArray(a)){var r=null,n=t._i(a,r);i.checked?n<0&&(t.isSelectingAll=a.concat([r])):n>-1&&(t.isSelectingAll=a.slice(0,n).concat(a.slice(n+1)))}else t.isSelectingAll=s}}})]):t._e(),t._l(t.columns,(function(a,i){return e("th",{key:i,staticClass:"manage-column column-title column-primary",class:{"sortable desc":a.sortable},attrs:{scope:"col",id:a.key}},[a.sortable?[e("a",{attrs:{href:"javascript:",role:"button"}},[e("span",[t._v(t._s("function"===typeof a.title?a.title():a.title))]),e("span",{staticClass:"sorting-indicator"})])]:e("span",[t._v(t._s("function"===typeof a.title?a.title():a.title))])],2)})),t.hasActionsColumn?e("th",[t._v(t._s(t.texts.actions))]):t._e()],2)])},s=[],r=a("561c"),n=a("557c"),l={name:"AdminTableFoot",mixins:[n.a],props:{allowSelectAll:{type:Boolean,default:!0},columns:{type:Array,required:!0}},computed:{texts(){return{selectAll:Object(r.a)("Select All",this.$_textDomain),actions:Object(r.a)("Actions",this.$_textDomain)}}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e["default"]=u.exports},"32ea":function(t,e,a){"use strict";a.r(e),a.d(e,"router",(function(){return ht}));var i=a("8c4f"),s=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.screenTitle))])])],2),e("user-feedback-wp-notices"),e("div",{staticClass:"screen-wrapper"},[e("section",{staticClass:"admin-card is-slim"},[e("header",{staticClass:"admin-card__header"},[e("div",{staticClass:"admin-card__header--start"},[t.availableSurveys.length?e("user-feedback-button-dropdown",{attrs:{"button-class":"is-secondary",choices:t.availableSurveys}},[e("template",{slot:"button"},[e("span",[t._v(t._s(t.selectedSurvey?t.selectedSurvey.title:t.texts.allSurveys))]),e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon is-small"})])],2):t._e()],1),e("div",{staticClass:"admin-card__header--end"},[e("span",{staticClass:"stats-item"},[e("span",{staticClass:"stats-item__value"},[t._v(t._s(t.responsesData.total_responses))]),e("span",{staticClass:"stats-item__label"},[t._v(t._s(t.texts.responses))])]),e("user-feedback-radio-buttons",{attrs:{options:t.availableRanges,"field-name-prefix":"overview-date-range"},scopedSlots:t._u([{key:"option-label",fn:function({option:a}){return[a&&a.disabled?e("span",[e("user-feedback-icon-tooltip",{attrs:{content:t.texts.dateRangeUpgrade}})],1):t._e(),e("span",{staticClass:"option-label",domProps:{textContent:t._s(a.label)}})]}}]),model:{value:t.currentRangeId,callback:function(e){t.currentRangeId=e},expression:"currentRangeId"}})],1)]),t.responsesData.data_points?e("section",{staticClass:"admin-card__body"},[e("line-chart",{attrs:{"chart-data":t.chartData,options:t.chartOptions}})],1):t._e(),t.responsesData.surveys?e("footer",{staticClass:"admin-card__footer"},[e("user-feedback-admin-table",{attrs:{items:t.surveysForTable,columns:t.tableColumns,"allow-items-select":!1,"allow-select-all":!1,"has-pagination":!1,"no-footer":"","brand-table":""},scopedSlots:t._u([{key:"row-end-actions",fn:function({item:a}){return[e("td",[e("router-link",{attrs:{to:{name:"survey-results",params:{id:a.id}}}},[e("span",[t._v(t._s(t.texts.viewResults))]),e("span",{directives:[{name:"icon",rawName:"v-icon:chevron-right",arg:"chevron-right"}]})])],1)]}}],null,!1,3520739306)})],1):t._e()]),t.selectedSurveyResult?e("div",[t._m(0),e("div",{staticClass:"data-cards-list"},[e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.selectedSurveyResult.responses_count_7_days)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.past7Days))])]),e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.selectedSurveyResult.responses_count_30_days)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.past30Days))])]),e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.selectedSurveyResult.responses_count)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.totalResponses))])]),e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.selectedSurveyResult.impressions)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.impressions))])])]),e("div",{staticClass:"survey-stats"},t._l(t.selectedSurveyResult.question_stats,(function(a){return e("question-stats-card",{key:a.id,attrs:{"survey-id":t.selectedSurveyResult.id,question:a}})})),1)]):t._e()])],1)},r=[function(){var t=this,e=t._self._c;return e("div",[e("br")])}],n=(a("14d9"),a("561c")),l=a("2f62"),o=a("2abc"),c=a("9ea0"),u=a("33e7"),d=a("008f"),m=a("ebb2"),g=function(){var t=this,e=t._self._c;return e("div",{staticClass:"admin-card is-slim question-stats-card"},[e("header",{staticClass:"admin-card__header"},[e("div",{staticClass:"admin-card__header--start"},[e("span",{staticClass:"question-type-tag"},[e("span",{directives:[{name:"icon",rawName:"v-icon:[iconName]",arg:t.iconName}]}),e("span",[t._v(t._s(t.questionTypeLabel))])]),e("h3",{staticClass:"admin-card__title"},[t._v(t._s(t.question.title))])]),e("div",{staticClass:"admin-card__header--end"},[e("div",{staticClass:"stats-item"},[e("span",{staticClass:"stats-item__value"},[t._v(t._s(t.question.total_answers))]),e("span",{staticClass:"stats-item__label"},[t._v(t._s(t.texts.answered))])]),e("div",{staticClass:"stats-item"},[e("span",{staticClass:"stats-item__value"},[t._v(t._s(t.question.skipped))]),e("span",{staticClass:"stats-item__label"},[t._v(t._s(t.texts.skipped))])]),t.isQuantitative?e("user-feedback-radio-buttons",{attrs:{"field-name-prefix":t.question.id+"-graph-type",options:t.graphTypes,"button-class":"is-slim is-light"},scopedSlots:t._u([{key:"default",fn:function({option:t}){return[e("span",{directives:[{name:"icon",rawName:"v-icon:[option.icon]",arg:t.icon}]})]}}],null,!1,1736982111),model:{value:t.currentGraphTypeId,callback:function(e){t.currentGraphTypeId=e},expression:"currentGraphTypeId"}}):t._e(),t.$uf.is_pro&&t.$uf.is_licensed?e("user-feedback-button-dropdown",{attrs:{"button-class":"is-secondary",choices:t.exportOptions}},[e("template",{slot:"button"},[e("span",[t._v(t._s(t.texts.export))]),e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon is-small"})])],2):t._e()],1)]),e("div",{staticClass:"admin-card__body"},[t.isQuantitative?[t.isQuestionValid?[e(t.chartComponent,{key:`${t.question.id}-${t.currentGraphTypeId}`,tag:"component",staticClass:"question-stats-card__graph",attrs:{"chart-id":t.question.id,"chart-data":t.chartData,options:t.chartOptions,"inline-tooltip":""}}),e("table",{staticClass:"answers-table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.texts.answers))]),e("th",[t._v(t._s(t.texts.responses))]),e("th")])]),e("tbody",t._l(t.question.options,(function(a,i){return e("tr",{key:i},[e("td",[t._v(t._s(a.value))]),e("td",[t._v(t._s(a.count))]),e("td",[t._v(t._s(t.getAnswerPercentage(a.count)))])])})),0)])]:[e("div",{staticClass:"notification-banner is-warning"},[e("div",{staticClass:"notification-banner__content"},[e("div",{domProps:{innerHTML:t._s(t.texts.invalidQuestionMessage)}})])])]]:e("table",{staticClass:"answers-table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.texts.answers))]),e("th",{staticClass:"fit-cell"},[t._v(t._s(t.texts.date))]),t.isQuantitative?t._e():e("th",{staticStyle:{width:"20px"}})])]),e("tbody",t._l(t.question.answers,(function(a,i){return e("tr",{key:i},[e("td",[e("div",[t._v(t._s(a.value))]),!t.isQuantitative&&a.extra?e("div",{staticClass:"answers-table__row-extra"},t._l(a.extra,(function(a,i){return e("span",{key:i},[t._v(" "+t._s(a)+" ")])})),0):t._e()]),e("td",{staticClass:"fit-cell"},[t._v(t._s(t._f("formatDate")(a.date,!0)))]),t.isQuantitative?t._e():e("td",{staticStyle:{width:"20px"}},[t.$route.params.id?e("router-link",{staticClass:"response-view-link",attrs:{to:{name:"response",params:{surveyId:t.$route.params.id,id:a.response_id}}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:external-link",arg:"external-link"}]})]):t._e()],1)])})),0)])],2)])},p=[],v=a("a878"),h=function(){var t=this,e=t._self._c;return e("Bar",{attrs:{"chart-options":t.chartOptions,"chart-data":t.chartData,"chart-id":t.chartId,"dataset-id-key":t.datasetIdKey,plugins:t.plugins,"css-classes":t.cssClasses,styles:t.styles,width:t.width,height:t.height}})},f=[],y=a("7b97"),b=a("7c9b"),_=a("dd61");_.f.register(_.q,_.r,_.h,_.c,_.e,_.k);var x={name:"BarChart",components:{Bar:y.a},props:{chartData:{type:Object,required:!0},options:{type:Object,default:()=>{}},chartId:{type:String,default:"bar-chart"},datasetIdKey:{type:String,default:"label"},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{default:"",type:String},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]}},computed:{chartOptions(){return Object(b.a)(this.baseOptions,this.options)}},data(){return{baseOptions:{responsive:!0,maintainAspectRatio:!1,datasets:{bar:{backgroundColor:"#2D87F1",borderColor:"#2D87F1",opacity:.75}},plugins:{legend:{display:!1},tooltip:{enabled:!1,external:t=>{const e=this.chartId+"-chartjs-tooltip",a=this.inlineTooltip;let i=document.getElementById(e);i||(i=document.createElement("div"),i.id=e,i.style.padding=0,i.style.backgroundColor="white",i.style.border="1px solid #ddd",i.style.borderRadius="5px",i.style.boxShadow="0px 5px 15px rgba(0, 0, 0, 0.05), 0px 15px 35px rgba(0, 0, 0, 0.1)",i.classList.add("userfeedback-chart-tooltip"),i.innerHTML='<div class="userfeedback-chart-tooltip__body" style="padding: 16px"></div>',document.body.appendChild(i));const s=t.tooltip;if(0!==s.opacity){if(i.classList.remove("above","below","no-transform"),s.yAlign?i.classList.add(s.yAlign):i.classList.add("no-transform"),s.body){const e=s.title||[],n=s.body.map(r);let l="<div>";const o=a?"margin: 0 8px 0 0;":"margin: 0 0 8px 0;";e.forEach((function(t){l+='<h6 style="font-size: 13px; color: #7e7e7e; font-weight: normal; '+o+'">'+t+"</h6>"})),l+="</div>",n.forEach((function(t,e){const a=`<span style="font-size: 14px; font-weight: bold; color: #23282D;">${t}</span>`;l+=a})),l+="</div>";const c=i.querySelector(".userfeedback-chart-tooltip__body");a&&(c.style.display="flex",c.style.alignItems="center"),c.innerHTML=l;const u=t.chart.canvas.getBoundingClientRect(),d=16,m=-40;i.style.opacity=1,i.style.position="absolute",i.style.left=u.left+window.pageXOffset+s.caretX+d+"px",i.style.right=null,i.style.top=u.top+window.pageYOffset+s.caretY+m+"px",i.style.fontSize="14px",i.style.pointerEvents="none";const g=i.getBoundingClientRect();g.right>u.right&&(i.style.left=u.left+window.pageXOffset+s.caretX-d-g.width+"px")}}else i.style.opacity=0;function r(t){return t.lines}}}}}}}},C=x,w=a("2877"),k=Object(w.a)(C,h,f,!1,null,null,null),S=k.exports,O=function(){var t=this,e=t._self._c;return e("Bar",{attrs:{"chart-options":t.chartOptions,"chart-data":t.chartData,"chart-id":t.chartId,"dataset-id-key":t.datasetIdKey,plugins:t.plugins,"css-classes":t.cssClasses,styles:t.styles,width:t.width,height:t.height}})},$=[];_.f.register(_.q,_.r,_.h,_.c,_.e,_.k);var j={name:"BarChart",components:{Bar:y.a},props:{chartData:{type:Object,required:!0},options:{type:Object,default:()=>{}},chartId:{type:String,default:"bar-chart"},datasetIdKey:{type:String,default:"label"},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{default:"",type:String},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]}},computed:{chartOptions(){return Object(b.a)(this.baseOptions,this.options)}},data(){return{baseOptions:{indexAxis:"y",responsive:!0,maintainAspectRatio:!1,datasets:{bar:{backgroundColor:"#2D87F1",borderColor:"#2D87F1",opacity:.75}},plugins:{legend:{display:!1},tooltip:{enabled:!1,external:t=>{const e=this.chartId+"-chartjs-tooltip",a=this.inlineTooltip;let i=document.getElementById(e);i||(i=document.createElement("div"),i.id=e,i.style.padding=0,i.style.backgroundColor="white",i.style.border="1px solid #ddd",i.style.borderRadius="5px",i.style.boxShadow="0px 5px 15px rgba(0, 0, 0, 0.05), 0px 15px 35px rgba(0, 0, 0, 0.1)",i.classList.add("userfeedback-chart-tooltip"),i.innerHTML='<div class="userfeedback-chart-tooltip__body" style="padding: 16px"></div>',document.body.appendChild(i));const s=t.tooltip;if(0!==s.opacity){if(i.classList.remove("above","below","no-transform"),s.yAlign?i.classList.add(s.yAlign):i.classList.add("no-transform"),s.body){const e=s.title||[],n=s.body.map(r);let l="<div>";const o=a?"margin: 0 8px 0 0;":"margin: 0 0 8px 0;";e.forEach((function(t){l+='<h6 style="font-size: 13px; color: #7e7e7e; font-weight: normal; '+o+'">'+t+"</h6>"})),l+="</div>",n.forEach((function(t,e){const a=`<span style="font-size: 14px; font-weight: bold; color: #23282D;">${t}</span>`;l+=a})),l+="</div>";const c=i.querySelector(".userfeedback-chart-tooltip__body");a&&(c.style.display="flex",c.style.alignItems="center"),c.innerHTML=l;const u=t.chart.canvas.getBoundingClientRect(),d=16,m=-40;i.style.opacity=1,i.style.position="absolute",i.style.left=u.left+window.pageXOffset+s.caretX+d+"px",i.style.right=null,i.style.top=u.top+window.pageYOffset+s.caretY+m+"px",i.style.fontSize="14px",i.style.pointerEvents="none";const g=i.getBoundingClientRect();g.right>u.right&&(i.style.left=u.left+window.pageXOffset+s.caretX-d-g.width+"px")}}else i.style.opacity=0;function r(t){return t.lines}}}}}}}},D=j,A=Object(w.a)(D,O,$,!1,null,null,null),T=A.exports,P=function(){var t=this,e=t._self._c;return e("Pie",{attrs:{"chart-options":t.chartOptions,"chart-data":t.chartData,"chart-id":t.chartId,"dataset-id-key":t.datasetIdKey,plugins:t.plugins,"css-classes":t.cssClasses,styles:t.styles,width:t.width,height:t.height}})},N=[];const L=(t=10,e="blue")=>{const a={blue:["#ECF4FE","#8CBEF7","#2D87F1","#0B55AC","#05264D"]},i=t>2?0:2,s=a[e];let r=s.slice(i,t+i);while(r.length<t){const e=t-r.length;r=r.concat(s.length<e?s.slice(i):s.slice(0,e))}return r};_.f.register(_.q,_.r,_.h,_.a,_.e);var M={name:"PieChart",components:{Pie:y.c},props:{chartData:{type:Object,required:!0},options:{type:Object,default:()=>{}},chartId:{type:String,default:"pie-chart"},datasetIdKey:{type:String,default:"label"},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{default:"",type:String},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]}},computed:{chartOptions(){return Object(b.a)(this.baseOptions,this.options)}},data(){return{baseOptions:{responsive:!0,maintainAspectRatio:!1,datasets:{pie:{backgroundColor:L(5,"blue"),borderWidth:0}},plugins:{legend:{display:!1},tooltip:{enabled:!1,external:function(t){const e=this.chartId+"-chartjs-tooltip",a=this.inlineTooltip;let i=document.getElementById(e);i||(i=document.createElement("div"),i.id=e,i.style.padding=0,i.style.backgroundColor="white",i.style.border="1px solid #ddd",i.style.borderRadius="5px",i.style.boxShadow="0px 5px 15px rgba(0, 0, 0, 0.05), 0px 15px 35px rgba(0, 0, 0, 0.1)",i.classList.add("userfeedback-chart-tooltip"),i.innerHTML='<div class="userfeedback-chart-tooltip__body" style="padding: 16px"></div>',document.body.appendChild(i));const s=t.tooltip;if(0!==s.opacity){if(i.classList.remove("above","below","no-transform"),s.yAlign?i.classList.add(s.yAlign):i.classList.add("no-transform"),s.body){const t=s.title||[],e=s.body.map(r);let n="<div>";const l=a?"margin: 0 8px 0 0;":"margin: 0 0 8px 0;";t.forEach((function(t){n+='<h6 style="font-size: 13px; color: #7e7e7e; font-weight: normal; '+l+'">'+t+"</h6>"})),n+="</div>",e.forEach((function(t,e){const a=`<span style="font-size: 14px; font-weight: bold; color: #23282D;">${t}</span>`;n+=a})),n+="</div>";const o=i.querySelector(".userfeedback-chart-tooltip__body");a&&(o.style.display="flex",o.style.alignItems="center"),o.innerHTML=n;const c=this.chart.canvas.getBoundingClientRect(),u=16,d=-40;i.style.opacity=1,i.style.position="absolute",i.style.left=c.left+window.pageXOffset+s.caretX+u+"px",i.style.right=null,i.style.top=c.top+window.pageYOffset+s.caretY+d+"px",i.style.fontSize="14px",i.style.pointerEvents="none";const m=i.getBoundingClientRect();m.right>c.right&&(i.style.left=c.left+window.pageXOffset+s.caretX-u-m.width+"px")}}else i.style.opacity=0;function r(t){return t.lines}}}}}}}},B=M,q=Object(w.a)(B,P,N,!1,null,null,null),R=q.exports,F=a("a026");const I=t=>F.a.component("WithInlineLegend",{props:{chartData:{type:Object,required:!0},options:{type:Object}},computed:{colors(){const t=this.chartData.labels.length;return L(t)}},methods:{renderLegend(t){const{labels:e}=this.chartData,a=e.map((e,a)=>{const i=this.options.legends;let s=e;return i&&i.hasOwnProperty("callbacks")&&"function"===typeof i.callbacks.label&&(s=i.callbacks.label(e)),t("div",{class:"userfeedback-chart__legend-item"},[t("span",{class:"legend-color",style:{backgroundColor:this.colors[a]}}),t("span",{class:"legend-label"},[s])])});return t("div",{class:"userfeedback-chart__legend"},a)}},render(e){return e("div",{class:"userfeedback-chart-wrapper has-legend"},[e(t,{props:{...this.$attrs,...this.$props,customDataSetConfig:{backgroundColor:this.colors,borderWidth:0,hoverBackgroundColor:this.colors}}}),this.renderLegend(e,{colors:this.colors})])}});var U=a("4d7b"),H={name:"QuestionStatsCard",components:{LineChart:u.a,BarChart:S,HorizontalBarChart:T,PieChart:R},props:{surveyId:{type:String,required:!0},question:{type:Object,required:!0}},data(){return{currentGraphTypeId:null}},computed:{isQuestionValid(){return Object(U.b)(this.question,this.question.options.map(t=>t.value))},chartData(){if(!this.isQuantitative)return null;const t=[],e=[],{options:a}=this.question;for(const i of a)e.push(i.value),t.push(this.getAnswerPercentage(i.count,!1));return{datasets:[{lineTension:.2,data:t}],labels:e}},chartOptions(){if(!this.isQuantitative)return null;const t={min:0,max:100,stepSize:20,callback:t=>t+"%"},e={callback:t=>"star-rating"===this.question.type?Object(n.d)(Object(n.b)("%s Star","%s Stars",t,this.$textDomain),t):t},a={callbacks:{title:t=>"star-rating"===this.question.type?Object(n.d)(Object(n.b)("%s Star","%s Stars",t[0].label,this.$textDomain),t[0].label):t[0].label,label:t=>{let e="";return e=t.element.horizontal?t.dataset.label||t.parsed.x:t.dataset.label||t.parsed.y,"pie"===this.currentGraphTypeId&&t.parsed&&(e=t.parsed),this.$formatNumber(e/100,void 0,{style:"percent",maximumFractionDigits:2})}}};switch(this.currentGraphTypeId){case"lines":case"bars-vertical":return{scales:{y:t,x:e},plugins:{tooltip:a}};case"bars-horizontal":return{scales:{x:t,y:e},plugins:{tooltip:a}};case"pie":return{plugins:{tooltip:a}}}return{}},chartComponent(){if(!this.isQuantitative)return null;switch(this.currentGraphTypeId){case"lines":return u.a;case"bars-vertical":return S;case"bars-horizontal":return T;case"pie":return I(R);default:return null}},graphTypes(){return[{value:"bars-vertical",icon:"graph-bars-vertical",label:""},{value:"bars-horizontal",icon:"graph-bars-horizontal",label:""},{value:"lines",icon:"graph-lines",label:""},{value:"pie",icon:"graph-pie",label:""}]},texts(){return{answered:Object(n.a)("Answered",this.$textDomain),skipped:Object(n.a)("Skipped",this.$textDomain),export:Object(n.a)("Export",this.$textDomain),answers:Object(n.a)("Answers",this.$textDomain),responses:Object(n.a)("Responses",this.$textDomain),date:Object(n.a)("Date",this.$textDomain),invalidQuestionMessage:Object(n.d)(Object(n.a)('This question has invalid options. You can fix it <a href="%s">here</a>',"userfeedback"),Object(v.a)("surveys",`edit/${this.surveyId}/questions`))}},iconName(){const{type:t}=this.question;switch(t){case"nps":return"smiley";case"star-rating":return"star-outline";default:return t}},questionTypeLabel(){const{type:t}=this.question;switch(t){case"radio-button":return Object(n.a)("Radio Buttons",this.$textDomain);case"checkbox":return Object(n.a)("Checkbox",this.$textDomain);case"nps":return Object(n.a)("Net Promoter Score",this.$textDomain);case"long-text":return Object(n.a)("Long Text",this.$textDomain);case"email":return Object(n.a)("Email Capture",this.$textDomain);case"text":return Object(n.a)("Single Text Field",this.$textDomain);case"star-rating":return Object(n.a)("Star Rating",this.$textDomain);default:return t}},exportOptions(){return[{text:"Excel",handle:()=>{const t=this.$getExportsUrlForSurvey(this.$route.params.id,"question",{question_id:this.question.id});window.location=t}}]},isQuantitative(){return this.question.is_quantitative}},methods:{getAnswerPercentage(t,e=!0){const{total_answers:a}=this.question;let i=0;return a>0&&(i=t/a),e||0===i?this.$formatNumber(i,void 0,{style:"percent",maximumFractionDigits:2}):100*i}},beforeMount(){this.currentGraphTypeId=this.graphTypes[0].value}},E=H,V=Object(w.a)(E,g,p,!1,null,null,null),z=V.exports,Q={name:"UserFeedbackResultsIndex",components:{LineChart:u.a,UserFeedbackIconTooltip:d.a,UserFeedbackWpNotices:m.a,QuestionStatsCard:z},data(){return{selectedSurvey:null,currentRangeId:"",responsesData:{},selectedSurveyResult:!1}},computed:{...Object(l.e)("surveys",{allAvailableSurveys:t=>t.allSurveys}),texts(){return{screenTitle:Object(n.a)("Results Overview",this.$textDomain),responses:Object(n.a)("Responses",this.$textDomain),last7Days:Object(n.a)("Last 7 Days",this.$textDomain),last30Days:Object(n.a)("Last 30 Days",this.$textDomain),viewResults:Object(n.a)("View Results",this.$textDomain),allSurveys:Object(n.a)("All Surveys",this.$textDomain),dateRangeUpgrade:Object(n.d)(Object(n.a)('Upgrade to Pro to unlock Date Ranges. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("date-range","button")),past7Days:Object(n.a)("Past 7 Days",this.$textDomain),past30Days:Object(n.a)("Past 30 Days",this.$textDomain),totalResponses:Object(n.a)("Total Responses",this.$textDomain),impressions:Object(n.a)("Impressions",this.$textDomain)}},tableColumns(){return[{title:Object(n.a)("Title",this.$textDomain),key:"title",isRowTitle:!0,link:{isVue:!0,path:t=>({name:"survey-results",params:{id:t.id}})}},{title:Object(n.a)("Status",this.$textDomain),key:"status",sortable:!0,value:t=>{let e=Object(n.a)("Draft",this.$textDomain);return"publish"===t.status&&(e=Object(n.a)("Published",this.$textDomain)),`<span>\n                        <span class="user-feedback-status-indicator is-${t.status}"></span>\n                        <span>${e}</span>\n                    </span>`}},{title:Object(n.a)("Created",this.$textDomain),key:"created_at",value:t=>t.created_at?this.$getLocalizedDate(t.created_at):""},{title:Object(n.a)("All Time",this.$textDomain),key:"all_time",value:t=>{const e=t.responses_count,a=this.$router.resolve({name:"survey-results",params:{id:t.id}});return`<a href="${a.href}">${e}</a>`}},{title:()=>{switch(this.currentRangeId){case"7-days":return this.texts.last7Days;case"30-days":return this.texts.last30Days;default:return""}},key:"current_range_responses",value:t=>t.range_responses_count}]},availableRanges(){const t=new Date,e=new Date;e.setDate(t.getDate()-7);const a=new Date;return a.setDate(t.getDate()-30),[{startDate:Object(o.a)(e),endDate:Object(o.a)(t),label:Object(n.a)("Past 7 Days",this.$textDomain),value:"7-days"},{startDate:Object(o.a)(a),endDate:Object(o.a)(t),label:Object(n.a)("Past 30 Days",this.$textDomain),value:"30-days",disabled:!this.$uf.is_pro||!this.$uf.is_licensed}]},currentRange(){const t=this.availableRanges.find(t=>t.value===this.currentRangeId);if(t){const{startDate:e,endDate:a}=t;return{start_date:e,end_date:a}}return null},chartData(){const t=this.responsesData.data_points,e=[],a=[];for(const i of t){const{count:t,date:s}=i,r=new Date(s),n=r.toLocaleString("default",{month:"short"}),l=n+" "+r.getDate();e.push(t),a.push(l)}return{datasets:[{data:e}],labels:a}},chartOptions(){const t=[...this.responsesData.data_points];t.sort((t,e)=>e.count-t.count);const e=t[0].count;let a=2;return e>10?a=10:e>100?a=100:e>1e3&&(a=1e3),{scales:{y:{min:0,ticks:{stepSize:a}}},plugins:{tooltip:{callbacks:{title:t=>{const e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=t[0].dataIndex,i=this.responsesData.data_points,s=new Date(i[a].date),r=s.getDate()+" "+e[s.getMonth()]+" "+s.getFullYear();return this.$getLocalizedDate(r)},label:function(t){let e=t.dataset.label||t.parsed.y;return e=Object(n.d)(Object(n.b)("%s Response","%s Responses",Number.parseInt(e),this.$textDomain),e),e}}}}}},availableSurveys(){const t=this.allAvailableSurveys?this.allAvailableSurveys.map(t=>(t.text=t.title,t.handle=()=>{this.selectedSurvey=t},t)):[];return t.length?(t.unshift({text:this.texts.allSurveys,value:null,handle:()=>{this.selectedSurvey=null}}),t):[]},surveysForTable(){const t=[...this.responsesData.surveys];return null===this.selectedSurvey?t:t.filter(t=>t.id===this.selectedSurvey.id)}},methods:{...Object(l.d)("surveys",["setAllSurveys"]),async fetchData(){const t={...this.currentRange};null!==this.selectedSurvey&&(t.survey_id=this.selectedSurvey.id),this.responsesData=await Object(c.b)(t),this.allAvailableSurveys.length||this.setAllSurveys(this.responsesData.surveys)}},beforeMount(){this.currentRangeId=this.availableRanges[0].value},watch:{currentRangeId(){this.fetchData()},async selectedSurvey(t){if(null===t)return this.fetchData(),void(this.selectedSurveyResult=!1);this.selectedSurveyResult=await Object(c.d)(t.id)}}},Z=Q,G=Object(w.a)(Z,s,r,!1,null,null,null),W=G.exports,K=function(){var t=this,e=t._self._c;return t.survey?e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.screenTitle))]),t.surveyChoices.length&&t.survey?e("user-feedback-button-dropdown",{attrs:{"button-class":"is-secondary",choices:t.surveyChoices}},[e("template",{slot:"button"},[e("span",[t._v(t._s(t.survey.title))]),e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon is-small"})])],2):t._e()],1),e("template",{slot:"header-end"},[e("div",{staticClass:"screen-header__actions"},[e("router-link",{attrs:{to:{name:"survey-responses",params:{id:t.survey.id}}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:comment",arg:"comment"}]}),e("span",[t._v(t._s(t.texts.seeIndividualResponses))])]),t.$uf.is_pro&&t.$uf.is_licensed?e("a",{staticClass:"button user-feedback-button is-link",attrs:{href:t.generalExportUrl}},[e("span",{directives:[{name:"icon",rawName:"v-icon:download",arg:"download"}]}),e("span",[t._v(t._s(t.texts.exportResults))])]):e("span",{staticClass:"button user-feedback-button is-disabled",attrs:{href:t.generalExportUrl}},[e("span",[e("user-feedback-icon-tooltip",{attrs:{content:t.texts.exportResultsUpgrade}})],1),e("span",[t._v(t._s(t.texts.exportResults))])])],1)])],2),e("user-feedback-wp-notices"),e("div",{staticClass:"screen-wrapper"},[e("div",{staticClass:"data-cards-list"},[e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.survey.responses_count_7_days)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.past7Days))])]),e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.survey.responses_count_30_days)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.past30Days))])]),e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.survey.responses_count)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.totalResponses))])]),e("article",{staticClass:"data-card"},[e("h6",{staticClass:"data-card__value"},[t._v(t._s(t._f("formatNumber")(t.survey.impressions)))]),e("span",{staticClass:"data-card__label"},[t._v(t._s(t.texts.impressions))])])]),e("div",{staticClass:"survey-stats"},t._l(t.survey.question_stats,(function(a){return e("question-stats-card",{key:a.id,attrs:{"survey-id":t.survey.id,question:a}})})),1)])],1):t._e()},Y=[],J={name:"UserFeedbackSurveyResults",components:{QuestionStatsCard:z,UserFeedbackIconTooltip:d.a,UserFeedbackWpNotices:m.a},data(){return{survey:null}},computed:{...Object(l.e)("surveys",["allSurveys"]),generalExportUrl(){return this.$getExportsUrlForSurvey(this.survey.id)},surveyChoices(){return[...this.allSurveys].map(t=>(t.text=t.title,t.handle=()=>{t.id!==this.survey.id&&this.$router.push({name:"survey-results",params:{id:t.id}})},t))},texts(){return{screenTitle:Object(n.a)("Survey Results",this.$textDomain),exportResults:Object(n.a)("Export Results",this.$textDomain),seeIndividualResponses:Object(n.a)("See Individual Responses",this.$textDomain),past7Days:Object(n.a)("Past 7 Days",this.$textDomain),past30Days:Object(n.a)("Past 30 Days",this.$textDomain),totalResponses:Object(n.a)("Total Responses",this.$textDomain),impressions:Object(n.a)("Impressions",this.$textDomain),exportResultsUpgrade:Object(n.d)(Object(n.a)('Upgrade to Pro to unlock Export Results. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("export-results","button"))}}},methods:{...Object(l.b)("surveys",["fetchAllSurveys"]),async fetchSurvey(t){this.survey=await Object(c.d)(t)}},created(){this.$watch(()=>this.$route.params,t=>{this.fetchSurvey(t.id)})},beforeMount(){const{id:t}=this.$route.params;this.fetchSurvey(t),this.allSurveys.length||this.fetchAllSurveys()}},X=J,tt=Object(w.a)(X,K,Y,!1,null,null,null),et=tt.exports,at=function(){var t=this,e=t._self._c;return t.survey?e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.screenTitle))]),t.surveyChoices.length&&t.survey?e("user-feedback-button-dropdown",{attrs:{"button-class":"is-secondary",choices:t.surveyChoices}},[e("template",{slot:"button"},[e("span",[t._v(t._s(t.survey.title))]),e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon is-small"})])],2):t._e()],1),e("template",{slot:"header-end"},[e("div",{staticClass:"screen-header__actions"},[e("router-link",{attrs:{to:{name:"survey-results",params:{id:t.survey.id}}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:arrow-left",arg:"arrow-left"}]}),e("span",[t._v(t._s(t.texts.goBack))])]),t.isPro?t._e():e("span",{staticClass:"button user-feedback-button is-disabled",attrs:{href:t.generalExportUrl}},[e("span",[e("user-feedback-icon-tooltip",{attrs:{content:t.texts.exportResultsUpgrade}})],1),e("span",[t._v(t._s(t.texts.exportResults))])]),t.isPro?e("a",{staticClass:"button user-feedback-button is-link",attrs:{href:t.generalExportUrl}},[e("span",{directives:[{name:"icon",rawName:"v-icon:download",arg:"download"}]}),e("span",[t._v(t._s(t.texts.exportResults))])]):t._e()],1)])],2),e("user-feedback-wp-notices"),e("div",{staticClass:"screen-wrapper"},[e("user-feedback-admin-table",{attrs:{items:t.responses.items,pagination:t.responses.pagination,columns:t.tableColumns,"row-actions":t.rowActions,"bulk-actions":t.tableBulkActions,"quick-filters":t.quickFilters,"current-quick-filter":t.currentQuickFilter,"checkbox-group-name":"response","allow-items-select":t.$uf.is_pro,"allow-select-all":t.$uf.is_pro},on:{"update:currentQuickFilter":function(e){t.currentQuickFilter=e},"update:current-quick-filter":function(e){t.currentQuickFilter=e},"page-change":t.fetchResponses,"quick-filter":()=>{t.fetchResponses()}},scopedSlots:t._u([t.$uf.is_pro?null:{key:"row-end-actions",fn:function(){return[e("td",{staticClass:"has-text-disabled"},[e("span",[e("user-feedback-icon-tooltip",{attrs:{content:t.texts.trashUpgrade}}),e("span",[t._v(" "+t._s(t.texts.deleteResponse))])],1)])]},proxy:!0}],null,!0)})],1)],1):t._e()},it=[],st=a("0792"),rt={name:"UserFeedbackSurveyResponses",components:{UserFeedbackIconTooltip:d.a,UserFeedbackWpNotices:m.a},data(){return{survey:null,responses:{items:[],pagination:null},currentQuickFilter:null,deletingIds:[]}},computed:{...Object(l.e)("surveys",["allSurveys"]),...Object(l.c)(["isPro"]),generalExportUrl(){return this.$getExportsUrlForSurvey(this.survey.id)},tableColumns(){return[{title:Object(n.a)("Title",this.$textDomain),key:"title",isRowTitle:!0,value:t=>Object(n.d)(Object(n.a)("Response #%d",this.$textDomain),t.id),link:{isVue:!0,path:t=>({name:"response",params:{surveyId:this.survey.id,id:t.id}})}},{title:Object(n.a)("Page Submitted",this.$textDomain),key:"page_submitted",value:t=>{const{name:e,url:a}=t.page_submitted;return null!==a?`<a target="_blank" href="${a}">${e}</a>`:e}},{title:Object(n.a)("Date Submitted",this.$textDomain),key:"submitted_at",value:t=>t.submitted_at?this.$getLocalizedDate(t.submitted_at):""},{title:Object(n.a)("Status",this.$textDomain),key:"status",value:t=>{let e=t.status;switch(e){case"publish":e=Object(n.a)("Published",this.$textDomain);break;case"trash":e=Object(n.a)("Trash",this.$textDomain);break}return`<span>\n                        <span class="user-feedback-status-indicator is-${t.status}"></span>\n                        <span>${e}</span>\n                    </span>`}}]},rowActions(){return[{label:Object(n.a)("View",this.$textDomain),isVue:!0,path:function(t){return"responses/"+t},hide:t=>!this.$uf.is_pro||"trash"===t.status},{path:"restore",label:Object(n.a)("Restore",this.$textDomain),handle:this.restoreResponses,hide:t=>"trash"!==t.status},{path:"trash",label:Object(n.a)("Trash",this.$textDomain),handle:this.trashResponses,hide:t=>!this.$uf.is_pro||"trash"===t.status},{path:"delete",label:Object(n.a)("Delete permanently",this.$textDomain),handle:this.deleteResponses,hide:t=>"trash"!==t.status}]},tableBulkActions(){return this.$uf.is_pro?"status:trash"===this.currentQuickFilter?[{label:Object(n.a)("Restore",this.$textDomain),value:"restore",handle:this.restoreResponses},{label:Object(n.a)("Delete Permanently",this.$textDomain),value:"delete",handle:this.deleteResponses}]:[{label:Object(n.a)("Trash",this.$textDomain),value:"trash",handle:this.trashResponses}]:[]},quickFilters(){if(!this.$uf.is_pro)return[];const{status_filters:t}=this.responses;if(!t)return[];const e=t=>{switch(t){case"all":return Object(n.a)("All",this.$textDomain);case"publish":return Object(n.a)("Published",this.$textDomain);case"trash":return Object(n.a)("Trash",this.$textDomain);default:return t}},a=[],i=t.find(t=>"all"===t.status);a.push({attribute:"status",value:i.status,count:i.count,label:e(i.status)});const s=t.find(t=>"publish"===t.status);s&&a.push({attribute:"status",value:s.status,count:s.count,label:e(s.status)});const r=t.find(t=>"trash"===t.status);return r&&a.push({attribute:"status",value:r.status,count:r.count,label:e(r.status)}),a},appliedFilters(){const t=this.currentQuickFilter;if(null===t)return null;const[e,a]=t.split(":");return{[`filter[${e}]`]:a}},surveyChoices(){return[...this.allSurveys].map(t=>(t.text=t.title,t.handle=()=>{t.id!==this.survey.id&&this.$router.push({name:"survey-responses",params:{id:t.id}})},t))},surveyId(){return this.$route.params.id},texts(){return{screenTitle:Object(n.a)("Responses",this.$textDomain),goBack:Object(n.a)("Back to Results",this.$textDomain),exportResults:Object(n.a)("Export Results",this.$textDomain),view:Object(n.a)("View",this.$textDomain),skipped:Object(n.a)("Skipped",this.$textDomain),exportResultsUpgrade:Object(n.d)(Object(n.a)('Upgrade to Pro to unlock Export Results. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("export-results","button")),deleteResponse:Object(n.a)("Delete",this.$textDomain),trashUpgrade:Object(n.d)(Object(n.a)('Upgrade to Pro to unlock this feature. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("trash-response","button"))}}},created(){this.$watch(()=>this.$route.params,t=>{this.fetchResponses(),this.fetchSurvey(t.id)})},beforeMount(){this.fetchSurvey(),this.fetchResponses(),this.allSurveys.length||this.fetchAllSurveys()},methods:{...Object(l.b)("surveys",["fetchAllSurveys"]),async fetchResponses(t={}){const e=Object.assign({page:1,...this.appliedFilters},t);this.responses=await Object(c.c)(this.$route.params.id,e)},async fetchSurvey(){this.survey=await Object(st.d)(this.$route.params.id)},maybeResetFilters(t){t===this.responses.items.length&&(this.currentQuickFilter=null)},trashResponses(t){Array.isArray(t)||(t=[t]),this.deletingIds=t,Object(c.g)(this.survey.id,t).then(async()=>{this.maybeResetFilters(t.length),await this.fetchResponses(),this.deletingIds=[]})},restoreResponses(t){Array.isArray(t)||(t=[t]),this.restoringIds=t,Object(c.f)(this.survey.id,t).then(async()=>{this.maybeResetFilters(t.length),await this.fetchResponses(),this.restoringIds=[]})},deleteResponses(t){Array.isArray(t)||(t=[t]),this.restoringIds=t,Object(c.a)(this.survey.id,t).then(async()=>{this.maybeResetFilters(t.length),await this.fetchResponses(),this.restoringIds=[]})}}},nt=rt,lt=Object(w.a)(nt,at,it,!1,null,null,null),ot=lt.exports,ct=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.screenTitle))]),e("div",{staticClass:"screen-header__actions"},[e("router-link",{attrs:{to:{name:"survey-responses",params:{id:t.surveyId}}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:arrow-left",arg:"arrow-left"}]}),e("span",[t._v(t._s(t.texts.goBack))])])],1)]),e("template",{slot:"header-end"},[e("user-feedback-page-navigator",{attrs:{"current-page":t.currentPage,"total-pages":t.responses.items.length},on:{prev:t.showPreviousResponse,next:t.showNextResponse}},[e("span",{attrs:{slot:"desc"},slot:"desc"},[t._v(t._s(t.texts.pageIndicator))]),e("span",{directives:[{name:"icon",rawName:"v-icon:chevron-left",arg:"chevron-left"}],attrs:{slot:"prev-button"},slot:"prev-button"}),e("span",{directives:[{name:"icon",rawName:"v-icon:chevron-right",arg:"chevron-right"}],attrs:{slot:"next-button"},slot:"next-button"})])],1)],2),e("user-feedback-wp-notices"),e("div",{staticClass:"screen-wrapper"},[t.survey&&t.currentResponse?e("div",{staticClass:"admin-layout"},[e("main",[e("section",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h6",{staticClass:"admin-card__title"},[t._v(t._s(t.survey.title))])]),e("section",{staticClass:"stripped-list"},t._l(t.survey.questions,(function(a){return e("article",{key:a.id,staticClass:"stripped-item"},[e("div",{staticClass:"stripped-item__label"},[t._v(t._s(a.title))]),e("div",{staticClass:"stripped-item__value",domProps:{innerHTML:t._s(t.getQuestionAnswer(a))}})])})),0)])]),e("aside",[e("section",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h6",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.responseDetails))])]),t.currentResponse?e("section",{staticClass:"admin-card__body"},[e("p",[e("span",[t._v(t._s(t.texts.submitted))]),t._v(" "),e("b",[t._v(t._s(t._f("formatDate")(t.currentResponse.submitted_at,!0)))])]),e("p",[e("span",[t._v(t._s(t.texts.pageSubmitted)+" ")]),t.currentResponse.page_submitted.link&&t.currentResponse.page_submitted.title?e("span",[e("a",{attrs:{target:"_blank",href:t.sanitizeLink(t.currentResponse.page_submitted.link)}},[t._v(t._s(t.currentResponse.page_submitted.title))])]):e("span",[null!==t.currentResponse.page_submitted.url?e("b",[e("a",{attrs:{target:"_blank",href:t.currentResponse.page_submitted.url}},[t._v(t._s(t.currentResponse.page_submitted.name))])]):e("b",[t._v(t._s(t.currentResponse.page_submitted.name))])])]),e("p",[e("span",[t._v(t._s(t.texts.userIp))]),t._v(" "),e("b",[t._v(t._s(t.currentResponse.user_ip))])]),e("p",[e("span",[t._v(t._s(t.texts.browser))]),t._v(" "),e("b",[t._v(t._s(t.currentResponse.user_browser))])]),e("p",[e("span",[t._v(t._s(t.texts.os))]),t._v(" "),e("b",[t._v(t._s(t.currentResponse.user_os))])]),e("p",[e("span",[t._v(t._s(t.texts.device))]),t._v(" "),e("b",[t._v(t._s(t.currentResponse.user_device))])])]):t._e()])])]):t._e()])],1)},ut=[];const dt=(t,e="")=>{const a=`<small><i>${e}</i></small>`;if(!t)return a;const{value:i}=t;return null===i?a:Array.isArray(i)?i.join(", "):i};var mt={name:"UserFeedbackSingleResponse",components:{UserFeedbackWpNotices:m.a},data(){return{responses:{items:[],pagination:null},survey:null}},computed:{currentPage(){return this.currentResponseIndex+1},currentResponseIndex(){return this.responses.items.findIndex(t=>t.id===this.responseId)},currentResponse(){return this.responses.items[this.currentResponseIndex]},surveyId(){return this.$route.params.surveyId},responseId(){return this.$route.params.id},texts(){return{screenTitle:Object(n.d)(Object(n.a)("Response #%d",this.$textDomain),this.responseId),goBack:Object(n.a)("Back to All Responses",this.$textDomain),pageIndicator:Object(n.d)(Object(n.a)("Response %d of %d",this.$textDomain),this.currentPage,this.responses.items.length),responseDetails:Object(n.a)("Response Details",this.$textDomain),submitted:Object(n.a)("Submitted:",this.$textDomain),pageSubmitted:Object(n.a)("Page Submitted:",this.$textDomain),userIp:Object(n.a)("User IP:",this.$textDomain),browser:Object(n.a)("Browser:",this.$textDomain),os:Object(n.a)("OS:",this.$textDomain),device:Object(n.a)("Device:",this.$textDomain),skipped:Object(n.a)("Skipped",this.$textDomain),comments:Object(n.a)("Comments",this.$textDomain)}}},methods:{sanitizeLink(t){const e=/javascript:[^<"]*/gi,a=t.replace(e,"");return a},getQuestionAnswer(t){const e=this.currentResponse.answers.find(e=>e.question_id===t.id),a=dt(e,this.texts.skipped);if(!e)return a;const{extra:i}=e;let s="<div>";return"email"===t.type&&i&&i.hasOwnProperty("name")?s+=`${a}<i> - ${i.name}</i>`:s+=`<p>${a}</p>`,i&&i.hasOwnProperty("comments")&&(s+=`<hr><p><b>${this.texts.comments}</b></p><p>${i.comments}</p>`),s+="</div>",s},navigateToResponse(t){this.$router.push({name:"response",params:{surveyId:this.surveyId,id:t}})},showPreviousResponse(){if(0===this.currentResponseIndex)return;const t=this.responses.items[this.currentResponseIndex-1];this.navigateToResponse(t.id)},showNextResponse(){if(this.currentResponseIndex===this.responses.items.length-1)return;const t=this.responses.items[this.currentResponseIndex+1];this.navigateToResponse(t.id)},async fetchResponses(t={}){const e=Object.assign({page:1,per_page:-1},t);this.responses=await Object(c.c)(this.surveyId,e)},async fetchSurvey(){this.survey=await Object(st.d)(this.surveyId)}},created(){},beforeMount(){this.fetchSurvey(),this.fetchResponses()}},gt=mt,pt=Object(w.a)(gt,ct,ut,!1,null,null,null),vt=pt.exports;const ht=new i.a({routes:[{path:"/",component:W,name:"results-overview"},{path:"/survey/:id",component:et,name:"survey-results"},{path:"/survey/:id/responses",component:ot,name:"survey-responses"},{path:"/survey/:surveyId/responses/:id",component:vt,name:"response"}]})},"33e7":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("LineChartGenerator",{attrs:{"chart-options":t.chartOptions,"chart-data":t.chartData,"chart-id":t.chartId,"dataset-id-key":t.datasetIdKey,plugins:t.plugins,"css-classes":t.cssClasses,styles:t.styles,width:t.width,height:t.height}})},s=[],r=a("7b97"),n=a("7c9b"),l=a("dd61");l.f.register(l.q,l.r,l.h,l.j,l.k,l.e,l.m);var o={name:"LineChart",components:{LineChartGenerator:r.b},props:{chartData:{type:Object,required:!0},options:{type:Object,default:()=>{}},chartId:{type:String,default:"line-chart"},datasetIdKey:{type:String,default:"label"},width:{type:Number,default:400},height:{type:Number,default:400},cssClasses:{default:"",type:String},styles:{type:Object,default:()=>{}},plugins:{type:Array,default:()=>[]},inlineTooltip:{type:Boolean,default:!1}},computed:{chartOptions(){return Object(n.a)(this.baseOptions,this.options)}},data(){return{baseOptions:{plugins:{legend:{display:!1},tooltip:{enabled:!1,external:function(t){const e=this.chartId+"-chartjs-tooltip",a=this.inlineTooltip;let i=document.getElementById(e);i||(i=document.createElement("div"),i.id=e,i.style.padding=0,i.style.backgroundColor="white",i.style.border="1px solid #ddd",i.style.borderRadius="5px",i.style.boxShadow="0px 5px 15px rgba(0, 0, 0, 0.05), 0px 15px 35px rgba(0, 0, 0, 0.1)",i.classList.add("userfeedback-chart-tooltip"),i.innerHTML='<div class="userfeedback-chart-tooltip__body" style="padding: 16px"></div>',document.body.appendChild(i));const s=t.tooltip;if(0!==s.opacity){if(i.classList.remove("above","below","no-transform"),s.yAlign?i.classList.add(s.yAlign):i.classList.add("no-transform"),s.body){const t=s.title||[],e=s.body.map(r);let n="<div>";const l=a?"margin: 0 8px 0 0;":"margin: 0 0 8px 0;";t.forEach((function(t){n+='<h6 style="font-size: 13px; color: #7e7e7e; font-weight: normal; '+l+'">'+t+"</h6>"})),n+="</div>",e.forEach((function(t,e){const a=`<span style="font-size: 14px; font-weight: bold; color: #23282D;">${t}</span>`;n+=a})),n+="</div>";const o=i.querySelector(".userfeedback-chart-tooltip__body");a&&(o.style.display="flex",o.style.alignItems="center"),o.innerHTML=n;const c=this.chart.canvas.getBoundingClientRect(),u=16,d=-40;i.style.opacity=1,i.style.position="absolute",i.style.left=c.left+window.pageXOffset+s.caretX+u+"px",i.style.right=null,i.style.top=c.top+window.pageYOffset+s.caretY+d+"px",i.style.fontSize="14px",i.style.pointerEvents="none";const m=i.getBoundingClientRect();m.right>c.right&&(i.style.left=c.left+window.pageXOffset+s.caretX-u-m.width+"px")}}else i.style.opacity=0;function r(t){return t.lines}}}},scales:{xAxes:{ticks:{maxRotation:90,minRotation:30}}},datasets:{line:{backgroundColor:"#2D87F1",borderColor:"#2D87F1"}},responsive:!0,maintainAspectRatio:!1}}}},c=o,u=a("2877"),d=Object(u.a)(c,i,s,!1,null,null,null);e.a=d.exports},3780:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("thead",[e("tr",[t.allowSelectAll?e("td",{staticClass:"manage-column column-cb check-column",attrs:{id:"cb"}},[e("label",{staticClass:"screen-reader-text",attrs:{for:"cb-select-all-1"}},[t._v(t._s(t.texts.selectAll))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.isSelectingAll,expression:"isSelectingAll"}],attrs:{id:"cb-select-all-1",type:"checkbox"},domProps:{checked:Array.isArray(t.isSelectingAll)?t._i(t.isSelectingAll,null)>-1:t.isSelectingAll},on:{click:function(e){return e.stopPropagation(),t.selectAll.apply(null,arguments)},change:function(e){var a=t.isSelectingAll,i=e.target,s=!!i.checked;if(Array.isArray(a)){var r=null,n=t._i(a,r);i.checked?n<0&&(t.isSelectingAll=a.concat([r])):n>-1&&(t.isSelectingAll=a.slice(0,n).concat(a.slice(n+1)))}else t.isSelectingAll=s}}})]):t._e(),t._l(t.columns,(function(a,i){return e("th",{key:i,staticClass:"manage-column column-title column-primary",class:{sortable:a.sortable,sorted:t.orderby===a.key,[t.order]:!0},attrs:{scope:"col",id:a.key}},[a.sortable?[e("a",{attrs:{href:"javascript:",role:"button"},on:{click:e=>{t.changeSort(a.key,e)}}},[e("span",[t._v(t._s("function"===typeof a.title?a.title():a.title))]),a.sorting?e("span",{staticClass:"sorting-indicators"},[a.sorting===a.key+"-asc"?e("span",{staticClass:"sorting-indicator asc",attrs:{"aria-hidden":"true"}}):(a.sorting,a.key,e("span",{staticClass:"sorting-indicator desc",attrs:{"aria-hidden":"true"}}))]):t._e()])]:e("span",[t._v(t._s("function"===typeof a.title?a.title():a.title))])],2)})),t.hasActionsColumn?e("th",[t._v(t._s(t.texts.actions))]):t._e()],2)])},s=[],r=a("561c"),n=a("557c"),l={name:"AdminTableHead",mixins:[n.a],props:{allowSelectAll:{type:Boolean,default:!0},columns:{type:Array,required:!0},orderby:{type:String},order:{type:String}},computed:{texts(){return{selectAll:Object(r.a)("Select All",this.$_textDomain),actions:Object(r.a)("Actions",this.$_textDomain)}}},methods:{changeSort(t,e){e.target.closest("a").blur(),t===this.orderby?this.$emit("update:order","desc"===this.order?"asc":"desc"):this.$emit("update:orderby",t)}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e["default"]=u.exports},"38de":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"input-select field"},[e("div",{staticClass:"input-select__label"},[t._t("label")],2),e("div",{staticClass:"input-select__field"},[e("multiselect",{attrs:{options:t.options,multiple:t.multiple,"track-by":"value",label:"label",placeholder:t.placeholder,searchable:!1,selectLabel:"",selectedLabel:"",deselectLabel:"",disabled:t.disabled},scopedSlots:t._u([{key:"selection",fn:function({search:a,remove:i,values:s}){return[e("div",{staticClass:"multiselect__tags-wrap"},[t._l(s,(function(a,s){return[e("span",{key:s,class:t.tagClass(a.value)},[e("span",{domProps:{textContent:t._s(a.label)}}),e("i",{staticClass:"multiselect__tag-icon",attrs:{"aria-hidden":"true",tabindex:"0",role:"button"},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),i(a))},mousedown:function(t){return t.preventDefault(),i(a)}}})])]}))],2)]}}]),model:{value:t.innerValue,callback:function(e){t.innerValue=e},expression:"innerValue"}})],1)])},s=[],r=(a("14d9"),a("8e5f")),n=a.n(r),l={name:"InputSelect",components:{Multiselect:n.a},props:{options:{type:Array,required:!0},forced:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},value:{type:[Object,Array,String]},placeholder:{type:String,default:"Select an option"}},computed:{innerValue:{get(){return this.value},set(t){if(this.multiple){const e=[...t];for(const t of this.forced)-1===e.findIndex(e=>e.value===t.value)&&e.unshift(t);this.$emit("input",e)}else this.$emit("input",t)}}},methods:{isForced(t){return this.forced.findIndex(e=>e.value===t)>-1},tagClass(t){const e=["multiselect__tag"];return this.isForced(t)&&e.push("is-forced"),e}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e["default"]=u.exports},"3c38":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"admin-table__navigation tablenav"},[t.bulkActions.length>0?e("div",{staticClass:"alignleft actions bulkactions"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-top"}},[t._v(t._s(t.texts.selectBulkAction))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.ownSelectedAction,expression:"ownSelectedAction"}],attrs:{name:"action",id:"bulk-action-selector-top"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.ownSelectedAction=e.target.multiple?a:a[0]}}},[e("option",{attrs:{value:"-1"}},[t._v(t._s(t.texts.bulkActions))]),t._l(t.bulkActions,(function(a){return e("option",{key:a.value,domProps:{value:a.value}},[t._v(t._s(a.label))])}))],2),e("input",{staticClass:"button action",attrs:{type:"button",id:"doaction",value:t.texts.apply},on:{click:function(e){return t.$emit("apply-action")}}})]):t._e(),e("div",{staticClass:"tablenav-pages",class:{"one-page":1===t.pagination.pages}},[e("span",{staticClass:"displaying-num"},[t._v(t._s(t.texts.itemsCount))]),t.pagination.pages>1?e("span",{staticClass:"pagination-links"},[1==t.pagination.page?[e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("«")]),e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("‹")])]:[e("a",{staticClass:"first-page button",attrs:{href:"javascript:",role:"button"},on:{click:function(e){return t.goToPage(1)}}},[e("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.texts.firstPage))]),e("span",{attrs:{"aria-hidden":"true"}},[t._v("«")])]),e("a",{staticClass:"prev-page button",attrs:{href:"javascript:",role:"button"},on:{click:t.goToPrev}},[e("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.texts.prevPage))]),e("span",{attrs:{"aria-hidden":"true"}},[t._v("‹")])])],e("span",{staticClass:"paging-input"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"current-page-selector"}},[t._v(t._s(t.texts.currentPage))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.currentPage,expression:"currentPage"}],staticClass:"current-page",attrs:{id:"current-page-selector",type:"text",name:"paged",size:"1","aria-describedby":"table-paging",max:t.pagination.pages},domProps:{value:t.currentPage},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.goToPage(t.currentPage)},input:function(e){e.target.composing||(t.currentPage=e.target.value)}}}),e("span",{staticClass:"tablenav-paging-text"},[t._v(" "+t._s(t.texts.of)+" "),e("span",{staticClass:"total-pages"},[t._v(t._s(t.pagination.pages))])])]),t.pagination.page==t.pagination.pages?[e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("›")]),e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("»")])]:[e("a",{staticClass:"next-page button",attrs:{href:"javascript:",role:"button"},on:{click:t.goToNext}},[e("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.texts.nextPage))]),e("span",{attrs:{"aria-hidden":"true"}},[t._v("›")])]),e("a",{staticClass:"last-page button",attrs:{href:"javascript:",role:"button"},on:{click:function(e){return t.goToPage(t.pagination.pages)}}},[e("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.texts.lastPage))]),e("span",{attrs:{"aria-hidden":"true"}},[t._v("»")])])]],2):t._e()])])},s=[],r=a("561c"),n={name:"AdminTableNavigation",props:{selectedAction:{type:[String,Number]},bulkActions:{type:Array,default:()=>[]},pagination:{type:Object,default:()=>({})}},data(){return{currentPage:1}},computed:{texts(){return{selectBulkAction:Object(r.a)("Select bulk action",this.$_textDomain),bulkActions:Object(r.a)("Bulk Actions",this.$_textDomain),apply:Object(r.a)("Apply",this.$_textDomain),itemsCount:Object(r.d)(Object(r.a)("%d items",this.$_textDomain),this.pagination.total),currentPage:Object(r.a)("Current Page",this.$_textDomain),firstPage:Object(r.a)("First Page",this.$_textDomain),prevPage:Object(r.a)("Previous Page",this.$_textDomain),nextPage:Object(r.a)("Next Page",this.$_textDomain),lastPage:Object(r.a)("Last Page",this.$_textDomain),of:Object(r.a)("of",this.$_textDomain)}},ownSelectedAction:{get(){return this.selectedAction},set(t){this.$emit("update:selectedAction",t)}}},methods:{goToPrev(){this.$emit("page-change",Number.parseInt(this.pagination.page)-1)},goToNext(){this.$emit("page-change",Number.parseInt(this.pagination.page)+1)},goToPage(t){this.$emit("page-change",t)}},mounted(){this.currentPage=this.pagination.page},watch:{"pagination.page"(t){this.currentPage=t}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"3e71":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"userfeedback-notices"},t._l(t.notices,(function(a){return e("div",{key:a.id},[e("user-feedback-notice",{class:["notice-"+a.id],attrs:{notice:a,id:a.id,icon:a.icon,type:a.type,closable:a.isClosable,bordered:!1},on:{closed:t.onNoticeClose}},[e("span",{domProps:{innerHTML:t._s(a.content)}})])],1)})),0)},s=[],r=a("2f62"),n=a("bbab"),l={name:"UserFeedbackNotices",components:{UserFeedbackNotice:n.a},computed:{...Object(r.e)({notices:t=>Object.values(t.notices.notices)})},methods:{onNoticeClose(t){const e=this.notices.find(e=>e.id===t);e&&e.hasOwnProperty("onClose")&&"function"===typeof e.onClose&&setTimeout(()=>{e.onClose()},500)}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e.a=u.exports},"3e90":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("button",{staticClass:"button button user-feedback-button is-flat notifications-trigger",on:{click:t.toggleDrawer}},[e("span",{directives:[{name:"icon",rawName:"v-icon:inbox",arg:"inbox"}]}),e("span",{staticClass:"notifications-count"},[t._v(t._s(t.active.length))])])},s=[],r=a("2f62"),n={name:"UserFeedbackNotificationsToggle",computed:{...Object(r.e)({active:t=>{var e;return null!==(e=t.notifications.active)&&void 0!==e?e:[]}})},methods:{...Object(r.d)(["toggleDrawer"])}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e.a=c.exports},4095:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"radio-cards"},t._l(t.options,(function(a,i){return e("label",{key:i,staticClass:"radio-card"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"radio"},domProps:{value:a.value,checked:t._q(t.innerValue,a.value)},on:{change:function(e){t.innerValue=a.value}}}),e("span",{staticClass:"radio-card__content"},[t._t("card-content",null,{item:a})],2)])})),0)},s=[],r={name:"RadioCards",props:{options:{type:Array,required:!0,validator:t=>t.every(t=>t.hasOwnProperty("value"))},value:{type:[String,Number]}},computed:{innerValue:{get(){return this.value},set(t){this.$emit("input",t)}}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},4279:function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));var i=a("a026"),s=a("bc3a"),r=a.n(s);const n=t=>new Promise((e,a)=>{const s=new FormData;for(const i in t)s.append(i,t[i]);s.has("nonce")||s.append("nonce",i.a.prototype.$uf.nonce),r.a.post(i.a.prototype.$uf.ajax_url,s).then(t=>{void 0===t.data.success||t.data.success?e(t.data):a(t.data)}).catch(t=>{})})},4368:function(t,e,a){"use strict";e.a={props:{disabled:{type:Boolean,default:!1},inputValue:{type:[String,Number]},value:{type:[Boolean,Array,String,Number],default:!1},faux:{type:Boolean,default:!1}},computed:{innerValue:{get(){return this.faux?void 0===this.inputValue||this.inputValue:this.value},set(t){this.faux||this.$emit("input",t)}},fieldId(){return this.$attrs.id?this.$attrs.id:"field-toggle-"+this._uid},fieldBindings(){return{...this.$attrs,id:this.fieldId}}}}},4501:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"inline-fields"},[e("div",{staticClass:"field"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"input",attrs:{type:"text",readonly:""},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}})]),t.hasValue?t._e():e("div",{staticClass:"field"},[e("button",{staticClass:"button user-feedback-button",on:{click:t.uploadImage}},[t._t("upload-button",(function(){return[t._v(t._s(t.texts.uploadImage))]}))],2)])]),t._t("before-preview"),t.hasValue?e("figure",{staticClass:"settings-block__preview"},[e("img",{attrs:{src:t.value}})]):t._e(),t.hasValue?e("div",{staticClass:"inline-fields"},[e("div",{staticClass:"field"},[e("button",{staticClass:"button user-feedback-button",on:{click:t.uploadImage}},[t._t("change-button",(function(){return[t._v(t._s(t.texts.chooseAnother))]}))],2)]),e("div",{staticClass:"field"},[e("button",{staticClass:"button user-feedback-button is-secondary",on:{click:t.reset}},[t._t("reset-button",(function(){return[t._v(t._s(t.texts.reset))]}))],2)])]):t._e()],2)},s=[],r=a("561c"),n={name:"ImageUploader",props:{value:{type:String},uploaderSettings:{type:Object,default:()=>({})}},computed:{texts(){return{uploadImage:Object(r.a)("Upload Image",this.$textDomain),chooseAnother:Object(r.a)("Choose another image",this.$_textDomain),reset:Object(r.a)("Reset",this.$_textDomain)}},hasValue(){return this.value&&""!==this.value}},methods:{reset(){this.$emit("input","")},uploadImage(){const t={uploaderTitle:Object(r.a)("Select or upload image",this.$_textDomain),uploaderButton:Object(r.a)("Set Image",this.$_textDomain),multiple:!1,...this.uploaderSettings},e=wp.media({title:t.uploaderTitle,button:{text:t.uploaderButton},multiple:t.multiple}).on("select",()=>{const t=e.state().get("selection").first().toJSON();this.$emit("input",t.url)}).open()}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"4a98":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.close,expression:"close"}],staticClass:"button-dropdown"},[e("button",{class:`button ${t.$_classPrefix}-button ${t.buttonClass}`,attrs:{type:"button"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.close.apply(null,arguments)},click:t.toggle}},[t._t("button")],2),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"button-dropdown__list"},t._l(t.choices,(function(a,i){return e("button",{key:i,class:`button button-dropdown__item ${t.$_classPrefix}-button ${t.buttonClass}`,attrs:{type:"button",disabled:a.disabled},on:{click:function(e){return t.onChoiceClick(a)}}},[t._t("item-content",(function(){return[t._v(t._s(a.text))]}),{item:a})],2)})),0)])},s=[],r={name:"ButtonDropdown",props:{buttonClass:{type:[String]},choices:{type:Array,required:!0,validator(t){return t.every(t=>t.hasOwnProperty("text")&&t.hasOwnProperty("handle"))}}},data(){return{isOpen:!1}},methods:{toggle(){this.isOpen=!this.isOpen},open(){this.isOpen=!0},close(){this.isOpen=!1},onChoiceClick(t){this.isOpen=!1,t.handle()}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},"4d7b":function(t,e,a){"use strict";a.d(e,"b",(function(){return g})),a.d(e,"a",(function(){return v}));a("14d9");var i=a("0792"),s=a("ab89"),r=a("274d"),n=a("0b5f"),l=a("bf14"),o=a("7c9b"),c=a("5464"),u=a("561c");const d=t=>{const e={...t},{questions:a,settings:i,notifications:s}=e,{addons:r,license_type:n}=window.userfeedback;for(const l in a){const t=a[l],e=r["question-types"].active,i=["nps","star-rating"].includes(t.type);e||!i?e||(t.settings.randomize=!1,t.settings.comment_box=!1):a.splice(l,1)}const o=Object(l.b)(),c=r.targeting.active;c||(i.targeting=o.settings.targeting);const u=r.branding.active;u||(i.theming=o.settings.theming);const d=r.behavior.active;d||(i.behavior=o.settings.behavior);const m="pro"===n;return m||(s.email.logic=o.notifications.email.logic),e},m=t=>t&&t.length>0&&t.every(t=>t.toString().length>0),g=(t,e=null)=>{let a=!0;a=a&&t.title.length>0;const{type:i,config:s}=t,r=s?s.options:e;switch(i){case"radio-button":a=a&&m(r);break;case"checkbox":a=a&&m(r);break}return a},p=(t,e)=>{if("setup"===t)return null!==e.template;if("settings"===t&&"all"!==e.settings.targeting.pages){const t=e.settings.targeting.page_rules.map(t=>!t.data);if(t.includes(!0))return!1}if("questions"===t){let t=e.questions.length>0;const{questions:a,settings:i}=e;a.forEach(e=>{t=t&&g(e)});const{type:s,message:r,redirect_to:n}=i.thank_you;return("message"===s&&!r.length||"redirect"===s&&null===n.id)&&(t=!1),t}return"notifications"!==t||(!(e.notifications.email.active&&e.notifications.email.addresses.length>0)||Object(c.a)(e.notifications.email.addresses))},v={namespaced:!0,state:()=>({isLoading:!1,isSaving:!1,initAt:null,isNewSurvey:!1,currentStepKey:null,steps:[...r.a],survey:Object(l.b)(),loadedSurvey:!1,templates:[],lastManualSave:null,defaultSurveyTheme:{},globalSettings:{}}),getters:{canContinue(t){const{currentStepKey:e,survey:a}=t;return p(e,a)},canGoBack(t,e){return t.isNewSurvey?e.currentStepIndex>0:e.currentStepIndex>1},currentStepIndex(t){const{steps:e}=t;return e.findIndex(e=>e.key===t.currentStepKey)},prevStep(t,e){const{steps:a}=t,{currentStepIndex:i}=e;return i>-1?a[i-1]:null},prevStepRouteName(t,e){const{prevStep:a}=e;if(!a)return null;const{key:i}=a;return"setup"!==i?"edit-survey-"+i:"new-survey-setup"},nextStep(t,e){const{steps:a}=t,{currentStepIndex:i}=e;return i>-1&&i<a.length-1?a[i+1]:null},nextStepRouteName(t,e){const{nextStep:a}=e;return a?"edit-survey-"+a.key:null},integrations(t,e,a){return a.$uf.integrations}},mutations:{init(t){t.initAt=new Date,t.loadedSurvey=!1},resetBuilder(t){t.initAt=null,t.isNewSurvey=!1,t.currentStepKey=null,t.survey=Object(l.b)(),t.loadedSurvey=!1},setSurvey(t,e){const a=Object(o.a)(Object(l.b)(),e);t.isNewSurvey&&(a.settings.theming={...a.settings.theming,...t.defaultSurveyTheme},a.settings.behavior={...a.settings.behavior,start_minimized:t.globalSettings.widget_start_minimized}),t.survey=a,t.loadedSurvey=!0},applySurveyTemplate(t,e){const a=t.templates[e];if(a&&a.config.hasOwnProperty("questions")){const{questions:i}=a.config,s=[];i.forEach(t=>{const e={...Object(n.a)(t.type),...t};s.push(e)}),"blank"!==e&&(t.survey.title=a.name),t.survey.questions=s}},setIsLoading(t,e){t.isLoading=e},setIsNewSurvey(t,e){t.isNewSurvey=e},setCurrentStepKey(t,e){t.currentStepKey=e},updateSurveyProperty(t,{property:e,value:a}){t.survey[e]=a},updateTemplates(t,e){t.templates=e},updateDefaultSurveyTheme(t,e){t.defaultSurveyTheme=e},updateGlobalSettings(t,e){t.globalSettings=e},updateLastManualSave(t){t.lastManualSave=new Date},updateQuestionProperty(t,{id:e,property:a,value:i}){const{questions:s}=t.survey,r=s.findIndex(t=>t.id===e);r>-1&&(s[r][a]=i),t.survey.questions=[...s]},setIsSaving(t,e=!1){t.isSaving=e}},actions:{initBuilder({state:t,commit:e,dispatch:a},i=null){const s=null===i;a("fetchSurveyTemplates"),a("fetchSettings"),e("init"),e("setIsNewSurvey",s),s||a("fetchSurvey",i)},fetchSettings({commit:t}){Object(s.d)().then(e=>{t("updateGlobalSettings",e);const{widget_button_color:a,widget_color:i,widget_show_logo:s,widget_text_color:r,widget_theme:n}=e;t("updateDefaultSurveyTheme",{button_color:a,widget_color:i,show_logo:s,text_color:r,color_scheme:n})})},fetchSurveyTemplates({commit:t}){Object(i.e)().then(e=>{t("updateTemplates",e)})},fetchSurvey({commit:t},e){t("setIsLoading",!0),Object(i.d)(e).then(e=>{t("setSurvey",e),t("setIsLoading",!1)})},saveSurvey:async({state:t,commit:e},a=!1)=>{e("setIsSaving",!0);const s=null===t.survey.id,{status:r}=t.survey;let n={published:!0,message:""};if(a){const a=p("questions",t.survey);if(!a&&"publish"===r){const t=Object(u.a)("The Survey can't be published: Some questions are missing options.","userfeedback");e("updateSurveyProperty",{property:"status",value:"draft"}),n={published:!1,message:t}}}const l=await Object(i.i)(d(t.survey));return s&&e("setSurvey",l),a&&e("updateLastManualSave"),e("setIsSaving",!1),n},updateSurveyProperty:async({state:t,commit:e,dispatch:a},{property:i,value:s,saveRemote:r=!0})=>{e("updateSurveyProperty",{property:i,value:s}),r&&a("saveSurvey")},addBlankQuestion:async({state:t,dispatch:e},a)=>{const i=t.survey.questions;i.length&&e("saveSurvey");const s=Object(n.a)(a);return e("updateSurveyProperty",{property:"questions",value:[...i,s],saveRemote:!1}),s.id},updateQuestionConfig({state:t,commit:e},{id:a,property:i,value:s}){const{questions:r}=t.survey,n=r.findIndex(t=>t.id===a);n>-1&&(r[n].config[i]=s),e("updateSurveyProperty",{property:"questions",value:[...r]})},clearQuestionConfig({state:t,commit:e},a){const{questions:i}=t.survey,s=i.findIndex(t=>t.id===a);if(s>-1){const t=i[s],{type:e}=t;["radio-button","checkbox"].includes(e)?t.config={options:[]}:t.config={}}e("updateSurveyProperty",{property:"questions",value:[...i]})},clearQuestionBasedLogic({state:t},e){const{questions:a,notifications:{email:i}}=t.survey;for(const r of a){const t=r.logic.conditions;for(const[a,i]of t.entries())i.question_id===e&&(t.splice(a,1),0===t.length&&(r.logic.enabled=!1))}const{logic:{conditions:s}}=i;for(const[r,n]of s.entries())n.question_id===e&&(s.splice(r,1),0===s.length&&(i.logic.enable=!1))},deleteQuestion({state:t,commit:e,dispatch:a},i){const{questions:s}=t.survey;a("clearQuestionBasedLogic",i);const r=s.findIndex(t=>t.id===i);r>-1&&s.splice(r,1),e("updateSurveyProperty",{property:"questions",value:[...s]}),a("saveSurvey")},installMonsterInsights:async({dispatch:t})=>(await t("saveSurvey"),Object(s.f)({slug:"google-analytics-for-wordpress"})),installExactMetrics:async({dispatch:t})=>(await t("saveSurvey"),Object(s.f)({slug:"google-analytics-dashboard-for-wp"}))}}},"53ad":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("user-feedback-notifications-drawer",{attrs:{"active-notifications":t.active,"dismissed-notifications":t.dismissed,"is-open":t.showDrawer},on:{dismiss:t.dismissNotification,action:t.performNotificationAction,close:t.closeDrawer},scopedSlots:t._u([{key:"empty-notifications",fn:function(){return[e("span",{directives:[{name:"icon",rawName:"v-icon:notifications-empty",arg:"notifications-empty"}]}),e("span",[t._v(t._s(t.texts.noNotifications))])]},proxy:!0}])})},s=[],r=a("561c"),n=a("2f62"),l={name:"UserFeedbackNotifications",computed:{...Object(n.e)({active:t=>t.notifications.active,dismissed:t=>t.notifications.dismissed,viewUrl:t=>t.notifications.viewUrl,sidebarUrl:t=>t.notifications.sidebarUrl,showDrawer:t=>t.notifications.showDrawer}),texts(){return{noNotifications:Object(r.a)("No notifications",this.$textDomain)}}},beforeMount(){this.fetchNotifications()},mounted(){const t=window.location.search;if("undefined"!==typeof t){const e=new URLSearchParams(t),a=e.get("open");"undefined"===typeof a||"userfeedback_notifications"!==a||this.showDrawer||this.toggleDrawer()}},methods:{...Object(n.d)(["closeDrawer","toggleDrawer"]),...Object(n.b)(["fetchNotifications","dismissNotification","performNotificationAction"])}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e.a=u.exports},5441:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("aside",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"notifications-drawer"},[e("section",{staticClass:"notifications-drawer__wrapper"},[e("header",{staticClass:"notifications-drawer__header"},[e("div",{staticClass:"notifications-drawer__header-start"},[e("span",{directives:[{name:"icon",rawName:"v-icon:inbox",arg:"inbox"}]}),e("h4",{staticClass:"notifications-drawer__title"},[t._v(t._s(t.title))])]),e("div",{staticClass:"notifications-drawer__header-end"},[e("button",{staticClass:"button is-link",class:t.$_classPrefix+"-button",on:{click:t.toggleDismissed}},[t._v(t._s(t.dismissedToggleText))]),e("button",{staticClass:"button is-link notifications-drawer__close",class:t.$_classPrefix+"-button",on:{click:t.emitClose}},[e("span",{directives:[{name:"icon",rawName:"v-icon:close",arg:"close"}]})])])]),e("section",{staticClass:"notifications-drawer__content"},[e("header",{staticClass:"notifications-drawer__subheader"},[e("div",{staticClass:"notifications-drawer__subheader-start"},[e("span",{staticClass:"notifications-count",class:{"is-dismissed":t.showDismissed,"is-empty":!t.showDismissed&&!t.notificationsCount}},[t.showDismissed?e("span",[t._v(t._s(t.dismissedCount))]):e("span",[t._v(t._s(t.notificationsCount))])]),e("h5",[t._v(t._s(t.texts.notifications))])]),e("div",{staticClass:"notifications-drawer__subheader-end"},[!t.showDismissed&&t.notificationsCount?e("button",{staticClass:"button is-link",class:t.$_classPrefix+"-button",on:{click:t.dismissAll}},[t._v(t._s(t.texts.dismissAll))]):t._e()])]),t.displayedNotifications.length>0?e("section",{staticClass:"notifications-drawer__list"},t._l(t.displayedNotifications,(function(a){return e("notification-item",{key:a.id,attrs:{"is-dismissed":t.showDismissed,notification:a},on:{dismiss:t.dismissNotification,action:t.performNotificationAction,"action-clicked":t.emitClose}})})),1):e("section",{staticClass:"notifications-drawer__empty"},[t._t("empty-notifications")],2)])])])},s=[],r=a("561c"),n=a("6cd8"),l={name:"NotificationsDrawer",components:{NotificationItem:n["default"]},props:{isOpen:{type:Boolean,default:!1},activeNotifications:{type:Array,required:!0,default:()=>[]},dismissedNotifications:{type:Array,required:!0,default:()=>[]}},data(){return{showDismissed:!1}},computed:{displayedNotifications(){return this.showDismissed?this.dismissedNotifications:this.activeNotifications},notificationsCount(){return this.activeNotifications.length},dismissedCount(){return this.dismissedNotifications.length},title(){return this.showDismissed?this.texts.dismissed:this.texts.inbox},dismissedToggleText(){return this.showDismissed?this.texts.backToInbox:this.texts.viewDismissed},texts(){return{inbox:Object(r.a)("Inbox",this.$_textDomain),dismissed:Object(r.a)("Dismissed",this.$_textDomain),viewDismissed:Object(r.a)("View Dismissed",this.$_textDomain),backToInbox:Object(r.a)("Back to Inbox",this.$_textDomain),notifications:Object(r.a)("Notifications",this.$_textDomain),dismissAll:Object(r.a)("Dismiss All",this.$_textDomain)}}},methods:{dismissNotification(t){this.$emit("dismiss",t)},dismissAll(){this.$emit("dismiss","all")},toggleDismissed(){this.showDismissed=!this.showDismissed},emitClose(){this.$emit("close")},performNotificationAction(t){this.$emit("action",t)}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e["default"]=u.exports},5464:function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return s}));const i=(t,e=!0)=>{const a=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;if(!t)return!0;t=Array.isArray(t)?t:t.split(",");for(const i of t)if((i.length||!e)&&!i.match(a))return!1;return!0},s=t=>{try{const e=new URL(t);return console.log(e),!0}catch(e){return!1}}},"557c":function(t,e,a){"use strict";e.a={props:{hasActionsColumn:{type:Boolean,default:!1},isSelectingAll:{type:Boolean,default:!1}},methods:{selectAll(){this.$emit("select-all")}}}},5943:function(t,e,a){"use strict";a.r(e),a.d(e,"router",(function(){return Ea}));var i=a("8c4f"),s=function(){var t=this,e=t._self._c;return e("div",[e("nav",{staticClass:"nav-tabs"},[e("router-link",{staticClass:"nav-tab-item",attrs:{to:"/general"}},[t._v(t._s(t.texts.tabGeneral))]),e("router-link",{staticClass:"nav-tab-item",attrs:{to:"/widget"}},[t._v(t._s(t.texts.tabWidget))]),e("router-link",{staticClass:"nav-tab-item",attrs:{to:"/email"}},[t._v(t._s(t.texts.tabEmail))]),e("router-link",{staticClass:"nav-tab-item",attrs:{to:"/integrations"}},[t._v(t._s(t.texts.tabIntegrations))]),e("router-link",{staticClass:"nav-tab-item",attrs:{to:"/access",href:"#"}},[t._v(t._s(t.texts.tabAccess))]),e("router-link",{staticClass:"nav-tab-item",attrs:{to:"/misc",href:"#"}},[t._v(t._s(t.texts.tabMisc))])],1),e("div",{ref:"banner_container"}),e("div",{staticClass:"user-feedback-wp-notices-wrapper"},[e("user-feedback-wp-notices")],1),e("div",{staticClass:"screen-wrapper"},[e("router-view"),-1===t.disable_settings_button_on_routes.indexOf(t.$route.name)?e("div",{staticClass:"settings-actions"},[e("button",{staticClass:"button user-feedback-button",attrs:{type:"button"},on:{click:t.save}},[t._v(" "+t._s(t.texts.saveSettings)+" ")])]):t._e(),t.$uf.is_pro?t._e():e("user-feedback-settings-blurb")],1)])},r=[],n=(a("14d9"),a("561c")),l=a("2f62"),o=a("5464"),c=function(){var t=this,e=t._self._c;return"settings-general"===t.$route.name&&t.show?e("div",[e("div",{staticClass:"settings-upgrade-blurb"},[e("a",{staticClass:"cta-dismiss",on:{click:t.close}},[e("span",{directives:[{name:"icon",rawName:"v-icon:close",arg:"close"}]})]),e("h5",[t._v(t._s(t.texts.title))]),e("p",[t._v(t._s(t.texts.description))]),e("h6",[t._v(t._s(t.texts.pro_features))]),e("ul",t._l(t.texts.features,(function(a,i){return e("li",{key:i},[t._v(t._s(a))])})),0),e("div",{staticClass:"clear"}),e("p",{domProps:{innerHTML:t._s(t.texts.upgrade_cta)}}),e("p",{domProps:{innerHTML:t._s(t.texts.promo)}})])]):t._e()},u=[],d=a("ab89"),m={name:"UserFeedbackSettingsBlurb",data(){return{show:!1}},computed:{texts(){return{title:Object(n.a)("Get UserFeedback Pro and Unlock All The Powerful Features",this.$textDomain),description:Object(n.a)("Thanks for being a loyal UserFeedback Lite user. Upgrade to UserFeedback Pro to unlock all of our latest features to help take your feedback to the next level.",this.$textDomain),pro_features:Object(n.a)("Pro Features:",this.$textDomain),features:[Object(n.a)("Unlimited surveys",this.$textDomain),Object(n.a)("Unlimited survey answers & responses",this.$textDomain),Object(n.a)("All question types like Star Ratings and NPS(&reg)",this.$textDomain),Object(n.a)("Comment boxes for even more actionable feedback",this.$textDomain),Object(n.a)("Complete survey customizations like colors, icons, and text to match your branding",this.$textDomain),Object(n.a)("Device Level Targeting to show on Desktop, Mobile, or Tablet.",this.$textDomain),Object(n.a)("Page or Posts Page Targeting and advanced conditions",this.$textDomain),Object(n.a)("20+ premium one click templates",this.$textDomain),Object(n.a)("Survey redirects and completion logic",this.$textDomain),Object(n.a)("Survey scheduling",this.$textDomain)],upgrade_cta:Object(n.d)(Object(n.a)('<a target="_blank" rel="noopener" href="%s"><b>Get UserFeedback Pro Today and Unlock all the Powerful Features »</b></a>',this.$textDomain),this.$getUpgradeUrl("settings-blurb","link")),promo:Object(n.a)('<b>Bonus:</b> UserFeedback Lite Users get <b class="has-text-success">50% off the regular price</b>, automatically applied at checkout.  ',this.$textDomain)}}},mounted(){this.validate()},methods:{close(){Object(d.b)(),this.show=!1},async validate(){const t=await Object(d.h)();""===t&&(this.show=!0)}}},g=m,p=a("2877"),v=Object(p.a)(g,c,u,!1,null,null,null),h=v.exports,f=a("ebb2"),y={name:"UserFeedbackSettingsWrapper",components:{UserFeedbackWpNotices:f.a,UserFeedbackSettingsBlurb:h},data(){return{disable_settings_button_on_routes:["settings-integrations"]}},computed:{...Object(l.e)("config",["pluginSettings"]),texts(){return{tabGeneral:Object(n.a)("General",this.$textDomain),tabWidget:Object(n.a)("Widget",this.$textDomain),tabEmail:Object(n.a)("Email",this.$textDomain),tabIntegrations:Object(n.a)("Integrations",this.$textDomain),tabAccess:Object(n.a)("Access",this.$textDomain),tabMisc:Object(n.a)("Misc",this.$textDomain),saveSettings:Object(n.a)("Save Settings",this.$textDomain)}}},methods:{...Object(l.b)("config",["saveSettings"]),save(){this.saveSettings().then(()=>{const t='<span class="icon" v-icon:check-circle></span>';this.validated()?this.$notificationBanner.show({parentEl:this.$refs.banner_container,type:"info",content:Object(n.a)("Settings saved.",this.$textDomain),timeout:5,slots:{beforeContent:t}}):this.$notificationBanner.show({parentEl:this.$refs.banner_container,type:"error",content:Object(n.a)("Please fix errors on this page.",this.$textDomain),timeout:5,slots:{beforeContent:t}})}).finally(()=>{window.scrollTo({top:0,behavior:"smooth"})})},validated(){const t=[];return t.push(this.validateEmails(this.pluginSettings.notifications_recipients)),-1===t.indexOf(!1)},validateEmails:o.a}},b=y,_=Object(p.a)(b,s,r,!1,null,null,null),x=_.exports,C=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("div",[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.screenTitle))]),e("p",[t._v(t._s(t.texts.screenSubtitle))])])])],2),e("div",[e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.licenseKeyLabel))])]),e("div",{staticClass:"settings-block__content"},[t.$uf.is_pro?[e("div",{domProps:{innerHTML:t._s(t.texts.licenceKeyDesc)}}),e("br"),e("div",{staticClass:"inline-fields"},[e("div",{staticClass:"field"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.licenseKey,expression:"licenseKey"}],ref:"licenseInput",staticClass:"input userfeedback-license-key",class:t.licenseInputClasses,attrs:{type:"text",placeholder:t.texts.licenseFieldPlaceholder,readonly:t.isLoading,autocomplete:"off"},domProps:{value:t.licenseKey},on:{input:[function(e){e.target.composing||(t.licenseKey=e.target.value)},t.onLicenseChange]}})]),e("div",{staticClass:"field license-actions"},[e("button",{staticClass:"button user-feedback-button",on:{click:t.maybeVerifyLicense}},[t._v(t._s(t.texts.licenseVerifyCta))]),""!==t.licenseKey&&""!==t.license.type?e("button",{staticClass:"button user-feedback-button is-secondary",on:{click:t.onDeactivateClick}},[t._v(t._s(t.texts.licenseDeactivateCta))]):t._e()])]),""!==t.license.type?e("div",{staticClass:"help"},[e("span",{domProps:{innerHTML:t._s(t.texts.licenseLevelLabel)}}),t._v("   "),e("a",{attrs:{href:"javascript:",target:"_blank",rel:"noopener"},on:{click:function(e){return e.preventDefault(),t.refreshLicense.apply(null,arguments)}}},[t._v("Refresh Key")])]):t._e()]:[e("div",{domProps:{innerHTML:t._s(t.texts.liteToProInvite)}}),e("br"),e("hr"),e("br"),e("div",{staticStyle:{"max-width":"550px"},domProps:{innerHTML:t._s(t.texts.alreadyPurchased)}}),e("br"),e("div",{staticClass:"inline-fields"},[e("div",{staticClass:"field"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.connectKey,expression:"connectKey"}],staticClass:"input userfeedback-license-key",class:t.licenseInputClasses,attrs:{type:"text",autocomplete:"off",readonly:t.isLoading,placeholder:t.texts.licenseFieldPlaceholder},domProps:{value:t.connectKey},on:{input:function(e){e.target.composing||(t.connectKey=e.target.value)}}})]),e("div",{staticClass:"field"},[e("button",{staticClass:"button user-feedback-button",attrs:{disabled:t.disableConnect},on:{click:t.startUpgradeToPro}},[t._v(t._s(t.texts.licenseConnectCta))])])])]],2)])]),e("div",[e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.launchWizardLabel))])]),e("div",{staticClass:"settings-block__content"},[e("div",[t._v(t._s(t.texts.launchWizardHelp))]),e("br"),e("a",{staticClass:"button user-feedback-button",attrs:{href:t.wizardUrl}},[t._v(t._s(t.texts.launchWizardCta))])])])])],1)},w=[],k=a("f7fe"),S=a.n(k),O=a("dfa4"),$=a("a878"),j={name:"UserFeedbackSettingsGeneral",data(){return{isLoading:!1,updatedLicense:null,licenseHasChanged:!1,connectKey:""}},computed:{...Object(l.e)("license",["license"]),...Object(l.c)(["isPro"]),disableConnect(){return""===this.connectKey},retrieveKeyUrl(){return this.$getUrl("license","settings_panel","https://userfeedback.com/my-account")},texts(){return{screenTitle:Object(n.a)("License",this.$textDomain),screenSubtitle:Object(n.a)("Your license key provides access to updates and addons.",this.$textDomain),licenseKeyLabel:Object(n.a)("License Key",this.$textDomain),licenceKeyDesc:Object(n.d)(Object(n.a)("Add your UserFeedback license key from the email receipt or account area. %sRetrieve your license key%s.",this.$textDomain),`<a href="${this.retrieveKeyUrl}" target="_blank" rel="noopener">`,"</a>"),licenseFieldPlaceholder:Object(n.a)("Paste your license key here",this.$textDomain),licenseVerifyCta:Object(n.a)("Verify",this.$textDomain),licenseDeactivateCta:Object(n.a)("Deactivate",this.$textDomain),licenseLevelLabel:Object(n.d)(Object(n.a)("Your license key type for this site is <b>%s</b>.",this.$textDomain),this.licenseLevel),liteToProInvite:Object(n.d)(Object(n.a)('You are using <b>UserFeedback Lite</b> - no license needed! Enjoy! 🙂 </br></br> To unlock more features consider %supgrading to PRO.%s </br></br><i>As a valued UserFeedback Lite user you receive <b><span style="color: #4BBB6A;">50%% off</span></b>, automatically applied at checkout.</i>',this.$textDomain),`<a target="_blank" href="${this.$getUpgradeUrl("settings-panel","license")}"><b>`,"</b></a>"),licenseConnectCta:Object(n.a)("Verify Key",this.$textDomain),alreadyPurchased:Object(n.d)(Object(n.a)("<b>Already purchased?</b> Simply enter your license key below to connect with UserFeedback PRO! %sRetrieve your license key%s.",this.$textDomain),`<a href="${this.retrieveKeyUrl}" target="_blank" rel="noopener">`,"</a>"),launchWizardLabel:Object(n.a)("Setup Wizard",this.$textDomain),launchWizardHelp:Object(n.a)("Use our configuration wizard to properly setup UserFeedback with just a few clicks.",this.$textDomain),launchWizardCta:Object(n.a)("Launch Setup Wizard",this.$textDomain)}},licenseKey:{get(){return null!==this.updatedLicense?this.updatedLicense:this.license.key},set(t){this.updatedLicense=t}},licenseLevel(){return this.$capitalize(this.license.type)},licenseInputClasses(){return{"userfeedback-license-key--invalid":this.license.is_invalid||""===this.license.type,"userfeedback-license-key--valid":!this.license.is_invalid&&""!==this.license.type}},wizardUrl(){return Object($.a)("onboarding")}},methods:{...Object(l.b)("license",["getLicense","verifyLicense","deactivateLicense","validateLicense","maybeAddLicenseNotices"]),refreshLicense(){this.$ufSavingToast({title:Object(n.a)("Refreshing license...",this.$textDomain)}),this.validateLicense(this.licenseKey).then(t=>{const{success:e,data:{message:a,error:i}}=t;e?(this.maybeAddLicenseNotices(),this.$ufSuccessToast({title:a||Object(n.a)("Success",this.$textDomain)})):this.$ufErrorToast({title:Object(n.a)("There was an error refreshing your license",this.$textDomain),text:i})})},maybeVerifyLicense(){const t=this.licenseKey;t&&(this.$ufSavingToast({title:Object(n.a)("Verifying license...",this.$textDomain)}),this.isLoading=!0,this.verifyLicense(t).then(t=>{this.$swal.close();const{success:e,data:{error:a,message:i}}=t;if(e){const t={};i&&(t.title=i),this.$ufSuccessToast(t),this.updatedLicense=null,this.licenseHasChanged=!1,this.$refs.licenseInput.blur()}else{const t={};a&&(t.title=a),this.$ufErrorToast(t)}}).finally(()=>{this.isLoading=!1}))},onDeactivateClick(){this.deactivateLicense(this.licenseKey).then(t=>{this.updatedLicense=null,this.licenseHasChanged=!1;const{success:e,data:{message:a}}=t;if(e){const t={};a&&(t.title=a),this.$ufSuccessToast(t),this.updatedLicense=null,this.licenseHasChanged=!1,this.$refs.licenseInput.blur()}})},startUpgradeToPro(){this.isLoading=!0,this.$swal({type:"info",title:Object(n.a)("Please wait...",this.$textDomain),allowOutsideClick:!1,allowEscapeKey:!1,allowEnterKey:!1,showConfirmButton:!1,customContainerClass:"userfeedback-swal",onOpen:function(){this.$swal.showLoading()}}),Object(O.c)(this.connectKey).then(t=>{const{success:e,data:{url:a,reload:i,message:s}}=t;if(e&&a)window.location=a;else{const t=s||Object(n.a)("There was an error unlocking UserFeedback PRO please try again or install manually.",this.$textDomain);this.$ufErrorToast({title:Object(n.a)("Error",this.$textDomain),text:t,toast:!1,position:"center",showConfirmButton:!0,showCloseButton:!1,customClass:!1,confirmButtonText:Object(n.a)("Ok",this.$textDomain)}).then((function(){i&&window.location.reload()}))}}).finally(()=>{this.isLoading=!1})},onLicenseChange:S()((function(){this.maybeVerifyLicense()}),500)},beforeMount(){this.isPro&&this.getLicense()},watch:{updatedLicense(){this.licenseHasChanged=!0}}},D=j,A=Object(p.a)(D,C,w,!1,null,null,null),T=A.exports,P=function(){var t=this,e=t._self._c;return e("div",[t.$store.state.$uf.is_pro?e("user-feedback-settings-widget-pro"):t._e(),t.$store.state.$uf.is_pro?t._e():e("user-feedback-settings-widget-lite")],1)},N=[],L=function(){var t=this,e=t._self._c;return t.isReady?e("div",{staticClass:"widget-customizer"},[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_styles))])])],2),t.localSettings?e("div",{staticClass:"widget-customizer-form"},[e("div",{staticClass:"flex-wrap"},[e("div",{staticClass:"flex-item-grow"},[e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_icon_label))]),e("a",{staticClass:"revert-icon",on:{click:function(e){return t.revertSettings({widget_toggle_icon:"field-userfeedback"})}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:revert",arg:"revert"}]})])]),e("user-feedback-icons",{attrs:{value:t.localSettings.widget_toggle_icon,icons:t.iconsArray,color:t.localSettings.widget_toggle_color},model:{value:t.localSettings.widget_toggle_icon,callback:function(e){t.$set(t.localSettings,"widget_toggle_icon",e)},expression:"localSettings.widget_toggle_icon"}})],1)]),e("div",{staticClass:"flex-item-none"},[e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_icon_color_label))]),e("a",{staticClass:"revert-icon",on:{click:function(e){return t.revertSettings({widget_toggle_color:"#23282D"})}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:revert",arg:"revert"}]})])]),e("user-feedback-color-picker",{model:{value:t.localSettings.widget_toggle_color,callback:function(e){t.$set(t.localSettings,"widget_toggle_color",e)},expression:"localSettings.widget_toggle_color"}})],1)])]),e("br"),e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_toggle_text_label))])]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.localSettings.widget_toggle_text,expression:"localSettings.widget_toggle_text"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.localSettings.widget_toggle_text},on:{input:function(e){e.target.composing||t.$set(t.localSettings,"widget_toggle_text",e.target.value)}}})]),e("div",{staticClass:"field has-font-field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_widget_font_label))])]),e("user-feedback-google-font-select",{attrs:{selected:t.localSettings.widget_font},on:{"updated-widget-font":t.setWidgetFont},model:{value:t.localSettings.widget_font,callback:function(e){t.$set(t.localSettings,"widget_font",e)},expression:"localSettings.widget_font"}})],1),e("br"),e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_widget_position_label))])]),e("user-feedback-widget-position",{attrs:{value:t.localSettings.widget_position},on:{input:e=>t.localSettings.widget_position=e}})],1),e("br"),t.$uf.is_licensed&&t.addons.branding.active?e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_widget_theme_color_label))]),e("a",{staticClass:"revert-icon",on:{click:function(e){return t.revertSettings({widget_color:"#FFFFFF",widget_text_color:"#23282D",widget_button_color:"#2D87F1"})}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:revert",arg:"revert"}]})])]),e("div",{staticClass:"flex-wrap"},[e("div",{staticClass:"flex-item-none"},[e("label",{staticClass:"font-normal"},[t._v(t._s(t.texts.field_widget_background_color_label))]),e("user-feedback-color-picker",{model:{value:t.localSettings.widget_color,callback:function(e){t.$set(t.localSettings,"widget_color",e)},expression:"localSettings.widget_color"}})],1),e("div",{staticClass:"flex-item-none"},[e("label",{staticClass:"font-normal"},[t._v(t._s(t.texts.field_widget_text_color_label))]),e("user-feedback-color-picker",{model:{value:t.localSettings.widget_text_color,callback:function(e){t.$set(t.localSettings,"widget_text_color",e)},expression:"localSettings.widget_text_color"}})],1),e("div",{staticClass:"flex-item-none"},[e("label",{staticClass:"font-normal"},[t._v(t._s(t.texts.field_widget_button_color_label))]),e("user-feedback-color-picker",{model:{value:t.localSettings.widget_button_color,callback:function(e){t.$set(t.localSettings,"widget_button_color",e)},expression:"localSettings.widget_button_color"}})],1)])]):e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_widget_theme_color_label))])]),e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateBrandingAddon)}})])],1),e("br"),e("hr"),e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_display))])])],2),e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_branding_label))])]),t.localSettings.logo_type?e("div",{staticClass:"field flex-wrap"},[e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{id:"logo_type_userfeedback",name:"logo_type","input-value":"userfeedback"},model:{value:t.localSettings.logo_type,callback:function(e){t.$set(t.localSettings,"logo_type",e)},expression:"localSettings.logo_type"}},[t._v(t._s(t.texts.field_userfeedback_logo))]),e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{disabled:!t.$uf.is_licensed||!t.addons.branding.active,id:"logo_type_custom",name:"logo_type","input-value":"custom"},model:{value:t.localSettings.logo_type,callback:function(e){t.$set(t.localSettings,"logo_type",e)},expression:"localSettings.logo_type"}},[t._v(t._s(t.texts.field_custom_logo))]),e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{id:"logo_type_none",name:"logo_type","input-value":"none"},model:{value:t.localSettings.logo_type,callback:function(e){t.$set(t.localSettings,"logo_type",e)},expression:"localSettings.logo_type"}},[t._v(t._s(t.texts.field_no_logo))])],1):t._e(),"custom"===t.localSettings.logo_type?e("div",[e("image-uploader",{scopedSlots:t._u([{key:"change-button",fn:function(){return[t._v(t._s(t.texts.choose_another_image))]},proxy:!0},{key:"reset-button",fn:function(){return[t._v(t._s(t.texts.remove_logo))]},proxy:!0}],null,!1,4209000633),model:{value:t.localSettings.widget_custom_logo,callback:function(e){t.$set(t.localSettings,"widget_custom_logo",e)},expression:"localSettings.widget_custom_logo"}})],1):t._e(),"custom"===t.localSettings.logo_type&&""===t.localSettings.widget_custom_logo?e("div",{staticClass:"has-text-error"},[e("br"),t._v(" "+t._s(t.texts.error_required_custom_logo)+" ")]):t._e(),t.$store.state.$uf.is_licensed&&t.addons.branding.active?t._e():e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateBrandingAddon)}})])],1),e("br"),e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_survey_minimized_label))])]),t.$store.state.$uf.is_licensed&&t.addons.behavior.active?e("user-feedback-checkbox",{attrs:{id:"start_survey_minimized",name:"start_survey_minimized"},model:{value:t.localSettings.widget_start_minimized,callback:function(e){t.$set(t.localSettings,"widget_start_minimized",e)},expression:"localSettings.widget_start_minimized"}},[e("span",[t._v(t._s(t.texts.field_survey_minimized_label))])]):e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateBehaviorAddon)}})])],1),e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_footer_links))])])],2),e("div",{staticClass:"field"},[e("div",{staticClass:"flex-wrap"},[e("div",{staticClass:"flex-item-grow"},[e("label",{domProps:{textContent:t._s(t.texts.label_skip_text)}}),e("input",{directives:[{name:"model",rawName:"v-model",value:t.localSettings.skip_text,expression:"localSettings.skip_text"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.localSettings.skip_text},on:{input:function(e){e.target.composing||t.$set(t.localSettings,"skip_text",e.target.value)}}})]),e("div",{staticClass:"flex-item-grow"},[e("label",{domProps:{textContent:t._s(t.texts.label_next_text)}}),e("input",{directives:[{name:"model",rawName:"v-model",value:t.localSettings.next_text,expression:"localSettings.next_text"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.localSettings.next_text},on:{input:function(e){e.target.composing||t.$set(t.localSettings,"next_text",e.target.value)}}})])])])],1):t._e(),t.localSettings?e("div",{staticClass:"widget-customizer-preview"},[e("div",[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_preview))]),t.surveyOptions.length>0?e("div",{staticClass:"field"},[e("user-feedback-input-select",{attrs:{options:t.surveyOptions,placeholder:t.texts.survey_options_placeholder},model:{value:t.selectedSurveyOption,callback:function(e){t.selectedSurveyOption=e},expression:"selectedSurveyOption"}})],1):t._e()]),t.surveys.length?e("div",{staticClass:"preview-wrapper"},[t.loadedSurvey?e("user-feedback-widget",{style:{fontFamily:t.localSettings.widget_font.family,fontWeight:t.localSettings.widget_font.weight},attrs:{"hide-logo":t.overrideHideLogo,"use-survey":t.survey,"is-preview":"","preview-survey":t.survey}}):t._e()],1):e("div",{staticClass:"preview-empty"},[e("div",{directives:[{name:"icon",rawName:"v-icon:sad-tear",arg:"sad-tear"}],staticClass:"icon"}),e("h2",{staticClass:"title"},[t._v(t._s(t.texts.empty.title))]),e("p",[t._v(t._s(t.texts.empty.description))]),e("a",{staticClass:"button user-feedback-button",attrs:{href:"/wp-admin/admin.php?page=userfeedback_surveys#/new/setup"}},[t._v(t._s(t.texts.createNew))])])]):t._e()],1):t._e()},M=[],B=a("6a1d"),q=a("d4a7"),R=a("bbab"),F=a("4501"),I={name:"UserFeedbackSettingsWidgetPro",components:{UserFeedbackWidget:q.a,UserFeedbackNotice:R.a,ImageUploader:F["default"]},data(){return{isReady:!1,selectedSurvey:!1,selectedSurveyOption:!1,overrideHideLogo:!0,surveyOptions:[],localSettings:{widget_button_color:"#2D87F1",widget_toggle_icon:"field-userfeedback",widget_toggle_color:"#23282D",widget_toggle_text:"",widget_font:{family:"",weight:""},widget_position:"bottom_right",widget_theme:"light",widget_color:"#ffffff",widget_text_color:"#23282D",widget_start_minimized:!1,widget_custom_logo:"",widget_show_logo:!1,logo_type:"none",skip_text:Object(n.a)("Skip",this.$textDomain),next_text:Object(n.a)("Next",this.$textDomain)},iconsArray:["field-userfeedback","field-smile","field-mail-open","field-hand-star","field-comments","field-comment-star","field-comment-heart","field-comment-edit","field-chevron-down"]}},computed:{texts(){return{title_styles:Object(n.a)("Styles",this.$textDomain),title_display:Object(n.a)("Display",this.$textDomain),title_preview:Object(n.a)("Preview",this.$textDomain),survey_options_placeholder:Object(n.a)("Select Survey",this.$textDomain),field_icon_label:Object(n.a)("Icon",this.$textDomain),field_icon_color_label:Object(n.a)("Icon Color",this.$textDomain),field_toggle_text_label:Object(n.a)("Widget Label",this.$textDomain),field_widget_font_label:Object(n.a)("Widget Font",this.$textDomain),field_widget_position_label:Object(n.a)("Widget Position",this.$textDomain),field_widget_theme_color_label:Object(n.a)("Theme Color",this.$textDomain),field_widget_background_color_label:Object(n.a)("Background Color",this.$textDomain),field_widget_text_color_label:Object(n.a)("Text Color",this.$textDomain),field_widget_button_color_label:Object(n.a)("Button Color",this.$textDomain),field_branding_label:Object(n.a)("Branding",this.$textDomain),choose_another_image:Object(n.a)("Choose a different logo image",this.$textDomain),remove_logo:Object(n.a)("Remove logo",this.$textDomain),field_no_logo:Object(n.a)("No Logo",this.$textDomain),field_custom_logo:Object(n.a)("Use Custom Logo",this.$textDomain),error_required_custom_logo:Object(n.a)("You must select a custom logo.",this.$textDomain),field_userfeedback_logo:Object(n.a)("Display UserFeedback Logo",this.$textDomain),field_survey_minimized_label:Object(n.a)("Start Survey Minimized",this.$textDomain),activateBrandingAddon:Object(n.d)(Object(n.a)('Please activate the Branding addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object($.a)("settings","addons")),activateBehaviorAddon:Object(n.d)(Object(n.a)('Please activate the Behavior addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object($.a)("settings","addons")),title_footer_links:Object(n.a)("Footer",this.$textDomain),label_skip_text:Object(n.a)("Skip Text",this.$textDomain),label_next_text:Object(n.a)("Next Text",this.$textDomain),createNew:Object(n.a)("Create New",this.$textDomain),empty:{title:Object(n.a)("No Surveys",this.$textDomain),description:Object(n.a)("You currently have no Surveys. Click the button below to create your first Survey.",this.$textDomain)}}},...Object(l.e)({addons:t=>t.$uf.addons}),...Object(l.e)("config",["pluginSettings","surveys","survey","loadedSurvey"])},watch:{selectedSurveyOption:{handler:function(t){this.selectedSurvey=this.surveys.map(e=>{if(e.id===t.value)return e}).filter(t=>t)[0]},deep:!0},selectedSurvey:{handler:function(t){this.$store.commit("config/setSurvey",t),this.$store.commit("widget/setSurvey",t),this.$store.commit("widget/setAsPreview",!0)},deep:!0},localSettings:{handler:function(t){var e,a,i,s;const r=t;Object.keys(t).forEach(e=>{r[e]=t[e]}),Object.keys(this.pluginSettings).forEach(t=>{this.pluginSettings[t]&&(r[t]=this.pluginSettings[t])});const n=this.survey;this.survey.cookie_name=this.survey.cookie_name?this.survey.cookie_name:"userfeedback-"+this.survey.id,n.settings.theming.widget_color=r.widget_color,n.settings.theming.color_scheme=r.widget_theme,n.settings.theming.text_color=r.widget_text_color,n.settings.theming.button_color=r.widget_button_color,n.settings.theming.widget_toggle_text=null!==(e=r.widget_toggle_text)&&void 0!==e?e:"",n.settings.theming.font=null!==(a=r.widget_font)&&void 0!==a?a:{family:"",weight:""},n.settings.theming.position=null!==(i=r.widget_position)&&void 0!==i?i:"bottom_right",n.settings.theming.widget_toggle_icon=r.widget_toggle_icon,n.settings.theming.widget_toggle_color=r.widget_toggle_color,n.settings.theming.show_logo=r.widget_show_logo,n.settings.theming.custom_logo=r.widget_custom_logo,n.settings.theming.start_minimized=r.widget_start_minimized,n.settings.behavior.start_minimized=null!==(s=r.widget_start_minimized)&&void 0!==s&&s,r.widget_start_minimized?Object(B.c)(this.survey.cookie_name+"-minimized",!0):Object(B.c)(this.survey.cookie_name+"-minimized",!1),n.settings.theming.logo_type=r.logo_type,"none"===r.logo_type?(r.widget_show_logo=!1,r.widget_custom_logo="",n.settings.theming.show_logo=!1,n.settings.theming.custom_logo="",this.overrideHideLogo=!1):"custom"===r.logo_type?(r.widget_show_logo=!0,n.settings.theming.show_logo=!0,n.settings.theming.custom_logo=r.widget_custom_logo,this.overrideHideLogo=!0):"userfeedback"===r.logo_type&&(r.widget_show_logo=!0,r.widget_custom_logo="",n.settings.theming.show_logo=!0,n.settings.theming.custom_logo="",this.overrideHideLogo=!0),n.settings.theming.skip_text=r.skip_text,n.settings.theming.next_text=r.next_text,this.$store.commit("config/setSettings",r),this.$store.commit("config/setSurvey",n),this.$store.commit("widget/setSurvey",n)},deep:!0}},beforeMount(){this.fetchSurveys()},mounted(){document.querySelector(".screen-wrapper").classList.add("widget-customizer-wrapper"),setTimeout(()=>{var t,e,a,i,s,r,n,l,o,c,u,d;(this.previewSurveyOptions(),this.localSettings.widget_theme=null!==(t=this.pluginSettings.widget_theme)&&void 0!==t?t:"light",this.localSettings.widget_color=null!==(e=this.pluginSettings.widget_color)&&void 0!==e?e:"#ffffff",this.localSettings.widget_text_color=null!==(a=this.pluginSettings.widget_text_color)&&void 0!==a?a:"#23282D",this.localSettings.widget_button_color=null!==(i=this.pluginSettings.widget_button_color)&&void 0!==i?i:"#2D87F1",this.localSettings.widget_toggle_icon=null!==(s=this.pluginSettings.widget_toggle_icon)&&void 0!==s?s:"field-chevron-down",this.localSettings.widget_toggle_color=null!==(r=this.pluginSettings.widget_toggle_color)&&void 0!==r?r:"#23282D",this.localSettings.widget_toggle_text=null!==(n=this.pluginSettings.widget_toggle_text)&&void 0!==n?n:"",this.localSettings.widget_font=null!==(l=this.pluginSettings.widget_font)&&void 0!==l?l:{family:"",weight:""},this.localSettings.widget_position=null!==(o=this.pluginSettings.widget_position)&&void 0!==o?o:"bottom_right",this.localSettings.widget_start_minimized=null!==(c=this.pluginSettings.widget_start_minimized)&&void 0!==c&&c,this.localSettings.widget_custom_logo=null!==(u=this.pluginSettings.widget_custom_logo)&&void 0!==u?u:"",this.pluginSettings.widget_show_logo)&&(this.localSettings.widget_show_logo=!0,this.overrideHideLogo=!0,this.localSettings.logo_type=null!==(d=this.pluginSettings.logo_type)&&void 0!==d?d:"userfeedback");this.localSettings.skip_text=this.$uf.widget_settings.skip_text,this.localSettings.next_text=this.$uf.widget_settings.next_text,this.addUpdateGoogleFontStyle(),this.isReady=!0},600)},destroyed(){document.querySelector(".screen-wrapper").classList.remove("widget-customizer-wrapper")},methods:{...Object(l.b)("config",["fetchSurveys"]),previewSurveyOptions(){const t=[];this.surveys.length>0&&(this.surveys.map(e=>{t.push({value:e.id,label:e.title})}),this.surveyOptions=t,this.selectedSurveyOption={value:this.surveys[0].id,label:this.surveys[0].title})},revertSettings(t){Object.keys(t).forEach(e=>{this.localSettings[e]=t[e]})},setWidgetFont(t){this.localSettings.widget_font=t,this.addUpdateGoogleFontStyle()},addUpdateGoogleFontStyle(){const t=this.localSettings.widget_font.family,e=this.localSettings.widget_font.weight;if(""===t){const t=document.getElementById("preview-google-font");return void(t&&t.remove())}const a=t.split(" ").join("+"," ");let i="";i="regular"===e?`https://fonts.googleapis.com/css?family=${a}&display=swap`:`https://fonts.googleapis.com/css?family=${a}:${e}&display=swap`;const s=`@import url('${i}');.userfeedback-widget * {font-family: '${t}'; font-weight: ${e}}`,r=document.head||document.getElementsByTagName("head")[0],n=document.getElementById("preview-google-font");n&&n.remove();const l=document.createElement("style");l.id="preview-google-font",r.appendChild(l),l.appendChild(document.createTextNode(s))}}},U=I,H=Object(p.a)(U,L,M,!1,null,null,null),E=H.exports,V=function(){var t=this,e=t._self._c;return t.isReady?e("div",{staticClass:"widget-customizer lite"},[e("user-feedback-upgrade-to-pro",{attrs:{show:t.upgrade_modal_show,feature:t.upgrade_modal_feature,campaign:t.upgrade_modal_utm_campaign},on:{"modal-state":e=>t.upgrade_modal_show=e}}),e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_styles))])])],2),t.localSettings?e("div",{staticClass:"widget-customizer-form"},[e("div",{staticClass:"flex-wrap"},[e("div",{staticClass:"flex-item-grow"},[e("div",{staticClass:"field",on:{click:function(e){return t.toggleUpgradeModal(t.texts.modal.custom_icons,"widget-customizer-custom-icon")}}},[e("label",{staticClass:"label-with-revert-icon is-disabled-for-lite"},[e("span",[t._v(t._s(t.texts.field_icon_label))]),e("a",{staticClass:"revert-icon",on:{click:function(e){return t.revertSettings({widget_toggle_icon:"field-userfeedback"})}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:revert",arg:"revert"}]})])]),e("user-feedback-icons",{staticClass:"is-disabled-for-lite",attrs:{disabled:"",value:t.localSettings.widget_toggle_icon,icons:t.iconsArray,color:t.localSettings.widget_toggle_color},model:{value:t.localSettings.widget_toggle_icon,callback:function(e){t.$set(t.localSettings,"widget_toggle_icon",e)},expression:"localSettings.widget_toggle_icon"}})],1)]),e("div",{staticClass:"flex-item-none"},[e("div",{staticClass:"field is-disabled-for-lite",on:{click:function(e){return t.toggleUpgradeModal(t.texts.modal.custom_icon_color,"widget-customizer-custom-icon-color")}}},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_icon_color_label))]),e("a",{staticClass:"revert-icon",on:{click:function(e){return t.revertSettings({widget_toggle_color:"#23282D"})}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:revert",arg:"revert"}]})])]),e("user-feedback-color-picker",{attrs:{disabled:!0},model:{value:t.localSettings.widget_toggle_color,callback:function(e){t.$set(t.localSettings,"widget_toggle_color",e)},expression:"localSettings.widget_toggle_color"}})],1)])]),e("br"),e("div",{staticClass:"field is-disabled-for-lite",on:{click:function(e){return t.toggleUpgradeModal(t.texts.modal.custom_widget_label,"widget-customizer-custom-widget-label")}}},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_toggle_text_label))])]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.localSettings.widget_toggle_text,expression:"localSettings.widget_toggle_text"}],staticClass:"input",attrs:{type:"text",disabled:""},domProps:{value:t.localSettings.widget_toggle_text},on:{input:function(e){e.target.composing||t.$set(t.localSettings,"widget_toggle_text",e.target.value)}}})]),e("div",{staticClass:"field has-font-field is-disabled-for-lite",on:{click:function(e){return t.toggleUpgradeModal(t.texts.modal.custom_widget_font,"widget-customizer-custom-widget-font")}}},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_widget_font_label))])]),e("user-feedback-google-font-select",{attrs:{disabled:!0,selected:t.localSettings.widget_font},on:{"updated-widget-font":t.setWidgetFont},model:{value:t.localSettings.widget_font,callback:function(e){t.$set(t.localSettings,"widget_font",e)},expression:"localSettings.widget_font"}})],1),e("br"),e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_widget_position_label))])]),e("user-feedback-widget-position",{attrs:{value:t.localSettings.widget_position},on:{input:e=>t.localSettings.widget_position=e,"widget-position-updated":t.handleWidgetPositionUpdated}})],1),e("br"),e("div",{staticClass:"field is-disabled-for-lite",on:{click:function(e){return t.toggleUpgradeModal(t.texts.modal.custom_theme_colors,"widget-customizer-custom-colors")}}},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_widget_theme_color_label))]),e("a",{staticClass:"revert-icon",on:{click:function(e){return t.revertSettings({widget_color:"#FFFFFF",widget_text_color:"#23282D",widget_button_color:"#2D87F1"})}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:revert",arg:"revert"}]})])]),e("div",{staticClass:"flex-wrap"},[e("div",{staticClass:"flex-item-none"},[e("label",{staticClass:"font-normal"},[t._v(t._s(t.texts.field_widget_background_color_label))]),e("user-feedback-color-picker",{attrs:{disabled:""},model:{value:t.localSettings.widget_color,callback:function(e){t.$set(t.localSettings,"widget_color",e)},expression:"localSettings.widget_color"}})],1),e("div",{staticClass:"flex-item-none"},[e("label",{staticClass:"font-normal"},[t._v(t._s(t.texts.field_widget_text_color_label))]),e("user-feedback-color-picker",{attrs:{disabled:""},model:{value:t.localSettings.widget_text_color,callback:function(e){t.$set(t.localSettings,"widget_text_color",e)},expression:"localSettings.widget_text_color"}})],1),e("div",{staticClass:"flex-item-none"},[e("label",{staticClass:"font-normal"},[t._v(t._s(t.texts.field_widget_button_color_label))]),e("user-feedback-color-picker",{attrs:{disabled:""},model:{value:t.localSettings.widget_button_color,callback:function(e){t.$set(t.localSettings,"widget_button_color",e)},expression:"localSettings.widget_button_color"}})],1)])]),e("br"),e("hr"),e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_display))])])],2),e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_branding_label))])]),t.localSettings.logo_type?e("div",{staticClass:"field flex-wrap"},[e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{id:"logo_type_userfeedback",name:"logo_type","input-value":"userfeedback"},model:{value:t.localSettings.logo_type,callback:function(e){t.$set(t.localSettings,"logo_type",e)},expression:"localSettings.logo_type"}},[t._v(" "+t._s(t.texts.field_userfeedback_logo)+" ")]),e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{id:"logo_type_none",name:"logo_type","input-value":"none"},model:{value:t.localSettings.logo_type,callback:function(e){t.$set(t.localSettings,"logo_type",e)},expression:"localSettings.logo_type"}},[t._v(" "+t._s(t.texts.field_no_logo)+" ")]),e("span",{staticClass:"is-disabled-for-lite",on:{click:function(e){return t.toggleUpgradeModal(t.texts.modal.custom_logo,"widget-customizer-custom-logo")}}},[e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{disabled:"",id:"logo_type_custom",name:"logo_type","input-value":"custom"},model:{value:t.localSettings.logo_type,callback:function(e){t.$set(t.localSettings,"logo_type",e)},expression:"localSettings.logo_type"}},[t._v(" "+t._s(t.texts.field_custom_logo)+" ")])],1)],1):t._e()]),e("br"),e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_footer_links))])])],2),e("div",{staticClass:"field"},[e("div",{staticClass:"flex-wrap"},[e("div",{staticClass:"flex-item-grow"},[e("label",{domProps:{textContent:t._s(t.texts.label_skip_text)}}),e("input",{directives:[{name:"model",rawName:"v-model",value:t.localSettings.skip_text,expression:"localSettings.skip_text"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.localSettings.skip_text},on:{input:function(e){e.target.composing||t.$set(t.localSettings,"skip_text",e.target.value)}}})]),e("div",{staticClass:"flex-item-grow"},[e("label",{domProps:{textContent:t._s(t.texts.label_next_text)}}),e("input",{directives:[{name:"model",rawName:"v-model",value:t.localSettings.next_text,expression:"localSettings.next_text"}],staticClass:"input",attrs:{type:"text"},domProps:{value:t.localSettings.next_text},on:{input:function(e){e.target.composing||t.$set(t.localSettings,"next_text",e.target.value)}}})])])]),e("br"),e("div",{staticClass:"field is-disabled-for-lite",on:{click:function(e){return t.toggleUpgradeModal(t.texts.modal.minimized_survey,"widget-customizer-minimized-survey")}}},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.field_survey_minimized_label))])]),e("user-feedback-checkbox",{attrs:{id:"start_survey_minimized",disabled:"",name:"start_survey_minimized"},model:{value:t.localSettings.widget_start_minimized,callback:function(e){t.$set(t.localSettings,"widget_start_minimized",e)},expression:"localSettings.widget_start_minimized"}},[e("span",[t._v(t._s(t.texts.field_survey_minimized_label))])])],1)],1):t._e(),t.localSettings?e("div",{staticClass:"widget-customizer-preview"},[e("div",[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title_preview))]),t.surveyOptions.length>0?e("div",{staticClass:"field"},[e("user-feedback-input-select",{attrs:{options:t.surveyOptions,placeholder:t.texts.survey_options_placeholder},model:{value:t.selectedSurveyOption,callback:function(e){t.selectedSurveyOption=e},expression:"selectedSurveyOption"}})],1):t._e()]),t.surveys.length?e("div",{staticClass:"preview-wrapper"},[t.loadedSurvey?e("user-feedback-widget",{style:{fontFamily:t.localSettings.widget_font.family,fontWeight:t.localSettings.widget_font.weight},attrs:{"hide-logo":t.overrideHideLogo,"use-survey":t.survey,"is-preview":"","preview-survey":t.survey}}):t._e()],1):e("div",{staticClass:"preview-empty"},[e("div",{directives:[{name:"icon",rawName:"v-icon:sad-tear",arg:"sad-tear"}],staticClass:"icon"}),e("h2",{staticClass:"title"},[t._v(t._s(t.texts.empty.title))]),e("p",[t._v(t._s(t.texts.empty.description))]),e("a",{staticClass:"button user-feedback-button",attrs:{href:"/wp-admin/admin.php?page=userfeedback_surveys#/new/setup"}},[t._v(t._s(t.texts.createNew))])])]):t._e()],1):t._e()},z=[],Q={name:"UserFeedbackSettingsWidgetPro",components:{UserFeedbackWidget:q.a},data(){return{isReady:!1,selectedSurvey:!1,selectedSurveyOption:!1,overrideHideLogo:!0,surveyOptions:[],localSettings:{widget_button_color:"#2D87F1",widget_toggle_icon:"field-userfeedback",widget_toggle_color:"#23282D",widget_toggle_text:"",widget_font:{family:"",weight:""},widget_position:"bottom_right",widget_theme:"light",widget_color:"#ffffff",widget_text_color:"#23282D",widget_start_minimized:!1,widget_custom_logo:"",widget_show_logo:!1,logo_type:"none",skip_text:Object(n.a)("Skip",this.$textDomain),next_text:Object(n.a)("Next",this.$textDomain)},iconsArray:["field-userfeedback","field-smile","field-mail-open","field-hand-star","field-comments","field-comment-star","field-comment-heart","field-comment-edit","field-chevron-down"],upgrade_modal_show:!1,upgrade_modal_feature:"",upgrade_modal_utm_campaign:""}},computed:{texts(){return{title_styles:Object(n.a)("Styles",this.$textDomain),title_display:Object(n.a)("Display",this.$textDomain),title_preview:Object(n.a)("Preview",this.$textDomain),survey_options_placeholder:Object(n.a)("Select Survey",this.$textDomain),field_icon_label:Object(n.a)("Icon",this.$textDomain),field_icon_color_label:Object(n.a)("Icon Color",this.$textDomain),field_toggle_text_label:Object(n.a)("Widget Label",this.$textDomain),field_widget_font_label:Object(n.a)("Widget Font",this.$textDomain),field_widget_position_label:Object(n.a)("Widget Position",this.$textDomain),field_widget_theme_color_label:Object(n.a)("Theme Color",this.$textDomain),field_widget_background_color_label:Object(n.a)("Background Color",this.$textDomain),field_widget_text_color_label:Object(n.a)("Text Color",this.$textDomain),field_widget_button_color_label:Object(n.a)("Button Color",this.$textDomain),field_branding_label:Object(n.a)("Branding",this.$textDomain),choose_another_image:Object(n.a)("Choose a different logo image",this.$textDomain),remove_logo:Object(n.a)("Remove logo",this.$textDomain),field_no_logo:Object(n.a)("No Logo",this.$textDomain),field_custom_logo:Object(n.a)("Use Custom Logo",this.$textDomain),error_required_custom_logo:Object(n.a)("You must select a custom logo.",this.$textDomain),field_userfeedback_logo:Object(n.a)("Display UserFeedback Logo",this.$textDomain),field_survey_minimized_label:Object(n.a)("Start Survey Minimized",this.$textDomain),activateBrandingAddon:Object(n.d)(Object(n.a)('Please activate the Branding addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object($.a)("settings","addons")),activateBehaviorAddon:Object(n.d)(Object(n.a)('Please activate the Behavior addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object($.a)("settings","addons")),createNew:Object(n.a)("Create New",this.$textDomain),empty:{title:Object(n.a)("No Surveys",this.$textDomain),description:Object(n.a)("You currently have no Surveys. Click the button below to create your first Survey.",this.$textDomain)},modal:{custom_icons:Object(n.a)("Custom Close Icon",this.$textDomain),custom_icon_color:Object(n.a)("Custom Icon Color",this.$textDomain),custom_widget_label:Object(n.a)("Custom Widget Label",this.$textDomain),custom_widget_font:Object(n.a)("Custom Widget Font",this.$textDomain),custom_widget_position:Object(n.a)("Custom Widget Position",this.$textDomain),custom_theme_colors:Object(n.a)("Custom Theme Color",this.$textDomain),custom_logo:Object(n.a)("Custom Logo",this.$textDomain),minimized_survey:Object(n.a)("Minimized Survey",this.$textDomain)},title_footer_links:Object(n.a)("Footer",this.$textDomain),label_skip_text:Object(n.a)("Skip Text",this.$textDomain),label_next_text:Object(n.a)("Next Text",this.$textDomain)}},...Object(l.e)({addons:t=>t.$uf.addons}),...Object(l.e)("config",["pluginSettings","surveys","survey","loadedSurvey"])},watch:{selectedSurveyOption:{handler:function(t){this.selectedSurvey=this.surveys.map(e=>{if(e.id===t.value)return e}).filter(t=>t)[0]},deep:!0},selectedSurvey:{handler:function(t){this.$store.commit("config/setSurvey",t),this.$store.commit("widget/setSurvey",t),this.$store.commit("widget/setAsPreview",!0)},deep:!0},localSettings:{handler:function(t){var e,a,i,s;const r=t;Object.keys(t).forEach(e=>{r[e]=t[e]}),Object.keys(this.pluginSettings).forEach(t=>{this.pluginSettings[t]&&(r[t]=this.pluginSettings[t])});const n=this.survey;this.survey.cookie_name=this.survey.cookie_name?this.survey.cookie_name:"userfeedback-"+this.survey.id,n.settings.theming.widget_color=r.widget_color,n.settings.theming.color_scheme=r.widget_theme,n.settings.theming.text_color=r.widget_text_color,n.settings.theming.button_color=r.widget_button_color,n.settings.theming.widget_toggle_text=null!==(e=r.widget_toggle_text)&&void 0!==e?e:"",n.settings.theming.font=null!==(a=r.widget_font)&&void 0!==a?a:{family:"",weight:""},n.settings.theming.position=null!==(i=r.widget_position)&&void 0!==i?i:"bottom_right",n.settings.theming.widget_toggle_icon=r.widget_toggle_icon,n.settings.theming.widget_toggle_color=r.widget_toggle_color,n.settings.theming.show_logo=r.widget_show_logo,n.settings.theming.custom_logo=r.widget_custom_logo,n.settings.theming.start_minimized=r.widget_start_minimized,n.settings.behavior.start_minimized=null!==(s=r.widget_start_minimized)&&void 0!==s&&s,r.widget_start_minimized?Object(B.c)(this.survey.cookie_name+"-minimized",!0):Object(B.c)(this.survey.cookie_name+"-minimized",!1),n.settings.theming.logo_type=r.logo_type,"none"===r.logo_type?(r.widget_show_logo=!1,r.widget_custom_logo="",n.settings.theming.show_logo=!1,n.settings.theming.custom_logo="",this.overrideHideLogo=!1):"custom"===r.logo_type?(r.widget_show_logo=!0,n.settings.theming.show_logo=!0,n.settings.theming.custom_logo=r.widget_custom_logo,this.overrideHideLogo=!0):"userfeedback"===r.logo_type&&(r.widget_show_logo=!0,r.widget_custom_logo="",n.settings.theming.show_logo=!0,n.settings.theming.custom_logo="",this.overrideHideLogo=!0),n.settings.theming.skip_text=r.skip_text,n.settings.theming.next_text=r.next_text,this.$store.commit("config/setSettings",r),this.$store.commit("config/setSurvey",n),this.$store.commit("widget/setSurvey",n)},deep:!0}},beforeMount(){this.fetchSurveys()},mounted(){document.querySelector(".screen-wrapper").classList.add("widget-customizer-wrapper"),setTimeout(()=>{var t,e,a,i,s,r,n,l,o,c,u,d,m;(this.previewSurveyOptions(),this.localSettings.widget_theme=null!==(t=this.pluginSettings.widget_theme)&&void 0!==t?t:"light",this.localSettings.widget_color=null!==(e=this.pluginSettings.widget_color)&&void 0!==e?e:"#ffffff",this.localSettings.widget_text_color=null!==(a=this.pluginSettings.widget_text_color)&&void 0!==a?a:"#23282D",this.localSettings.widget_button_color=null!==(i=this.pluginSettings.widget_button_color)&&void 0!==i?i:"#2D87F1",this.localSettings.widget_toggle_icon=null!==(s=this.pluginSettings.widget_toggle_icon)&&void 0!==s?s:"field-chevron-down",this.localSettings.widget_toggle_color=null!==(r=this.pluginSettings.widget_toggle_color)&&void 0!==r?r:"#23282D",this.localSettings.widget_toggle_text=null!==(n=this.pluginSettings.widget_toggle_text)&&void 0!==n?n:"",this.localSettings.widget_font=null!==(l=this.pluginSettings.widget_font)&&void 0!==l?l:{family:"",weight:""},this.localSettings.widget_position=null!==(o=this.pluginSettings.widget_position)&&void 0!==o?o:"bottom_right",this.localSettings.widget_start_minimized=null!==(c=this.pluginSettings.widget_start_minimized)&&void 0!==c&&c,this.localSettings.widget_custom_logo=null!==(u=this.pluginSettings.widget_custom_logo)&&void 0!==u?u:"",this.pluginSettings.widget_show_logo)&&(this.localSettings.widget_show_logo=!0,this.overrideHideLogo=!0,this.localSettings.logo_type=null!==(m=this.pluginSettings.logo_type)&&void 0!==m?m:"userfeedback");this.localSettings.widget_position=null!==(d=this.pluginSettings.widget_position)&&void 0!==d?d:"bottom_right",this.$uf.widget_settings.skip_text&&""!==this.$uf.widget_settings.skip_text&&(this.localSettings.skip_text=this.$uf.widget_settings.skip_text),this.$uf.widget_settings.next_text&&""!==this.$uf.widget_settings.next_text&&(this.localSettings.next_text=this.$uf.widget_settings.next_text),this.isReady=!0,this.addUpdateGoogleFontStyle()},600)},destroyed(){document.querySelector(".screen-wrapper").classList.remove("widget-customizer-wrapper")},methods:{...Object(l.b)("config",["fetchSurveys"]),previewSurveyOptions(){const t=[];this.surveys.length>0&&(this.surveys.map(e=>{t.push({value:e.id,label:e.title})}),this.surveyOptions=t,this.selectedSurveyOption={value:this.surveys[0].id,label:this.surveys[0].title})},revertSettings(t){Object.keys(t).forEach(e=>{this.localSettings[e]=t[e]})},setWidgetFont(t){this.localSettings.widget_font=t,this.addUpdateGoogleFontStyle()},addUpdateGoogleFontStyle(){const t=this.localSettings.widget_font.family,e=this.localSettings.widget_font.weight;if(""===t){const t=document.getElementById("preview-google-font");return void(t&&t.remove())}const a=t.split(" ").join("+"," ");let i="";i="regular"===e?`https://fonts.googleapis.com/css?family=${a}&display=swap`:`https://fonts.googleapis.com/css?family=${a}:${e}&display=swap`;const s=`@import url('${i}');.userfeedback-widget * {font-family: '${t}'; font-weight: ${e}}`,r=document.head||document.getElementsByTagName("head")[0],n=document.getElementById("preview-google-font");n&&n.remove();const l=document.createElement("style");l.id="preview-google-font",r.appendChild(l),l.appendChild(document.createTextNode(s))},toggleUpgradeModal(t,e){this.upgrade_modal_show=!this.upgrade_modal_show,this.upgrade_modal_feature=t,this.upgrade_modal_utm_campaign=e},handleWidgetPositionUpdated(t){"middle_left"!==t&&"middle_right"!==t||this.toggleUpgradeModal(this.texts.modal.custom_widget_position,"widget-customizer-custom-widget-position")}}},Z=Q,G=Object(p.a)(Z,V,z,!1,null,null,null),W=G.exports,K={components:{UserFeedbackSettingsWidgetPro:E,UserFeedbackSettingsWidgetLite:W},name:"UserFeedbackSettingsWidget",beforeRouteLeave(t,e,a){document.querySelector(".settings-actions .user-feedback-button").classList.remove("lite-save-settings-button"),a()}},Y=K,J=Object(p.a)(Y,P,N,!1,null,null,null),X=J.exports,tt=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.notificationsTitle))])])],2),e("div",[e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.recipientsLabel))])]),e("div",{staticClass:"settings-block__content"},[e("div",{staticClass:"field"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.pluginSettings.notifications_recipients,expression:"pluginSettings.notifications_recipients"}],staticClass:"input",class:{"has-error":!t.validateEmails(t.pluginSettings.notifications_recipients)},attrs:{type:"text",placeholder:t.texts.recipientsPlaceholder},domProps:{value:t.pluginSettings.notifications_recipients},on:{input:function(e){e.target.composing||t.$set(t.pluginSettings,"notifications_recipients",e.target.value)}}})]),e("div",{staticClass:"settings-block__help"},[e("p",{domProps:{innerHTML:t._s(t.texts.recipientsHelp)}})])])]),e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.templateLabel))])]),e("div",{staticClass:"settings-block__content"},[e("user-feedback-radio-cards",{attrs:{options:t.emailTemplateOptions},scopedSlots:t._u([{key:"card-content",fn:function({item:a}){return[e("span",{directives:[{name:"icon",rawName:"v-icon:[`email-template-${item.value}`]",arg:"email-template-"+a.value}],style:{color:a.value===t.emailTemplate?"#2D87F1":"#aaa"}}),e("span",{staticClass:"radio-card__title"},[t._v(t._s(a.label))])]}}]),model:{value:t.emailTemplate,callback:function(e){t.emailTemplate=e},expression:"emailTemplate"}})],1)]),e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.headerImageLabel))])]),e("div",{staticClass:"settings-block__content"},[t.$uf.is_pro?t.$uf.is_licensed&&t.addons.branding.active?e("image-uploader",{scopedSlots:t._u([{key:"before-preview",fn:function(){return[e("div",{staticClass:"settings-block__help"},[e("p",{domProps:{innerHTML:t._s(t.texts.headerImageHelp)}})])]},proxy:!0},{key:"change-button",fn:function(){return[t._v(t._s(t.texts.chooseAnotherImage))]},proxy:!0},{key:"reset-button",fn:function(){return[t._v(t._s(t.texts.useDefaultImage))]},proxy:!0}]),model:{value:t.pluginSettings.notifications_header_image,callback:function(e){t.$set(t.pluginSettings,"notifications_header_image",e)},expression:"pluginSettings.notifications_header_image"}}):e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateBrandingAddon)}})]):e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.upgradeForBranding)}})])],1)])])],1)},et=[],at={name:"UserFeedbackSettingsEmail",components:{ImageUploader:F["default"],UserFeedbackNotice:R.a},computed:{...Object(l.e)("config",["pluginSettings"]),...Object(l.e)({addons:t=>t.$uf.addons}),emailTemplate:{get(){return!0===this.pluginSettings.summaries_html_template?"html":"plain"},set(t){this.updateSetting({key:"summaries_html_template",value:"html"===t})}},emailTemplateOptions(){return[{label:Object(n.a)("Plain",this.$textDomain),value:"plain"},{label:Object(n.a)("HTML",this.$textDomain),value:"html"}]},texts(){return{notificationsTitle:Object(n.a)("Notifications",this.$textDomain),recipientsLabel:Object(n.a)("Recipients",this.$textDomain),recipientsHelp:Object(n.a)("Email addresses added here will automatically be emailed notifications from UserFeedback. Leave blank to skip notifications. </br>Separate multiple notification addresses using a comma.",this.$textDomain),recipientsPlaceholder:Object(n.a)("Ex: joe@gmail.com, mike@gmail.com",this.$textDomain),templateLabel:Object(n.a)("Template",this.$textDomain),headerImageLabel:Object(n.a)("Header Image",this.$textDomain),headerImageHelp:Object(n.a)("Upload or choose a logo to be displayed at the top of email notifications.</br>Recommended size is 300x100 or smaller for best support on all devices.",this.$textDomain),chooseAnotherImage:Object(n.a)("Choose a different header image",this.$textDomain),useDefaultImage:Object(n.a)("Use the default header image",this.$textDomain),upgradeForBranding:Object(n.d)(Object(n.a)('Upgrade to Pro to unlock advanced branding settings. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("settings-panel","email")),activateBrandingAddon:Object(n.d)(Object(n.a)('Please activate the Branding addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object($.a)("settings","addons"))}}},methods:{...Object(l.d)("config",["updateSetting"]),validateEmails:o.a}},it=at,st=Object(p.a)(it,tt,et,!1,null,null,null),rt=st.exports,nt=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.accessTitle))])]),e("template",{slot:"header-bottom"},[e("p",[t._v(t._s(t.texts.accessDesc))])])],2),e("div",[e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.createAndEditLabel))])]),e("div",{staticClass:"settings-block__content"},[e("user-feedback-input-select",{attrs:{options:t.userRoles,forced:t.userRolesManageOptions,disabled:!t.$uf.is_pro,multiple:""},model:{value:t.createAndEditRoles,callback:function(e){t.createAndEditRoles=e},expression:"createAndEditRoles"}}),e("div",{staticClass:"settings-block__help"},[e("p",[t._v(t._s(t.texts.createAndEditHelp))])])],1)]),e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.viewResultsLabel))])]),e("div",{staticClass:"settings-block__content"},[e("user-feedback-input-select",{attrs:{options:t.userRoles,forced:t.userRolesManageOptions,disabled:!t.$uf.is_pro,multiple:""},model:{value:t.viewResultsRoles,callback:function(e){t.viewResultsRoles=e},expression:"viewResultsRoles"}}),e("div",{staticClass:"settings-block__help"},[e("p",[t._v(t._s(t.texts.viewResultsHelp))])])],1)]),e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.deleteSurveysLabel))])]),e("div",{staticClass:"settings-block__content"},[e("user-feedback-input-select",{attrs:{options:t.userRoles,forced:t.userRolesManageOptions,disabled:!t.$uf.is_pro,multiple:""},model:{value:t.deleteSurveysRoles,callback:function(e){t.deleteSurveysRoles=e},expression:"deleteSurveysRoles"}}),e("div",{staticClass:"settings-block__help"},[e("p",[t._v(t._s(t.texts.deleteSurveysHelp))])])],1)])]),t.$uf.is_pro?t._e():e("user-feedback-restricted-access-overlay",[e("template",{slot:"modal-content"},[e("h4",[t._v(t._s(t.texts.upgradeModalTitle))]),e("p",{domProps:{innerHTML:t._s(t.texts.upgradeModalText)}}),e("ul",{staticClass:"column-list"},[e("li",[e("span",{directives:[{name:"icon",rawName:"v-icon:check",arg:"check"}]}),e("span",[t._v(t._s(t.texts.createAndEditSurveys))])]),e("li",[e("span",{directives:[{name:"icon",rawName:"v-icon:check",arg:"check"}]}),e("span",[t._v(t._s(t.texts.viewResultsSurveys))])]),e("li",[e("span",{directives:[{name:"icon",rawName:"v-icon:check",arg:"check"}]}),e("span",[t._v(t._s(t.texts.deleteSurveys))])]),e("li",[e("span",{directives:[{name:"icon",rawName:"v-icon:check",arg:"check"}]}),e("span",[e("span",[t._v(t._s(t.texts.deleteResponses))])])])])]),e("template",{slot:"modal-footer"},[e("a",{staticClass:"button user-feedback-button is-large",attrs:{target:"_blank",rel:"noopener",href:t.texts.upgradeToProUrl}},[t._v(t._s(t.texts.upgradeModalCTA))])])],2)],1)},lt=[],ot={name:"UserFeedbackSettingsAccess",computed:{...Object(l.e)("config",["pluginSettings"]),texts(){return{accessTitle:Object(n.a)("Access Controls",this.$textDomain),accessDesc:Object(n.a)("Access controls allows you to manage and customize access to UserFeedback functionality.",this.$textDomain),createAndEditLabel:Object(n.a)("Create & Edit Surveys",this.$textDomain),createAndEditHelp:Object(n.a)("Can create and edit Surveys",this.$textDomain),viewResultsLabel:Object(n.a)("View Results",this.$textDomain),viewResultsHelp:Object(n.a)("Can view Survey results and responses",this.$textDomain),deleteSurveysLabel:Object(n.a)("Delete Surveys & Responses",this.$textDomain),deleteSurveysHelp:Object(n.a)("Can delete Surveys and Survey Responses",this.$textDomain),upgradeModalTitle:Object(n.a)("Manage and Customize User Access",this.$textDomain),upgradeModalText:Object(n.a)("<b>By default Administrators and Editors have access.</b></br>Access Controls allows you to manage and customize which user roles have access to UserFeedback functionality.",this.$textDomain),upgradeModalCTA:Object(n.a)("Upgrade to UserFeedback Pro Now",this.$textDomain),createAndEditSurveys:Object(n.a)("Create & Edit Surveys",this.$textDomain),viewResultsSurveys:Object(n.a)("View Results",this.$textDomain),deleteSurveys:Object(n.a)("Delete Surveys",this.$textDomain),deleteResponses:Object(n.a)("Delete Responses",this.$textDomain),upgradeToProUrl:this.$getUpgradeUrl("settings-panel","access")}},createAndEditRoles:{get(){return this.pluginSettings.create_edit_surveys?this.userRoles.filter(t=>this.pluginSettings.create_edit_surveys.includes(t.value)):[]},set(t){this.updateSetting({key:"create_edit_surveys",value:t.map(t=>t.value)})}},viewResultsRoles:{get(){return this.pluginSettings.view_results?this.userRoles.filter(t=>this.pluginSettings.view_results.includes(t.value)):[]},set(t){this.updateSetting({key:"view_results",value:t.map(t=>t.value)})}},deleteSurveysRoles:{get(){return this.pluginSettings.delete_surveys?this.userRoles.filter(t=>this.pluginSettings.delete_surveys.includes(t.value)):[]},set(t){this.updateSetting({key:"delete_surveys",value:t.map(t=>t.value)})}},userRoles(){const t=[];for(const e in this.$uf.roles)t.push({label:this.$uf.roles[e],value:e});return t},userRolesManageOptions(){const t=[];for(const e in this.$uf.roles_manage_options)t.push({label:this.$uf.roles_manage_options[e],value:e});return t}},methods:{...Object(l.d)("config",["updateSetting"])}},ct=ot,ut=Object(p.a)(ct,nt,lt,!1,null,null,null),dt=ut.exports,mt=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-screen-header",[e("template",{slot:"header-start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.notificationsTitle))])]),e("template",{slot:"header-bottom"},[e("p",[t._v(t._s(t.texts.accessDesc))])])],2),e("div",[e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.allowUsageTrackingLabel))])]),e("div",{staticClass:"settings-block__content"},[e("user-feedback-checkbox",{attrs:{id:"allow_usage_tracking",name:"allow_usage_tracking"},scopedSlots:t._u([{key:"after-label",fn:function(){return[e("user-feedback-icon-tooltip",{attrs:{content:t.texts.allowUsageDocHelp}})]},proxy:!0}]),model:{value:t.pluginSettings.allow_usage_tracking,callback:function(e){t.$set(t.pluginSettings,"allow_usage_tracking",e)},expression:"pluginSettings.allow_usage_tracking"}},[e("span",[e("i",[t._v(t._s(t.texts.allowUsageTrackingHelp))])])])],1)]),e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.disableEmailSummariesLabel))])]),e("div",{staticClass:"settings-block__content"},[e("user-feedback-checkbox",{attrs:{id:"summaries_disabled",name:"summaries_disabled"},model:{value:t.pluginSettings.summaries_disabled,callback:function(e){t.$set(t.pluginSettings,"summaries_disabled",e)},expression:"pluginSettings.summaries_disabled"}},[e("span",[e("i",{domProps:{innerHTML:t._s(t.texts.disableEmailSummariesHelp)}})])])],1)]),e("section",{staticClass:"settings-block"},[e("div",{staticClass:"settings-block__label"},[e("label",[t._v(t._s(t.texts.automaticUpdatesLabel))])]),e("div",{staticClass:"settings-block__content"},[e("user-feedback-radio",{attrs:{id:"automatic_updates_all",name:"automatic_updates","input-value":"all"},model:{value:t.pluginSettings.automatic_updates,callback:function(e){t.$set(t.pluginSettings,"automatic_updates",e)},expression:"pluginSettings.automatic_updates"}},[e("span",[e("i",{domProps:{innerHTML:t._s(t.texts.automaticUpdatesYes)}})])]),e("br"),e("br"),e("user-feedback-radio",{attrs:{id:"automatic_updates_minor",name:"automatic_updates","input-value":"minor"},model:{value:t.pluginSettings.automatic_updates,callback:function(e){t.$set(t.pluginSettings,"automatic_updates",e)},expression:"pluginSettings.automatic_updates"}},[e("span",[e("i",{domProps:{innerHTML:t._s(t.texts.automaticUpdatesMinor)}})])]),e("br"),e("br"),e("user-feedback-radio",{attrs:{id:"automatic_updates_none",name:"automatic_updates","input-value":"none"},model:{value:t.pluginSettings.automatic_updates,callback:function(e){t.$set(t.pluginSettings,"automatic_updates",e)},expression:"pluginSettings.automatic_updates"}},[e("span",[e("i",{domProps:{innerHTML:t._s(t.texts.automaticUpdatesNone)}})])])],1)])])],1)},gt=[],pt=a("008f"),vt={name:"UserFeedbackSettingsMisc",components:{UserFeedbackIconTooltip:pt.a},computed:{...Object(l.e)("config",["pluginSettings"]),texts(){return{notificationsTitle:Object(n.a)("Notifications",this.$textDomain),hideAnnouncementsLabel:Object(n.a)("Hide Announcement",this.$textDomain),hideAnnouncementsHelp:Object(n.a)("Check this if you would like to hide plugin announcements and update details.",this.$textDomain),allowUsageTrackingLabel:Object(n.a)("Allow Usage Tracking",this.$textDomain),allowUsageTrackingHelp:Object(n.a)("By allowing us to track usage data we can better help you because we know with which WordPress configurations, themes and plugins we should test.",this.$textDomain),allowUsageDocHelp:Object(n.d)(Object(n.a)("Complete documentation on usage tracking is available %shere%s.",this.$textDomain),`<a target="_blank" rel="noopener" href="${this.$getUrl("settings-panel","usage-tracking","https://www.userfeedback.com/docs/usage-tracking/")}">`,"</a>"),disableEmailSummariesLabel:Object(n.a)("Disable Email Summaries",this.$textDomain),disableEmailSummariesHelp:Object(n.d)(Object(n.a)("Disable Email Summaries weekly delivery. %sView Email Summary Example%s",this.$textDomain),`</br> <a target="_blank" href="${this.$uf.email_summary_preview_url}">`,"</a>"),automaticUpdatesLabel:Object(n.a)("Automatic Updates",this.$textDomain),automaticUpdatesYes:Object(n.a)("<b>Yes (recommended)</b> - Get the latest features, bugfixes, and security updates as they are released.",this.$textDomain),automaticUpdatesMinor:Object(n.a)("<b>Minor only</b> - Get bugfixes and security updates, but not major features.",this.$textDomain),automaticUpdatesNone:Object(n.a)("<b>None</b> - Manually update everything.",this.$textDomain)}}},methods:{...Object(l.d)("config",["updateSetting"])},mounted(){setTimeout(()=>{this.pluginSettings.automatic_updates&&void 0!==this.pluginSettings.automatic_updates||this.updateSetting({key:"automatic_updates",value:"none"})},300)}},ht=vt,ft=Object(p.a)(ht,mt,gt,!1,null,null,null),yt=ft.exports,bt=function(){var t=this,e=t._self._c;return e("div",[e("nav",{staticClass:"nav-tabs"},[e("router-link",{staticClass:"nav-tab-item",attrs:{to:{name:"about"}}},[t._v(t._s(t.texts.tabAboutUs))]),t.$uf.is_pro?t._e():e("router-link",{staticClass:"nav-tab-item",attrs:{to:{name:"lite-vs-pro"}}},[t._v(t._s(t.texts.tabLiteVsPro))])],1),e("div",{staticClass:"user-feedback-wp-notices-wrapper"},[e("user-feedback-wp-notices")],1),e("div",{staticClass:"screen-wrapper"},[e("router-view")],1)])},_t=[],xt={name:"UserFeedbackAboutWrapper",components:{UserFeedbackWpNotices:f.a},computed:{texts(){return{tabAboutUs:Object(n.a)("About Us",this.$textDomain),tabGettingStarted:Object(n.a)("Getting Started",this.$textDomain),tabLiteVsPro:Object(n.a)("Lite vs Pro",this.$textDomain)}}}},Ct=xt,wt=Object(p.a)(Ct,bt,_t,!1,null,null,null),kt=wt.exports,St=function(){var t=this,e=t._self._c;return e("div",{staticClass:"columns wrapper-about"},[e("div",{staticClass:"column is-12"},[e("user-feedback-about-heading-card")],1),t._l(t.plugins,(function(t){return e("div",{key:t.slug,staticClass:"column is-6"},[e("user-feedback-plugin-cross-sale",{attrs:{plugin:t}})],1)}))],2)},Ot=[],$t=function(){var t=this,e=t._self._c;return e("user-feedback-heading-card",{staticClass:"about-us-intro",attrs:{"left-width":8,"right-width":4},scopedSlots:t._u([{key:"left",fn:function(){return[e("h2",{domProps:{innerHTML:t._s(t.texts.title)}}),e("p",{domProps:{innerHTML:t._s(t.texts.content)}})]},proxy:!0},{key:"right",fn:function(){return[e("figure",[e("img",{attrs:{src:t.$uf.assets+"/img/uf-team.jpeg",alt:t.texts.imageCaption}}),e("figcaption",[t._v(t._s(t.texts.imageCaption))])])]},proxy:!0}])})},jt=[],Dt=function(){var t=this,e=t._self._c;return e("article",{staticClass:"admin-card"},[e("div",{staticClass:"admin-card__body"},[e("div",{staticClass:"columns"},[e("div",{staticClass:"column",class:"is-"+t.leftWidth},[e("div",{staticClass:"content"},[t._t("left")],2)]),e("div",{staticClass:"column",class:"is-"+t.rightWidth},[e("div",{staticClass:"content"},[t._t("right")],2)])])])])},At=[],Tt={name:"UserFeedbackHeadingCard",props:{leftWidth:{type:Number,default:6},rightWidth:{type:Number,default:6}}},Pt=Tt,Nt=Object(p.a)(Pt,Dt,At,!1,null,null,null),Lt=Nt.exports,Mt={name:"UserFeedbackAboutHeadingCard",components:{UserFeedbackHeadingCard:Lt},computed:{texts(){return{title:Object(n.a)("Hi there! Welcome to UserFeedback, the easiest way to see what your website users are <i>really</i> thinking. At UserFeedback, we build software that helps you collect visitor feedback in minutes.",this.$textDomain),content:Object(n.a)('Most website analytics tools only tell you half the story. With UserFeedback, you not only can understand what users are doing, but WHY they are doing it. This helps uncover secrets you can use to get more traffic, increase engagement, and make more sales. <br/><br/> Our goal is to make collecting useful feedback simple and actionable, by asking users for their feedback right when it matters most: When they’re engaging with your website. <br/><br/> UserFeedback is brought to you by Awesome Motive, the same team that’s behind the largest WordPress resource site, <a href="https://www.wpbeginner.com/" target="_blank" rel="noopener">WPBeginner</a></u>, the #1 best Google Analytics WordPress plugin, <a href="https://www.monsterinsights.com/" target="_blank" rel="noopener">MonsterInsights</a>, the most beginner friendly drag & drop wordPress form plugin <a href="https://wpforms.com/" target="_blank" rel="noopener">WPForms</a>, the leading WordPress SEO plugin, <a href="https://aioseo.com/" target="_blank" rel="noopener">All In One SEO</a>, and many more! <br/><br/><br/> Yup, we know a thing or two about building awesome products that customers love.',this.$textDomain),imageCaption:Object(n.a)("The Awesome Motive Team",this.$textDomain)}}}},Bt=Mt,qt=Object(p.a)(Bt,$t,jt,!1,null,null,null),Rt=qt.exports,Ft=function(){var t=this,e=t._self._c;return e("article",{staticClass:"admin-card plugin-cross-sale"},[e("div",{staticClass:"admin-card__body"},[e("div",{staticClass:"columns is-mobile"},[e("div",{staticClass:"column is-3-mobile is-4-tablet"},[e("figure",{staticClass:"plugin-cross-sale__image"},[e("img",{attrs:{src:t.plugin.icon,alt:""}})])]),e("div",{staticClass:"column is-9-mobile is-8-tablet"},[e("div",{staticClass:"content"},[e("h2",[t._v(t._s(t.plugin.title))]),e("div",{domProps:{innerHTML:t._s(t.plugin.excerpt)}})])])])]),e("footer",{staticClass:"admin-card__footer"},[e("user-feedback-install-button",{attrs:{"is-addon":!1,addon:t.plugin}})],1)])},It=[],Ut=function(){var t=this,e=t._self._c;return e("div",[t.addon&&t.isAddon&&void 0===t.addon.redirect?e("button",{staticClass:"button user-feedback-button button-secondary",class:"large"==t.size?"is-large":"",attrs:{id:t.id,type:"button",disabled:t.disableButton},on:{click:t.clickAction}},[t.addon.installed?t._e():e("span",{directives:[{name:"icon",rawName:"v-icon:download-cloud",arg:"download-cloud"}]}),e("span",[t._v(t._s(t.textButtonAction))])]):t.addon&&!t.isAddon&&void 0===t.addon.redirect?e("button",{staticClass:"button user-feedback-button button-primary",class:"large"==t.size?"is-large":"",attrs:{id:t.id,type:"button",disabled:t.disableButton},on:{click:t.clickAction}},[e("span",[t._v(t._s(t.textButtonAction))])]):t.addon&&t.addon.redirect?e("a",{staticClass:"button user-feedback-button button-primary",class:"large"==t.size?"is-large":"",attrs:{id:t.id,type:"button",disabled:t.disableButton,target:"_blank",href:t.addon.redirect}},[e("span",[t._v(t._s(t.textButtonAction)+" here")])]):t._e()])},Ht=[],Et={name:"UserFeedbackInstallButton",props:{addon:Object,isAddon:{type:Boolean,default:!0},id:{type:String},autoActivate:{type:Boolean,default:!1},customAction:{type:[Boolean,String],default:!1},customText:{type:String},size:{type:String,default:"small"}},data(){return{activating:!1,deactivating:!1,installing:!1}},computed:{texts(){return{upgrade:Object(n.a)("Upgrade Now",this.$textDomain),activating:Object(n.a)("Activating...",this.$textDomain),deactivating:Object(n.a)("Deactivating...",this.$textDomain),installing:Object(n.a)("Installing...",this.$textDomain),deactivate:Object(n.a)("Deactivate",this.$textDomain),activate:Object(n.a)("Activate",this.$textDomain),installAddon:Object(n.a)("Install Addon",this.$textDomain),installPlugin:Object(n.a)("Install Free Plugin",this.$textDomain),visitWebsite:Object(n.a)("Go to ",this.$textDomain)}},installText(){return void 0!==this.customText?this.customText:this.isAddon?this.texts.installAddon:this.texts.installPlugin},textButtonAction(){return this.addon.redirect?this.texts.visitWebsite+" "+this.addon.redirect:"undefined"!==typeof this.addon.type&&"licensed"!==this.addon.type?this.texts.upgrade:this.activating?this.texts.activating:this.deactivating?this.texts.deactivating:this.installing?this.texts.installing:this.addon.active?this.texts.deactivate:this.addon.installed?this.texts.activate:this.installText},disableButton(){return this.activating||this.deactivating||this.installing}},methods:{...Object(l.b)("addons",["installAddon","activateAddon","deactivateAddon","installPlugin"]),clickAction(){if(this.activating||this.deactivating||this.installing)return!1;this.addon.installed?this.addon.active?this.deactivate():this.activate():this.install()},install(){this.installing=!0;const t=this.isAddon?this.installAddon(this.addon):this.installPlugin(this.addon);t.then(t=>{const{success:e}=t,a=this.isAddon?Object(n.a)("There was an error installing the addon",this.$textDomain):Object(n.a)("There was an error installing the plugin",this.$textDomain);e||this.$ufErrorToast({title:a}),this.autoActivate&&this.activate()}).finally(()=>{setTimeout(()=>{this.installing=!1},1e3)})},activate(){this.activating=!0,this.activateAddon({addon:this.addon,isAddon:this.isAddon}).finally(()=>{setTimeout(()=>{this.activating=!1},1e3)})},deactivate(){this.deactivating=!0,this.deactivateAddon({addon:this.addon,isAddon:this.isAddon}).finally(()=>{setTimeout(()=>{this.deactivating=!1},1e3)})}}},Vt=Et,zt=Object(p.a)(Vt,Ut,Ht,!1,null,null,null),Qt=zt.exports,Zt={name:"UserFeedbackPluginCrossSale",components:{UserFeedbackInstallButton:Qt},props:{plugin:{type:Object,required:!0}},computed:{addonImageUrl(){return`${this.$uf.assets}/img/plugins/addon_${this.plugin.basename}.png`},addonButtonText(){return this.plugin.active?Object(n.a)("Deactivate",this.$textDomain):this.plugin.installed?Object(n.a)("Activate"):Object(n.a)("Install Addon",this.$textDomain)},addonStatus(){return this.plugin.active?Object(n.a)("Active",this.$textDomain):this.plugin.installed?Object(n.a)("Not Active"):Object(n.a)("Not Installed",this.$textDomain)},texts(){return{status:Object(n.a)("Status: ",this.$textDomain),installPlugin:Object(n.a)("Install Plugin",this.$textDomain)}}}},Gt=Zt,Wt=Object(p.a)(Gt,Ft,It,!1,null,null,null),Kt=Wt.exports,Yt={name:"UserFeedbackAbout",components:{UserFeedbackAboutHeadingCard:Rt,UserFeedbackPluginCrossSale:Kt},computed:{...Object(l.e)("addons",["plugins"])},methods:{...Object(l.b)("addons",["fetchPlugins"])},beforeMount(){this.fetchPlugins()}},Jt=Yt,Xt=Object(p.a)(Jt,St,Ot,!1,null,null,null),te=Xt.exports,ee=function(){var t=this,e=t._self._c;return e("div",{staticClass:"columns"},[e("div",{staticClass:"column is-12"},[e("user-feedback-getting-started-heading-card")],1),e("div",{staticClass:"column is-12"},[e("user-feedback-getting-started-guides")],1)])},ae=[],ie=function(){var t=this,e=t._self._c;return e("user-feedback-heading-card",{attrs:{"left-width":8,"right-width":4},scopedSlots:t._u([{key:"left",fn:function(){return[e("h2",[t._v(t._s(t.texts.title))]),e("p",{domProps:{innerHTML:t._s(t.texts.content)}})]},proxy:!0},{key:"right",fn:function(){return[e("figure",[e("img",{attrs:{src:"https://via.placeholder.com/400x280.jpg",alt:""}})])]},proxy:!0}])})},se=[],re={name:"UserFeedbackGettingStartedHeadingCard",components:{UserFeedbackHeadingCard:Lt},computed:{texts(){return{title:Object(n.a)("Getting Started with UserFeedback",this.$textDomain),content:Object(n.a)('UserFeedback is the easiest and most powerful Survey solution on the market. Get started fast with our pre-designed templates, or create a blank survey and customize it as you see fit.<br/><br/>You may noticed your Surveys page is empty, since there are no forms yet. To create a new Survey, just click the Create New button to launch the Survey Builder. <br/><br/><a href="#" target="_blank">How to Create a New Survey</a><br/><a href="#" target="_blank">How to View Results and Responses</a><br/><a href="#" target="_blank">How to Pause a Survey</a><br/>',this.$textDomain)}}}},ne=re,le=Object(p.a)(ne,ie,se,!1,null,null,null),oe=le.exports,ce=function(){var t=this,e=t._self._c;return e("div",{staticClass:"columns is-gapless"},t._l(t.guides,(function(a,i){return e("div",{key:i,staticClass:"column is-12"},[e("user-feedback-heading-card",{style:t.getCardStyles(i),attrs:{"left-width":4,"right-width":8},scopedSlots:t._u([{key:"left",fn:function(){return[e("figure",[e("img",{attrs:{src:a.image,alt:""}})])]},proxy:!0},{key:"right",fn:function(){return[e("h2",[t._v(t._s(a.title))]),e("p",{domProps:{innerHTML:t._s(a.description)}}),e("div",t._l(a.buttons,(function(a,i){return e("a",{key:i,staticClass:"button user-feedback-button",attrs:{href:a.link,target:"_blank",rel:"noopener"}},[e("span",[t._v(t._s(a.text))]),a.icon?e("span",{directives:[{name:"icon",rawName:"v-icon:[button.icon]",arg:a.icon}],staticStyle:{color:"#8CBEF7"}}):t._e()])})),0)]},proxy:!0}],null,!0)})],1)})),0)},ue=[],de={name:"UserFeedbackGettingStartedGuides",components:{UserFeedbackHeadingCard:Lt},computed:{guides(){return[{image:"https://via.placeholder.com/400x280.jpg",title:Object(n.a)("How to Choose the Right Question",this.$textDomain),description:Object(n.a)("Are you wondering which Question type does what? Maybe too, wondering which Question type is best for getting the right responses from your visitors? In this tutorial we’ll cover all the questions available in UserFeedback.",this.$textDomain),buttons:[{text:Object(n.a)("Read Documentation",this.$textDomain),icon:"external-link",link:"#"}]},{image:"https://via.placeholder.com/400x280.jpg",title:Object(n.a)("How to Choose the Right Question",this.$textDomain),description:Object(n.a)("Are you wondering which Question type does what? Maybe too, wondering which Question type is best for getting the right responses from your visitors? In this tutorial we’ll cover all the questions available in UserFeedback.",this.$textDomain),buttons:[{text:Object(n.a)("Read Documentation",this.$textDomain),icon:"external-link",link:"#"}]}]}},methods:{getCardStyles(t){return 0===t?null:{borderTop:"none"}}}},me=de,ge=Object(p.a)(me,ce,ue,!1,null,null,null),pe=ge.exports,ve={name:"UserFeedbackGettingStarted",components:{UserFeedbackGettingStartedHeadingCard:oe,UserFeedbackGettingStartedGuides:pe}},he=ve,fe=Object(p.a)(he,ee,ae,!1,null,null,null),ye=fe.exports,be=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-comparison-table",{attrs:{columns:t.tableColumns,rows:t.tableRows},scopedSlots:t._u([{key:"header",fn:function(){return[e("h2",{staticClass:"title",domProps:{innerHTML:t._s(t.texts.tableTitle)}}),e("p",[t._v(t._s(t.texts.tableDesc))])]},proxy:!0},{key:"footer",fn:function(){return[e("p",{domProps:{innerHTML:t._s(t.texts.upgradeLink)}}),e("p",{domProps:{innerHTML:t._s(t.texts.upgradeInfo)}})]},proxy:!0},{key:"rows",fn:function({row:a}){return[e("td",[t._v(t._s(a.feature))]),e("td",[e("div",{staticClass:"comparison-table__cell is-lite",class:{"is-included":a.lite.included}},[e("span",{directives:[{name:"icon",rawName:"v-icon:[row.lite.icon]",arg:a.lite.icon}]}),e("span",[e("span",{staticClass:"cell-title",domProps:{innerHTML:t._s(a.lite.title)}}),a.lite.text?e("span",{domProps:{innerHTML:t._s(a.lite.text)}}):t._e()])])]),e("td",[e("div",{staticClass:"comparison-table__cell is-pro"},[e("span",{directives:[{name:"icon",rawName:"v-icon:[row.pro.icon]",arg:a.pro.icon}]}),e("span",[e("span",{staticClass:"cell-title",domProps:{innerHTML:t._s(a.pro.title)}}),a.pro.text?e("span",{domProps:{innerHTML:t._s(a.pro.text)}}):t._e()])])])]}}])})],1)},_e=[],xe={name:"UserFeedbackAboutLiteVsPro",computed:{tableColumns(){return[{label:Object(n.a)("Feature",this.$textDomain),key:"feature"},{label:Object(n.a)("Lite",this.$textDomain),key:"lite"},{label:Object(n.a)("Pro",this.$textDomain),key:"pro"}]},tableRows(){return[{feature:Object(n.a)("Create Unlimited Surveys",this.$textDomain),lite:{icon:"check",included:!0,title:Object(n.a)("Included",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Included",this.$textDomain)}},{feature:Object(n.a)("Receive Unlimited Responses",this.$textDomain),lite:{icon:"check",included:!0,title:Object(n.a)("Included",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Included",this.$textDomain)}},{feature:Object(n.a)("Question Types",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Limited Support",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Access ratings, stars, paragraph fields, text boxes",this.$textDomain)}},{feature:Object(n.a)("Comment Boxes",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Automatically ask for more feedback",this.$textDomain)}},{feature:Object(n.a)("Prebuilt Templates",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Limited Support",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Access all templates and download from our growing library",this.$textDomain)}},{feature:Object(n.a)("Customize Logo",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Add your company's logo to the UserFeedback Survey",this.$textDomain)}},{feature:Object(n.a)("Customize Branding",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Limited Support",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Match your brand colors on your survey",this.$textDomain)}},{feature:Object(n.a)("Device Targeting",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Target Desktop, Mobile, or Tablet devices",this.$textDomain)}},{feature:Object(n.a)("Randomize Answers",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Reduce bias with randomized order",this.$textDomain)}},{feature:Object(n.a)("Target specific pages",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Launch surveys on specific pages",this.$textDomain)}},{feature:Object(n.a)("Behavioral Targeting",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Choose what users see your surveys",this.$textDomain)}},{feature:Object(n.a)("Schedule Surveys",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Set start / end times for survey collection",this.$textDomain)}},{feature:Object(n.a)("Enhanced Notifications",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Choose to send feedback to specific emails based upon survey responses",this.$textDomain)}},{feature:Object(n.a)("Export Survey Results",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Not Available",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain),text:Object(n.a)("Export all survey responses into CSV or XLSX",this.$textDomain)}},{feature:Object(n.a)("Customer Support",this.$textDomain),lite:{icon:"times-full",title:Object(n.a)("Limited Support",this.$textDomain)},pro:{icon:"check",title:Object(n.a)("Full Support",this.$textDomain)}}]},texts(){return{tableTitle:Object(n.a)('Lite <span style="font-weight: lighter;">vs</span> Pro',this.$textDomain),tableDesc:Object(n.a)("Get the most out of UserFeedback by upgrading to Pro and unlocking all the powerful features.",this.$textDomain),upgradeLink:Object(n.d)(Object(n.a)("%sGet UserFeedback Pro Today and Unlock all the Powerful Features%s",this.textDomain),`<a href="${this.$getUpgradeUrl("about-us","live-vs-pro")}" target="_blank" rel="noopener">`,"</a>"),upgradeInfo:Object(n.d)(Object(n.a)("Bonus: UserFeedback Lite users get %s50%% off regular price%s, automatically applied at checkout.",this.$textDomain),'<span style="color: #46BF40;">',"</span>")}}}},Ce=xe,we=Object(p.a)(Ce,be,_e,!1,null,null,null),ke=we.exports,Se=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-welcome-hero"),e("user-feedback-welcome-video-block"),e("user-feedback-welcome-features"),e("user-feedback-welcome-upgrade-banner"),e("user-feedback-welcome-testimonials"),e("user-feedback-welcome-footer")],1)},Oe=[],$e=function(){var t=this,e=t._self._c;return e("section",{staticClass:"welcome-hero"},[e("div",{staticClass:"welcome-hero__content"},[e("div",{staticClass:"content"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.title))]),e("p",[t._v(t._s(t.texts.welcomeText))])]),e("div",{staticClass:"welcome-hero__actions"},t._l(t.actions,(function(a,i){return e("a",{key:i,staticClass:"button user-feedback-button",class:a.buttonClass,attrs:{href:a.link}},[t._v(t._s(a.text))])})),0)]),e("figure",{staticClass:"welcome-hero__floating-img"},[e("img",{attrs:{src:t.$uf.assets+"/img/uf-guide-cover.png",alt:""}})])])},je=[],De={name:"UserFeedbackWelcomeHero",computed:{actions(){return[{text:Object(n.a)("Create Your First Survey",this.$textDomain),link:Object($.a)("surveys","new")},{text:Object(n.a)("Read Our Guide",this.$textDomain),link:"#",isExternal:!0,buttonClass:"is-secondary"}]},texts(){return{title:Object(n.a)("Welcome to UserFeedback!",this.$textDomain),welcomeText:Object(n.a)("Thank you for choosing UserFeedback - the most powerful and easy-to-use Survery builder on the market.",this.$textDomain)}}}},Ae=De,Te=Object(p.a)(Ae,$e,je,!1,null,null,null),Pe=Te.exports,Ne=function(){var t=this,e=t._self._c;return e("section",{staticClass:"welcome-section"},[e("div",{staticClass:"welcome-section-wrapper"},[e("header",{staticClass:"welcome-section__header"},[e("div",{staticClass:"content"},[e("h2",[t._v(t._s(t.texts.title))]),e("p",[t._v(t._s(t.texts.intro))]),e("a",{staticStyle:{display:"inline-block","margin-top":"60px"},attrs:{href:"#",target:"_blank",rel:"noopener"}},[e("figure",[e("img",{attrs:{src:t.$uf.assets+"/img/uf-get-started-video-cover.png",alt:""}})])])])])])])},Le=[],Me={name:"UserFeedbackWelcomeVideoBlock",computed:{texts(){return{title:Object(n.a)("Watch a Video Tutorial",this.$textDomain),intro:Object(n.a)("UserFeedback makes it easy to create surveys in WordPress. You can watch the video tutorial above or read our guide on how create your first survey.",this.$textDomain)}}}},Be=Me,qe=Object(p.a)(Be,Ne,Le,!1,null,null,null),Re=qe.exports,Fe=function(){var t=this,e=t._self._c;return e("section",{staticClass:"welcome-section"},[e("div",{staticClass:"welcome-section-wrapper"},[e("header",{staticClass:"welcome-section__header"},[e("div",{staticClass:"content"},[e("h2",{staticStyle:{"font-size":"24px"}},[t._v(t._s(t.texts.title))]),e("p",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.texts.intro))])])]),e("div",{staticStyle:{"padding-top":"60px"}},[e("div",{staticClass:"columns"},t._l(t.features,(function(a,i){return e("div",{key:i,staticClass:"column is-6"},[e("article",{staticClass:"welcome-screen-feature"},[e("div",{staticClass:"welcome-screen-feature__icon"},[e("span",{directives:[{name:"icon",rawName:"v-icon:[feature.icon]",arg:a.icon}],staticClass:"icon"})]),e("div",{staticClass:"welcome-screen-feature__content"},[e("div",{staticClass:"content"},[e("h4",{staticClass:"title"},[t._v(t._s(a.title))]),e("p",{domProps:{innerHTML:t._s(a.content)}})])])])])})),0)]),e("footer",{staticClass:"welcome-section__footer"},[e("a",{staticClass:"button user-feedback-button",attrs:{href:"#",target:"_blank",rel:"noopener"}},[t._v(t._s(t.texts.seeAllFeatures))])])])])},Ie=[],Ue={name:"UserFeedbackWelcomeFeatures",computed:{features(){return[{icon:"tools",title:Object(n.a)("Powerful Survey Builder",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)},{icon:"paper",title:Object(n.a)("Survey Templates",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)},{icon:"logic",title:Object(n.a)("Smart Conditional Logic",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)},{icon:"contrast",title:Object(n.a)("Advanced Display Features",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)},{icon:"clock",title:Object(n.a)("Survey Scheduling",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)},{icon:"smiley",title:Object(n.a)("Net Promoter Score Template",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)},{icon:"phone",title:Object(n.a)("Device Targeting",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)},{icon:"plus",title:Object(n.a)("Powerful Addons & Integrations",this.$textDomain),content:Object(n.a)("Easily create an amazing form in just a few minutes without writing any code.",this.$textDomain)}]},texts(){return{title:Object(n.a)("UserFeedback Features & Addons",this.$textDomain),intro:Object(n.a)("UserFeedback is both easy to use and extremely powerful. We have tons of helpful features that allow us to give you everything you need from a survey builder.",this.$textDomain),seeAllFeatures:Object(n.a)("See All Features",this.$textDomain)}}}},He=Ue,Ee=Object(p.a)(He,Fe,Ie,!1,null,null,null),Ve=Ee.exports,ze=function(){var t=this,e=t._self._c;return e("section",{staticClass:"welcome-upgrade-banner"},[e("div",{staticClass:"welcome-upgrade-banner__wrapper"},[e("div",{staticClass:"columns"},[e("div",{staticClass:"column is-8"},[e("div",{staticClass:"content"},[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.title))]),e("p",[t._v(t._s(t.texts.text))])]),e("ul",{staticClass:"column-list",staticStyle:{"padding-left":"0","padding-right":"0","justify-content":"flex-start"}},t._l(t.bullets,(function(a,i){return e("li",{key:i},[e("span",{directives:[{name:"icon",rawName:"v-icon:check",arg:"check"}],staticStyle:{color:"#46BF40"}}),e("span",[t._v(t._s(a))])])})),0)]),e("div",{staticClass:"column is-4"},[e("article",{staticClass:"upgrade-box"},[t._m(0),e("p",[t._v(t._s(t.texts.perYear))]),e("a",{staticClass:"button user-feedback-button",attrs:{href:"#"}},[t._v(t._s(t.texts.upgradeNow))])])])])])])},Qe=[function(){var t=this,e=t._self._c;return e("h4",{staticClass:"upgrade-box__title"},[e("span",{staticClass:"upper"},[t._v("$")]),e("span",[t._v("199")])])}],Ze={name:"UserFeedbackWelcomeUpgradeBanner",computed:{bullets(){return[Object(n.a)("More Survey Templates",this.$textDomain),Object(n.a)("Survey Scheduling",this.$textDomain),Object(n.a)("Conditional Logic",this.$textDomain),Object(n.a)("Advanced Questions",this.$textDomain),Object(n.a)("Advanced Display",this.$textDomain),Object(n.a)("Powerful Addons",this.$textDomain),Object(n.a)("Advanced Targeting",this.$textDomain),Object(n.a)("Survey Redirect",this.$textDomain)]},texts(){return{title:Object(n.a)("Upgrade to Pro",this.$textDomain),text:Object(n.a)("Upgrade to UserFeedback Pro to unlock additional templates and tons of powerful features.",this.$textDomain),perYear:Object(n.a)("per year",this.$textDomain),upgradeNow:Object(n.a)("Upgrade Now",this.$textDomain)}}}},Ge=Ze,We=Object(p.a)(Ge,ze,Qe,!1,null,null,null),Ke=We.exports,Ye=function(){var t=this,e=t._self._c;return e("section",{staticClass:"welcome-section"},[e("div",{staticClass:"welcome-section-wrapper"},[e("header",{staticClass:"welcome-section__header"},[e("div",{staticClass:"content"},[e("h2",{staticStyle:{"font-size":"24px"}},[t._v(t._s(t.texts.title))])])]),t._l(t.testimonials,(function(a,i){return e("article",{key:i,staticClass:"testimonial"},[e("figure",{staticClass:"testimonial__picture"},[e("img",{attrs:{src:a.picture,alt:""}})]),e("section",{staticClass:"testimonial__content"},[e("div",{staticClass:"content",domProps:{innerHTML:t._s(a.content)}}),e("p",{staticClass:"testimonial__name"},[t._v(t._s(a.name))])])])}))],2)])},Je=[],Xe={name:"UserFeedbackWelcomeTestimonials",computed:{testimonials(){return[{picture:"https://via.placeholder.com/300.jpg",content:Object(n.a)("WPForms is by far the easiest form plugin to use. My clients love it – it’s one of the few plugins they can use without any training. As a developer I appreciate how fast, modern, clean and extensible it is.",this.$textDomain),name:"Bill Erickson, Erickson Web Consulting "},{picture:"https://via.placeholder.com/300.jpg",content:Object(n.a)("WPForms is by far the easiest form plugin to use. My clients love it – it’s one of the few plugins they can use without any training. As a developer I appreciate how fast, modern, clean and extensible it is.",this.$textDomain),name:"Bill Erickson, Erickson Web Consulting "}]},texts(){return{title:Object(n.a)("Testimonials",this.$textDomain)}}}},ta=Xe,ea=Object(p.a)(ta,Ye,Je,!1,null,null,null),aa=ea.exports,ia=function(){var t=this,e=t._self._c;return e("footer",{staticClass:"welcome-screen-footer"},[e("a",{staticClass:"button user-feedback-button is-large",attrs:{href:t.createSurveyLink}},[t._v(t._s(t.texts.createFirstSurvey))]),e("a",{staticClass:"button user-feedback-button is-link",attrs:{href:"#",target:"_blank",rel:"noopener"}},[e("span",[t._v(t._s(t.texts.upgrade))]),e("span",{directives:[{name:"icon",rawName:"v-icon:arrow-right",arg:"arrow-right"}]})])])},sa=[],ra={name:"UserFeedbackWelcomeFooter",computed:{createSurveyLink(){return Object($.a)("surveys","new")},texts(){return{createFirstSurvey:Object(n.a)("Create Your First Survey",this.$textDomain),upgrade:Object(n.a)("Upgrade to UserFeedback Pro",this.$textDomain)}}}},na=ra,la=Object(p.a)(na,ia,sa,!1,null,null,null),oa=la.exports,ca={name:"UserFeedbackWelcome",components:{UserFeedbackWelcomeHero:Pe,UserFeedbackWelcomeVideoBlock:Re,UserFeedbackWelcomeFeatures:Ve,UserFeedbackWelcomeUpgradeBanner:Ke,UserFeedbackWelcomeTestimonials:aa,UserFeedbackWelcomeFooter:oa}},ua=ca,da=Object(p.a)(ua,Se,Oe,!1,null,null,null),ma=da.exports,ga=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"top-bar"},[e("div",{staticClass:"top-bar__start"},[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.topBarTitle))])]),e("div",{staticClass:"top-bar__end"},[e("div",{staticClass:"icon-input"},[e("span",{directives:[{name:"icon",rawName:"v-icon:search",arg:"search"}],staticClass:"icon"}),e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],attrs:{type:"text",placeholder:t.texts.searchPlaceholder,"aria-label":t.texts.searchPlaceholder},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}})])])]),e("div",{staticClass:"user-feedback-wp-notices-wrapper"},[e("user-feedback-wp-notices")],1),e("br"),t.$uf.is_pro?t._e():e("div",{staticClass:"notice notice-info user-feedback-addons-notice"},[e("p",[e("b",[t._v(t._s(t.texts.notice_heading))])]),e("p",[t._v(t._s(t.texts.notice_description))]),e("p",{domProps:{innerHTML:t._s(t.texts.notice_button)}})]),e("div",{staticClass:"screen-wrapper userfeedback-addons-list"},[e("div",{staticClass:"columns"},[t.licenseLoaded&&!t.license.key.length?e("div",{staticClass:"column is-12"},[e("user-feedback-notice",{attrs:{type:"warning",bordered:!1}},[e("div",{domProps:{innerHTML:t._s(t.texts.licenseKeyNotice)}})])],1):t._e(),t._l(t.addons,(function(t,a){return e("div",{key:a,staticClass:"column is-6"},[e("user-feedback-addon-block",{attrs:{addon:t}})],1)}))],2)])])},pa=[],va=function(){var t=this,e=t._self._c;return e("article",{staticClass:"admin-card plugin-cross-sale is-addon"},[e("div",{staticClass:"admin-card__body"},[e("div",{staticClass:"columns is-mobile"},[e("div",{staticClass:"column is-3-mobile is-4-tablet"},[e("figure",{staticClass:"plugin-cross-sale__image"},[e("img",{attrs:{src:t.addonImageUrl,alt:t.addon.title+" icon"}})])]),e("div",{staticClass:"column is-9-mobile is-8-tablet"},[e("div",{staticClass:"content"},[e("h2",[t._v(t._s(t.addon.title))]),e("div",{domProps:{innerHTML:t._s(t.addon.excerpt)}})])])])]),e("footer",{staticClass:"admin-card__footer"},[e("span",[t._v(" "+t._s(t.texts.status)+" "),e("user-feedback-addon-status",{attrs:{addon:this.addon}})],1),"licensed"===t.addon.type?e("user-feedback-install-button",{attrs:{addon:t.addon}}):e("span",[t.isPro&&!t.addon.installed&&"plus"==t.$uf.license_type?e("a",{staticClass:"button user-feedback-button is-green",attrs:{href:t.upgradeUrl(t.addon.slug),target:"_blank",rel:"noopener"}},[t._v(t._s(t.texts.upgradeNow))]):t._e(),t.isPro?t._e():e("a",{staticClass:"button user-feedback-button is-green",attrs:{href:t.upgradeUrl(t.addon.slug),target:"_blank",rel:"noopener"}},[t._v(t._s(t.texts.upgradeNow))]),t.isPro&&t.addon.installed&&!t.addon.active?e("span",{domProps:{innerHTML:t._s(t.texts.activateLicense)}}):t._e()])],1)])},ha=[],fa=function(){var t=this,e=t._self._c;return e("span",{class:t.addonStatus,domProps:{textContent:t._s(t.addonStatusText)}})},ya=[],ba={name:"UserFeedbackAddonStatus",props:{addon:{type:Object,required:!0}},data(){return{texts:{user_feedback_active:Object(n.a)("Active",this.$textDomain),user_feedback_not_active:Object(n.a)("Not Active",this.$textDomain),user_feedback_not_installed:Object(n.a)("Not Installed",this.$textDomain),user_feedback_upgrade_required:Object(n.a)("Upgrade Required",this.$textDomain)}}},computed:{addonStatus(){return this.addon.active?"user_feedback_active":this.addon.installed?"user_feedback_not_active":this.addon.installed||this.$uf.is_pro?"user_feedback_not_installed":"user_feedback_upgrade_required"},addonStatusText(){return this.texts[this.addonStatus]}}},_a=ba,xa=Object(p.a)(_a,fa,ya,!1,null,null,null),Ca=xa.exports,wa={name:"UserFeedbackAddonBlock",components:{UserFeedbackAddonStatus:Ca,UserFeedbackInstallButton:Qt},props:{addon:{type:Object,required:!0}},computed:{...Object(l.e)({isPro:t=>t.$uf.is_pro}),addonImageUrl(){return`${this.$uf.assets}/img/plugins/addon_userfeedback-${this.addon.slug}.svg`},addonButtonText(){return this.addon.active?Object(n.a)("Deactivate",this.$textDomain):this.addon.installed?Object(n.a)("Activate"):Object(n.a)("Install Addon",this.$textDomain)},texts(){return{status:Object(n.a)("Status: ",this.$textDomain),upgradeNow:Object(n.a)("Upgrade Now",this.$textDomain),activateLicense:Object(n.d)(Object(n.a)("%sActivate License%s",this.$textDomain),`<a class="button user-feedback-button is-secondary" href="${Object($["a"])("settings","general")}">`,"</a>")}}},methods:{upgradeUrl(t){return this.$getUpgradeUrl("addons-page","upgrade-button-"+t)}}},ka=wa,Sa=Object(p.a)(ka,va,ha,!1,null,null,null),Oa=Sa.exports,$a={name:"UserFeedbackAddons",components:{UserFeedbackAddonBlock:Oa,UserFeedbackWpNotices:f.a},data(){return{search:""}},computed:{...Object(l.e)("addons",{allAddons:t=>t.addons}),...Object(l.e)("license",{licenseLoaded:t=>t.loaded}),...Object(l.c)("license",["license"]),texts(){return{topBarTitle:Object(n.a)("UserFeedback Addons",this.$textDomain),searchPlaceholder:Object(n.a)("Search Addons",this.$textDomain),licenseKeyNotice:Object(n.d)(Object(n.a)("Please enter a valid %slicense key%s to enable addons",this.$textDomain),`<a href="${Object($["a"])("settings","general")}">`,"</a>"),notice_heading:Object(n.a)("UserFeedback Addons are a PRO feature",this.$textDomain),notice_description:Object(n.a)("Please upgrade to PRO to unlock device targeting, complete branding, and more!",this.$textDomain),notice_button:Object(n.d)(Object(n.a)('<a target="_blank" class="button user-feedback-button" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("addons-page","upgrade-button"))}},addons(){if(this.search.length>0){const t={};for(const e in this.allAddons){const a=this.allAddons[e];a.title.toLowerCase().includes(this.search.toLowerCase())&&(t[e]=a)}return t}return this.allAddons}},methods:{...Object(l.b)("addons",["fetchAddons"])},beforeMount(){this.fetchAddons()}},ja=$a,Da=Object(p.a)(ja,ga,pa,!1,null,null,null),Aa=Da.exports,Ta=function(){var t=this,e=t._self._c;return e("div",{staticClass:"userfeedback-integrations"},[e("div",{staticClass:"userfeedback-uncanny"},[e("div",{staticClass:"userfeedback-uncanny_wrapper"},[e("figure",{staticClass:"uf-uncanny-logos"},[e("img",{attrs:{src:t.$uf.assets+"/img/integrations/uf-uncanny-logos.svg",alt:""}})]),e("h2",{staticClass:"userfeedback-uncanny_heading",domProps:{innerHTML:t._s(t.texts.page_heading)}}),e("p",{staticClass:"userfeedback-uncanny_subheading",domProps:{innerHTML:t._s(t.texts.page_subheading)}}),e("div",{staticClass:"userfeedback-uncanny_columns"},[e("div",{staticClass:"userfeedback-uncanny_columns_column userfeedback-uncanny_features"},[e("div",{staticClass:"userfeedback-uncanny_columns_column_heading",domProps:{textContent:t._s(t.texts.features_heading)}}),e("ul",t._l(t.texts.features,(function(a,i){return e("li",{key:i,domProps:{textContent:t._s(a)}})})),0)]),e("div",{staticClass:"userfeedback-uncanny_columns_column"},[e("figure",[e("img",{attrs:{src:t.$uf.assets+"/img/integrations/uncanny-screenshot.png"}})])])]),e("div",[e("user-feedback-integrations-steps")],1)])])])},Pa=[],Na=function(){var t=this,e=t._self._c;return t.plugins["uncanny-automator"]?e("div",[e("div",{staticClass:"userfeedback-uncanny_step"},[e("figure",[e("img",{attrs:{src:t.stepIcon(1),alt:""}})]),e("div",[t.plugins["uncanny-automator"].installed?t._e():e("h2",{domProps:{textContent:t._s(t.texts.step_1_heading_install)}}),t.plugins["uncanny-automator"].installed&&!t.plugins["uncanny-automator"].active?e("h2",{domProps:{textContent:t._s(t.texts.step_1_heading_activate)}}):t._e(),t.plugins["uncanny-automator"].installed&&t.plugins["uncanny-automator"].active?e("h2",{domProps:{textContent:t._s(t.texts.step_1_heading_activated)}}):t._e(),t.plugins["uncanny-automator"]?e("user-feedback-install-button",{attrs:{"is-addon":!1,addon:t.plugins["uncanny-automator"],"auto-activate":!0}}):t._e()],1)]),e("div",{staticClass:"userfeedback-uncanny_step"},[e("figure",[e("img",{attrs:{src:t.stepIcon(2),alt:""}})]),e("div",[e("h2",{domProps:{textContent:t._s(t.texts.step_2_heading)}}),e("a",{staticClass:"button user-feedback-button button-primary",attrs:{href:t.$uf.admin_url+"edit.php?post_type=uo-recipe&page=uncanny-automator-setup-wizard",disabled:2!==t.activeStep}},[e("span",{domProps:{textContent:t._s(t.texts.run_uncanny_wizard)}})])])]),e("div",{staticClass:"userfeedback-uncanny_step"},[e("figure",[e("img",{attrs:{src:t.stepIcon(3),alt:""}})]),e("div",[e("h2",{domProps:{textContent:t._s(t.texts.step_3_heading)}}),e("a",{staticClass:"button user-feedback-button button-primary",attrs:{href:t.$uf.admin_url+"post-new.php?post_type=uo-recipe",disabled:t.activeStep<3}},[e("span",{domProps:{textContent:t._s(t.texts.create_recipe)}})])])])]):t._e()},La=[],Ma={name:"UserFeedbackSettingsIntegrationsSteps",components:{UserFeedbackInstallButton:Qt},computed:{...Object(l.e)("addons",["addons","plugins"]),...Object(l.c)("addons",[]),activeStep(){return this.plugins["uncanny-automator"].installed&&this.plugins["uncanny-automator"].active?this.plugins["uncanny-automator"].setup_complete?3:2:1},texts(){return{uncanny_installed_text:Object(n.a)("Installed",this.$textDomain),run_uncanny_wizard:Object(n.a)("Get Started",this.$textDomain),create_recipe:Object(n.a)("Create Recipe",this.$textDomain),step_1_heading_install:Object(n.a)("Install Uncanny Automator",this.$textDomain),step_1_heading_activate:Object(n.a)("Activate Uncanny Automator",this.$textDomain),step_1_heading_activated:Object(n.a)("Uncanny Automator Activated",this.$textDomain),step_2_heading:Object(n.a)("Run Setup Wizard",this.$textDomain),step_3_heading:Object(n.a)("Create a Recipe",this.$textDomain)}}},beforeMount(){this.fetchPlugins()},methods:{...Object(l.b)("addons",["installAddon","fetchPlugins","installPlugin"]),stepIcon(t){return this.activeStep>t?this.$uf.assets+"/img/integrations/step-complete.svg":`${this.$uf.assets}/img/integrations/step-${t}.svg`}}},Ba=Ma,qa=Object(p.a)(Ba,Na,La,!1,null,null,null),Ra=qa.exports,Fa={name:"UserFeedbackSettingsIntegrations",components:{UserFeedbackIntegrationsSteps:Ra},computed:{...Object(l.e)("addons",["addons","plugins"]),texts(){return{notificationsTitle:Object(n.a)("Integrations WIP",this.$textDomain),page_heading:Object(n.a)("Unlock limitless possibilities with <br /> <strong>Uncanny Automator</strong>",this.$textDomain),page_subheading:Object(n.a)("Easily unlock integrations from every UserFeedback survey with<br /> the most popular automation plugin for WordPress.",this.$textDomain),features_heading:Object(n.a)("Unlock integrations such as...",this.$textDomain),features:[Object(n.a)("Add a response to a Google Sheet",this.$textDomain),Object(n.a)("Send your team a Slack message",this.$textDomain),Object(n.a)("Add a contact to your CRM",this.$textDomain),Object(n.a)("SMS message yourself",this.$textDomain),Object(n.a)("Add to your email list",this.$textDomain),Object(n.a)("and much more!",this.$textDomain)]}},activeStep:()=>1},methods:{...Object(l.b)("addons",["fetchPlugins","fetchAddons","activateAddon"]),getModuleLink(...t){return Object($.a)(...t)}},beforeMount(){this.fetchAddons(),this.fetchPlugins()}},Ia=Fa,Ua=Object(p.a)(Ia,Ta,Pa,!1,null,null,null),Ha=Ua.exports;const Ea=new i.a({routes:[{path:"/",name:"settings",component:x,redirect:"/general",children:[{path:"general",component:T,name:"settings-general"},{path:"widget",component:X,name:"settings-widget"},{path:"email",component:rt,name:"settings-email"},{path:"integrations",component:Ha,name:"settings-integrations"},{path:"access",component:dt,name:"settings-access"},{path:"misc",component:yt,name:"settings-misc"}]},{path:"/about",component:kt,children:[{path:"",name:"about",component:te},{path:"getting-started",name:"getting-started",component:ye},{path:"lite-vs-pro",name:"lite-vs-pro",component:ke}]},{path:"/addons",name:"addons",component:Aa},{path:"/welcome",name:"welcome",component:ma}]})},"5b08":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"selection-cards"},t._l(t.options,(function(a,i){return e("div",{key:i,staticClass:"selection-card",class:{"is-selected":t.value===a[t.valueKey],"is-disabled":a.disabled}},[e("label",{staticClass:"selection-card__label",attrs:{for:`radio-${t.inputName}-${a[t.valueKey]}`}},[t._v(t._s(t.getLocalizedText("Select %s",a[t.titleKey])))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{id:`radio-${t.inputName}-${a[t.valueKey]}`,type:"radio",name:"cards",disabled:a.disabled},domProps:{value:a[t.valueKey],checked:t._q(t.innerValue,a[t.valueKey])},on:{change:function(e){t.innerValue=a[t.valueKey]}}}),e("div",{staticClass:"admin-card"},[e("div",{staticClass:"admin-card__body"},[t._t("card-contents",null,{item:a,selected:t.value===a[t.valueKey]})],2)])])})),0)},s=[],r=a("561c"),n={name:"SelectionCards",props:{inputName:{type:String,required:!0},value:{type:[String,Number]},options:{type:Array,required:!0},valueKey:{type:String,default:"value"},titleKey:{type:String,default:"title"}},data(){return{innerValue:""}},methods:{getLocalizedText(t,e=[]){return Object(r.d)(Object(r.a)(t,this.$_textDomain),e)}},watch:{value(t){this.innerValue=t},innerValue(t){this.$emit("input",t)}},beforeMount(){void 0!==this.value&&(this.innerValue=this.value)}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"6a1d":function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"b",(function(){return s}));const i=(t,e,a=-1)=>{const i=a>-1?a:"session";let s="expires=";if("session"!==i){const t=new Date;t.setTime(t.getTime()+24*i*60*60*1e3),s+=t.toUTCString()}else s+="session";document.cookie=`${t} = ${e}; ${s}; path=/`},s=t=>{t+="=";const e=decodeURIComponent(document.cookie),a=e.split(";");for(let i=0;i<a.length;i++){let e=a[i];while(" "===e.charAt(0))e=e.substring(1);if(0===e.indexOf(t))return e.substring(t.length,e.length)}return null},r=t=>null!==s(t)},"6b96":function(t,e,a){"use strict";a.d(e,"a",(function(){return c}));a("14d9");var i=a("b39f");const s=new i.a,r=(t,e)=>s.post(`surveys/${t}/impression`,null,{params:{nonce:e}}),n=(t,e)=>s.post(`surveys/${t}/responses`,e).then(t=>t.data);var l=a("6a1d"),o=a("ed75");const c={namespaced:!0,state:()=>({isPreview:!1,survey:null,isSurveyFinished:!1,isSaving:!1,currentQuestionIndex:-1,answers:[]}),getters:{questions(t){return t.survey.questions},settings(t){return t.survey.settings},currentQuestion(t,e){return e.questions[t.currentQuestionIndex]},nextQuestion(t,e){return e.questions[t.currentQuestionIndex+1]},currentQuestionAnswer(t,e){return t.answers[e.currentQuestion.id]}},mutations:{setSurvey(t,e){t.survey=e},setAsPreview(t){t.isPreview=!0,t.answers=[]},setQuestionIndex(t,e){t.currentQuestionIndex=e},setIsSaving(t,e){t.isSaving=e},setIsSurveyFinished(t,e){t.isSurveyFinished=e},saveQuestionAnswer(t,{questionId:e,value:a,extra:i=null}){const s={question_id:e,value:a};i&&(s.extra=i),t.answers.push(s)}},actions:{saveResponse({state:t,rootState:e}){const{survey:a,answers:i}=t;if(!i.length||i.every(t=>null===t.value))return;const s=e.$uf.current_page;return s.link=document.location.href,s.title=document.title,n(a.id,{answers:i,page_submitted:s,nonce:a.nonces.submission})},saveQuestionAnswerAndAdvance({commit:t,dispatch:e,getters:a},i){const{nextQuestion:s}=a;t("saveQuestionAnswer",i),e(s?"moveToNextQuestion":"finishSurvey")},moveToNextQuestion({commit:t,dispatch:e,getters:a,state:i}){const{nextQuestion:s}=a;if("object"!==typeof s)t("setQuestionIndex",i.currentQuestionIndex+1);else{const s=Object(o.a)(i.currentQuestionIndex,a.questions,i.answers);if(!s)return void e("finishSurvey");const r=a.questions.findIndex(t=>t.id===s.id);t("setQuestionIndex",r)}},async finishSurvey({rootState:t,state:e,getters:a,commit:i,dispatch:s}){if(i("setIsSurveyFinished",!0),e.isPreview)return;const{survey:r}=e,{$uf:n}=t,{settings:{thank_you:o}}=a;i("setIsSaving",!0);const c=await s("saveResponse");Object(l.c)(r.cookie_name,JSON.stringify({submitted:!0,last_response_id:c})),n.addons.behavior.active&&"redirect"===o.type&&o.redirect_url&&(window.location=o.redirect_url)},async init({rootState:t,commit:e},a){a&&(e("setSurvey",a),await r(a.id,a.nonces.impression),Object(l.a)(a.cookie_name)||Object(l.c)(a.cookie_name,JSON.stringify({submitted:!1,last_response_id:null})))}}}},"6cd8":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("article",{staticClass:"notification-item",class:"is-"+t.notification.category},[e("span",{staticClass:"notification-item__icon"},[e("span",{directives:[{name:"icon",rawName:"v-icon:[`notification-${notification.icon}`]",arg:"notification-"+t.notification.icon}]})]),e("div",{staticClass:"notification-item__content"},[e("header",{staticClass:"notification-item__header"},[e("h6",{staticClass:"notification-item__title"},[t._v(t._s(t.notification.title))]),e("span",{staticClass:"notification-item__date"},[t._v(t._s(t.notification.active_from.split(" ")[0]))])]),e("div",{staticClass:"notification-item__body"},[e("div",{domProps:{innerHTML:t._s(t.notification.content)}})]),e("div",{staticClass:"notification-item__actions"},[t._l(t.actions,(function(a,i){return["action"===a.type?e("button",{key:i,staticClass:"button is-secondary",class:t.$_classPrefix+"-button",attrs:{type:"button"},on:{click:function(e){return t.performAction(a)}}},[t._v(" "+t._s(a.text)+" ")]):e("a",{key:i,staticClass:"button is-secondary",class:t.$_classPrefix+"-button",attrs:{href:a.url,target:a.is_external?"_blank":"_self",rel:a.is_external?"noopener":""},on:{click:function(e){return t.$emit("action-clicked")}}},[t._v(" "+t._s(a.text)+" ")])]})),t.isDismissed?t._e():e("button",{staticClass:"button is-link",class:t.$_classPrefix+"-button",on:{click:t.dismiss}},[t._v(t._s(t.texts.dismiss))])],2)])])},s=[],r=a("561c"),n={disableAutoload:!0,name:"NotificationItem",props:{isDismissed:{type:Boolean,default:!1},notification:{type:Object,required:!0}},computed:{actions(){return Array.isArray(this.notification.buttons)?this.notification.buttons:Object.values(this.notification.buttons)},texts(){return{dismiss:Object(r.a)("Dismiss",this.$_textDomain)}}},methods:{dismiss(){this.$emit("dismiss",this.notification.id)},performAction(t){this.$emit("action",t)}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"6da2":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.close,expression:"close"}],staticClass:"search-select",class:{"is-disabled":t.disabled}},[e("a",{staticClass:"search-select__fake",class:t.hasError?"has-error":"",attrs:{href:"javascript:",role:"button"},on:{click:t.toggle}},[t.value?e("span",[t._v(t._s(t.value.label))]):e("span",[t._v(t._s(t.emptyStateText))])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"search-select__body"},[e("div",{staticClass:"search-select__field"},[t._t("before-input"),e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],ref:"search",attrs:{placeholder:t.searchPlaceholder,type:"text",disabled:t.disabled},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}})],2),t.items.length>0?e("div",{staticClass:"search-select__list"},t._l(t.items,(function(a){return e("a",{key:a.id,attrs:{href:"javascript:"},on:{click:function(e){return t.select(a)}}},[t._v(t._s(a.label))])})),0):t._e(),0===t.items.length?e("div",{staticClass:"search-select__list"},[e("a",[t._v(t._s(t.noResultsText))])]):t._e()])])},s=[],r=a("561c");const n=(t,e=300)=>{let a;return(...i)=>{clearTimeout(a),a=setTimeout(()=>{t.apply(void 0,i)},e)}};var l={name:"SearchSelect",props:{disabled:{type:Boolean,default:!1},value:{type:Object},getItems:{type:Function,required:!0},emptyStateText:{type:String,default:function(){return Object(r.a)("Choose",this.$_textDomain)}},noResultsText:{type:String,default:function(){return Object(r.a)("No results found",this.$_textDomain)}},searchPlaceholder:{type:String,default:function(){return Object(r.a)("Search...",this.$_textDomain)}},hasError:{type:Boolean,default:!1}},data(){return{isOpen:!1,firstOpened:!1,search:"",items:[]}},methods:{open(){this.isOpen=!0,this.$refs.search.focus(),this.firstOpened||this.getItems().then(t=>{this.items=t})},close(){this.isOpen=!1,this.search=""},toggle(){this.isOpen?this.close():this.open()},select(t){this.close(),this.$emit("input",t)}},created(){this.unwatch=this.$watch("search",n(async t=>{this.items=await this.getItems(t)}))},beforeDestroy(){this.unwatch()}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e["default"]=u.exports},"703b":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("tr",[t.allowSelect?e("th",{staticClass:"check-column",attrs:{scope:"row"}},[e("label",{staticClass:"screen-reader-text",attrs:{for:"cb-select-"+t.item[t.itemIdAttribute]}},[t._v(t._s(t.texts.selectItem))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedItems,expression:"selectedItems"}],attrs:{id:"cb-select-"+t.item[t.itemIdAttribute],type:"checkbox",name:t.checkboxGroupName+"[]"},domProps:{value:t.item[t.itemIdAttribute],checked:Array.isArray(t.selectedItems)?t._i(t.selectedItems,t.item[t.itemIdAttribute])>-1:t.selectedItems},on:{change:[function(e){var a=t.selectedItems,i=e.target,s=!!i.checked;if(Array.isArray(a)){var r=t.item[t.itemIdAttribute],n=t._i(a,r);i.checked?n<0&&(t.selectedItems=a.concat([r])):n>-1&&(t.selectedItems=a.slice(0,n).concat(a.slice(n+1)))}else t.selectedItems=s},t.test]}})]):t._e(),t._l(t.columns,(function(a,i){return e("td",{key:i,class:[{"has-row-actions column-primary page-title":a.isRowTitle},"column-cell-"+a.key]},[a.isRowTitle?[e("strong",[a.link?[a.link.isVue?e("router-link",{staticClass:"row-title",attrs:{to:a.link.path(t.item)}},[t._v(t._s(t.getColumnValue(a)))]):e("a",{attrs:{href:a.link.path(t.item)}},[t._v(t._s(t.getColumnValue(a)))])]:e("span",{staticClass:"row-title"},[t._v(t._s(t.getColumnValue(a)))])],2),t.rowActions.length?e("div",{staticClass:"row-actions"},[t._l(t.rowActions,(function(a,i){return["function"===typeof a.hide&&a.hide(t.item)?t._e():e("span",{key:i,class:a.path},[a.handle&&"function"===typeof a.handle?e("a",{attrs:{href:"javascript:"},on:{click:function(e){return a.handle(t.item[t.itemIdAttribute])}}},[e("span",[t._v(t._s(a.label))])]):a.isVue?e("router-link",{attrs:{to:a.path(t.item[t.itemIdAttribute])}},[e("span",[t._v(t._s(a.label))])]):e("a",{attrs:{href:"function"===typeof a.path?a.path(t.item[t.itemIdAttribute]):a.path}},[e("span",[t._v(t._s(a.label))])])],1)]}))],2):t._e()]:e("span",{domProps:{innerHTML:t._s(t.getColumnValue(a))},on:{click:function(e){return t.getColumnClickEvent(e,a)}}})],2)})),t._t("row-end-actions",null,{item:t.item})],2)},s=[],r=a("561c"),n={name:"AdminTableRow",props:{checkboxGroupName:{type:String,default:"post"},selected:{type:Array,required:!0},item:{type:Object,required:!0},itemIdAttribute:{type:String,default:"id"},columns:{type:Array,required:!0},rowActions:{type:Array,default:()=>[]},allowSelect:{type:Boolean,default:!0}},computed:{selectedItems:{get(){return this.selected},set(t){this.$emit("update:selected",t)}},rowTitle(){const t=this.columns.find(t=>t.isRowTitle);return this.item[t.key]},texts(){return{selectItem:Object(r.d)(Object(r.a)("Select %s",this.$_textDomain),this.rowTitle)}}},methods:{test(){},getColumnValue(t){return t.value&&"function"===typeof t.value?t.value(this.item):this.item[t.key]},getColumnClickEvent(t,e){return e.click?e.click(t):null}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"70fd":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("li",{staticClass:"admin-header-step-item",class:{"is-current":t.isCurrent,"is-clickable":t.step.hasOwnProperty("click")}},[e("a",{attrs:{href:"javascript:"},on:{click:()=>{t.step.click&&t.step.click()}}},[t._v(t._s(t.step.title))]),t.isLast?e("span",{staticClass:"admin-header-step-item__separator"},[t._t("default")],2):t._e()])},s=[],r={name:"AdminHeaderWorkflowItem",props:{step:{type:Object,required:!0},isCurrent:{type:Boolean,default:!1},isLast:{type:Boolean,default:!1}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},7220:function(t,e,a){"use strict";a.d(e,"a",(function(){return v}));var i=a("a026"),s=a("2f62"),r=a("ab89"),n=a("bf14"),l=a("7c9b");const o={namespaced:!0,state:()=>({isSaving:!1,pluginSettings:{},surveys:{},survey:Object(n.b)(),loadedSurvey:!1}),mutations:{setSettings(t,e){t.pluginSettings=e},setPreviewSurvey(t,e){t.surveys=e},updateSetting(t,{key:e,value:a}){t.pluginSettings={...t.pluginSettings,[e]:a}},setIsSaving(t,e){t.isSaving=e},setSurvey(t,e){t.loadedSurvey=!1;const a=Object(l.a)(Object(n.b)(),e);t.survey=a,t.loadedSurvey=!0}},actions:{async fetchSettings({commit:t}){const e=await Object(r.d)();t("setSettings",e)},async saveSettings({state:t,commit:e}){e("setIsSaving",!0),await Object(r.g)(t.pluginSettings),e("setIsSaving",!1)},async fetchSurveys({state:t,commit:e}){const a=await Object(r.e)();e("setPreviewSurvey",a)}}};var c=a("561c"),u=a("dfa4");const d={namespaced:!0,state:()=>({loaded:!1,license:{key:"",type:"",is_expired:!1,is_disabled:!1,is_invalid:!0},networkLicense:{key:"",type:"",is_expired:!1,is_disabled:!1,is_invalid:!0}}),getters:{license:t=>t.license},mutations:{updateSiteLicense(t,e){t.license=e,t.loaded=!0},updateNetworkLicense(t,e){t.networkLicense=e,t.loaded=!0},updateLicenseKey(t,e){t.license.key=e}},actions:{getLicense({commit:t,dispatch:e}){return Object(u.b)().then(a=>{a.network&&t("updateNetworkLicense",a.network),a.site&&t("updateSiteLicense",a.site),e("maybeAddLicenseNotices")})},verifyLicense({commit:t,dispatch:e},a){return t("updateLicenseKey",a),Object(u.e)(a).then(t=>(t.success&&(e("getLicense"),e("addons/fetchAddons",null,{root:!0})),t))},deactivateLicense({commit:t,dispatch:e},a){return Object(u.a)(a).then(t=>(t.success&&e("getLicense"),t))},validateLicense({dispatch:t},e){return Object(u.d)(e).then(e=>(t("addons/fetchAddons",null,{root:!0}),e))},maybeAddLicenseNotices({state:t,commit:e}){t.license.is_expired||t.networkLicense.is_expired?e("addNotice",{id:"license_expired",content:Object(c.d)(Object(c.a)("Your license key for UserFeedback has expired. %1$sPlease click here to renew your license key.%2$s",i.a.prototype.$textDomain),'<a target="blank" href="'+i.a.prototype.$getUrl("admin-notices","expired-license","https://www.userfeedback.com/login/")+'">',"</a>"),type:"error"},{root:!0}):t.license.is_disabled||t.networkLicense.is_disabled?e("addNotice",{id:"license_disabled",content:Object(c.a)("Your license key for UserFeedback has been disabled. Please use a different key.",i.a.prototype.$textDomain),type:"error"},{root:!0}):(t.license.is_invalid||t.networkLicense.is_invalid)&&e("addNotice",{id:"license_invalid",content:Object(c.a)("Your license key for UserFeedback is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key.",i.a.prototype.$textDomain),type:"error"},{root:!0})}}};var m=a("763a");const g={namespaced:!0,state:()=>({addons:{},plugins:{}}),getters:{},mutations:{updateAddons(t,e){t.addons=e},updatePlugins(t,e){t.plugins=e}},actions:{fetchAddons({commit:t}){return Object(m.c)().then(e=>(t("updateAddons",e),e))},fetchPlugins({commit:t}){return Object(r.c)().then(e=>{t("updatePlugins",e)})},installAddon({dispatch:t},e){return Object(m.d)(e).then(e=>(t("fetchAddons"),e))},installPlugin({dispatch:t},e){return Object(r.f)(e).then(e=>(t("fetchPlugins"),e))},activateAddon({dispatch:t},{addon:e,isAddon:a=!1}){return Object(m.a)(e).then(e=>(t(a?"fetchAddons":"fetchPlugins"),e))},deactivateAddon({dispatch:t},{addon:e,isAddon:a=!1}){return Object(m.b)(e).then(e=>(t(a?"fetchAddons":"fetchPlugins"),e))}}};var p=a("6b96");i.a.use(s.a);const v=new s.a.Store({modules:{config:o,license:d,addons:g,widget:p.a}})},"74f4":function(t,e,a){"use strict";a.r(e),a.d(e,"router",(function(){return la}));var i=a("8c4f"),s=a("274d"),r=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-screen-header",{scopedSlots:t._u([{key:"header-start",fn:function(){return[e("h1",{staticClass:"title"},[t._v(t._s(t.texts.screenTitle))]),e("router-link",{staticClass:"button user-feedback-button",attrs:{to:{name:"surveys-new"}}},[t._v(t._s(t.texts.createNew))])]},proxy:!0}])}),e("user-feedback-wp-notices"),e("div",{staticClass:"screen-wrapper"},[e("user-feedback-admin-table",{attrs:{items:t.surveys.items,pagination:t.surveys.pagination,columns:t.tableColumns,"row-actions":t.rowActions,"bulk-actions":t.tableBulkActions,"quick-filters":t.quickFilters,"current-quick-filter":t.currentQuickFilter,"is-loading":t.isLoading,"checkbox-group-name":"survey"},on:{"update:currentQuickFilter":function(e){t.currentQuickFilter=e},"update:current-quick-filter":function(e){t.currentQuickFilter=e},"page-change":t.fetchSurveys,"sort-change":t.fetchSurveys,"quick-filter":()=>{t.fetchSurveys()}},scopedSlots:t._u([{key:"before-body",fn:function(){return[t.showProgressBar?e("div",{staticClass:"progress-bar is-absolute"}):t._e(),t.deletingIds.length?e("div",{staticClass:"progress-bar is-absolute is-danger"}):t._e()]},proxy:!0},{key:"table-loading",fn:function(){return[e("div",{staticClass:"userfeedback-loader"})]},proxy:!0},{key:"table-empty",fn:function(){return[e("div",{directives:[{name:"icon",rawName:"v-icon:sad-tear",arg:"sad-tear"}],staticClass:"icon"}),e("h2",{staticClass:"title"},[t._v(t._s(t.texts.empty.title))]),e("p",[t._v(t._s(t.texts.empty.description))]),e("router-link",{staticClass:"button user-feedback-button",attrs:{to:{name:"surveys-new"}}},[t._v(t._s(t.texts.createNew))])]},proxy:!0}])}),e("div",{staticClass:"clear"}),e("br"),e("br"),t.$uf.is_pro?t._e():e("div",{staticClass:"userfeedback-survey-screen-cta"},[e("div",{staticClass:"cta-wrapper"},[e("div",{staticClass:"cta-wrapper-content"},[e("div",{staticClass:"cta-heading"},[t._v(t._s(t.texts.ctaHeading))]),e("ul",{staticClass:"cta-list"},t._l(t.texts.ctaList,(function(a,i){return e("li",{key:i},[e("span",{directives:[{name:"icon",rawName:"v-icon:check",arg:"check"}]}),e("span",{domProps:{innerHTML:t._s(a)}})])})),0),e("p",{staticClass:"cta-bonus",domProps:{innerHTML:t._s(t.texts.ctaBonus)}})]),e("div",{staticClass:"cta-wrapper-button"},[e("a",{attrs:{href:t.$getUpgradeUrl("footer-cta","footer-cta"),target:"_blank",rel:"noopener"}},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"291",height:"120",fill:"none"}},[e("rect",{attrs:{width:"290.936",height:"56.032",y:"63.83",fill:"#46BF40",rx:"3.277"}}),e("path",{attrs:{fill:"#fff",d:"M79.008 92.923V85.07h2.713v7.853c0 1.358-.211 2.415-.633 3.172-.786 1.387-2.285 2.08-4.498 2.08s-3.716-.693-4.507-2.08c-.422-.757-.633-1.814-.633-3.172V85.07h2.713v7.853c0 .878.104 1.52.312 1.924.324.717 1.029 1.075 2.115 1.075 1.08 0 1.782-.358 2.106-1.075.208-.404.312-1.046.312-1.924Zm13.072-3.51c.763.815 1.144 2.01 1.144 3.588 0 1.664-.375 2.932-1.126 3.805-.746.872-1.708 1.309-2.887 1.309-.75 0-1.375-.188-1.872-.564-.271-.208-.537-.511-.797-.91v4.923h-2.444V88.399h2.366v1.395c.266-.41.549-.734.85-.97.548-.422 1.201-.633 1.958-.633 1.104 0 2.04.407 2.808 1.222Zm-1.404 3.71c0-.729-.167-1.373-.502-1.934-.33-.56-.867-.84-1.613-.84-.895 0-1.51.424-1.846 1.274-.173.45-.26 1.023-.26 1.716 0 1.098.292 1.87.876 2.314.346.26.757.39 1.23.39.688 0 1.21-.266 1.57-.797.363-.532.545-1.24.545-2.124Zm7.1 6.378c.267.226.714.338 1.344.338.89 0 1.485-.297 1.786-.892.196-.382.294-1.023.294-1.924v-.607c-.237.404-.491.708-.763.91-.49.376-1.13.563-1.915.563-1.213 0-2.184-.424-2.912-1.274-.722-.855-1.084-2.01-1.084-3.467 0-1.404.35-2.582 1.05-3.536.698-.96 1.69-1.439 2.972-1.439.474 0 .887.073 1.24.217.6.248 1.086.705 1.456 1.37v-1.361h2.4v8.962c0 1.219-.205 2.138-.615 2.756-.705 1.063-2.057 1.595-4.056 1.595-1.208 0-2.193-.237-2.956-.711-.763-.474-1.184-1.182-1.265-2.124h2.687c.069.29.182.497.338.624Zm-.415-4.88c.335.798.936 1.197 1.802 1.197.578 0 1.066-.217 1.465-.65.399-.44.598-1.136.598-2.089 0-.896-.19-1.577-.572-2.045-.375-.469-.881-.703-1.517-.703-.866 0-1.464.408-1.794 1.223-.173.433-.26.967-.26 1.603 0 .549.093 1.037.278 1.465Zm13.436-3.943c-.994 0-1.661.324-2.002.97-.191.365-.286.925-.286 1.682v4.516h-2.488v-9.447h2.358v1.647c.381-.63.713-1.06.996-1.292.463-.387 1.064-.58 1.803-.58a.6.6 0 0 1 .113.008c.035 0 .107.003.217.009v2.53a6.767 6.767 0 0 0-.711-.043Zm2.611-1.257c.653-.832 1.774-1.248 3.363-1.248 1.034 0 1.953.206 2.756.616.803.41 1.205 1.184 1.205 2.323v4.333c0 .3.005.665.017 1.092.017.324.066.543.147.659.081.115.202.21.364.286v.364h-2.687a2.766 2.766 0 0 1-.156-.537 6.708 6.708 0 0 1-.069-.572c-.341.37-.734.684-1.179.944-.531.306-1.132.46-1.802.46-.856 0-1.563-.243-2.124-.728-.555-.492-.832-1.185-.832-2.08 0-1.162.448-2.003 1.343-2.523.492-.283 1.214-.485 2.167-.606l.841-.104c.456-.058.783-.13.979-.217.353-.15.529-.384.529-.702 0-.387-.136-.653-.407-.797-.266-.15-.659-.226-1.179-.226-.584 0-.997.145-1.239.433-.174.214-.289.503-.347.867h-2.384c.052-.826.284-1.505.694-2.037Zm1.837 6.64c.231.19.514.285.85.285.531 0 1.019-.156 1.464-.468.451-.311.685-.88.702-1.707v-.919c-.156.099-.314.18-.476.243a4.176 4.176 0 0 1-.65.165l-.555.104c-.52.092-.893.205-1.118.338-.381.225-.572.575-.572 1.048 0 .422.118.726.355.91Zm16.375-10.973v12.758h-2.401v-1.309c-.353.56-.754.968-1.205 1.222-.451.254-1.011.382-1.681.382-1.104 0-2.034-.445-2.791-1.335-.751-.896-1.127-2.043-1.127-3.441 0-1.612.37-2.88 1.109-3.805.746-.924 1.74-1.387 2.982-1.387.572 0 1.081.127 1.525.382.445.248.806.595 1.084 1.04v-4.507h2.505Zm-6.657 8.095c0 .872.174 1.569.52 2.089.341.526.861.788 1.56.788.7 0 1.231-.26 1.595-.78.364-.52.546-1.193.546-2.019 0-1.156-.292-1.982-.875-2.479-.358-.3-.774-.45-1.248-.45-.723 0-1.254.274-1.595.823-.335.543-.503 1.22-.503 2.028Zm17.085 1.89c-.063.56-.355 1.13-.875 1.707-.809.919-1.941 1.378-3.398 1.378a4.79 4.79 0 0 1-3.18-1.161c-.919-.775-1.379-2.034-1.379-3.78 0-1.635.414-2.888 1.24-3.76.832-.873 1.91-1.31 3.233-1.31.786 0 1.493.148 2.123.442.63.295 1.15.76 1.56 1.396.37.56.61 1.21.72 1.95.063.433.089 1.057.078 1.872h-6.466c.035.948.332 1.612.893 1.993.341.237.751.356 1.23.356.509 0 .922-.145 1.24-.434.173-.155.326-.372.459-.65h2.522Zm-2.444-2.895c-.04-.653-.24-1.147-.598-1.483-.352-.34-.791-.51-1.317-.51-.572 0-1.017.178-1.335.537-.312.358-.508.843-.589 1.456h3.839Zm13.681 3.909v1.846l-1.17.043c-1.167.04-1.964-.162-2.392-.607-.277-.283-.416-.72-.416-1.308v-5.816h-1.317v-1.76h1.317V85.85h2.444v2.635h1.534v1.76h-1.534v4.992c0 .387.049.63.147.728.099.093.399.139.902.139h.234l.251-.017Zm9.554-6.492c.797 1 1.196 2.181 1.196 3.545 0 1.386-.399 2.574-1.196 3.562-.798.982-2.008 1.473-3.632 1.473s-2.834-.49-3.632-1.473c-.797-.988-1.196-2.176-1.196-3.562 0-1.364.399-2.546 1.196-3.545.798-1 2.008-1.5 3.632-1.5s2.834.5 3.632 1.5Zm-3.641.59c-.722 0-1.28.256-1.672.77-.388.509-.581 1.237-.581 2.185 0 .947.193 1.678.581 2.192.392.515.95.772 1.672.772.723 0 1.277-.257 1.664-.772.388-.514.581-1.245.581-2.192 0-.948-.193-1.676-.581-2.184-.387-.515-.941-.772-1.664-.772Zm17.356 3.067h-2.713v4.594h-2.652V85.07h5.565c1.282 0 2.305.33 3.068.989.762.658 1.144 1.678 1.144 3.06 0 1.507-.382 2.573-1.144 3.197-.763.624-1.852.936-3.268.936Zm1.248-2.66c.347-.307.52-.792.52-1.457 0-.664-.176-1.138-.528-1.421-.347-.283-.835-.425-1.465-.425h-2.488v3.762h2.488c.63 0 1.121-.153 1.473-.46Zm9.805.086c-.994 0-1.661.324-2.002.97-.191.365-.286.925-.286 1.682v4.516h-2.488v-9.447h2.358v1.647c.381-.63.713-1.06.997-1.292.462-.387 1.063-.58 1.802-.58.047 0 .084.002.113.008.035 0 .107.003.217.009v2.53a6.767 6.767 0 0 0-.711-.043Zm10.134-1.083c.797 1 1.196 2.181 1.196 3.545 0 1.386-.399 2.574-1.196 3.562-.797.982-2.008 1.473-3.632 1.473-1.623 0-2.834-.49-3.631-1.473-.797-.988-1.196-2.176-1.196-3.562 0-1.364.399-2.546 1.196-3.545.797-1 2.008-1.5 3.631-1.5 1.624 0 2.835.5 3.632 1.5Zm-3.64.59c-.722 0-1.28.256-1.673.77-.387.509-.581 1.237-.581 2.185 0 .947.194 1.678.581 2.192.393.515.951.772 1.673.772.722 0 1.277-.257 1.664-.772.387-.514.581-1.245.581-2.192 0-.948-.194-1.676-.581-2.184-.387-.515-.942-.772-1.664-.772ZM213.703 86.59l.563-.563c.256-.23.64-.23.871 0l4.993 4.968c.23.256.23.64 0 .87l-4.993 4.993c-.231.23-.615.23-.871 0l-.563-.563a.666.666 0 0 1 0-.896l3.098-2.945h-7.349a.592.592 0 0 1-.614-.614v-.82c0-.333.256-.614.614-.614h7.349l-3.098-2.92c-.231-.255-.256-.64 0-.895Z"}}),e("path",{attrs:{fill:"#FF0",d:"M70.611.607h150.47v47.331H70.611z"}}),e("path",{attrs:{fill:"#23282D",d:"M89.016 30.792c1.017 0 1.843-.112 2.477-.336 1.204-.43 1.806-1.227 1.806-2.393 0-.681-.299-1.208-.896-1.581-.597-.364-1.535-.686-2.813-.966l-2.183-.49c-2.146-.485-3.63-1.012-4.45-1.581-1.39-.952-2.085-2.44-2.085-4.465 0-1.847.671-3.382 2.015-4.604 1.343-1.222 3.317-1.833 5.92-1.833 2.173 0 4.025.578 5.555 1.735 1.54 1.148 2.347 2.818 2.421 5.01h-4.142c-.075-1.24-.616-2.122-1.623-2.645-.672-.345-1.507-.518-2.505-.518-1.11 0-1.997.224-2.66.672-.662.448-.993 1.073-.993 1.875 0 .738.327 1.288.98 1.652.42.242 1.315.527 2.687.854l3.554.853c1.558.373 2.734.873 3.527 1.498 1.231.97 1.847 2.374 1.847 4.212 0 1.885-.723 3.452-2.169 4.702-1.437 1.241-3.47 1.861-6.102 1.861-2.687 0-4.8-.61-6.34-1.833-1.539-1.231-2.308-2.92-2.308-5.066h4.114c.13.942.387 1.647.77 2.113.7.85 1.898 1.274 3.596 1.274Zm11.882-10.622c1.054-1.344 2.864-2.015 5.43-2.015 1.67 0 3.153.331 4.45.993 1.297.663 1.945 1.913 1.945 3.75v6.998c0 .485.01 1.073.028 1.764.028.522.108.876.238 1.063.131.187.327.34.588.462v.588h-4.338a4.35 4.35 0 0 1-.252-.868c-.047-.27-.084-.578-.112-.924a8.212 8.212 0 0 1-1.903 1.526c-.859.494-1.829.742-2.911.742-1.381 0-2.524-.392-3.429-1.176-.896-.793-1.344-1.913-1.344-3.359 0-1.875.724-3.232 2.17-4.072.793-.457 1.959-.784 3.498-.98l1.358-.168c.737-.093 1.264-.21 1.581-.35.569-.242.854-.62.854-1.133 0-.625-.219-1.054-.658-1.288-.429-.242-1.064-.363-1.903-.363-.942 0-1.61.233-2.001.7-.28.344-.467.81-.56 1.399h-3.849c.084-1.334.457-2.43 1.12-3.289Zm2.967 10.72c.373.308.83.462 1.371.462.859 0 1.647-.252 2.365-.756.728-.504 1.106-1.423 1.134-2.757v-1.483c-.252.158-.509.289-.77.391a6.742 6.742 0 0 1-1.049.266l-.896.168c-.84.15-1.442.331-1.805.546-.616.364-.924.928-.924 1.693 0 .681.191 1.171.574 1.47Zm10.915-12.371h4.479l3.177 11.251 3.246-11.251h4.283l-5.5 15.254h-4.213l-5.472-15.254Zm30.509 10.775c-.103.905-.574 1.824-1.414 2.757-1.306 1.484-3.135 2.225-5.486 2.225-1.94 0-3.652-.625-5.136-1.875-1.483-1.25-2.225-3.284-2.225-6.101 0-2.64.667-4.665 2.001-6.074 1.344-1.409 3.084-2.113 5.22-2.113 1.269 0 2.412.238 3.429.713 1.017.476 1.857 1.227 2.519 2.254.597.905.984 1.954 1.162 3.148.102.7.144 1.708.126 3.023h-10.44c.056 1.53.536 2.603 1.441 3.219.551.383 1.213.574 1.987.574.821 0 1.488-.233 2.002-.7.279-.252.527-.602.741-1.05h4.073Zm-3.947-4.674c-.065-1.054-.387-1.852-.965-2.393-.57-.55-1.279-.826-2.128-.826-.923 0-1.642.29-2.155.868-.504.579-.821 1.362-.951 2.351h6.199Zm20.6-.923c-.485 0-.905.06-1.259.181a2.504 2.504 0 0 0-1.414 1.246l-3.582-.168 1.427-11.21h11.182v3.387h-8.299l-.728 4.436c.616-.4 1.097-.667 1.442-.797.578-.215 1.283-.322 2.113-.322 1.679 0 3.144.564 4.394 1.693 1.25 1.13 1.875 2.771 1.875 4.926 0 1.876-.601 3.55-1.805 5.024-1.203 1.474-3.004 2.211-5.402 2.211-1.931 0-3.517-.517-4.758-1.553-1.241-1.035-1.931-2.505-2.071-4.408h3.974c.159.867.462 1.54.91 2.015.448.466 1.101.7 1.959.7.989 0 1.74-.345 2.253-1.036.523-.7.784-1.577.784-2.63 0-1.036-.243-1.909-.728-2.618-.485-.718-1.241-1.077-2.267-1.077Zm16.206 10.58c-2.584 0-4.399-.906-5.444-2.715-1.036-1.81-1.553-4.39-1.553-7.74 0-3.349.517-5.933 1.553-7.752 1.045-1.82 2.86-2.73 5.444-2.73s4.399.91 5.444 2.73c1.035 1.819 1.553 4.403 1.553 7.753 0 3.349-.522 5.929-1.567 7.739-1.036 1.81-2.846 2.714-5.43 2.714Zm2.337-5.108c.364-1.232.546-3.014.546-5.346 0-2.445-.187-4.255-.56-5.43-.364-1.176-1.138-1.764-2.323-1.764s-1.969.588-2.351 1.764c-.383 1.175-.574 2.985-.574 5.43 0 2.332.191 4.119.574 5.36.382 1.231 1.166 1.847 2.351 1.847s1.964-.62 2.337-1.861Zm19.984-.196c0-1.447.509-2.678 1.526-3.695 1.017-1.008 2.244-1.511 3.68-1.511 1.437 0 2.664.508 3.681 1.525s1.525 2.244 1.525 3.68c0 1.437-.508 2.664-1.525 3.681s-2.244 1.526-3.681 1.526c-1.436 0-2.663-.509-3.68-1.526-1.017-1.017-1.526-2.244-1.526-3.68Zm-12.077-6.508c-1.017-1.017-1.525-2.244-1.525-3.68 0-1.437.508-2.664 1.525-3.681s2.244-1.525 3.681-1.525c1.436 0 2.663.508 3.68 1.525 1.017 1.017 1.526 2.244 1.526 3.68 0 1.437-.509 2.664-1.526 3.681-1.007 1.017-2.234 1.526-3.68 1.526-1.437 0-2.664-.509-3.681-1.526Zm5.878 11.84h-2.169L203.45 13.48h2.127L194.27 34.304Zm9.838-3.765a2.11 2.11 0 0 0 1.567.658c.616 0 1.139-.215 1.568-.644.438-.438.657-.966.657-1.581 0-.616-.219-1.139-.657-1.568a2.111 2.111 0 0 0-1.568-.658c-.615 0-1.143.22-1.581.658-.429.43-.644.952-.644 1.568 0 .615.219 1.138.658 1.567Zm-13.603-10.188c.429.438.952.658 1.568.658.615 0 1.138-.215 1.567-.644.438-.439.658-.966.658-1.581 0-.616-.22-1.139-.658-1.568a2.11 2.11 0 0 0-1.567-.658c-.616 0-1.143.22-1.582.658-.429.43-.644.952-.644 1.568 0 .615.22 1.138.658 1.567Z"}}),e("path",{attrs:{fill:"#46BF40",d:"M66.469 25.908a1.078 1.078 0 0 0-.13-2.151l.13 2.151Zm-37.814 38.04 7.59-9.86-12.333-1.643 4.743 11.503Zm37.684-40.191c-10.959.659-31.938 7.765-37.45 30.321l2.094.512c5.19-21.241 24.986-28.05 35.486-28.682l-.13-2.151Z"}}),e("path",{attrs:{stroke:"#FF0","stroke-width":"2.155",d:"m240.702 12.83 8.199-10.062M245.751 17.207l12.219-4.377"}})])]),e("p",{staticClass:"cta-coupon",domProps:{innerHTML:t._s(t.texts.ctaCoupon)}})])])])],1)],1)},n=[],l=(a("14d9"),a("561c")),o=a("0792"),c=a("a878"),u=a("ebb2"),d={name:"UserFeedbackSurveysIndex",components:{UserFeedbackWpNotices:u.a},data(){return{initialLoad:!1,duplicatingId:null,showProgressBar:!1,deletingIds:[],currentQuickFilter:null,surveys:{items:[],pagination:null,status_filters:null},isLoading:!1}},computed:{texts(){return{screenTitle:Object(l.a)("Surveys",this.$textDomain),createNew:Object(l.a)("Create New",this.$textDomain),empty:{title:Object(l.a)("No Surveys",this.$textDomain),description:Object(l.a)("You currently have no Surveys. Click the button below to create your first Survey.",this.$textDomain)},ctaHeading:Object(l.a)("Upgrade to Pro and Unlock:",this.$textDomain),ctaList:[Object(l.a)('All Question Types Like Star Ratings & NPS <span class="reg">&reg;</span>',this.$textDomain),Object(l.a)("Comment Boxes for Even More Insights",this.$textDomain),Object(l.a)("Device Targeting for Desktop, Mobile, or Tablet",this.$textDomain),Object(l.a)("Schedule Feedback Forms",this.$textDomain),Object(l.a)("20+ Premium Templates",this.$textDomain),Object(l.a)("Custom Survey Redirects",this.$textDomain),Object(l.a)("Totally Customizable Branding",this.$textDomain),Object(l.a)("Page, Post & Taxonomy Targeting",this.$textDomain),Object(l.a)("Priority Support",this.$textDomain),Object(l.a)("...And much more!",this.$textDomain)],ctaBonus:Object(l.a)("<b>Bonus:</b> UserFeedback Lite Users <b>Save 50%</b> off normal pricing",this.$textDomain),ctaCoupon:Object(l.a)("Use Coupon Code: <b>LiteUpgrade</b>",this.$textDomain)}},tableColumns(){return[{title:Object(l.a)("Title",this.$textDomain),key:"title",sortable:!0,isRowTitle:!0,link:{isVue:!0,path:t=>({name:"surveys-edit",params:{id:t.id}})}},{title:Object(l.a)("Status",this.$textDomain),key:"status",value:t=>{let e=t.status;switch(e){case"draft":e=Object(l.a)("Draft",this.$textDomain);break;case"publish":e=Object(l.a)("Published",this.$textDomain);break;case"trash":e=Object(l.a)("Trash",this.$textDomain);break}if("publish"===t.status&&null!==t.publish_at){let a=new Date(t.publish_at);const i=6e4*a.getTimezoneOffset();a=new Date(a.getTime()-i);const s=new Date;s<a&&(e=Object(l.a)("Scheduled",this.$textDomain))}return`<span>\n                        <span class="user-feedback-status-indicator is-${t.status}"></span>\n                        <span>${e}</span>\n                    </span>`},sortable:!0},{title:Object(l.a)("Created",this.$textDomain),key:"created_at",value:t=>t.created_at?this.$getLocalizedDate(t.created_at):"",sortable:!0},{title:Object(l.a)("Shortcode",this.$textDomain),key:"shortcode",value:t=>`<input value='[userfeedback id=${t.id}]' readonly/>`,click:t=>{t.target.select(),document.execCommand("copy"),this.$ufSuccessToast({title:Object(l.a)("Copied to Clipboard",this.$textDomain)})}},{title:Object(l.a)("Responses",this.$textDomain),key:"responses_count",value:t=>{const e=Object(c.a)("results",`survey/${t.id}/responses`);return`<a href="${e}">${t.responses_count}</a>`}}]},rowActions(){return[{label:Object(l.a)("Edit",this.$textDomain),isVue:!0,path:t=>({name:"surveys-edit",params:{id:t}}),hide:t=>"trash"===t.status},{label:Object(l.a)("Results",this.$textDomain),path:t=>Object(c.a)("results","survey/"+t)},{label:Object(l.a)("Responses",this.$textDomain),path:t=>Object(c.a)("results",`survey/${t}/responses`)},{path:"duplicate",label:Object(l.a)("Duplicate",this.$textDomain),handle:this.duplicateSurvey},{path:"restore",label:Object(l.a)("Restore",this.$textDomain),handle:this.restoreSurveys,hide:t=>"trash"!==t.status},{path:"trash",label:Object(l.a)("Trash",this.$textDomain),handle:this.trashSurveys,hide:t=>"trash"===t.status},{path:"delete",label:Object(l.a)("Delete permanently",this.$textDomain),handle:this.deleteSurveys,hide:t=>"trash"!==t.status}]},tableBulkActions(){return"status:trash"===this.currentQuickFilter?[{label:Object(l.a)("Restore",this.$textDomain),value:"restore",handle:this.restoreSurveys},{label:Object(l.a)("Delete Permanently",this.$textDomain),value:"delete",handle:this.deleteSurveys}]:[{label:Object(l.a)("Publish",this.$textDomain),value:"publish",handle:this.publishSurveys},{label:Object(l.a)("Make Draft",this.$textDomain),value:"draft",handle:this.draftSurveys},{label:Object(l.a)("Trash",this.$textDomain),value:"trash",handle:this.trashSurveys}]},quickFilters(){const{status_filters:t}=this.surveys;if(!t)return[];const e=t=>{switch(t){case"all":return Object(l.a)("All",this.$textDomain);case"publish":return Object(l.a)("Published",this.$textDomain);case"scheduled":return Object(l.a)("Scheduled",this.$textDomain);case"draft":return Object(l.a)("Draft",this.$textDomain);case"trash":return Object(l.a)("Trash",this.$textDomain);default:return t}},a=[],i=t.find(t=>"all"===t.status);a.push({attribute:"status",value:i.status,count:i.count,label:e(i.status)});const s=t.find(t=>"publish"===t.status);s&&a.push({attribute:"status",value:s.status,count:s.count,label:e(s.status)});const r=t.find(t=>"scheduled"===t.status);r&&a.push({attribute:"status",value:r.status,count:r.count,label:e(r.status)});const n=t.find(t=>"draft"===t.status);n&&a.push({attribute:"status",value:n.status,count:n.count,label:e(n.status)});const o=t.find(t=>"trash"===t.status);return o&&a.push({attribute:"status",value:o.status,count:o.count,label:e(o.status)}),a},appliedFilters(){const t=this.currentQuickFilter;if(null===t)return null;const[e,a]=t.split(":");return{[`filter[${e}]`]:a}}},mounted(){this.fetchSurveys()},methods:{maybeResetFilters(t){t===this.surveys.items.length&&(this.currentQuickFilter=null)},fetchSurveys(t){const e=Object.assign({page:1,orderby:"id",order:"desc",select:["title","status","created_at","publish_at"],...this.appliedFilters},t);this.isLoading=!this.initialLoad,Object(o.f)(e).then(t=>{this.surveys=t}).finally(()=>{this.isLoading=!1,this.initialLoad=!0})},duplicateSurvey(t){null===this.duplicatingId&&(this.showProgressBar=!0,Object(o.c)(t).then(t=>{const{id:e}=t;this.$router.push({name:"surveys-edit",params:{id:e}})}))},restoreSurveys(t){Array.isArray(t)||(t=[t]),this.showProgressBar=!0,Object(o.h)(t).then(async()=>{this.maybeResetFilters(t.length),await this.fetchSurveys(),this.showProgressBar=!1})},publishSurveys(t){Array.isArray(t)||(t=[t]),this.showProgressBar=!0,Object(o.g)(t).then(async()=>{this.maybeResetFilters(t.length),await this.fetchSurveys(),this.showProgressBar=!1})},draftSurveys(t){Array.isArray(t)||(t=[t]),this.showProgressBar=!0,Object(o.b)(t).then(async()=>{this.maybeResetFilters(t.length),await this.fetchSurveys(),this.showProgressBar=!1})},trashSurveys(t){Array.isArray(t)||(t=[t]),this.deletingIds=t,Object(o.j)(t).then(async()=>{this.maybeResetFilters(t.length),await this.fetchSurveys(),this.deletingIds=[]})},deleteSurveys(t){Array.isArray(t)||(t=[t]),Object(o.a)(t).then(()=>{this.maybeResetFilters(t.length),this.fetchSurveys()})}}},m=d,g=a("2877"),p=Object(g.a)(m,r,n,!1,null,null,null),v=p.exports,h=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-admin-header",{staticClass:"user-feedback-builder-header",attrs:{type:"workflow","logo-small":t.headerLogo,workflow:t.workflow},on:{close:t.onClose}},[e("span",{directives:[{name:"icon",rawName:"v-icon:close",arg:"close"}],staticClass:"icon",attrs:{slot:"header-close"},slot:"header-close"}),e("span",{directives:[{name:"icon",rawName:"v-icon:chevron-right",arg:"chevron-right"}],staticClass:"icon",attrs:{slot:"workflow-step-separator"},slot:"workflow-step-separator"})]),e("div",{ref:"banner_container"}),e("div",{staticClass:"screen-wrapper",class:{"is-narrow":"setup"!==t.currentStepKey}},[e("router-view",{on:{"manual-save":t.saveSurveyManually}})],1)],1)},f=[],y=a("2f62"),b={name:"UserFeedbackSurveyEditor",computed:{...Object(y.e)("builder",{survey:t=>t.survey,steps:t=>t.steps,currentStepKey:t=>t.currentStepKey,lastManualSave:t=>t.lastManualSave,isNew:t=>t.isNewSurvey}),...Object(y.c)("builder",["currentStepIndex","canContinue"]),workflowSteps(){const t=JSON.parse(JSON.stringify(this.steps));return t.map((t,e)=>{if("setup"!==t.key&&t.key!==this.currentStepKey){if(!this.canContinue&&e>this.currentStepIndex||e===this.currentStepIndex)return t;t.click=()=>{this.saveSurvey(),this.$router.push({name:"edit-survey-"+t.key,params:{id:this.survey.id}})}}return t})},workflow(){return{steps:this.workflowSteps,currentStep:this.currentStepKey,actions:[{label:Object(l.a)("Save",this.$textDomain),handler:this.saveSurveyManually,disabled:"setup"===this.currentStepKey}]}},headerLogo(){return this.$uf.assets+"/img/user-feedback-logo.svg"}},methods:{...Object(y.b)("builder",["initBuilder","saveSurvey"]),...Object(y.d)("builder",["resetBuilder"]),async saveSurveyManually(t={}){const e=await this.saveSurvey(!0);e.published?t.redirect_route&&(window.location.href=this.$uf.admin_url+"/admin.php?page=userfeedback_surveys"):this.$notificationBanner.show({parentEl:this.$refs.banner_container,type:"warning",content:e.message,timeout:5})},onClose(){this.resetBuilder(),this.$router.replace("/")},openNotificationBanner(t,e="info",a=5){const i="warning"===e?"exclamation-circle":"check-circle",s=`<span class="icon" v-icon:${i}></span>`;this.$notificationBanner.show({parentEl:this.$refs.banner_container,type:e,content:t,timeout:a,slots:{beforeContent:s}})},openSaveNotificationBanner(){const t="draft"===this.survey.status,e=this.$router.resolve({name:"surveys-index"});let a=Object(l.a)(`Your Survey was <b>Saved! - <a href="${e.href}">View Surveys</a></b>`,this.$textDomain),i="success";t&&(a=Object(l.a)("Your Survey was <b>Saved as a Draft.</b>",this.$textDomain),i="info"),this.openNotificationBanner(a,i)}},mounted(){const t=!this.$route.params.hasOwnProperty("id");t?this.initBuilder():this.initBuilder(this.$route.params.id)},watch:{survey(t){const{responses_count:e}=t;if(e>0){const t=this.$router.resolve({name:"surveys-duplicate",params:{id:this.survey.id}}),e=this.$router.resolve({name:"surveys-new"}),a=Object(l.d)(Object(l.a)('This Survey has already collected responses. To make changes, please <b><a href="%s">duplicate this Survey</a></b> or <b><a href="%s">create a new one</a></b>',this.$textDomain),t.href,e.href);this.openNotificationBanner(a,"warning",-1)}},lastManualSave(){this.openSaveNotificationBanner()}}},_=b,x=Object(g.a)(_,h,f,!1,null,null,null),C=x.exports,w=function(){var t=this,e=t._self._c;return e("div",[e("h2",{staticClass:"title"},[t._v(t._s(t.texts.screenTitle))]),!t.$uf.is_licensed&&t.$uf.is_pro?[e("user-feedback-notice",{attrs:{type:"warning",bordered:!1}},[e("div",{domProps:{innerHTML:t._s(t.texts.licenseKeyNotice)}})]),e("br")]:t._e(),e("user-feedback-selection-cards",{staticClass:"survey-templates-grid",attrs:{options:t.templates,"input-name":"survey-template","title-key":"name","value-key":"key"},scopedSlots:t._u([{key:"card-contents",fn:function({item:a,selected:i}){return[e("h4",{staticClass:"admin-card__title",class:{"has-tag":i}},[e("span",[t._v(t._s(a.name))])]),e("div",{staticClass:"admin_card__content"},[e("p",[t._v(t._s(a.description))]),a.errors.length?e("div",{staticClass:"has-text-warning"},t._l(a.errors,(function(a,i){return e("p",{key:i,domProps:{innerHTML:t._s(a)}})})),0):t._e()]),t.isSaving&&i?e("span",{staticClass:"userfeedback-loader is-inline"}):t._e(),t.$uf.is_pro?t._e():e("span",[a.disabled?[e("span",{directives:[{name:"icon",rawName:"v-icon:lock",arg:"lock"}],staticClass:"admin-card__lock icon"}),e("div",{staticClass:"admin-card__hover"},[e("a",{staticClass:"button user-feedback-button",attrs:{href:t.$getUpgradeUrl("select-template",a.key),target:"_blank",rel:"noopener"}},[e("span",{directives:[{name:"icon",rawName:"v-icon:star",arg:"star"}],staticClass:"icon"}),e("span",[t._v(t._s(t.texts.upgradeToPro))])])])]:t._e()],2),t.$uf.is_pro&&!t.$uf.is_licensed?e("span",[a.disabled?[e("span",{directives:[{name:"icon",rawName:"v-icon:lock",arg:"lock"}],staticClass:"admin-card__lock icon"}),e("div",{staticClass:"admin-card__hover"},[e("span",{domProps:{innerHTML:t._s(t.texts.activateLicense)}})])]:t._e()],2):t._e(),t.$uf.is_pro&&t.$uf.is_licensed?e("span",[a.disabled?[e("span",{directives:[{name:"icon",rawName:"v-icon:lock",arg:"lock"}],staticClass:"admin-card__lock icon"}),e("div",{staticClass:"admin-card__hover"},[t.$uf.addons.templates.installed&&!t.$uf.addons.templates.active?e("span",{domProps:{innerHTML:t._s(t.texts.activateTemplatesAddon)}}):t._e(),t.$uf.addons.templates.installed?t._e():e("span",{domProps:{innerHTML:t._s(t.texts.installTemplatesAddon)}})])]:t._e()],2):t._e()]}}]),model:{value:t.selectedTemplate,callback:function(e){t.selectedTemplate=e},expression:"selectedTemplate"}}),e("survey-builder-nav",{ref:"nav"})],2)},k=[],S=function(){var t=this,e=t._self._c;return e("div",{staticClass:"builder-nav"},[t.canGoBack?e("button",{staticClass:"button user-feedback-button is-secondary",on:{click:t.moveToPrevStep}},[e("span",{directives:[{name:"icon",rawName:"v-icon:chevron-left",arg:"chevron-left"}],staticClass:"icon"}),e("span",[t._v(t._s(t.texts.back))])]):t._e(),t._t("next-button",(function(){return[t.displayNextButton?e("button",{staticClass:"button user-feedback-button",attrs:{disabled:!t.canContinue},on:{click:t.moveToNextStep}},[e("span",[t._v(t._s(t.texts.nextStep))]),e("span",{directives:[{name:"icon",rawName:"v-icon:chevron-right",arg:"chevron-right"}],staticClass:"icon"})]):t._e()]}))],2)},O=[],$={props:["previewing"],name:"SurveyBuilderNav",computed:{...Object(y.e)("builder",{survey:t=>t.survey,currentStepKey:t=>t.currentStepKey}),...Object(y.c)("builder",["prevStep","prevStepRouteName","nextStep","nextStepRouteName","canContinue","canGoBack"]),displayNextButton(){return"setup"!==this.currentStepKey&&this.nextStep},texts(){return{back:Object(l.a)("Back",this.$textDomain),nextStep:this.nextStep?Object(l.d)(Object(l.a)("Next Step: %s",this.$textDomain),this.nextStep.title):""}}},methods:{...Object(y.b)("builder",["saveSurvey"]),moveToPrevStep(){this.previewing?this.$emit("new-survey-back",this.previewing):this.$router.push({name:this.prevStepRouteName,params:{id:this.survey.id}})},moveToNextStep(){this.saveSurvey().then(()=>{this.$router.push({name:this.nextStepRouteName,params:{id:this.survey.id}}),window.scrollTo(0,0)})}}},j=$,D=Object(g.a)(j,S,O,!1,null,null,null),A=D.exports,T={components:{SurveyBuilderNav:A},computed:{...Object(y.e)("builder",["survey","isLoading","isSaving","loadedSurvey"])},methods:{...Object(y.d)("builder",["setCurrentStepKey"]),...Object(y.b)("builder",["fetchSurvey"])},mounted(){const{stepKey:t}=this.$route.meta;this.setCurrentStepKey(t)}},P=a("bbab"),N=a("a026");const L=t=>{switch(t){case"behavior":return Object(l.a)("Behavior",N.a.prototype.$textDomain);case"branding":return Object(l.a)("Branding",N.a.prototype.$textDomain);case"question-types":return Object(l.a)("Question Types",N.a.prototype.$textDomain);case"targeting":return Object(l.a)("Targeting",N.a.prototype.$textDomain);case"templates":return Object(l.a)("Templates",N.a.prototype.$textDomain);default:return t}};var M={name:"SurveySetup",mixins:[T],components:{UserFeedbackNotice:P.a},data(){return{selectedTemplate:null}},computed:{...Object(y.e)({rawTemplates:t=>Object.values(t.builder.templates)}),templates(){return this.rawTemplates.map(t=>{t.errors=[];let e=!t.is_available,{required_addons:a}=t;a||(a=[]);for(const i of a){const a=this.$uf.addons[i];a&&a.active||(e=!0,t.errors.push(Object(l.d)(Object(l.a)("Requires %s%s%s addon",this.$textDomain),"<b>",L(i),"</b>")))}return t.disabled=e,t})},texts(){return{screenTitle:Object(l.a)("Select a Template",this.$textDomain),selected:Object(l.a)("Selected",this.$textDomain),createItem:Object(l.a)("Create %s",this.$textDomain),upgradeToPro:Object(l.a)("Upgrade to Pro",this.$textDomain),activateLicense:Object(l.d)(Object(l.a)("%sActivate License%s",this.$textDomain),`<a class="button user-feedback-button" href="${Object(c["a"])("settings","general")}">`,"</a>"),activateTemplatesAddon:Object(l.d)(Object(l.a)("%sActivate Additional Templates Addon%s",this.$textDomain),`<a class="button user-feedback-button" href="${Object(c["a"])("settings","addons")}">`,"</a>"),installTemplatesAddon:Object(l.d)(Object(l.a)("%sInstall Additional Templates Addon%s",this.$textDomain),`<a class="button user-feedback-button" href="${Object(c["a"])("settings","addons")}">`,"</a>"),licenseKeyNotice:Object(l.d)(Object(l.a)("Please enter a valid %slicense key%s to enable Pro templates",this.$textDomain),`<a href="${Object(c["a"])("settings","general")}">`,"</a>")}}},methods:{...Object(y.d)("builder",["applySurveyTemplate","updateSurveyProperty"])},watch:{selectedTemplate(t){this.updateSurveyProperty({property:"template",value:t}),this.applySurveyTemplate(t),this.$refs.nav.moveToNextStep()}}},B=M,q=Object(g.a)(B,w,k,!1,null,null,null),R=q.exports,F=function(){var t=this,e=t._self._c;return e("div",[t.loadedSurvey?e("div",[e("user-feedback-upgrade-to-pro",{attrs:{show:t.upgrade_modal_open,feature:t.upgrade_modal_feature,campaign:t.upgrade_modal_campaign},on:{"modal-state":e=>t.upgrade_modal_open=e}}),e("div",{staticClass:"questions-builder-header"},[e("user-feedback-editable-text",{attrs:{tag:"h1","element-class":"title","edit-button-class":""},model:{value:t.surveyTitleValue,callback:function(e){t.surveyTitleValue=e},expression:"surveyTitleValue"}},[e("span",{directives:[{name:"icon",rawName:"v-icon:pencil",arg:"pencil"}],staticClass:"icon",attrs:{slot:"edit-button"},slot:"edit-button"})]),e("div",{staticClass:"questions-builder-preview-toggle"},[e("a",{class:{"is-active":!t.isPreviewing},attrs:{href:"javascript:",role:"button"},on:{click:t.togglePreview}},[t._v(t._s(t.texts.build))]),t._v(" | "),e("a",{class:{"is-active":t.isPreviewing},attrs:{href:"javascript:",role:"button"},on:{click:t.togglePreview}},[t._v(t._s(t.texts.preview))])])],1),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isPreviewing,expression:"!isPreviewing"}],staticClass:"questions-builder"},[e("draggable",{staticClass:"draggable",attrs:{handle:".expandable-card__header",move:t.onItemMoved},on:{end:t.onDragEnd},model:{value:t.questions,callback:function(e){t.questions=e},expression:"questions"}},t._l(t.questions,(function(a,i){return e("question-card",{key:a.id,attrs:{questions:t.questions,question:a,"available-question-types":t.availableQuestionTypes,"start-open":i===t.questions.length-1,"event-bus":t.questionsEventBus},on:{delete:t.processDelete}})})),1),e("div",{staticClass:"questions-builder__separator"},[e("div",{staticClass:"questions-builder__separator-actions"},[e("user-feedback-button-dropdown",{attrs:{"button-class":"is-secondary",choices:t.questionTypeChoices},scopedSlots:t._u([{key:"item-content",fn:function({item:a}){return[e("span",{directives:[{name:"icon",rawName:"v-icon:[item.iconName]",arg:a.iconName}],staticClass:"icon"}),e("span",[t._v(t._s(a.text))])]}}],null,!1,2806445388)},[e("template",{slot:"button"},[e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon is-small"}),e("span",[t._v(t._s(t.texts.addQuestion))])])],2)],1)]),e("survey-thank-you-message-card")],1),t.isPreviewing?e("survey-preview"):t._e(),e("survey-builder-nav",{attrs:{previewing:t.isPreviewing},on:{"new-survey-back":t.togglePreview}})],1):e("div",{staticClass:"userfeedback-loader"})])},I=[],U=a("b76a"),H=a.n(U),E=function(){var t=this,e=t._self._c;return e("user-feedback-expandable-card",{ref:"card",staticClass:"question-card",attrs:{"start-open":t.startOpen},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",{directives:[{name:"icon",rawName:"v-icon:grabber",arg:"grabber"}],staticClass:"icon"}),t.question.title.length>0?e("span",{staticClass:"question-card__title"},[t._v(t._s(t.question.title))]):e("span",{staticClass:"question-card__title-placeholder"},[t._v(t._s(t.texts.questionTitle))]),e("span",{staticClass:"question-card__title-type"},[e("span",[t._v(t._s(t.questionTypeShort))])]),t.errors.length>0?e("span",{staticClass:"question-card__title-error"},[e("span",{directives:[{name:"icon",rawName:"v-icon:exclamation-circle",arg:"exclamation-circle"}],staticClass:"icon"})]):t._e()]},proxy:!0},{key:"toggle",fn:function(){return[e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon"})]},proxy:!0},{key:"content",fn:function(){return[e("question-tab-main",{directives:[{name:"show",rawName:"v-show",value:"question"===t.currentTab,expression:"currentTab === 'question'"}],attrs:{"available-question-types":t.availableQuestionTypes,question:t.question}}),e("div",{directives:[{name:"show",rawName:"v-show",value:"settings"===t.currentTab,expression:"currentTab === 'settings'"}]},[e("question-tab-settings",{attrs:{addons:t.$uf.addons,question:t.question}})],1),e("question-tab-logic",{directives:[{name:"show",rawName:"v-show",value:"logic"===t.currentTab,expression:"currentTab === 'logic'"}],attrs:{question:t.question}})]},proxy:!0},{key:"footer",fn:function(){return[e("a",{attrs:{href:"javascript:",role:"button"},on:{click:t.promptDelete}},[t._v(t._s(t.texts.deleteQuestion))]),e("div",{staticClass:"question-card__delete",class:{"is-deleting":t.isDeleting}},[e("div",{staticClass:"question-card__delete-message",domProps:{innerHTML:t._s(t.texts.deletePrompt)}}),e("div",{staticClass:"question-card__delete-actions"},[e("button",{staticClass:"button user-feedback-button is-link",on:{click:t.cancelDelete}},[t._v(t._s(t.texts.deleteCancelButton))]),e("button",{staticClass:"button user-feedback-button is-secondary",on:{click:t.deleteQuestion}},[t._v(t._s(t.texts.deleteConfirmButton))])])])]},proxy:!0}])},[e("template",{slot:"before-content"},[t.errors.length>0?e("div",{staticClass:"question-card__content-error"},[e("div",{domProps:{innerHTML:t._s(t.errors.join("<br>"))}})]):t._e(),e("div",{staticClass:"question-card__tabs"},[e("a",{class:{"is-current":"question"===t.currentTab},attrs:{href:"javascript:",role:"button"},on:{click:function(e){return t.setTab("question")}}},[t._v(t._s(t.texts.question))]),e("a",{class:{"is-current":"settings"===t.currentTab},attrs:{href:"javascript:",role:"button"},on:{click:function(e){return t.setTab("settings")}}},[t._v(t._s(t.texts.settings))]),e("a",{class:{"is-current":"logic"===t.currentTab},attrs:{href:"javascript:",role:"button"},on:{click:function(e){return t.setTab("logic")}}},[t._v(t._s(t.texts.logic))])])])],2)},V=[],z=(a("5b81"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"question-card__tab question-card__tab-questions"},[e("user-feedback-upgrade-to-pro",{attrs:{show:t.upgrade_modal_open,feature:t.upgrade_modal_feature,campaign:t.upgrade_modal_campaign},on:{"modal-state":e=>t.upgrade_modal_open=e}}),e("div",{staticClass:"field",class:{"field-question-types":!t.upgrade_modal_open}},[e("label",{attrs:{for:"question-type-"+t.question.type}},[t._v(t._s(t.texts.questionType))]),e("div",[e("user-feedback-button-dropdown",{attrs:{"button-class":"is-secondary",choices:t.questionTypeOptions},scopedSlots:t._u([{key:"item-content",fn:function({item:a}){return[e("span",{directives:[{name:"icon",rawName:"v-icon:[item.iconName]",arg:a.iconName}],staticClass:"icon"}),e("span",[t._v(t._s(a.text))])]}}])},[e("template",{slot:"button"},[e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon is-small"}),e("span",[t._v(t._s(t.questionTypeText(t.question.type)))])])],2)],1)]),e("div",{staticClass:"field"},[e("label",{attrs:{for:"question-title-"+t.question.id}},[t._v(t._s(t.texts.questionTitle))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.question.title,expression:"question.title"}],attrs:{type:"text",id:"question-title-"+t.question.id,autocomplete:"off"},domProps:{value:t.question.title},on:{input:function(e){e.target.composing||t.$set(t.question,"title",e.target.value)}}})]),e(t.questionComponent,{tag:"component",attrs:{question:t.question}})],1)}),Q=[],Z=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-options-creator",{attrs:{name:"question-checkbox","min-options":t.minOptions,"max-options":5,"fields-placeholder":t.texts.answer},model:{value:t.options,callback:function(e){t.options=e},expression:"options"}},[e("template",{slot:"button-add"},[e("span",{directives:[{name:"icon",rawName:"v-icon:plus",arg:"plus"}],staticClass:"icon"}),e("span",[t._v(t._s(t.texts.addAnswer))])]),e("template",{slot:"button-remove"},[e("span",{directives:[{name:"icon",rawName:"v-icon:remove",arg:"remove"}],staticClass:"icon"})])],2)],1)},G=[],W=a("9bcc"),K={name:"QuestionRadioOrCheckbox",mixins:[W.a],computed:{minOptions(){return"checkbox"===this.question.type?1:2},options:{get(){return this.question.config.options},set(t){this.updateQuestionConfig({id:this.question.id,property:"options",value:t})}},texts(){return{answer:Object(l.a)("Answer",this.$textDomain),addAnswer:Object(l.a)("Add Answer",this.$textDomain)}}},beforeMount(){this.options=this.question.config.options},methods:{...Object(y.b)("builder",["updateQuestionConfig"])}},Y=K,J=Object(g.a)(Y,Z,G,!1,null,null,null),X=J.exports,tt=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-toggle",{attrs:{id:"question-include-name-"+t.question.id},model:{value:t.question.config.include_name,callback:function(e){t.$set(t.question.config,"include_name",e)},expression:"question.config.include_name"}},[e("span",[t._v(t._s(t.texts.includeNameField))]),e("span",{attrs:{slot:"help"},slot:"help"},[t._v(t._s(t.texts.includeNameFieldHelp))])])],1)},et=[],at={name:"QuestionEmail",mixins:[W.a],computed:{texts(){return{includeNameField:Object(l.a)("Include Field for Name",this.$textDomain),includeNameFieldHelp:Object(l.a)("Add a field to allow visitors to include their name alongside their email address.",this.$textDomain)}}}},it=at,st=Object(g.a)(it,tt,et,!1,null,null,null),rt=st.exports,nt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"question-card__help"},[e("p",[t._v(t._s(t.texts.helpText))])])},lt=[],ot={name:"QuestionText",mixins:[W.a],computed:{texts(){return{helpText:Object(l.a)("Visitors will see a text box to type their answer",this.$textDomain)}}}},ct=ot,ut=Object(g.a)(ct,nt,lt,!1,null,null,null),dt=ut.exports,mt={name:"QuestionTabMain",components:{QuestionRadioOrCheckbox:X,QuestionEmail:rt,QuestionText:dt},props:{availableQuestionTypes:{type:Array,required:!0},question:{type:Object,required:!0}},data(){return{upgrade_modal_open:!1,upgrade_modal_feature:"",upgrade_modal_campaign:""}},computed:{questionComponent(){const{type:t}=this.question;return["checkbox","radio-button"].includes(t)?"question-radio-or-checkbox":["text","long-text"].includes(t)?"question-text":"question-"+t},texts(){return{questionTitle:Object(l.a)("Question Title",this.$textDomain),questionType:Object(l.a)("Question Type",this.$textDomain),select_question_type:Object(l.a)("Select Question Type",this.$textDomain),upgrade_modal_star_rating:Object(l.a)("Star Rating",this.$textDomain),upgrade_modal_nps:Object(l.a)("Net Promoter Pro",this.$textDomain)}},questionTypeOptions(){return[{text:Object(l.a)("Checkboxes",this.$textDomain),questionType:"checkbox",iconName:"checkbox",handle:()=>this.handleQuestionType("checkbox")},{text:Object(l.a)("Radio Buttons",this.$textDomain),questionType:"radio-button",iconName:"radio-button",handle:()=>this.handleQuestionType("radio-button")},{text:Object(l.a)("Email Capture",this.$textDomain),questionType:"email",iconName:"email",handle:()=>this.handleQuestionType("email")},{text:Object(l.a)("Single Text Field",this.$textDomain),questionType:"text",iconName:"text",handle:()=>this.handleQuestionType("text")},{text:Object(l.a)("Long Answer",this.$textDomain),questionType:"long-text",iconName:"long-text",handle:()=>this.handleQuestionType("long-text")},{text:this.$uf.is_pro?Object(l.a)("Star Rating",this.$textDomain):Object(l.a)("Star Rating - Pro",this.$textDomain),questionType:"star-rating",iconName:"star-outline",handle:()=>this.handleQuestionType("star-rating"),disabled:this.$uf.is_pro&&!this.enableAdvancedQuestionTypes},{text:this.$uf.is_pro?Object(l.a)("Net Promoter Score",this.$textDomain):Object(l.a)("Net Promoter Score - Pro",this.$textDomain),questionType:"nps",iconName:"smiley",handle:()=>this.handleQuestionType("nps"),disabled:this.$uf.is_pro&&!this.enableAdvancedQuestionTypes}]},enableAdvancedQuestionTypes(){let t=!0;return this.$uf.is_pro&&this.$uf.is_licensed||(t=!1),this.$uf.addons["question-types"].active||(t=!1),t}},methods:{questionTypeText(t){return this.questionTypeOptions.find(e=>e.questionType===t).text},handleQuestionType(t){if(!this.$uf.is_pro&&("star-rating"===t||"nps"===t))return this.upgrade_modal_open=!0,this.upgrade_modal_feature="star-rating"===t?this.texts.upgrade_modal_star_rating:this.texts.upgrade_modal_nps,void(this.upgrade_modal_campaign=t);this.question.type=t}}},gt=mt,pt=Object(g.a)(gt,z,Q,!1,null,null,null),vt=pt.exports,ht=a("8a21"),ft=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-toggle",{attrs:{id:"question-logic-"+t.question.id,disabled:!t.logicSubjects.length},model:{value:t.question.logic.enabled,callback:function(e){t.$set(t.question.logic,"enabled",e)},expression:"question.logic.enabled"}},[e("span",[t._v(t._s(t.texts.enableLogic))]),e("span",{attrs:{slot:"help"},slot:"help"},[t._v(t._s(t.texts.logicHelp))])]),t.logicSubjects.length?t._e():e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.addQuestionsForLogic)}})]),t.question.logic.enabled&&t.logicSubjects.length>0?e("logic-builder",{attrs:{title:t.texts.displayLogic,config:t.question.logic,comparators:t.logicComparators,subjects:t.logicSubjects,"condition-id-key":"question_id"}},[e("p",{attrs:{slot:"after-action-select"},slot:"after-action-select"},[t._v(t._s(t.texts.thisQuestionIf))])]):t._e()],1)},yt=[],bt=a("bf14"),_t=a("1cce"),xt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"logic-builder"},[e("div",{staticClass:"field"},[t.title?e("label",{attrs:{for:"logic-action"}},[t._v(t._s(t.title))]):t._e(),e("span",{staticClass:"logic-builder__field"},[e("span",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.config.action,expression:"config.action"}],attrs:{name:"logic-action",id:"logic-action"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.config,"action",e.target.multiple?a:a[0])}}},t._l(t.possibleActions,(function(a){return e("option",{key:a.value,domProps:{value:a.value}},[t._v(t._s(a.label))])})),0)]),e("span",[t._t("after-action-select")],2)])]),t._l(t.config.conditions,(function(a,i){return e("logic-builder-row",{key:i,attrs:{subjects:t.subjects,"condition-id-key":t.conditionIdKey,condition:a}})}))],2)},Ct=[],wt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"field inline-fields logic-row"},[t.subjects.find(e=>e.id===t.condition[t.conditionIdKey])?[e("div",{staticClass:"select logic-row__subject"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.condition[t.conditionIdKey],expression:"condition[conditionIdKey]"}],attrs:{name:"subject",id:"subject"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.condition,t.conditionIdKey,e.target.multiple?a:a[0])}}},t._l(t.subjects,(function(a){return e("option",{key:a.id,domProps:{value:a.id}},[t._v(t._s(a.title))])})),0)]),e("div",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.condition.compare,expression:"condition.compare"}],attrs:{name:"comparator",id:"comparator"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.condition,"compare",e.target.multiple?a:a[0])}}},t._l(t.availableComparators,(function(a,i){return e("option",{key:i,domProps:{value:a.symbol}},[t._v(t._s(a.label))])})),0)]),e("div",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.condition.value,expression:"condition.value"}],attrs:{name:"choices",id:"choices"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.condition,"value",e.target.multiple?a:a[0])}}},t._l(t.subjects.find(e=>e.id===t.condition[t.conditionIdKey]).choices,(function(a,i){return e("option",{key:i},[t._v(t._s(a))])})),0)])]:t._e()],2)},kt=[],St={name:"LogicBuilderRow",props:{condition:{type:Object,required:!0},conditionIdKey:{type:String,required:!0},subjects:{type:Array,required:!0}},computed:{availableComparators(){const t=this.subjects.find(t=>t.id===this.condition[this.conditionIdKey]);return Object(_t.b)(t.type)}}},Ot=St,$t=Object(g.a)(Ot,wt,kt,!1,null,"bb5cf2f4",null),jt=$t.exports,Dt={name:"LogicBuilder",components:{LogicBuilderRow:jt},props:{config:{type:Object,required:!0},title:{type:String},actions:{type:Array},comparators:{type:[Array]},subjects:{type:Array,required:!0,validator:t=>t.every(t=>t.hasOwnProperty("id")&&t.hasOwnProperty("title")&&t.hasOwnProperty("choices"))},conditionIdKey:{type:String,default:"id"}},computed:{possibleActions(){return this.actions?this.actions:[{label:Object(l.a)("Show",this.$textDomain),value:"show"},{label:Object(l.a)("Hide",this.$textDomain),value:"hide"}]},availableComparators(){return this.comparators?this.comparators:Object(_t.b)()}},methods:{init(){const t=this.subjects[0];t&&(this.config.conditions.length>0||this.config.conditions.push({[this.conditionIdKey]:t.id,compare:this.availableComparators[0].symbol,value:t.choices[0]}))}},mounted(){this.$nextTick(this.init)}},At=Dt,Tt=Object(g.a)(At,xt,Ct,!1,null,null,null),Pt=Tt.exports,Nt={name:"QuestionTabLogic",components:{LogicBuilder:Pt,UserFeedbackNotice:P.a},props:{question:{type:Object,required:!0}},computed:{...Object(y.e)("builder",["survey"]),questionIndex(){return this.survey.questions.findIndex(t=>t.id===this.question.id)},logicComparators(){return Object(_t.b)(this.question.type)},logicSubjects(){return Object(bt.c)(this.survey,this.questionIndex)},texts(){return{enableLogic:Object(l.a)("Enable Conditional Logic",this.$textDomain),logicHelp:Object(l.a)("You may choose to skip a question, or series of questions based on the visitors response to this question.",this.$textDomain),displayLogic:Object(l.a)("Display Logic",this.$textDomain),thisQuestionIf:Object(l.a)("this question if",this.$textDomain),addQuestionsForLogic:Object(l.a)("Add at least one Radio, Checkbox, NPS, or Star Rating question <b>before this question</b> to use conditional logic.",this.$textDomain)}}},methods:{getLogicComparators(t){return Object(_t.b)(t.type)}}},Lt=Nt,Mt=Object(g.a)(Lt,ft,yt,!1,null,null,null),Bt=Mt.exports,qt={name:"QuestionCard",components:{QuestionTabMain:vt,QuestionTabLogic:Bt,QuestionTabSettings:ht.a},props:{startOpen:{type:Boolean,default:!1},availableQuestionTypes:{type:Array,required:!0},questions:{type:Array,required:!0},question:{type:Object,required:!0},eventBus:{type:Object,required:!0}},data(){return{isOpen:!1,currentTab:"question",isDeleting:!1}},computed:{...Object(y.e)({addons:t=>t.$uf.addons}),currentQuestion(){return this.questions.find(t=>t.id===this.question.id)},questionTypeShort(){switch(this.question.type){case"text":return Object(l.a)("Single Text",this.$textDomain);case"radio-button":return Object(l.a)("Radio",this.$textDomain);case"long-text":return Object(l.a)("Long Answer",this.$textDomain);case"nps":return Object(l.a)("NPS",this.$textDomain);default:return this.$capitalizeAll(this.question.type.replaceAll("-"," "))}},errors(){const t=[];if(0===this.currentQuestion.title.length&&t.push(this.texts.error_title_required),["checkbox","radio-button","nps"].indexOf(this.currentQuestion.type)>-1){const e=[];this.currentQuestion.config.options&&this.currentQuestion.config.options.forEach((t,a)=>{""===t&&e.push(!0)}),e.length>0&&t.push(this.texts.error_options_required)}return t},texts(){return{questionTitle:Object(l.a)("Question Title",this.$textDomain),question:Object(l.a)("Question",this.$textDomain),settings:Object(l.a)("Settings",this.$textDomain),logic:Object(l.a)("Logic",this.$textDomain),deleteQuestion:Object(l.a)("Delete Question",this.$textDomain),deletePrompt:Object(l.a)("Are you sure you want to delete this question? <b>This cannot be undone</b>.",this.$textDomain),deleteCancelButton:Object(l.a)("Cancel",this.$textDomain),deleteConfirmButton:Object(l.a)("Yes, delete",this.$textDomain),upgradeForSettings:Object(l.d)(Object(l.a)('Upgrade to Pro to unlock advanced question settings like Required Fields and Comment Boxes. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl()),activateQuestionTypesAddon:Object(l.d)(Object(l.a)('Please activate the Question Types addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object(c.a)("settings","addons")),error_title_required:Object(l.a)("Title is required.",this.$textDomain),error_options_required:Object(l.a)("Options are required.",this.$textDomain)}}},methods:{...Object(y.b)("builder",["clearQuestionConfig"]),setTab(t){this.currentTab=t},promptDelete(){this.isDeleting=!0},cancelDelete(){this.isDeleting=!1},deleteQuestion(){this.$emit("delete",this.question.id)},onQuestionCreated(t){this.$nextTick(()=>{""===this.question.title&&(this.question.title=t.title),t.id!==this.question.id&&this.$refs.card.closeCard()})}},mounted(){this.eventBus.$on("question-created",this.onQuestionCreated)},beforeDestroy(){this.eventBus.$off("question-created",this.onQuestionCreated)},watch:{"question.type":function(t,e){let a=!1;const i=["checkbox","radio-button"];i.includes(t)&&i.includes(e)&&(a=!0),a||this.clearQuestionConfig(this.question.id)}}},Rt=qt,Ft=Object(g.a)(Rt,E,V,!1,null,null,null),It=Ft.exports,Ut=function(){var t=this,e=t._self._c;return e("user-feedback-expandable-card",{ref:"card",staticClass:"thank-you-card",scopedSlots:t._u([{key:"title",fn:function(){return[e("span",{directives:[{name:"icon",rawName:"v-icon:grabber",arg:"grabber"}],staticClass:"icon"}),e("span",[t._v(t._s(t.texts.thankYouMessage))]),e("span",{staticClass:"question-card__title-type"},[t._v(t._s(t.displayedType))])]},proxy:!0},{key:"toggle",fn:function(){return[e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon"})]},proxy:!0},{key:"content",fn:function(){return[e("div",[e("user-feedback-upgrade-to-pro",{attrs:{show:t.show_upgrade_modal,feature:t.texts.thankYouMessage,campaign:"thank-you-message"},on:{"modal-state":e=>t.show_upgrade_modal=e}}),e("p",[t._v(t._s(t.texts.thankYouMessageHelp))]),e("div",{staticClass:"field inline-fields"},[t.$uf.is_pro?t._e():e("a",{staticClass:"cta-overlay",on:{click:function(e){return t.toggleUpgradeModal()}}}),e("user-feedback-radio",{attrs:{id:"result_message",name:"survey_result","input-value":"message",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.thank_you.type,callback:function(e){t.$set(t.survey.settings.thank_you,"type",e)},expression:"survey.settings.thank_you.type"}},[e("span",[t._v(t._s(t.texts.messageInWidget))])]),e("user-feedback-radio",{attrs:{id:"result_redirect",name:"survey_result","input-value":"redirect",disabled:!t.addons.behavior.active},model:{value:t.survey.settings.thank_you.type,callback:function(e){t.$set(t.survey.settings.thank_you,"type",e)},expression:"survey.settings.thank_you.type"}},[e("span",[t._v(t._s(t.texts.redirectToPage))])]),e("span",{directives:[{name:"icon",rawName:"v-icon:exclamation-circle",arg:"exclamation-circle"}],class:{"questions-builder-thanks-icon":!t.addons.behavior.active},on:{mouseover:t.showTooltip,mouseleave:t.hideTooltip}}),t.showTooltipFlag?e("div",{staticClass:"questions-builder-thanks-tooltip"},[t._v(" Send your users to another page on your site. ")]):t._e()],1),"message"===t.survey.settings.thank_you.type?e("div",{staticClass:"field"},[t.$uf.is_pro?t._e():e("a",{staticClass:"cta-overlay",on:{click:function(e){return t.toggleUpgradeModal()}}}),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.survey.settings.thank_you.message,expression:"survey.settings.thank_you.message"}],attrs:{name:"thank-you-message",id:"thank-you-message",disabled:!t.$uf.is_pro,placeholder:t.texts.messagePlaceholder},domProps:{value:t.survey.settings.thank_you.message},on:{input:function(e){e.target.composing||t.$set(t.survey.settings.thank_you,"message",e.target.value)}}})]):"redirect"===t.survey.settings.thank_you.type&&t.addons.behavior.active?e("user-feedback-search-select",{attrs:{"empty-state-text":t.texts.chooseAPage,"search-placeholder":t.texts.pageSearchPlaceholder,"get-items":t.searchWp},model:{value:t.redirectTo,callback:function(e){t.redirectTo=e},expression:"redirectTo"}}):t._e()],1)]},proxy:!0}])})},Ht=[],Et=a("f926"),Vt={name:"SurveyThankYouMessage",data(){return{hasLoaded:!1,redirectTo:null,show_upgrade_modal:!1,showTooltipFlag:!1}},computed:{...Object(y.e)("builder",["survey","isNewSurvey"]),...Object(y.e)({addons:t=>t.$uf.addons}),displayedType(){switch(this.survey.settings.thank_you.type){case"message":return this.texts.displayMessage;case"redirect":return this.texts.redirectToPage;default:return""}},texts(){return{thankYouMessage:Object(l.a)("Thank You Message",this.$textDomain),thankYouMessageHelp:Object(l.a)("When a visitor completes a Survey, you can either display a message within the widget, or send them to a page on your site.",this.$textDomain),messageInWidget:Object(l.a)("Display Message in Widget",this.$textDomain),redirectToPage:Object(l.a)("Redirect to a Page",this.$textDomain),messagePlaceholder:Object(l.a)("Type your Thank You Message here",this.$textDomain),displayMessage:Object(l.a)("Display Message",this.$textDomain),chooseAPage:Object(l.a)("Choose a Page",this.$textDomain),pageSearchPlaceholder:Object(l.a)("Type a page name...",this.$textDomain),upgradeForBehavior:Object(l.d)(Object(l.a)('Upgrade to Pro to unlock Custom Thank You Message and redirect on submission. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("thank-you-message",this.survey.title.toLowerCase().replace(/ /g,"-"))),activateBehaviorAddon:Object(l.d)(Object(l.a)('Please activate the Behavior addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object(c.a)("settings","addons"))}}},methods:{...Object(y.b)("builder",["updateSurveyProperty"]),async searchWp(t){const e=await Object(Et.b)({search:t});return e.map(t=>({id:t.id,label:t.title}))},toggleUpgradeModal(){this.show_upgrade_modal=!this.show_upgrade_modal},showTooltip(){this.showTooltipFlag=!0},hideTooltip(){this.showTooltipFlag=!1}},mounted(){this.isNewSurvey&&(this.survey.settings.thank_you.message=Object(l.a)("Thanks for your feedback!",this.$textDomain),this.hasLoaded=!0),"redirect"===this.survey.settings.thank_you.type&&(this.redirectTo=this.survey.settings.thank_you.redirect_to)},watch:{survey(t){""===this.survey.settings.thank_you.message&&(this.survey.settings.thank_you.message=Object(l.a)("Thanks for your feedback!",this.$textDomain)),this.isNewSurvey||(null!==t.settings.thank_you.redirect_to.id&&(this.redirectTo=t.settings.thank_you.redirect_to),this.$nextTick(()=>{this.hasLoaded=!0}))},redirectTo:{deep:!0,handler(t){this.updateSurveyProperty({property:"settings",value:{...this.survey.settings,thank_you:{...this.survey.settings.thank_you,redirect_to:t}}})}}}},zt=Vt,Qt=Object(g.a)(zt,Ut,Ht,!1,null,null,null),Zt=Qt.exports,Gt=function(){var t=this,e=t._self._c;return e("article",{staticClass:"admin-card survey-preview"},[e("header",{staticClass:"admin-card__header"},[t.$uf.is_pro?t.$uf.is_licensed&&t.addons.branding.active?e("survey-branding-options",{attrs:{survey:t.survey}}):e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateBrandingAddon)}})]):e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.upgradeForBranding)}})])],1),e("section",{staticClass:"admin-card__body"},[e("user-feedback-widget",{ref:"widget",attrs:{"use-survey":t.survey,"is-preview":""}})],1)])},Wt=[],Kt=a("d4a7"),Yt={name:"SurveyPreview",components:{UserFeedbackNotice:P.a,UserFeedbackWidget:Kt.a},computed:{...Object(y.e)("builder",["survey"]),...Object(y.e)({addons:t=>t.$uf.addons}),texts(){return{showLogo:Object(l.a)("Add the UserFeedback logo",this.$textDomain),upgradeForBranding:Object(l.d)(Object(l.a)('Upgrade to Pro to unlock advanced branding settings. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl("preview",this.survey.title.toLowerCase().replace(/ /g,"-"))),activateBrandingAddon:Object(l.d)(Object(l.a)('Please activate the Branding addon to access this feature. <a href="%s"><b>Activate Addon</b></a>'),Object(c.a)("settings","addons"))}}},watch:{"survey.settings.theming.color_scheme"(t){this.survey.settings.theming={color_scheme:t,...bt.a[t]}}},mounted(){this.$refs.widget.startSurvey()}},Jt=Yt,Xt=Object(g.a)(Jt,Gt,Wt,!1,null,null,null),te=Xt.exports,ee={name:"SurveyQuestions",mixins:[T],components:{draggable:H.a,QuestionCard:It,SurveyThankYouMessageCard:Zt,SurveyPreview:te},data(){return{isPreviewing:!1,surveyInit:!1,questionsEventBus:new N.a,dragEndCallbacks:[],upgrade_modal_open:!1,upgrade_modal_feature:"",upgrade_modal_campaign:""}},computed:{...Object(y.e)({addons:t=>t.$uf.addons}),texts(){return{addQuestion:Object(l.a)("Add Question",this.$textDomain),build:Object(l.a)("Build",this.$textDomain),preview:Object(l.a)("Preview",this.$textDomain),upgrade_modal_star_rating:Object(l.a)("Star Rating",this.$textDomain),upgrade_modal_nps:Object(l.a)("Net Promoter Pro",this.$textDomain)}},availableQuestionTypes(){return this.$uf.is_pro?this.questionTypeChoices.filter(t=>!t.disabled):this.questionTypeChoices.filter(t=>"star-rating"!==t.questionType&&"nps"!==t.questionType)},questionTypeChoices(){return[{text:Object(l.a)("Checkboxes",this.$textDomain),questionType:"checkbox",iconName:"checkbox",questionTitle:"",handle:()=>this.addQuestion("checkbox")},{text:Object(l.a)("Radio Buttons",this.$textDomain),questionType:"radio-button",iconName:"radio-button",questionTitle:"",handle:()=>this.addQuestion("radio-button")},{text:Object(l.a)("Email Capture",this.$textDomain),questionType:"email",iconName:"email",questionTitle:"",handle:()=>this.addQuestion("email")},{text:Object(l.a)("Single Text Field",this.$textDomain),questionType:"text",iconName:"text",questionTitle:"",handle:()=>this.addQuestion("text")},{text:Object(l.a)("Long Answer",this.$textDomain),questionType:"long-text",iconName:"long-text",questionTitle:"",handle:()=>this.addQuestion("long-text")},{text:this.$uf.is_pro?Object(l.a)("Star Rating",this.$textDomain):Object(l.a)("Star Rating - Pro",this.$textDomain),questionType:"star-rating",iconName:"star-outline",questionTitle:Object(l.a)("How would you rate your overall experience?",this.$textDomain),handle:()=>this.addQuestion("star-rating"),disabled:!this.enableAdvancedQuestionTypes},{text:this.$uf.is_pro?Object(l.a)("Net Promoter Score",this.$textDomain):Object(l.a)("Net Promoter Score - Pro",this.$textDomain),questionType:"nps",iconName:"smiley",questionTitle:Object(l.a)("On a scale of 1-10, how likely would you recommend us to a friend or colleague?",this.$textDomain),handle:()=>this.addQuestion("nps"),disabled:!this.enableAdvancedQuestionTypes}]},enableAdvancedQuestionTypes(){let t=!0;return!this.$uf.is_pro||(this.$uf.is_pro&&this.$uf.is_licensed||(t=!1),this.addons["question-types"].active||(t=!1),t)},questions:{get(){return this.survey.questions},set(t){this.updateSurveyProperty({property:"questions",value:t})}},surveyTitleValue:{get(){return this.survey.title},set(t){this.updateSurveyProperty({property:"title",value:t})}}},methods:{...Object(y.d)("builder",["updateQuestionProperty"]),...Object(y.b)("builder",["updateSurveyProperty","addBlankQuestion","deleteQuestion"]),addQuestion(t){if(!this.$uf.is_pro&&("star-rating"===t||"nps"===t))return this.upgrade_modal_open=!0,this.upgrade_modal_feature="star-rating"===t?this.texts.upgrade_modal_star_rating:this.texts.upgrade_modal_nps,void(this.upgrade_modal_campaign=t);this.addBlankQuestion(t).then(e=>{const a=this.questionTypeChoices.find(e=>e.questionType===t),i=a.questionTitle;this.questionsEventBus.$emit("question-created",{id:e,title:i})})},togglePreview(){this.isPreviewing=!this.isPreviewing},onDragEnd(t){for(const e of this.dragEndCallbacks)e();this.dragEndCallbacks=[]},processDelete(t){this.deleteQuestion(t)},onItemMoved(t){const{element:e,futureIndex:a}=t.draggedContext,i=e.logic.enabled;i&&this.dragEndCallbacks.push(()=>{const{conditions:t}=e.logic,i=[];for(const e of t){const t=e.question_id,s=this.questions.findIndex(e=>e.id===t);s<a&&i.push(e)}this.updateQuestionProperty({id:e.id,property:"logic",value:{...e.logic,enabled:i.length>0,conditions:i}})});for(const s of this.questions){const t=s.logic.conditions;for(const[a,i]of t.entries())i.question_id===e.id&&this.dragEndCallbacks.push(()=>{t.splice(a,1),0===t.length&&(s.logic.enabled=!1)})}return!0},init(){this.surveyInit||0!==this.survey.questions.length||this.addBlankQuestion("text"),this.surveyInit=!0}},watch:{survey(t){this.init()}},mounted(){this.survey.id&&this.init()}},ae=ee,ie=Object(g.a)(ae,F,I,!1,null,null,null),se=ie.exports,re=function(){var t=this,e=t._self._c;return e("div",[t.loadedSurvey?e("div",{staticClass:"admin-cards-list"},[e("survey-settings-tracking"),e("survey-settings-targeting"),e("survey-settings-behavior"),e("survey-builder-nav")],1):e("div",{staticClass:"userfeedback-loader"})])},ne=[],le=function(){var t=this,e=t._self._c;return t.survey.id?e("article",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h2",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.trackingTitle))])]),e("section",{staticClass:"admin-card__body"},[e("user-feedback-toggle",{attrs:{id:"survey-tracking",disabled:t.trackingDisabled},model:{value:t.survey.settings.enable_tracking,callback:function(e){t.$set(t.survey.settings,"enable_tracking",e)},expression:"survey.settings.enable_tracking"}},[e("span",[t._v(t._s(t.texts.enableTracking))]),e("span",{attrs:{slot:"help"},slot:"help"},[!t.integrations.monsterinsights.is_installed&&t.integrations.exactmetrics.is_installed?e("span",[t._v(t._s(t.texts.enableTrackingHelpEM))]):e("span",[t._v(t._s(t.texts.enableTrackingHelpMI))])])]),e("div",[t.integrations.monsterinsights.is_installed||t.integrations.exactmetrics.is_installed?t._e():e("button",{staticClass:"button user-feedback-button",on:{click:t.installMI}},[t._v(t._s(t.texts.installMonsterInsights))]),t.integrations.monsterinsights.is_installed&&!t.integrations.monsterinsights.is_active?e("button",{staticClass:"button user-feedback-button",on:{click:t.activateMI}},[t._v(t._s(t.texts.activateMonsterInsights))]):t._e()]),t.integrations.monsterinsights.is_installed||!t.integrations.exactmetrics.is_installed||t.integrations.exactmetrics.is_active?t._e():e("div",[e("button",{staticClass:"button user-feedback-button",on:{click:t.activateEM}},[t._v(t._s(t.texts.activateExactMetrics))])])],1)]):t._e()},oe=[],ce=a("763a"),ue={name:"SurveySettingsTracking",computed:{...Object(y.e)("builder",["survey","isNewSurvey"]),...Object(y.c)("builder",["integrations"]),trackingDisabled(){return!this.integrations.monsterinsights.is_installed&&!this.integrations.exactmetrics.is_installed||(!(!this.integrations.monsterinsights.is_installed||!this.integrations.monsterinsights.is_active)||!(this.integrations.monsterinsights.is_installed||!this.integrations.exactmetrics.is_installed||!this.integrations.exactmetrics.is_active))},texts(){return{trackingTitle:Object(l.a)("Tracking",this.$textDomain),enableTracking:Object(l.a)("Enable Google Analytics Tracking",this.$textDomain),enableTrackingHelpMI:Object(l.a)("Automatically track the impressions and responses of users with MonsterInsights",this.$textDomain),enableTrackingHelpEM:Object(l.a)("Automatically track the impressions and responses of users with ExactMetrics",this.$textDomain),installMonsterInsights:Object(l.a)("Install MonsterInsights",this.$textDomain),activateMonsterInsights:Object(l.a)("Activate MonsterInsights",this.$textDomain),installExactMetrics:Object(l.a)("Install ExactMetrics",this.$textDomain),activateExactMetrics:Object(l.a)("Activate ExactMetrics",this.$textDomain)}}},methods:{...Object(y.b)("builder",["installMonsterInsights","installExactMetrics"]),setTrackingEnabled(t=!0){this.survey.settings.enable_tracking=t},activateMI(){const{monsterinsights:t}=this.integrations;this.$ufSavingToast({title:Object(l.a)("Activating MonsterInsights...",this.$textDomain)}),Object(ce.a)(t).then(t=>{const{success:e}=t;e?this.$ufSuccessToast({title:Object(l.a)("MonsterInsights has been activated!",this.$textDomain)}):this.$ufErrorToast({title:Object(l.a)("There was an error activating MonsterInsights",this.$textDomain)}),setTimeout(()=>{location.reload()},800)})},activateEM(){const{exactmetrics:t}=this.integrations;this.$ufSavingToast({title:Object(l.a)("Activating ExactMetrics...",this.$textDomain)}),Object(ce.a)(t).then(t=>{const{success:e}=t;e?this.$ufSuccessToast({title:Object(l.a)("ExactMetrics has been activated!",this.$textDomain)}):this.$ufErrorToast({title:Object(l.a)("There was an error activating ExactMetrics",this.$textDomain)}),setTimeout(()=>{location.reload()},800)})},installMI(){this.$ufSavingToast({title:Object(l.a)("Installing MonsterInsights...",this.$textDomain)}),this.installMonsterInsights().then(t=>{const{success:e}=t;e?(this.$ufSuccessToast({title:Object(l.a)("MonsterInsights has been installed successfully!",this.$textDomain)}),this.activateMI()):this.$ufErrorToast({title:Object(l.a)("There was an error installing MonsterInsights",this.$textDomain)})})},installEM(){this.$ufSavingToast({title:Object(l.a)("Installing ExactMetrics...",this.$textDomain)}),this.installExactMetrics().then(t=>{const{success:e}=t;e?(this.$ufSuccessToast({title:Object(l.a)("ExactMetrics has been installed successfully!",this.$textDomain)}),this.activateEM()):this.$ufErrorToast({title:Object(l.a)("There was an error installing ExactMetrics",this.$textDomain)})})}},mounted(){const{monsterinsights:t,exactmetrics:e}=this.integrations;t.is_installed&&(t.is_active?this.setTrackingEnabled():t.is_active||this.setTrackingEnabled(!1)),!t.is_installed&&e.is_installed&&(e.is_active?this.setTrackingEnabled():e.is_active||this.setTrackingEnabled(!1))}},de=ue,me=Object(g.a)(de,le,oe,!1,null,null,null),ge=me.exports,pe=function(){var t=this,e=t._self._c;return t.survey.id?e("article",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h2",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.targetingTitle))])]),e("section",{staticClass:"admin-card__body"},[t.$uf.is_pro&&!t.addons.targeting.active?e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateTargetingAddon)}})]):t._e(),!t.$uf.is_pro||t.$uf.is_pro&&t.addons.targeting.active?e("survey-targeting-options",{attrs:{survey:t.survey}}):t._e()],1)]):t._e()},ve=[],he=a("f70d"),fe={name:"SurveySettingsTargeting",components:{SurveyTargetingOptions:he.a,UserFeedbackNotice:P.a},computed:{...Object(y.e)("builder",["survey"]),...Object(y.e)({addons:t=>t.$uf.addons}),texts(){return{targetingTitle:Object(l.a)("Targeting",this.$textDomain),activateTargetingAddon:Object(l.d)(Object(l.a)('Please activate the Targeting addon to access this feature. <a target="_blank" rel="noopener" href="%s"><b>Activate Addon</b></a>'),Object(c.a)("settings","addons"))}}}},ye=fe,be=Object(g.a)(ye,pe,ve,!1,null,null,null),_e=be.exports,xe=function(){var t=this,e=t._self._c;return t.survey.id?e("article",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h2",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.behaviorTitle))])]),e("section",{staticClass:"admin-card__body"},[t.$uf.is_pro&&!t.addons.behavior.active?e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateBehaviorAddon)}})]):t._e(),!t.$uf.is_pro||t.$uf.is_pro&&t.addons.behavior.active?e("survey-behavior-options",{attrs:{survey:t.survey}}):t._e()],1)]):t._e()},Ce=[],we=a("867f"),ke={name:"SurveySettingsBehavior",components:{SurveyBehaviorOptions:we.a,UserFeedbackNotice:P.a},computed:{...Object(y.e)("builder",["survey"]),...Object(y.e)({addons:t=>t.$uf.addons}),texts(){return{behaviorTitle:Object(l.a)("Behavior",this.$textDomain),activateBehaviorAddon:Object(l.d)(Object(l.a)('Please activate the Behavior addon to access this feature. <a target="_blank" rel="noopener" href="%s"><b>Activate Addon</b></a>'),Object(c.a)("settings","addons"))}}}},Se=ke,Oe=Object(g.a)(Se,xe,Ce,!1,null,null,null),$e=Oe.exports,je={name:"SurveySettings",components:{SurveySettingsTracking:ge,SurveySettingsTargeting:_e,SurveySettingsBehavior:$e},mixins:[T]},De=je,Ae=Object(g.a)(De,re,ne,!1,null,null,null),Te=Ae.exports,Pe=function(){var t=this,e=t._self._c;return e("div",[t.loadedSurvey?e("div",[t.survey.id?e("article",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h2",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.workflowTitle))]),e("p",{staticClass:"admin-card__header-desc"},[t._v(t._s(t.texts.workflowDesc))])]),e("section",{staticClass:"admin-card__body"},[e("survey-notification-email")],1)]):t._e(),e("survey-builder-nav")],1):e("div",{staticClass:"userfeedback-loader"})])},Ne=[],Le=function(){var t=this,e=t._self._c;return e("user-feedback-expandable-card",{ref:"card",staticClass:"workflow-card",attrs:{"start-open":t.survey.notifications.email.active,slim:""},scopedSlots:t._u([{key:"title",fn:function(){return[e("user-feedback-toggle",{attrs:{id:"survey-workflow-email"},on:{input:t.onToggle},model:{value:t.survey.notifications.email.active,callback:function(e){t.$set(t.survey.notifications.email,"active",e)},expression:"survey.notifications.email.active"}},[e("span",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.sendEmail))])])]},proxy:!0},{key:"toggle",fn:function(){return[e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon"})]},proxy:!0},{key:"content",fn:function(){return[e("p",[e("label",{attrs:{for:"email_addresses"}},[t._v(t._s(t.texts.emailFieldLabel))])]),e("div",{staticClass:"field"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.survey.notifications.email.addresses,expression:"survey.notifications.email.addresses"}],class:{"has-error":!t.validateEmails(t.survey.notifications.email.addresses)},attrs:{type:"text",id:"email_addresses",placeholder:t.texts.emailFieldPlaceholder},domProps:{value:t.survey.notifications.email.addresses},on:{input:function(e){e.target.composing||t.$set(t.survey.notifications.email,"addresses",e.target.value)}}})]),[e("user-feedback-upgrade-to-pro",{attrs:{show:t.show_upgrade_to_pro_modal,feature:t.upgrade_modal_feature,campaign:"conditional-email-logic"},on:{"modal-state":e=>t.show_upgrade_modal=e}}),e("div",{staticClass:"field",on:{click:t.showUpgradeToProModal}},[e("user-feedback-checkbox",{attrs:{id:"conditional_email",name:"conditional_email",disabled:!t.logicSubjects.length||!t.$uf.is_pro},model:{value:t.survey.notifications.email.logic.enable,callback:function(e){t.$set(t.survey.notifications.email.logic,"enable",e)},expression:"survey.notifications.email.logic.enable"}},[e("span",[t._v(t._s(t.texts.enableLogic))])])],1),t.logicSubjects.length?t._e():e("user-feedback-notice",[e("div",[t._v(t._s(t.texts.addQuestionsForLogic))])]),t.survey.notifications.email.logic.enable&&t.logicSubjects.length>0?e("logic-builder",{attrs:{config:t.survey.notifications.email.logic,actions:t.logicActions,subjects:t.logicSubjects,"condition-id-key":"question_id"}},[e("span",{attrs:{slot:"after-action-select"},slot:"after-action-select"},[t._v(t._s(t.texts.if))])]):t._e()]]},proxy:!0}])})},Me=[],Be=a("5464"),qe={name:"SurveyNotificationEmail",components:{LogicBuilder:Pt,UserFeedbackNotice:P.a},computed:{...Object(y.e)("builder",["survey","isNewSurvey"]),texts(){return{sendEmail:Object(l.a)("Send Email",this.$textDomain),emailFieldLabel:Object(l.a)("Email all new Responses to the specified email addresses:",this.$textDomain),emailFieldPlaceholder:Object(l.a)("joe@mail.com, karen@mail.com, abed@mail.com",this.$textDomain),enableLogic:Object(l.a)("Enable Conditional Logic",this.$textDomain),if:Object(l.a)("if",this.$textDomain),upgradeForConditionalEmail:Object(l.d)(Object(l.a)('Upgrade to Pro to unlock conditional e-mails. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl()),addQuestionsForLogic:Object(l.a)("Add at least one Radio, Checkbox, NPS, or Star Rating question to use conditional logic.",this.$textDomain),featureConditionalEmailLogic:Object(l.a)("Conditional Email Logic",this.$textDomain)}},logicSubjects(){return Object(bt.c)(this.survey)},logicActions(){return[{label:Object(l.a)("Send Email",this.$textDomain),value:"send"}]}},data(){return{show_upgrade_to_pro_modal:!1,upgrade_modal_feature:""}},methods:{validateEmails:Be.a,onToggle(t){const{card:e}=this.$refs;t?e.openCard():e.closeCard()},showUpgradeToProModal(){this.$uf.is_pro||(this.show_upgrade_to_pro_modal=!0,this.upgrade_modal_feature=this.texts.featureConditionalEmailLogic)}},mounted(){this.isNewSurvey&&(this.survey.notifications.email.addresses=this.$uf.admin_email)}},Re=qe,Fe=Object(g.a)(Re,Le,Me,!1,null,null,null),Ie=Fe.exports,Ue=function(){var t=this,e=t._self._c;return e("div",{staticClass:"workflow-coming-soon"},[e("user-feedback-expandable-card",{staticClass:"workflow-card",attrs:{locked:""}},[e("template",{slot:"title"},[e("user-feedback-toggle",{attrs:{id:"survey-workflow-integration-1",faux:""}},[e("span",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.integration))])])],1),e("template",{slot:"toggle"},[e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon"})])],2),e("user-feedback-expandable-card",{staticClass:"workflow-card",attrs:{locked:""}},[e("template",{slot:"title"},[e("user-feedback-toggle",{attrs:{id:"survey-workflow-integration-2",faux:""}},[e("span",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.integration))])])],1),e("template",{slot:"toggle"},[e("span",{directives:[{name:"icon",rawName:"v-icon:caret",arg:"caret"}],staticClass:"icon"})])],2),e("div",{staticClass:"workflow-coming-soon__overlay"},[e("div",{staticClass:"workflow-coming-soon__overlay-msg"},[t._v(t._s(t.texts.overlayText))])])],1)},He=[],Ee={name:"SurveyNotificationComingSoon",computed:{texts(){return{integration:Object(l.a)("Integration",this.$textDomain),overlayText:Object(l.a)("More Integrations Coming Soon",this.$textDomain)}}}},Ve=Ee,ze=Object(g.a)(Ve,Ue,He,!1,null,null,null),Qe=ze.exports,Ze={name:"SurveyNotifications",mixins:[T],components:{SurveyNotificationEmail:Ie,SurveyNotificationComingSoon:Qe,UserFeedbackNotice:P.a},computed:{texts(){return{workflowTitle:Object(l.a)("Workflow",this.$textDomain),workflowDesc:Object(l.a)("Set up a series of actions that will trigger after a visitor submits a Survey.",this.$textDomain),sendEmail:Object(l.a)("Send Email",this.$textDomain)}}}},Ge=Ze,We=Object(g.a)(Ge,Pe,Ne,!1,null,null,null),Ke=We.exports,Ye=function(){var t=this,e=t._self._c;return e("div",[t.loadedSurvey?e("div",[t.survey.id?e("div",{staticClass:"admin-cards-list"},[e("article",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h2",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.summaryTitle))])]),e("section",{staticClass:"admin-card__body"},[e("div",{staticClass:"content"},[e("ul",[e("li",{domProps:{innerHTML:t._s(t.texts.questionsCount)}}),e("li",{domProps:{innerHTML:t._s(t.texts.surveyDevices)}}),e("li",{domProps:{innerHTML:t._s(t.texts.surveyTargeting)}}),e("li",{domProps:{innerHTML:t._s(t.texts.surveyTiming)}}),e("li",{domProps:{innerHTML:t._s(t.texts.surveyDisplayLength)}}),e("li",{domProps:{innerHTML:t._s(t.texts.surveyRunTime)}})])])])]),e("article",{staticClass:"admin-card"},[e("header",{staticClass:"admin-card__header"},[e("h2",{staticClass:"admin-card__title"},[t._v(t._s(t.texts.publishTitle))])]),e("section",{staticClass:"admin-card__body"},[e("div",{staticClass:"field"},[e("label",[t._v(t._s(t.texts.surveyStatus))]),e("p",{staticClass:"help"},[t._v(t._s(t.texts.surveyStatusHelp))]),e("user-feedback-radio-buttons",{attrs:{options:t.publishOptions,"field-name-prefix":"survey-status"},model:{value:t.survey.status,callback:function(e){t.$set(t.survey,"status",e)},expression:"survey.status"}})],1),!t.$uf.is_pro||t.$uf.is_licensed&&t.addons.behavior.active?e("survey-scheduling-options",{ref:"scheduling",attrs:{"schedule-survey":t.scheduleSurvey,survey:t.survey},on:{"update:scheduleSurvey":function(e){t.scheduleSurvey=e},"update:schedule-survey":function(e){t.scheduleSurvey=e}}}):e("user-feedback-notice",[e("div",{domProps:{innerHTML:t._s(t.texts.activateBehaviorAddon)}})])],1)])]):t._e(),e("survey-builder-nav",[e("button",{staticClass:"button user-feedback-button",attrs:{slot:"next-button",disabled:!t.canSave},on:{click:t.saveSurveyManually},slot:"next-button"},[t._v(" "+t._s(t.texts.saveLabel)+" ")])])],1):e("div",{staticClass:"userfeedback-loader"})])},Je=[],Xe=a("2abc"),ta=a("0fcd"),ea={name:"SurveyPublish",mixins:[T],components:{UserFeedbackNotice:P.a,SurveySchedulingOptions:ta.a},data(){return{scheduleSurvey:!1}},computed:{...Object(y.e)({addons:t=>t.$uf.addons}),...Object(y.e)("builder",["isNewSurvey"]),surveyTargeting(){return this.survey.settings.targeting},surveyDevices(){return this.surveyTargeting.devices},surveyBehavior(){return this.survey.settings.behavior},surveyDevicesLabel(){if(3===this.surveyDevices.length)return Object(l.a)("All Device Types",this.$textDomain);const t=this.surveyDevices.join(", ");return this.$capitalizeAll(t)},surveyTargetingLabels(){const{pages:t}=this.surveyTargeting;return"all"===t?Object(l.a)("<b>on All Pages</b>",this.$textDomain):Object(l.a)("<b>based upon custom targeting options</b>",this.$textDomain)},surveyTimingLabel(){const{timing:t,timing_delay:e}=this.surveyBehavior;switch(t){case"immediate":return"Survey will launch <b>immediately</b> when the page loads";case"delay":return Object(l.d)(Object(l.a)("Survey will launch <b>after a delay of %d seconds</b>",this.$textDomain),e);case"before_abandon":return Object(l.a)("Survey will launch when a user is <b>about to abandon the page on Desktop</b>",this.$textDomain);case"half_page":return Object(l.a)("When a user <b>scrolls halfway down</b> the page",this.$textDomain);default:return""}},surveyDisplayLengthLabel(){const{display_length:t}=this.surveyBehavior;switch(t){case"until_response":return Object(l.a)("Survey will <b>continue to launch</b> until the visitor submits a response",this.$textDomain);case"once":return Object(l.a)("Survey will <b>launch only once</b>, even if the visitor didn't respond");case"repeatedly":return Object(l.a)("Survey will <b>launch over and over</b>, even if they have responded");default:return""}},surveyRunTimeLabel(){const{run_time:t,expire_at:e}=this.surveyBehavior;switch(t){case"indefinitely":return Object(l.a)("Survey will run <b>indefinitely</b>",this.$textDomain);case"expire":return Object(l.d)(Object(l.a)("Survey will run <b>until %s %d</b>",this.$textDomain),Xe.b[e.month],e.day);default:return""}},publishOptions(){return[{value:"draft",label:Object(l.a)("Draft",this.$textDomain)},{value:"publish",label:Object(l.a)("Publish",this.$textDomain)}]},saveButtonLabel(){const{status:t}=this.survey;return"draft"===t?Object(l.a)("Save as Draft",this.$textDomain):this.scheduleSurvey?Object(l.a)("Save and Schedule",this.$textDomain):Object(l.a)("Save and Publish",this.$textDomain)},canSave(){return!this.scheduleSurvey||this.$refs.scheduling.isComplete},isPublishing(){return"draft"!==this.survey.status&&!this.scheduleSurvey},texts(){return{summaryTitle:Object(l.d)(Object(l.a)("Summary of %s",this.$textDomain),this.survey.title),questionsCount:Object(l.d)(Object(l.b)("<b>%d</b> question","<b>%d</b> questions",this.survey.questions.length,this.$textDomain),this.survey.questions.length),surveyDevices:`${Object(l["a"])("Survey will be displayed on ",this.$textDomain)} <b>${this.surveyDevicesLabel}</b>`,surveyTargeting:`${Object(l["a"])("Survey will be displayed ",this.$textDomain)} ${this.surveyTargetingLabels}`,surveyTiming:this.surveyTimingLabel,surveyDisplayLength:this.surveyDisplayLengthLabel,surveyRunTime:this.surveyRunTimeLabel,publishTitle:Object(l.a)("Publish",this.$textDomain),saveLabel:this.saveButtonLabel,surveyStatus:Object(l.a)("Survey Status",this.$textDomain),surveyStatusHelp:Object(l.a)("Decide the status of this Survey.",this.$textDomain),upgradeForBehavior:Object(l.d)(Object(l.a)('Upgrade to Pro to unlock Survey Scheduling. <a target="_blank" rel="noopener" href="%s"><b>Upgrade Now</b></a>',this.$textDomain),this.$getUpgradeUrl()),activateBehaviorAddon:Object(l.d)(Object(l.a)('Please activate the Behavior addon to access Survey Scheduling. <a href="%s"><b>Activate Addon</b></a>'),Object(c.a)("settings","addons"))}}},methods:{...Object(y.b)("builder",["saveSurvey"]),saveSurveyManually(){this.isPublishing?this.$emit("manual-save",{redirect_route:"surveys-index"}):this.$emit("manual-save"),window.scrollTo({top:0,behavior:"smooth"})}},mounted(){this.isNewSurvey&&(this.survey.status="publish")}},aa=ea,ia=Object(g.a)(aa,Ye,Je,!1,null,null,null),sa=ia.exports;const ra={setup:R,questions:se,settings:Te,notifications:Ke,publish:sa},na=t=>{const e=[...s.a];return"edit"===t?e.splice(0,1):e.splice(1,e.length-1),e.map(e=>({path:e.key,component:ra[e.key],name:`${t}-survey-${e.key}`,meta:{hideDefaultHeader:!0,stepKey:e.key}}))},la=new i.a({routes:[{path:"/",component:v,name:"surveys-index"},{path:"/new",component:C,name:"surveys-new",children:na("new"),redirect:"/new/setup"},{path:"/edit/:id",component:C,name:"surveys-edit",children:na("edit"),redirect:t=>`/edit/${t.params.id}/questions`},{path:"/duplicate/:id",name:"surveys-duplicate",beforeEnter(t,e,a){Object(o.c)(t.params.id).then(t=>{const{id:e}=t;a({name:"surveys-edit",params:{id:e}}),location.reload()})}}]})},"763a":function(t,e,a){"use strict";a.d(e,"c",(function(){return r})),a.d(e,"d",(function(){return n})),a.d(e,"a",(function(){return l})),a.d(e,"b",(function(){return o}));var i=a("a026"),s=a("4279");const r=()=>Object(s.a)({action:"userfeedback_get_addons",nonce:i.a.prototype.$uf.nonce}),n=t=>Object(s.a)({action:"userfeedback_install_addon",nonce:i.a.prototype.$uf.install_nonce,plugin:t.url}),l=t=>Object(s.a)({action:"userfeedback_activate_addon",nonce:i.a.prototype.$uf.activate_nonce,plugin:t.basename}),o=t=>Object(s.a)({action:"userfeedback_deactivate_addon",nonce:i.a.prototype.$uf.deactivate_nonce,plugin:t.basename})},"7c38":function(t,e,a){"use strict";e.a={props:{isPreview:{type:Boolean,default:!1},question:{type:Object,required:!0}},data(){return{value:null,extra:{}}},computed:{isRequired(){return!0}},watch:{value(t){let e={value:t};Object.keys(this.extra).length&&(e={...e,extra:this.extra}),this.$emit("input",e)}}}},"7c9b":function(t,e,a){"use strict";function i(t){return t&&"object"===typeof t&&!Array.isArray(t)}function s(t,...e){if(!e.length)return t;const a=e.shift();if(i(t)&&i(a))for(const r in a)i(a[r])?(t[r]||Object.assign(t,{[r]:{}}),s(t[r],a[r])):Object.assign(t,{[r]:a[r]});return s(t,...e)}a.d(e,"a",(function(){return s}))},"844b":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"admin-table",class:{"brand-table":t.brandTable}},[t.quickFilters.length&&t.pagination?e("ul",{staticClass:"subsubsub"},t._l(t.quickFilters,(function(a,i){return e("li",{key:i,class:a.value},[e("a",{staticClass:"admin-table__quick-filter",class:t.getFilterClass(a),attrs:{href:"javascript:"},on:{click:function(e){return t.applyQuickFilter(a)}}},[t._v(" "+t._s(a.label)+" "),e("span",{staticClass:"count"},[t._v("("+t._s(a.count)+")")])])])})),0):t._e(),t.hasPagination?e(t.$_componentPrefix+"AdminTableNavigation",t._b({tag:"component",staticClass:"top",attrs:{"selected-action":t.selectedAction},on:{"update:selectedAction":function(e){t.selectedAction=e},"update:selected-action":function(e){t.selectedAction=e},"apply-action":t.applyBulkAction,"page-change":t.emitPageChange}},"component",t.navigationStaticBindings,!1)):t._e(),e("table",{staticClass:"wp-list-table widefat striped table-view-list"},[e(t.$_componentPrefix+"AdminTableHead",t._b({tag:"component",attrs:{orderby:t.orderby,order:t.order,"has-actions-column":t.hasActionsColumn,"is-selecting-all":t.isSelectingAll},on:{"update:orderby":function(e){t.orderby=e},"update:order":function(e){t.order=e},"select-all":t.onSelectAll}},"component",t.headAndFootStaticBindings,!1)),t._t("before-body"),e("tbody",[t.isLoading?e("tr",[e("td",{attrs:{colspan:t.columns.length+1}},[e("div",{staticClass:"admin-table__empty"},[t._t("table-loading")],2)])]):t.items.length?t._l(t.items,(function(a){return e(t.$_componentPrefix+"AdminTableRow",{key:a[t.itemIdAttribute],tag:"component",attrs:{item:a,columns:t.columns,selected:t.selected,"checkbox-group-name":t.checkboxGroupName,"item-id-attribute":t.itemIdAttribute,"allow-select":t.allowItemsSelect,"row-actions":t.rowActions},on:{"update:selected":function(e){t.selected=e}},scopedSlots:t._u([{key:"before-row",fn:function({item:e}){return[t._t("before-row",null,{item:e})]}},{key:"row-end-actions",fn:function({item:e}){return[t._t("row-end-actions",null,{item:e})]}}],null,!0)})})):e("tr",[e("td",{attrs:{colspan:t.columns.length+1}},[e("div",{staticClass:"admin-table__empty"},[t._t("table-empty")],2)])])],2),t.noFooter?t._e():e(t.$_componentPrefix+"AdminTableFoot",t._b({tag:"component",attrs:{"is-selecting-all":t.isSelectingAll,"has-actions-column":t.hasActionsColumn},on:{"select-all":t.onSelectAll}},"component",t.headAndFootStaticBindings,!1))],2),t.hasPagination?e(t.$_componentPrefix+"AdminTableNavigation",t._b({tag:"component",staticClass:"bottom",attrs:{"selected-action":t.selectedAction},on:{"update:selectedAction":function(e){t.selectedAction=e},"update:selected-action":function(e){t.selectedAction=e},"apply-action":t.applyBulkAction,"page-change":t.emitPageChange}},"component",t.navigationStaticBindings,!1)):t._e()],1)},s=[],r=a("561c"),n={name:"AdminTable",props:{brandTable:{type:Boolean,default:!1},checkboxGroupName:{type:String,default:"post"},itemIdAttribute:{type:String,default:"id"},allowSelectAll:{type:Boolean,default:!0},allowItemsSelect:{type:Boolean,default:!0},hasPagination:{type:Boolean,default:!0},noFooter:{type:Boolean,default:!1},columns:{type:Array,required:!0,validator(t){return t.every(t=>{let e=t.hasOwnProperty("title");return(t.sortable||t.isRowTitle)&&(e=e&&t.hasOwnProperty("key")),e})}},rowActions:{type:Array,default:()=>[]},items:{type:Array,required:!0},bulkActions:{type:Array,default:()=>[]},pagination:{type:Object,default:()=>({})},quickFilters:{type:Array,default:()=>[],validator(t){return t.every(t=>t.hasOwnProperty("attribute")&&t.hasOwnProperty("value"))}},currentQuickFilter:{type:String,default:"all"},isLoading:{type:Boolean,default:!1}},data(){return{selected:[],orderby:null,order:"desc",selectedAction:-1}},computed:{navigationStaticBindings(){return{bulkActions:this.bulkActions,pagination:this.pagination?this.pagination:{page:1,pages:1,per_page:10,total:1}}},headAndFootStaticBindings(){return{allowSelectAll:this.allowSelectAll,columns:this.columns}},isSelectingAll(){return this.items.length>0&&this.selected.length===this.items.length},hasActionsColumn(){return void 0!==this.$scopedSlots["row-end-actions"]},texts(){return{all:Object(r.a)("All",this.$_textDomain)}}},methods:{getCodedFilter({attribute:t,value:e}){return`${t}:${e}`},getFilterClass(t){const e=this.getCodedFilter(t);return e===this.currentQuickFilter?"current":null},applyBulkAction(){const t=this.bulkActions.find(t=>t.value===this.selectedAction);t&&"function"===typeof t.handle&&(t.handle(this.selected),this.selected=[])},onSelectAll(){this.selected.length===this.items.length?this.selected=[]:this.selected=this.items.map(t=>t[this.itemIdAttribute])},emitSortChange(){this.$emit("sort-change",{orderby:this.orderby,order:this.order})},emitPageChange(t){const e={...this.pagination,page:t};this.$emit("page-change",e)},applyQuickFilter(t){const e=this.getCodedFilter(t);this.$emit("update:currentQuickFilter",e),this.$emit("quick-filter",e)}},watch:{currentQuickFilter(){this.selectedAction=-1,this.selected=[]},orderby(){this.emitSortChange()},order(){this.emitSortChange()},quickFilters(t){if("all"!==this.currentQuickFilter&&null!==this.currentQuickFilter)return;const e=t.find(t=>"all"===t.value);e&&this.$emit("update:currentQuickFilter",this.getCodedFilter(e))}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"867f":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"field"},[e("label",[t._v(t._s(t.texts.displayTiming))]),e("p",{staticClass:"help"},[t._v(t._s(t.texts.displayTimingHelp))]),e("user-feedback-upgrade-to-pro",{attrs:{show:t.show_upgrade_modal,feature:t.upgrade_modal_feature,campaign:t.upgrade_modal_campaign},on:{"modal-state":e=>t.show_upgrade_modal=e}}),e("div",{staticClass:"radio-list",on:{click:t.openDisplayTimingsModal}},[e("user-feedback-radio",{attrs:{id:"timing_immediate",name:"survey_timing","input-value":"immediate",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.timing,callback:function(e){t.$set(t.survey.settings.behavior,"timing",e)},expression:"survey.settings.behavior.timing"}},[e("span",[t._v(t._s(t.texts.immediately))])]),e("user-feedback-radio",{attrs:{id:"timing_delay",name:"survey_timing","input-value":"delay",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.timing,callback:function(e){t.$set(t.survey.settings.behavior,"timing",e)},expression:"survey.settings.behavior.timing"}},[e("span",{staticClass:"inline-input"},[e("span",[t._v(t._s(t.texts.afterADelayOf))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.survey.settings.behavior.timing_delay,expression:"survey.settings.behavior.timing_delay"}],attrs:{type:"number",min:"0",max:"60",disabled:!t.$uf.is_pro},domProps:{value:t.survey.settings.behavior.timing_delay},on:{input:function(e){e.target.composing||t.$set(t.survey.settings.behavior,"timing_delay",e.target.value)}}}),e("span",[t._v(t._s(t.texts.seconds))])])]),e("user-feedback-radio",{attrs:{id:"timing_before_abandon",name:"survey_timing","input-value":"before_abandon",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.timing,callback:function(e){t.$set(t.survey.settings.behavior,"timing",e)},expression:"survey.settings.behavior.timing"}},[e("span",[t._v(t._s(t.texts.beforeUserAbandon))])]),e("user-feedback-radio",{attrs:{id:"timing_half_page",name:"survey_timing","input-value":"half_page",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.timing,callback:function(e){t.$set(t.survey.settings.behavior,"timing",e)},expression:"survey.settings.behavior.timing"}},[e("span",[t._v(t._s(t.texts.halfPage))])])],1)],1),e("div",{staticClass:"separator"}),e("div",{staticClass:"field"},[e("label",[t._v(t._s(t.texts.displayLength))]),e("p",{staticClass:"help"},[t._v(t._s(t.texts.displayLengthHelp))]),e("div",{staticClass:"radio-list",on:{click:t.openDisplayLengthModal}},[e("user-feedback-radio",{attrs:{id:"length_until_response",name:"survey_length","input-value":"until_response",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.display_length,callback:function(e){t.$set(t.survey.settings.behavior,"display_length",e)},expression:"survey.settings.behavior.display_length"}},[e("span",[t._v(t._s(t.texts.displayUntilResponse))])]),e("user-feedback-radio",{attrs:{id:"length_once",name:"survey_length","input-value":"once",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.display_length,callback:function(e){t.$set(t.survey.settings.behavior,"display_length",e)},expression:"survey.settings.behavior.display_length"}},[e("span",[t._v(t._s(t.texts.displayOnce))])]),e("user-feedback-radio",{attrs:{id:"length_repeatedly",name:"survey_length","input-value":"repeatedly",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.display_length,callback:function(e){t.$set(t.survey.settings.behavior,"display_length",e)},expression:"survey.settings.behavior.display_length"}},[e("span",[t._v(t._s(t.texts.displayRepeatedly))])])],1)]),e("div",{staticClass:"separator"}),e("div",{staticClass:"field"},[e("label",[t._v(t._s(t.texts.runTime))]),e("p",{staticClass:"help"},[t._v(t._s(t.texts.runTimeHelp))]),e("div",{staticClass:"radio-list",on:{click:t.openSurveyRuntimeModal}},[e("user-feedback-radio",{attrs:{id:"run_time_indefinitely",name:"survey_run_time","input-value":"indefinitely",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.run_time,callback:function(e){t.$set(t.survey.settings.behavior,"run_time",e)},expression:"survey.settings.behavior.run_time"}},[e("span",[t._v(t._s(t.texts.indefinitely))])]),e("user-feedback-radio",{attrs:{id:"run_time_expire",name:"survey_run_time","input-value":"expire",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.run_time,callback:function(e){t.$set(t.survey.settings.behavior,"run_time",e)},expression:"survey.settings.behavior.run_time"}},[e("span",[t._v(t._s(t.texts.until))])]),e("div",{staticClass:"inline-fields",staticStyle:{padding:"0 24px"}},[e("div",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.survey.settings.behavior.expire_at.month,expression:"survey.settings.behavior.expire_at.month"}],attrs:{name:"run_time_month",id:"run_time_month",disabled:"expire"!==t.survey.settings.behavior.run_time},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.survey.settings.behavior.expire_at,"month",e.target.multiple?a:a[0])}}},[e("option",{attrs:{value:"null"}},[t._v(t._s(t.texts.month))]),t._l(t.months,(function(a,i){return e("option",{key:a,domProps:{value:i+1}},[t._v(t._s(a))])}))],2)]),e("div",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.survey.settings.behavior.expire_at.day,expression:"survey.settings.behavior.expire_at.day"}],attrs:{name:"run_time_day",id:"run_time_day",disabled:"expire"!==t.survey.settings.behavior.run_time},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.survey.settings.behavior.expire_at,"day",e.target.multiple?a:a[0])}}},[e("option",{attrs:{value:"null"}},[t._v(t._s(t.texts.day))]),t._l(31,(function(a){return e("option",{key:a},[t._v(t._s(a))])}))],2)])])],1)]),e("div",{staticClass:"separator"}),e("div",{on:{click:t.openStartMinimizedModal}},[e("user-feedback-toggle",{attrs:{id:"survey-minimized",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.behavior.start_minimized,callback:function(e){t.$set(t.survey.settings.behavior,"start_minimized",e)},expression:"survey.settings.behavior.start_minimized"}},[e("span",[t._v(t._s(t.texts.startMinimized))]),e("span",{attrs:{slot:"help"},slot:"help"},[t._v(t._s(t.texts.startMinimizedHelp))])])],1)])},s=[],r=a("561c"),n=a("2abc"),l={name:"SurveyBehaviorOptions",props:{survey:{type:Object,required:!0}},data(){return{show_upgrade_modal:!1,upgrade_modal_feature:"",upgrade_modal_campaign:""}},computed:{months(){return n.b},texts(){return{displayTiming:Object(r.a)("Display Timing",this.$textDomain),displayTimingHelp:Object(r.a)("Decide when the Survey will appear on the page.",this.$textDomain),immediately:Object(r.a)("Immediately",this.$textDomain),afterADelayOf:Object(r.a)("After a delay of",this.$textDomain),seconds:Object(r.a)("seconds",this.$textDomain),beforeUserAbandon:Object(r.a)("When a user is about to abandon the page on Desktop",this.$textDomain),halfPage:Object(r.a)("When a user scrolls halfway down the page",this.$textDomain),displayLength:Object(r.a)("Display Length",this.$textDomain),displayLengthHelp:Object(r.a)("Decide how often the Survey will appear to visitors.",this.$textDomain),displayUntilResponse:Object(r.a)("Always, until UserFeedback survey is completed",this.$textDomain),displayOnce:Object(r.a)("Only one time",this.$textDomain),displayRepeatedly:Object(r.a)("Always",this.$textDomain),runTime:Object(r.a)("Survey Run Time",this.$textDomain),runTimeHelp:Object(r.a)("Decide how long the Survey will appear on the designated pages.",this.$textDomain),indefinitely:Object(r.a)("Indefinitely",this.$textDomain),until:Object(r.a)("Until",this.$textDomain),month:Object(r.a)("Month",this.$textDomain),day:Object(r.a)("Day",this.$textDomain),startMinimized:Object(r.a)("Start Survey Minimized",this.$textDomain),startMinimizedHelp:Object(r.a)("Survey widget will start minimized, instead of automatically opening to the first question when it’s Behavior settings are met.",this.$textDomain),featureDisplayTimings:Object(r.a)("Display Timing",this.$textDomain),featureDisplayLength:Object(r.a)("Display Length",this.$textDomain),featureSurveyRuntime:Object(r.a)("Survey Run Time",this.$textDomain),featureSurveyMinimized:Object(r.a)("Minimized Survey",this.$textDomain)}}},methods:{openDisplayTimingsModal(){this.$uf.is_pro||(this.show_upgrade_modal=!0,this.upgrade_modal_feature=this.texts.featureDisplayTimings,this.upgrade_modal_campaign="display-timings")},openDisplayLengthModal(){this.$uf.is_pro||(this.show_upgrade_modal=!0,this.upgrade_modal_feature=this.texts.featureDisplayLength,this.upgrade_modal_campaign="display-length")},openSurveyRuntimeModal(){this.$uf.is_pro||(this.show_upgrade_modal=!0,this.upgrade_modal_feature=this.texts.featureSurveyRuntime,this.upgrade_modal_campaign="survey-runtime")},openStartMinimizedModal(){this.$uf.is_pro||(this.show_upgrade_modal=!0,this.upgrade_modal_feature=this.texts.featureSurveyMinimized,this.upgrade_modal_campaign="survey-minimized")}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e.a=u.exports},8879:function(t,e,a){var i={"./PageNavigator.vue":"20b9","./ScreenHeader.vue":"027a","./comparison-table/ComparisonTable.vue":"ddf4","./controls/ButtonDropdown.vue":"4a98","./controls/Checkbox.vue":"9849","./controls/ColorPicker.vue":"155d","./controls/EditableText.vue":"8a9a","./controls/GoogleFontSelect.vue":"d89f","./controls/Icons.vue":"c337","./controls/ImageUploader.vue":"4501","./controls/InputSelect.vue":"38de","./controls/OptionsCreator.vue":"9dd7","./controls/Radio.vue":"cd4d","./controls/RadioButtons.vue":"c6c6","./controls/RadioCards.vue":"4095","./controls/SearchSelect.vue":"6da2","./controls/SelectionCards.vue":"5b08","./controls/Toggle.vue":"97fb","./controls/WidgetPosition.vue":"ce59","./expandable-card/ExpandableCard.vue":"2728","./header/AdminHeader.vue":"19e8","./header/AdminHeaderWorkflow.vue":"d22b","./header/AdminHeaderWorkflowItem.vue":"70fd","./modals/UpgradeToPro.vue":"c4f5","./notification-banner/NotificationBanner.vue":"9b51","./notifications-drawer/NotificationItem.vue":"6cd8","./notifications-drawer/NotificationsDrawer.vue":"5441","./overlays/RestrictedAccessOverlay.vue":"1892","./table/AdminTable.vue":"844b","./table/AdminTableFoot.vue":"2af8","./table/AdminTableHead.vue":"3780","./table/AdminTableNavigation.vue":"3c38","./table/AdminTableRow.vue":"703b"};function s(t){var e=r(t);return a(e)}function r(t){if(!a.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}s.keys=function(){return Object.keys(i)},s.resolve=r,t.exports=s,s.id="8879"},"8a21":function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",[e("user-feedback-upgrade-to-pro",{attrs:{show:t.upgrade_modal_show,feature:t.texts.modal_feature,campaign:"survey-question-settings"},on:{"modal-state":t=>this.upgrade_modal_show=t}}),e("div",{on:{click:t.openUpgradeModal}},[e("user-feedback-toggle",{attrs:{id:"question-required-"+t.question.id,disabled:!t.$uf.is_pro},model:{value:t.question.settings.required,callback:function(e){t.$set(t.question.settings,"required",e)},expression:"question.settings.required"}},[e("span",[t._v(t._s(t.texts.required))])]),t.canRandomize?e("user-feedback-toggle",{attrs:{id:"question-randomize-"+t.question.id,disabled:!t.$uf.is_pro},model:{value:t.question.settings.randomize,callback:function(e){t.$set(t.question.settings,"randomize",e)},expression:"question.settings.randomize"}},[e("span",[t._v(t._s(t.texts.randomize))]),e("span",{attrs:{slot:"help"},slot:"help"},[t._v(t._s(t.texts.randomizeHelp))])]):t._e(),t.canAddCommentBox?e("user-feedback-toggle",{attrs:{id:"question-comment-box-"+t.question.id,disabled:!t.$uf.is_pro},model:{value:t.question.settings.comment_box,callback:function(e){t.$set(t.question.settings,"comment_box",e)},expression:"question.settings.comment_box"}},[e("span",[t._v(t._s(t.texts.commentBox))]),e("span",{attrs:{slot:"help"},slot:"help"},[t._v(t._s(t.texts.commentBoxHelp))])]):t._e()],1)],1)},s=[],r=a("561c"),n={name:"QuestionSettings",props:{addons:{type:Object,required:!0},question:{type:Object,required:!0}},data(){return{upgrade_modal_show:!1}},computed:{canRandomize(){const{type:t}=this.question;return["checkbox","radio-button"].includes(t)},canAddCommentBox(){const{type:t}=this.question;return!["text","long-text","email"].includes(t)},texts(){return{required:Object(r.a)("Required",this.$textDomain),randomize:Object(r.a)("Randomize",this.$textDomain),randomizeHelp:Object(r.a)("Randomizes the answers of questions types Checkboxes and Radio Buttons.",this.$textDomain),commentBox:Object(r.a)("Enable Comment Box",this.$textDomain),commentBoxHelp:Object(r.a)("Adds a short text box for the visitor to add additional comments after answering.",this.$textDomain),modal_feature:Object(r.a)("Question Settings",this.$textDomain)}}},methods:{openUpgradeModal(){this.$uf.is_pro||(this.upgrade_modal_show=!0)}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e.a=c.exports},"8a9a":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"editable-text",class:{"is-editing":t.isEditing}},[e(t.tag,{ref:"element",tag:"component",staticClass:"editable-text__content",class:t.elementClass,attrs:{contenteditable:t.isEditing},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.saveEdit.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.preventDefault(),t.cancelEdit.apply(null,arguments))}]}},[t._v(t._s(t.value))]),t.isEditing?t._e():e("button",{staticClass:"editable-text__button",class:t.editButtonClass,on:{click:t.enableEdit}},[t._t("edit-button",(function(){return[t._v(" "+t._s(t.texts.edit)+" ")]}))],2),t.isEditing?e("button",{staticClass:"editable-text__button",class:t.saveButtonClass,on:{click:t.saveEdit}},[t._t("save-button",(function(){return[t._v(" "+t._s(t.texts.save)+" ")]}))],2):t._e()],1)},s=[],r=a("561c"),n={inheritAttrs:!1,name:"EditableText",data(){return{originalValue:"",isEditing:!1}},props:{value:{type:String},tag:{type:String,default:"p"},elementClass:{type:[String,Array,Object]},editButtonClass:{type:[String,Array,Object],default(){return["button",this.$_classPrefix+"-button"]}},saveButtonClass:{type:[String,Array,Object],default(){return["button",this.$_classPrefix+"-button"]}}},computed:{texts(){return{edit:Object(r.a)("Edit",this.$_textDomain),save:Object(r.a)("Save",this.$_textDomain)}}},methods:{focusElement(){const{element:t}=this.$refs;t.focus();const e=document.createRange();e.selectNodeContents(t),e.collapse(!1);const a=window.getSelection();a.removeAllRanges(),a.addRange(e)},enableEdit(){this.isEditing=!0,this.$nextTick(()=>{this.focusElement()})},cancelEdit(){this.isEditing=!1,this.$refs.element.innerText=this.originalValue},saveEdit(){this.isEditing=!1;const t=this.$refs.element.innerText;t.length>0?(this.originalValue=t,this.$emit("input",t)):this.$refs.element.innerText=this.originalValue}},mounted(){this.originalValue=this.$refs.element.innerText}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"918d":function(t,e,a){"use strict";const i={"sad-tear":{viewBox:"0 0 496 512",content:'<path fill="currentColor" d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm8-152c-13.2 0-24 10.8-24 24s10.8 24 24 24c23.8 0 46.3 10.5 61.6 28.8 8.1 9.8 23.2 11.9 33.8 3.1 10.2-8.5 11.6-23.6 3.1-33.8C330 320.8 294.1 304 256 304zm-88-64c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-165.6 98.8C151 290.1 126 325.4 126 342.9c0 22.7 18.8 41.1 42 41.1s42-18.4 42-41.1c0-17.5-25-52.8-36.4-68.1-2.8-3.7-8.4-3.7-11.2 0z" class=""></path>'},close:{viewBox:"0 0 352 512",content:'<path fill="currentColor" d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z" class=""></path>'},"chevron-left":{viewBox:"0 0 320 512",content:'<path fill="currentColor" d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z" class=""></path>'},"chevron-right":{viewBox:"0 0 320 512",content:'<path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z" class=""></path>'},star:{viewBox:"0 0 576 512",content:'<path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" class=""></path>'},lock:{viewBox:"0 0 448 512",content:'<path fill="currentColor" d="M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z" class=""></path>'},unlock:{viewBox:"0 0 12 17",content:'<path d="M0 15.3614C0 12.6035 0 9.84557 0 7.08037C0.0727684 6.89117 0.152814 6.70925 0.334735 6.58554C0.502102 6.46911 0.684023 6.42545 0.880498 6.42545C1.12063 6.42545 1.36077 6.42545 1.60091 6.42545C1.60091 5.70505 1.60091 5.01374 1.60091 4.31517C1.60091 3.78396 1.6664 3.26003 1.84832 2.75792C2.28493 1.5718 3.07083 0.713131 4.25695 0.25469C4.60624 0.130983 4.98464 0.0873221 5.3412 0C5.5304 0 5.7196 0 5.9088 0C6.11255 0.0363842 6.32358 0.0582147 6.52733 0.101876C8.31743 0.509379 9.63454 2.16122 9.64182 4.00226C9.64182 4.42432 9.34347 4.77361 8.92869 4.82455C8.53574 4.87548 8.15006 4.61352 8.05546 4.22057C8.02636 4.09686 8.02636 3.97316 8.01908 3.84945C7.91721 2.45957 6.64376 1.42626 5.2466 1.61546C4.22785 1.75372 3.31096 2.69971 3.24547 3.77668C3.19453 4.64263 3.22364 5.52312 3.21636 6.39635C3.21636 6.40362 3.22364 6.41818 3.2382 6.44001H3.41284C5.64683 6.44001 7.88082 6.44001 10.1221 6.44001C10.2603 6.44001 10.3913 6.44001 10.5296 6.44728C10.8862 6.48367 11.1263 6.65831 11.2209 7.0076C11.2209 7.02943 11.2427 7.04398 11.25 7.05854V15.3978C11.25 15.3978 11.2282 15.4415 11.2136 15.4633C11.0826 15.849 10.8134 16.0527 10.4059 16.0527C7.21863 16.0527 4.03137 16.0527 0.851391 16.0527C0.640362 16.0527 0.436611 15.9872 0.298351 15.8271C0.174644 15.6962 0.094599 15.5215 0 15.3614ZM4.83182 12.3634C4.83182 12.5598 4.81727 12.7636 4.83182 12.9601C4.86821 13.3821 5.18111 13.6441 5.625 13.6441C6.06889 13.6441 6.38179 13.3748 6.4109 12.9528C6.43273 12.6326 6.43273 12.3051 6.42545 11.985C6.42545 11.854 6.46184 11.7812 6.57099 11.7012C7.0076 11.3955 7.26229 10.9808 7.26229 10.435C7.26229 9.94017 7.01488 9.56905 6.65831 9.26342C6.01795 8.7031 5.03558 8.75404 4.44615 9.37257C3.87128 9.97655 3.864 10.9153 4.48981 11.512C4.76633 11.7667 4.89732 12.0141 4.8391 12.3706L4.83182 12.3634Z" fill="currentColor"/>'},grabber:{viewBox:"0 0 12 20",content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C12 0.447715 11.5523 -1.95702e-08 11 -4.37114e-08L9 -1.31134e-07C8.44771 -1.55275e-07 8 0.447715 8 1L8 3C8 3.55228 8.44771 4 9 4L11 4C11.5523 4 12 3.55228 12 3L12 1ZM12 9C12 8.44771 11.5523 8 11 8L9 8C8.44771 8 8 8.44771 8 9L8 11C8 11.5523 8.44771 12 9 12L11 12C11.5523 12 12 11.5523 12 11L12 9ZM11 16C11.5523 16 12 16.4477 12 17L12 19C12 19.5523 11.5523 20 11 20L9 20C8.44771 20 8 19.5523 8 19L8 17C8 16.4477 8.44771 16 9 16L11 16ZM4 1C4 0.447715 3.55228 -3.69261e-07 3 -3.93403e-07L0.999998 -4.80825e-07C0.447713 -5.04966e-07 -1.92692e-06 0.447715 -1.95106e-06 1L-2.03848e-06 3C-2.06262e-06 3.55228 0.447713 4 0.999998 4L3 4C3.55228 4 4 3.55228 4 3L4 1ZM3 8C3.55228 8 4 8.44772 4 9L4 11C4 11.5523 3.55228 12 3 12L0.999999 12C0.447714 12 -5.04966e-07 11.5523 -4.80825e-07 11L-3.93403e-07 9C-3.69261e-07 8.44772 0.447714 8 1 8L3 8ZM4 17C4 16.4477 3.55228 16 3 16L0.999999 16C0.447715 16 -7.18952e-07 16.4477 -7.43094e-07 17L-8.30516e-07 19C-8.54657e-07 19.5523 0.447715 20 0.999999 20L3 20C3.55228 20 4 19.5523 4 19L4 17Z" fill="currentColor"/>'},pencil:{viewBox:"0 0 512 512",content:'<path fill="currentColor" d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z" class=""></path>'},caret:{viewBox:"0 0 9 5",content:'<path d="M0.598416 0H8.40158C8.66371 0 8.84517 0.128205 8.94599 0.384615C9.04681 0.621302 9.00648 0.828402 8.82501 1.00592L4.92343 4.82249C4.80245 4.94083 4.66131 5 4.5 5C4.33869 5 4.19755 4.94083 4.07657 4.82249L0.174988 1.00592C-0.00648104 0.828402 -0.0468075 0.621302 0.0540086 0.384615C0.154825 0.128205 0.336294 0 0.598416 0Z" fill="currentColor"/>'},checkbox:{viewBox:"0 0 12 12",content:'<svg fill="none"><rect x="0.75" y="0.75" width="10.5" height="10.5" rx="1.5" stroke="currentColor" stroke-width="1.5"/><path d="M3.16663 5.41667L5.24996 7.5L8.99996 3.75" stroke="currentColor" stroke-width="1.66667"/></svg>'},"radio-button":{viewBox:"0 0 12 12",content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M10 6C10 8.20914 8.20914 10 6 10C3.79086 10 2 8.20914 2 6C2 3.79086 3.79086 2 6 2C8.20914 2 10 3.79086 10 6ZM12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM5.99998 7.99976C7.10455 7.99976 7.99998 7.10433 7.99998 5.99976C7.99998 4.89519 7.10455 3.99976 5.99998 3.99976C4.89542 3.99976 3.99998 4.89519 3.99998 5.99976C3.99998 7.10433 4.89542 7.99976 5.99998 7.99976Z" fill="currentColor"/>'},email:{viewBox:"0 0 12 9",content:'<path d="M10.875 0C11.1875 0 11.4531 0.109375 11.6719 0.328125C11.8906 0.546875 12 0.8125 12 1.125V7.875C12 8.1875 11.8906 8.45312 11.6719 8.67188C11.4531 8.89062 11.1875 9 10.875 9H1.125C0.8125 9 0.546875 8.89062 0.328125 8.67188C0.109375 8.45312 0 8.1875 0 7.875V1.125C0 0.8125 0.109375 0.546875 0.328125 0.328125C0.546875 0.109375 0.8125 0 1.125 0H10.875ZM10.875 1.125H1.125V2.08594C1.67188 2.52344 2.72656 3.35156 4.28906 4.57031C4.28906 4.58594 4.39844 4.6875 4.61719 4.875C4.83594 5.04688 5 5.17188 5.10938 5.25C5.21875 5.3125 5.35938 5.39062 5.53125 5.48438C5.71875 5.57812 5.875 5.625 6 5.625C6.125 5.625 6.27344 5.57812 6.44531 5.48438C6.63281 5.39062 6.78125 5.3125 6.89062 5.25C7 5.17188 7.16406 5.04688 7.38281 4.875C7.60156 4.6875 7.71094 4.58594 7.71094 4.57031C9.27344 3.35156 10.3281 2.52344 10.875 2.08594V1.125ZM1.125 7.875H10.875V3.51562C10.3281 3.95312 9.50781 4.60156 8.41406 5.46094C8.38281 5.47656 8.26562 5.57031 8.0625 5.74219C7.875 5.91406 7.72656 6.03906 7.61719 6.11719C7.50781 6.19531 7.35156 6.29688 7.14844 6.42188C6.94531 6.53125 6.75 6.61719 6.5625 6.67969C6.375 6.72656 6.1875 6.75 6 6.75C5.8125 6.75 5.61719 6.72656 5.41406 6.67969C5.22656 6.61719 5.03125 6.52344 4.82812 6.39844C4.64062 6.27344 4.49219 6.17188 4.38281 6.09375C4.27344 6.01562 4.11719 5.89844 3.91406 5.74219C3.72656 5.57031 3.61719 5.47656 3.58594 5.46094C2.49219 4.60156 1.67188 3.95312 1.125 3.51562V7.875Z" fill="currentColor"/>'},text:{viewBox:"0 0 14 12",content:'<svg fill="none"><rect x="1" y="1.5" width="12" height="9" rx="2" stroke="currentColor" stroke-width="2"/><rect x="3" y="3.5" width="2" height="5" fill="currentColor"/></svg>'},"long-text":{viewBox:"0 0 12 11",content:'<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H12V1.5H0V0ZM0 4.5H6V6H0V4.5ZM9 9H0V10.5H9V9Z" fill="currentColor"/>'},"star-outline":{viewBox:"0 0 12 13",content:'<path d="M11.3771 4.39049C11.6759 4.4217 11.8701 4.58559 11.9597 4.88215C12.0493 5.17871 11.9895 5.43625 11.7804 5.65476L9.40553 8.06626L9.96565 11.4845C10.0105 11.781 9.91337 12.0152 9.67438 12.1869C9.4354 12.3742 9.18895 12.3976 8.93503 12.2571L6 10.6651L3.06497 12.2571C2.81105 12.4132 2.5646 12.3976 2.32562 12.2103C2.08663 12.023 1.98954 11.781 2.03435 11.4845L2.59447 8.06626L0.219567 5.65476C0.0104556 5.43625 -0.0492905 5.17871 0.0403286 4.88215C0.129948 4.58559 0.324122 4.4217 0.622853 4.39049L3.89395 3.87541L5.35026 0.784951C5.48469 0.504001 5.70127 0.363525 6 0.363525C6.29873 0.363525 6.51531 0.504001 6.64974 0.784951L8.10605 3.87541L11.3771 4.39049ZM8.26288 7.66824L10.5034 5.37381L7.3891 4.90556L6 1.95558L4.6109 4.90556L1.49664 5.37381L3.73712 7.66824L3.22181 10.9226L6 9.37736L8.77819 10.9226L8.26288 7.66824Z" fill="currentColor"/>'},smiley:{viewBox:"0 0 12 13",content:'<path d="M1.74194 2.01613C2.91935 0.83871 4.33871 0.25 6 0.25C7.66129 0.25 9.07258 0.83871 10.2339 2.01613C11.4113 3.17742 12 4.58871 12 6.25C12 7.91129 11.4113 9.33064 10.2339 10.5081C9.07258 11.6694 7.66129 12.25 6 12.25C4.33871 12.25 2.91935 11.6694 1.74194 10.5081C0.580645 9.33064 0 7.91129 0 6.25C0 4.58871 0.580645 3.17742 1.74194 2.01613ZM2.56452 9.68548C3.51613 10.621 4.66129 11.0887 6 11.0887C7.33871 11.0887 8.47581 10.621 9.41129 9.68548C10.3629 8.73387 10.8387 7.58871 10.8387 6.25C10.8387 4.91129 10.3629 3.77419 9.41129 2.83871C8.47581 1.8871 7.33871 1.41129 6 1.41129C4.66129 1.41129 3.51613 1.8871 2.56452 2.83871C1.62903 3.77419 1.16129 4.91129 1.16129 6.25C1.16129 7.58871 1.62903 8.73387 2.56452 9.68548ZM4.59677 5.64516C4.45161 5.79032 4.27419 5.8629 4.06452 5.8629C3.85484 5.8629 3.66935 5.79032 3.50806 5.64516C3.3629 5.48387 3.29032 5.29839 3.29032 5.08871C3.29032 4.87903 3.3629 4.70161 3.50806 4.55645C3.66935 4.39516 3.85484 4.31452 4.06452 4.31452C4.27419 4.31452 4.45161 4.39516 4.59677 4.55645C4.75806 4.70161 4.83871 4.87903 4.83871 5.08871C4.83871 5.29839 4.75806 5.48387 4.59677 5.64516ZM8.46774 5.64516C8.32258 5.79032 8.14516 5.8629 7.93548 5.8629C7.72581 5.8629 7.54032 5.79032 7.37903 5.64516C7.23387 5.48387 7.16129 5.29839 7.16129 5.08871C7.16129 4.87903 7.23387 4.70161 7.37903 4.55645C7.54032 4.39516 7.72581 4.31452 7.93548 4.31452C8.14516 4.31452 8.32258 4.39516 8.46774 4.55645C8.62903 4.70161 8.70968 4.87903 8.70968 5.08871C8.70968 5.29839 8.62903 5.48387 8.46774 5.64516ZM8.03226 7.62903C8.12903 7.5 8.25806 7.42742 8.41935 7.41129C8.58064 7.39516 8.71774 7.44355 8.83064 7.55645C8.95968 7.65323 9.03226 7.78226 9.04839 7.94355C9.06452 8.10484 9.02419 8.24194 8.92742 8.35484C8.16935 9.27419 7.19355 9.73387 6 9.73387C4.80645 9.73387 3.83065 9.27419 3.07258 8.35484C2.97581 8.24194 2.93548 8.10484 2.95161 7.94355C2.96774 7.78226 3.03226 7.65323 3.14516 7.55645C3.27419 7.44355 3.41935 7.39516 3.58065 7.41129C3.74194 7.42742 3.87097 7.5 3.96774 7.62903C4.5 8.25806 5.17742 8.57258 6 8.57258C6.82258 8.57258 7.5 8.25806 8.03226 7.62903Z" fill="currentColor"/>'},plus:{viewBox:"0 0 10 10",content:'<path d="M9.125 3.84375H6.03125V0.75C6.03125 0.384766 5.70898 0.0625 5.34375 0.0625H4.65625C4.26953 0.0625 3.96875 0.384766 3.96875 0.75V3.84375H0.875C0.488281 3.84375 0.1875 4.16602 0.1875 4.53125V5.21875C0.1875 5.60547 0.488281 5.90625 0.875 5.90625H3.96875V9C3.96875 9.38672 4.26953 9.6875 4.65625 9.6875H5.34375C5.70898 9.6875 6.03125 9.38672 6.03125 9V5.90625H9.125C9.49023 5.90625 9.8125 5.60547 9.8125 5.21875V4.53125C9.8125 4.16602 9.49023 3.84375 9.125 3.84375Z" fill="currentColor"/>'},remove:{viewBox:"0 0 16 16",content:'<path d="M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM3.41935 12.5806C4.68817 13.828 6.21505 14.4516 8 14.4516C9.78495 14.4516 11.3011 13.828 12.5484 12.5806C13.8172 11.3118 14.4516 9.78495 14.4516 8C14.4516 6.21505 13.8172 4.69892 12.5484 3.45161C11.3011 2.1828 9.78495 1.54839 8 1.54839C6.21505 1.54839 4.68817 2.1828 3.41935 3.45161C2.17204 4.69892 1.54839 6.21505 1.54839 8C1.54839 9.78495 2.17204 11.3118 3.41935 12.5806ZM11.2903 6L9.29032 8L11.2903 10C11.4624 10.1935 11.4624 10.3763 11.2903 10.5484L10.5484 11.2903C10.3763 11.4624 10.1935 11.4624 10 11.2903L8 9.29032L6 11.2903C5.80645 11.4624 5.62366 11.4624 5.45161 11.2903L4.70968 10.5484C4.53763 10.3763 4.53763 10.1935 4.70968 10L6.70968 8L4.70968 6C4.53763 5.80645 4.53763 5.62366 4.70968 5.45161L5.45161 4.70968C5.62366 4.53763 5.80645 4.53763 6 4.70968L8 6.70968L10 4.70968C10.1935 4.53763 10.3763 4.53763 10.5484 4.70968L11.2903 5.45161C11.4624 5.62366 11.4624 5.80645 11.2903 6Z" fill="currentColor"/>'},"arrow-down":{viewBox:"0 0 16 25",content:'<path d="M7.29289 24.7071C7.68342 25.0976 8.31658 25.0976 8.70711 24.7071L15.0711 18.3431C15.4616 17.9526 15.4616 17.3195 15.0711 16.9289C14.6805 16.5384 14.0474 16.5384 13.6569 16.9289L8 22.5858L2.34315 16.9289C1.95262 16.5384 1.31946 16.5384 0.928931 16.9289C0.538407 17.3195 0.538407 17.9526 0.928931 18.3431L7.29289 24.7071ZM7 -4.37115e-08L7 24L9 24L9 4.37115e-08L7 -4.37115e-08Z" fill="currentColor"/>'},"arrow-left":{viewBox:"0 0 9 10",content:'<path d="M5.0199 8.46094C5.21521 8.26562 5.19568 7.97266 5.0199 7.77734L2.65662 5.53125H8.28162C8.53552 5.53125 8.75037 5.33594 8.75037 5.0625V4.4375C8.75037 4.18359 8.53552 3.96875 8.28162 3.96875H2.65662L5.0199 1.74219C5.19568 1.54688 5.21521 1.25391 5.0199 1.05859L4.59021 0.628906C4.41443 0.453125 4.10193 0.453125 3.92615 0.628906L0.137085 4.4375C-0.0582275 4.61328 -0.0582275 4.90625 0.137085 5.08203L3.92615 8.89062C4.10193 9.06641 4.3949 9.06641 4.59021 8.89062L5.0199 8.46094Z" fill="currentColor"/>'},"arrow-right":{viewBox:"0 0 10 6",content:'<path d="M6.91211 2.51562H0.445312C0.294922 2.51562 0.1875 2.64453 0.1875 2.77344V3.97656C0.1875 4.12695 0.294922 4.23438 0.445312 4.23438H6.91211V5.24414C6.91211 5.69531 7.4707 5.93164 7.79297 5.60938L9.64062 3.74023C9.85547 3.54688 9.85547 3.22461 9.64062 3.03125L7.79297 1.16211C7.4707 0.839844 6.91211 1.07617 6.91211 1.52734V2.51562Z" fill="currentColor"/>'},"exclamation-circle":{viewBox:"0 0 12 12",content:'<path d="M10.2339 1.76613C11.4113 2.92742 12 4.33871 12 6C12 7.66129 11.4113 9.08064 10.2339 10.2581C9.07258 11.4194 7.66129 12 6 12C4.33871 12 2.91935 11.4194 1.74194 10.2581C0.580645 9.08064 0 7.66129 0 6C0 4.33871 0.580645 2.92742 1.74194 1.76613C2.91935 0.58871 4.33871 0 6 0C7.66129 0 9.07258 0.58871 10.2339 1.76613ZM6.77419 7.54839C6.56452 7.32258 6.30645 7.20968 6 7.20968C5.69355 7.20968 5.42742 7.32258 5.20161 7.54839C4.99194 7.75806 4.8871 8.01613 4.8871 8.32258C4.8871 8.62903 4.99194 8.89516 5.20161 9.12097C5.42742 9.33064 5.69355 9.43548 6 9.43548C6.30645 9.43548 6.56452 9.33064 6.77419 9.12097C7 8.89516 7.1129 8.62903 7.1129 8.32258C7.1129 8.01613 7 7.75806 6.77419 7.54839ZM4.93548 3.21774L5.12903 6.50806C5.12903 6.68548 5.22581 6.77419 5.41935 6.77419H6.58065C6.77419 6.77419 6.87097 6.68548 6.87097 6.50806L7.06452 3.21774C7.06452 3.12097 7.03226 3.04839 6.96774 3C6.91935 2.93548 6.85484 2.90323 6.77419 2.90323H5.22581C5.14516 2.90323 5.07258 2.93548 5.00806 3C4.95968 3.04839 4.93548 3.12097 4.93548 3.21774Z" fill="currentColor"/>'},"check-circle":{viewBox:"0 0 12 12",content:'<path d="M10.2339 1.76613C11.4113 2.92742 12 4.33871 12 6C12 7.66129 11.4113 9.08065 10.2339 10.2581C9.07258 11.4194 7.66129 12 6 12C4.33871 12 2.91935 11.4194 1.74194 10.2581C0.580645 9.08065 0 7.66129 0 6C0 4.33871 0.580645 2.92742 1.74194 1.76613C2.91935 0.58871 4.33871 0 6 0C7.66129 0 9.07258 0.58871 10.2339 1.76613ZM5.29839 9.16936L9.75 4.71774C9.94355 4.54032 9.94355 4.3629 9.75 4.18548L9.21774 3.62903C9.02419 3.45161 8.83871 3.45161 8.66129 3.62903L5.03226 7.25806L3.33871 5.56452C3.16129 5.3871 2.97581 5.3871 2.78226 5.56452L2.25 6.12097C2.05645 6.29839 2.05645 6.47581 2.25 6.65323L4.76613 9.16936C4.94355 9.3629 5.12097 9.3629 5.29839 9.16936Z" fill="currentColor"/>'},download:{viewBox:"0 0 10 11",content:'<path d="M4.21912 0.5H5.78162C5.91182 0.5 6.0225 0.545573 6.11365 0.636719C6.20479 0.727865 6.25037 0.838542 6.25037 0.96875V4.25H7.96912C8.13839 4.25 8.25557 4.33464 8.32068 4.50391C8.38578 4.66016 8.35974 4.79688 8.24255 4.91406L5.2738 7.88281C5.19568 7.96094 5.10453 8 5.00037 8C4.8962 8 4.80505 7.96094 4.72693 7.88281L1.75818 4.91406C1.64099 4.79688 1.61495 4.66016 1.68005 4.50391C1.74516 4.33464 1.86235 4.25 2.03162 4.25H3.75037V0.96875C3.75037 0.838542 3.79594 0.727865 3.88708 0.636719C3.97823 0.545573 4.08891 0.5 4.21912 0.5ZM10.0004 7.84375V10.0312C10.0004 10.1615 9.95479 10.2721 9.86365 10.3633C9.7725 10.4544 9.66182 10.5 9.53162 10.5H0.469116C0.338908 10.5 0.228231 10.4544 0.137085 10.3633C0.0459391 10.2721 0.000366211 10.1615 0.000366211 10.0312V7.84375C0.000366211 7.71354 0.0459391 7.60286 0.137085 7.51172C0.228231 7.42057 0.338908 7.375 0.469116 7.375H3.34021L4.29724 8.33203C4.49255 8.52734 4.72693 8.625 5.00037 8.625C5.2738 8.625 5.50818 8.52734 5.70349 8.33203L6.66052 7.375H9.53162C9.66182 7.375 9.7725 7.42057 9.86365 7.51172C9.95479 7.60286 10.0004 7.71354 10.0004 7.84375ZM7.4613 9.83594C7.53943 9.75781 7.57849 9.66667 7.57849 9.5625C7.57849 9.45833 7.53943 9.36719 7.4613 9.28906C7.38318 9.21094 7.29203 9.17188 7.18787 9.17188C7.0837 9.17188 6.99255 9.21094 6.91443 9.28906C6.8363 9.36719 6.79724 9.45833 6.79724 9.5625C6.79724 9.66667 6.8363 9.75781 6.91443 9.83594C6.99255 9.91406 7.0837 9.95312 7.18787 9.95312C7.29203 9.95312 7.38318 9.91406 7.4613 9.83594ZM8.7113 9.83594C8.78943 9.75781 8.82849 9.66667 8.82849 9.5625C8.82849 9.45833 8.78943 9.36719 8.7113 9.28906C8.63318 9.21094 8.54203 9.17188 8.43787 9.17188C8.3337 9.17188 8.24255 9.21094 8.16443 9.28906C8.0863 9.36719 8.04724 9.45833 8.04724 9.5625C8.04724 9.66667 8.0863 9.75781 8.16443 9.83594C8.24255 9.91406 8.3337 9.95312 8.43787 9.95312C8.54203 9.95312 8.63318 9.91406 8.7113 9.83594Z" fill="currentColor"/>'},"download-cloud":{viewBox:"0 0 15 11",content:'<path d="M12.6094 4.82031C13.0625 4.89844 13.4688 5.07812 13.8281 5.35938C14.1875 5.64062 14.4688 5.99219 14.6719 6.41406C14.8906 6.83594 15 7.28125 15 7.75C15 8.57812 14.7031 9.28906 14.1094 9.88281C13.5312 10.4609 12.8281 10.75 12 10.75H3.375C2.4375 10.75 1.64062 10.4219 0.984375 9.76562C0.328125 9.10938 0 8.3125 0 7.375C0 6.64062 0.210938 5.98438 0.632812 5.40625C1.05469 4.82812 1.59375 4.42188 2.25 4.1875C2.25 4.10938 2.25 4.04688 2.25 4C2.25 2.96875 2.61719 2.08594 3.35156 1.35156C4.08594 0.617188 4.96875 0.25 6 0.25C6.6875 0.25 7.32031 0.421875 7.89844 0.765625C8.47656 1.10938 8.92969 1.5625 9.25781 2.125C9.63281 1.875 10.0469 1.75 10.5 1.75C11.125 1.75 11.6562 1.96875 12.0938 2.40625C12.5312 2.84375 12.75 3.375 12.75 4C12.75 4.28125 12.7031 4.55469 12.6094 4.82031ZM9.49219 6.88281C9.60156 6.77344 9.625 6.64062 9.5625 6.48438C9.5 6.32812 9.38281 6.25 9.21094 6.25H7.6875V3.625C7.6875 3.51562 7.64844 3.42969 7.57031 3.36719C7.50781 3.28906 7.42188 3.25 7.3125 3.25H6.1875C6.07812 3.25 5.98438 3.28906 5.90625 3.36719C5.84375 3.42969 5.8125 3.51562 5.8125 3.625V6.25H4.28906C4.11719 6.25 4 6.32812 3.9375 6.48438C3.875 6.64062 3.89844 6.77344 4.00781 6.88281L6.49219 9.36719C6.66406 9.53906 6.83594 9.53906 7.00781 9.36719L9.49219 6.88281Z" fill="currentColor"/>'},eye:{viewBox:"0 0 15 11",content:'<path d="M14.9222 5.10938C14.9743 5.2309 15.0004 5.36111 15.0004 5.5C15.0004 5.63889 14.9743 5.7691 14.9222 5.89062C14.1931 7.27951 13.1688 8.39931 11.8493 9.25C10.5299 10.0833 9.08023 10.5 7.50037 10.5C6.4587 10.5 5.45176 10.309 4.47953 9.92708C3.52467 9.52778 2.67398 8.98958 1.92745 8.3125C1.18092 7.61806 0.564602 6.81076 0.0784912 5.89062C0.0264079 5.7691 0.000366211 5.63889 0.000366211 5.5C0.000366211 5.36111 0.0264079 5.2309 0.0784912 5.10938C0.807658 3.72049 1.83196 2.60938 3.15141 1.77604C4.47085 0.925347 5.92051 0.5 7.50037 0.5C9.08023 0.5 10.5299 0.925347 11.8493 1.77604C13.1688 2.60938 14.1931 3.72049 14.9222 5.10938ZM7.50037 9.25C8.54203 9.25 9.42745 8.88542 10.1566 8.15625C10.8858 7.42708 11.2504 6.54167 11.2504 5.5C11.2504 4.45833 10.8858 3.57292 10.1566 2.84375C9.42745 2.11458 8.54203 1.75 7.50037 1.75C6.4587 1.75 5.57328 2.11458 4.84412 2.84375C4.11495 3.57292 3.75037 4.45833 3.75037 5.5C3.75037 6.54167 4.11495 7.42708 4.84412 8.15625C5.57328 8.88542 6.4587 9.25 7.50037 9.25ZM7.50037 3C8.19481 3 8.78509 3.24306 9.2712 3.72917C9.75731 4.21528 10.0004 4.80556 10.0004 5.5C10.0004 6.17708 9.75731 6.76736 9.2712 7.27083C8.78509 7.75694 8.19481 8 7.50037 8C6.82328 8 6.23301 7.75694 5.72953 7.27083C5.24342 6.76736 5.00037 6.17708 5.00037 5.5C5.00037 5.27431 5.03509 5.05729 5.10453 4.84896C5.31287 5.00521 5.55592 5.08333 5.8337 5.08333C6.18092 5.08333 6.47606 4.96181 6.71912 4.71875C6.96217 4.47569 7.0837 4.18056 7.0837 3.83333C7.0837 3.55556 7.00557 3.3125 6.84932 3.10417C7.05766 3.03472 7.27467 3 7.50037 3Z" fill="currentColor"/>'},comment:{viewBox:"0 0 12 11",content:'<path d="M2.24588 1.86161C3.36196 0.953869 4.70868 0.5 6.28606 0.5C7.86344 0.5 9.21017 0.953869 10.3262 1.86161C11.4423 2.76935 12.0003 3.8631 12.0003 5.14286C12.0003 6.42262 11.4423 7.51637 10.3262 8.42411C9.21017 9.33185 7.86344 9.78571 6.28606 9.78571C5.45273 9.78571 4.6566 9.64435 3.89767 9.36161C2.93041 10.1205 1.8813 10.5 0.750349 10.5C0.720587 10.5 0.690825 10.4851 0.661063 10.4554C0.631301 10.4405 0.60898 10.4182 0.594099 10.3884C0.564337 10.314 0.571777 10.247 0.61642 10.1875C0.675944 10.1429 0.76523 10.0387 0.884277 9.875C1.01821 9.72619 1.18934 9.47321 1.39767 9.11607C1.606 8.74405 1.75481 8.39435 1.8441 8.06696C0.995884 7.21875 0.571777 6.24405 0.571777 5.14286C0.571777 3.8631 1.12981 2.76935 2.24588 1.86161Z" fill="currentColor"/>'},"external-link":{viewBox:"0 0 12 11",content:'<path d="M11.25 0.71875V3.21875C11.25 3.42708 11.1523 3.57031 10.957 3.64844C10.7617 3.72656 10.5924 3.69401 10.4492 3.55078L9.74609 2.84766L5 7.61328C4.90885 7.70443 4.79818 7.75 4.66797 7.75C4.53776 7.75 4.42708 7.70443 4.33594 7.61328L3.88672 7.16406C3.79557 7.07292 3.75 6.96224 3.75 6.83203C3.75 6.70182 3.79557 6.59115 3.88672 6.5L8.65234 1.75391L7.94922 1.05078C7.80599 0.907552 7.77344 0.738281 7.85156 0.542969C7.92969 0.347656 8.07292 0.25 8.28125 0.25H10.7812C10.9115 0.25 11.0221 0.295573 11.1133 0.386719C11.2044 0.477865 11.25 0.588542 11.25 0.71875ZM7.94922 5.54297C8.09245 5.38672 8.26172 5.35417 8.45703 5.44531C8.65234 5.52344 8.75 5.66667 8.75 5.875V9.3125C8.75 9.57292 8.65885 9.79427 8.47656 9.97656C8.29427 10.1589 8.07292 10.25 7.8125 10.25H0.9375C0.677083 10.25 0.455729 10.1589 0.273438 9.97656C0.0911458 9.79427 0 9.57292 0 9.3125V2.4375C0 2.17708 0.0911458 1.95573 0.273438 1.77344C0.455729 1.59115 0.677083 1.5 0.9375 1.5H6.71875C6.92708 1.5 7.07031 1.59766 7.14844 1.79297C7.22656 1.98828 7.19401 2.15755 7.05078 2.30078L6.73828 2.61328C6.64714 2.70443 6.53646 2.75 6.40625 2.75H1.25V9H7.5V6.1875C7.5 6.05729 7.54557 5.94661 7.63672 5.85547L7.94922 5.54297Z" fill="currentColor"/>'},"graph-bars-vertical":{viewBox:"0 0 15 11",content:'<path d="M9.57812 7.5H10.6445C10.8086 7.5 11 7.33594 11 7.17188V3.48047C11 3.31641 10.8086 3.125 10.6445 3.125H9.57812C9.41406 3.125 9.25 3.31641 9.25 3.48047V7.17188C9.25 7.33594 9.41406 7.5 9.57812 7.5ZM12.2031 7.5H13.2695C13.4336 7.5 13.625 7.33594 13.625 7.17188V0.855469C13.625 0.691406 13.4336 0.5 13.2695 0.5H12.2031C12.0391 0.5 11.875 0.691406 11.875 0.855469V7.17188C11.875 7.33594 12.0391 7.5 12.2031 7.5ZM4.32812 7.5H5.39453C5.55859 7.5 5.75 7.33594 5.75 7.17188V5.23047C5.75 5.06641 5.55859 4.875 5.39453 4.875H4.32812C4.16406 4.875 4 5.06641 4 5.23047V7.17188C4 7.33594 4.16406 7.5 4.32812 7.5ZM6.95312 7.5H8.01953C8.18359 7.5 8.375 7.33594 8.375 7.17188V1.73047C8.375 1.56641 8.18359 1.375 8.01953 1.375H6.95312C6.78906 1.375 6.625 1.56641 6.625 1.73047V7.17188C6.625 7.33594 6.78906 7.5 6.95312 7.5ZM14.0625 9.25H2.25V0.9375C2.25 0.71875 2.03125 0.5 1.8125 0.5H0.9375C0.691406 0.5 0.5 0.71875 0.5 0.9375V10.125C0.5 10.6172 0.882812 11 1.375 11H14.0625C14.2812 11 14.5 10.8086 14.5 10.5625V9.6875C14.5 9.46875 14.2812 9.25 14.0625 9.25Z" fill="currentColor"/>'},"graph-bars-horizontal":{viewBox:"0 0 17 12",content:'<rect x="4.5" width="9" height="2" rx="0.5" fill="currentColor"/><rect x="4.5" y="3" width="6" height="2" rx="0.5" fill="currentColor"/><rect x="4.5" y="6" width="8" height="2" rx="0.5" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.5 0.5C2.5 0.223858 2.27614 0 2 0H1C0.723858 0 0.5 0.223858 0.5 0.5V11.5C0.5 11.7761 0.723858 12 1 12H2.5L16 12C16.2761 12 16.5 11.7761 16.5 11.5V10.5C16.5 10.2239 16.2761 10 16 10L3 10C2.72386 10 2.5 9.77614 2.5 9.5V0.5Z" fill="currentColor"/>'},"graph-lines":{viewBox:"0 0 15 11",content:'<path d="M14.0625 9.25H2.25V0.9375C2.25 0.71875 2.03125 0.5 1.8125 0.5H0.9375C0.691406 0.5 0.5 0.71875 0.5 0.9375V10.125C0.5 10.6172 0.882812 11 1.375 11H14.0625C14.2812 11 14.5 10.8086 14.5 10.5625V9.6875C14.5 9.46875 14.2812 9.25 14.0625 9.25ZM13.1875 1.375H9.93359C9.35938 1.375 9.05859 2.08594 9.46875 2.49609L10.3711 3.39844L8.375 5.39453L6.35156 3.39844C6.02344 3.04297 5.44922 3.04297 5.12109 3.39844L3.23438 5.28516C3.07031 5.44922 3.07031 5.72266 3.23438 5.88672L3.86328 6.51562C4.02734 6.67969 4.30078 6.67969 4.46484 6.51562L5.75 5.25781L7.74609 7.25391C8.07422 7.60938 8.64844 7.60938 8.97656 7.25391L11.6016 4.62891L12.5039 5.53125C12.9141 5.94141 13.5977 5.64062 13.5977 5.06641V1.8125C13.625 1.59375 13.4062 1.375 13.1875 1.375Z" fill="currentColor"/>'},"graph-pie":{viewBox:"0 0 16 15",content:'<path d="M14.9102 8.625H8.42969L12.75 12.9727C12.9141 13.1367 13.1875 13.1367 13.3516 12.9727C14.418 11.9883 15.1562 10.6484 15.3477 9.11719C15.4023 8.87109 15.1836 8.625 14.9102 8.625ZM14.4727 6.875C14.2539 3.59375 11.6562 0.996094 8.375 0.777344C8.12891 0.75 7.9375 0.96875 7.9375 1.21484V7.3125H14.0352C14.2812 7.3125 14.5 7.12109 14.4727 6.875ZM6.625 8.625V2.14453C6.625 1.89844 6.37891 1.67969 6.13281 1.70703C2.85156 2.17188 0.363281 5.01562 0.5 8.43359C0.609375 11.9336 3.61719 14.8047 7.14453 14.75C8.51172 14.75 9.79688 14.3125 10.8359 13.5469C11.0547 13.4102 11.0547 13.082 10.8633 12.8906L6.625 8.625Z" fill="currentColor"/>'},"position-bottom_left":{viewBox:"0 0 47 45",content:'<g fill="none"><mask id="path-1-inside-1_823_1536" fill="white"><rect width="47" height="45" rx="3"/></mask><rect width="47" height="45" rx="3" stroke="#2D87F1" stroke-width="8" mask="url(#path-1-inside-1_823_1536)"/><rect x="6" y="30" width="13" height="9" rx="1" fill="#4BBB6A"/><line x1="2" y1="6" x2="45" y2="6" stroke="#2D87F1" stroke-width="4"/></g>'},"position-bottom_right":{viewBox:"0 0 47 45",content:'<g fill="none"><mask id="path-1-inside-1_823_1559" fill="white"><rect width="47" height="45" rx="3"/></mask><rect width="47" height="45" rx="3" stroke="#2D87F1" stroke-width="8" mask="url(#path-1-inside-1_823_1559)"/><rect x="28" y="30" width="13" height="9" rx="1" fill="#4BBB6A"/><line x1="2" y1="6" x2="45" y2="6" stroke="#2D87F1" stroke-width="4"/></g>'},"email-template-plain":{viewBox:"0 0 48 48",content:'<g fill="none"><rect x="1" y="1" width="46" height="46" rx="2" stroke="currentColor" stroke-width="2"/><rect x="8" y="20" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="14" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="8" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="26" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="32" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="38" width="32" height="2" rx="1" fill="currentColor"/></g>'},"email-template-html":{viewBox:"0 0 48 48",content:'<g fill="none"><rect x="1" y="1" width="46" height="46" rx="2" stroke="currentColor" stroke-width="2"/><rect x="8" y="8" width="8" height="8" rx="1" fill="currentColor"/><rect x="20" y="8" width="20" height="8" rx="1" fill="currentColor"/><rect x="8" y="20" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="26" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="32" width="32" height="2" rx="1" fill="currentColor"/><rect x="8" y="38" width="32" height="2" rx="1" fill="currentColor"/></g>'},check:{viewBox:"0 0 15 12",content:'<path d="M4.73047 10.7812C5.00391 11.0547 5.46875 11.0547 5.74219 10.7812L13.7812 2.74219C14.0547 2.46875 14.0547 2.00391 13.7812 1.73047L12.7969 0.746094C12.5234 0.472656 12.0859 0.472656 11.8125 0.746094L5.25 7.30859L2.16016 4.24609C1.88672 3.97266 1.44922 3.97266 1.17578 4.24609L0.191406 5.23047C-0.0820312 5.50391 -0.0820312 5.96875 0.191406 6.24219L4.73047 10.7812Z" fill="currentColor"/>'},inbox:{viewBox:"0 0 28 18",content:'<path d="M26.7258 8.4375C26.9602 8.8125 27.1008 9.23438 27.1008 9.70312V15.75C27.1008 16.4062 26.8665 16.9219 26.4446 17.3438C25.9758 17.8125 25.4602 18 24.8508 18H2.35083C1.69458 18 1.17896 17.8125 0.75708 17.3438C0.28833 16.9219 0.10083 16.4062 0.10083 15.75V9.70312C0.10083 9.23438 0.19458 8.8125 0.47583 8.4375L5.44458 0.984375C5.63208 0.703125 5.86646 0.46875 6.24146 0.28125C6.56958 0.09375 6.94458 0 7.31958 0H19.8821C20.2571 0 20.5852 0.09375 20.9602 0.28125C21.2883 0.46875 21.5696 0.703125 21.7571 0.984375L26.7258 8.4375ZM7.69458 3L3.71021 9H9.47583L10.9758 12H16.2258L17.7258 9H23.4915L19.5071 3H7.69458Z" fill="currentColor"/>'},"notification-default":{viewBox:"0 0 13 14",content:'<path d="M12.6895 9.64286V0.642858C12.6895 0.294644 12.3949 7.15256e-07 12.0467 7.15256e-07H3.26094C1.8413 7.15256e-07 0.689515 1.15179 0.689515 2.57143V11.1429C0.689515 12.5625 1.8413 13.7143 3.26094 13.7143H12.0467C12.3949 13.7143 12.6895 13.4464 12.6895 13.0714V12.6429C12.6895 12.4554 12.5824 12.2679 12.4484 12.1607C12.3145 11.7321 12.3145 10.5536 12.4484 10.1518C12.5824 10.0446 12.6895 9.85714 12.6895 9.64286ZM4.11809 3.58929C4.11809 3.50893 4.17166 3.42857 4.2788 3.42857H9.95737C10.0377 3.42857 10.1181 3.50893 10.1181 3.58929V4.125C10.1181 4.23214 10.0377 4.28571 9.95737 4.28571H4.2788C4.17166 4.28571 4.11809 4.23214 4.11809 4.125V3.58929ZM4.11809 5.30357C4.11809 5.22321 4.17166 5.14286 4.2788 5.14286H9.95737C10.0377 5.14286 10.1181 5.22321 10.1181 5.30357V5.83929C10.1181 5.94643 10.0377 6 9.95737 6H4.2788C4.17166 6 4.11809 5.94643 4.11809 5.83929V5.30357ZM10.8949 12H3.26094C2.7788 12 2.4038 11.625 2.4038 11.1429C2.4038 10.6875 2.7788 10.2857 3.26094 10.2857H10.8949C10.8413 10.7679 10.8413 11.5446 10.8949 12Z" fill="currentColor"/>'},"notifications-empty":{viewBox:"0 0 92 74",content:'<path d="M90.2969 65.4062C91.4219 66.3438 91.5625 67.4219 90.7188 68.6406L87.9062 72.1562C86.9688 73.2812 85.9375 73.4219 84.8125 72.5781L1.98438 8.59375C0.859375 7.65625 0.71875 6.57813 1.5625 5.35938L4.375 1.84375C5.3125 0.71875 6.34375 0.578125 7.46875 1.42188L27.8594 17.1719C31.3281 12.5781 35.9219 9.67188 41.6406 8.45312V5.5C41.6406 4.28125 42.0625 3.25 42.9062 2.40625C43.8438 1.46875 44.9219 1 46.1406 1C47.3594 1 48.3906 1.46875 49.2344 2.40625C50.1719 3.25 50.6406 4.28125 50.6406 5.5V8.45312C55.8906 9.48437 60.2031 12.0156 63.5781 16.0469C66.9531 20.0781 68.6406 24.8125 68.6406 30.25C68.6406 34.375 69.1094 38.0312 70.0469 41.2188C70.9844 44.3125 71.8281 46.4219 72.5781 47.5469C73.4219 48.6719 74.5469 49.9375 75.9531 51.3438C76.1406 51.625 76.2812 51.8125 76.375 51.9062C77.2188 52.8438 77.6406 53.875 77.6406 55C77.6406 55.0938 77.5938 55.2344 77.5 55.4219C77.5 55.5156 77.5 55.5625 77.5 55.5625L90.2969 65.4062ZM23.2188 36.4375L53.1719 59.5H19.1406C18.2969 59.5 17.5 59.3125 16.75 58.9375C16.0938 58.4688 15.5781 57.9062 15.2031 57.25C14.8281 56.5 14.6406 55.75 14.6406 55C14.6406 53.875 15.0625 52.8438 15.9062 51.9062C17.2188 50.5 18.1562 49.4688 18.7188 48.8125C19.2812 48.1562 20.0781 46.6562 21.1094 44.3125C22.1406 41.9688 22.8438 39.3438 23.2188 36.4375ZM46.1406 73C43.7031 73 41.5938 72.1094 39.8125 70.3281C38.0312 68.6406 37.1406 66.5312 37.1406 64H55.1406C55.1406 65.5938 54.7188 67.0938 53.875 68.5C53.125 69.9062 52.0469 70.9844 50.6406 71.7344C49.2344 72.5781 47.7344 73 46.1406 73Z" fill="currentColor"/></svg>'},"times-full":{viewBox:"0 0 16 16",content:'<path d="M16 3.69231L12.3077 0L8 4.30769L3.69231 5.86876e-07L0 3.69231L4.30769 8L0 12.3077L3.69231 16L8 11.6923L12.3077 16L16 12.3077L11.6923 8L16 3.69231Z" fill="currentColor"/>'},"times-dotted":{viewBox:"0 0 18 18",content:'<g fill="none"><path d="M17 4.69231L13.3077 1L9 5.30769L4.69231 1L1 4.69231L5.30769 9L1 13.3077L4.69231 17L9 12.6923L13.3077 17L17 13.3077L12.6923 9L17 4.69231Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="4 2"/></g>'},tools:{viewBox:"0 0 15 15",content:'<path d="M14.426 11.6071L11.292 8.47321C10.6492 7.85714 9.73846 7.72321 8.98846 8.09821L6.14918 5.25893V3.57143L2.72061 1L1.00632 2.71429L3.57775 6.14286H5.23846L8.07775 9.00893C7.72954 9.75893 7.83668 10.6696 8.45275 11.2857L11.5867 14.4464C11.9885 14.8214 12.6045 14.8214 13.0063 14.4464L14.426 13.0268C14.801 12.625 14.801 12.0089 14.426 11.6071ZM9.87239 7.02679C10.6492 7.02679 11.3456 7.32143 11.8813 7.85714L12.417 8.39286C12.8188 8.20536 13.2206 7.9375 13.5688 7.58929C14.5599 6.59821 14.9081 5.20536 14.5867 3.94643C14.5331 3.70536 14.2385 3.625 14.051 3.78571L12.0688 5.79464L10.2474 5.47321L9.95275 3.65179L11.9349 1.66964C12.1224 1.48214 12.0152 1.1875 11.7742 1.13393C10.5152 0.812501 9.12239 1.16071 8.13132 2.15179C7.35454 2.90179 7.00632 3.91964 7.00632 4.91071L9.22954 7.10714C9.44382 7.05357 9.65811 7.02679 9.87239 7.02679ZM7.08668 9.22321L5.58668 7.72321L1.48846 11.7946C0.818822 12.4643 0.818822 13.5625 1.48846 14.2321C2.15811 14.9018 3.25632 14.9018 3.92596 14.2321L7.22061 10.9107C7.03311 10.375 6.95275 9.8125 7.08668 9.22321ZM2.72061 13.6429C2.34561 13.6429 2.07775 13.375 2.07775 13C2.07775 12.6518 2.34561 12.3571 2.72061 12.3571C3.06882 12.3571 3.36346 12.6518 3.36346 13C3.36346 13.375 3.06882 13.6429 2.72061 13.6429Z" fill="currentColor"/>'},paper:{viewBox:"0 0 11 14",content:'<path d="M7.93486 6.64286C7.93486 6.48214 7.77415 6.32143 7.61343 6.32143H3.11343C2.92593 6.32143 2.79201 6.48214 2.79201 6.64286V7.39286C2.79201 7.58036 2.92593 7.71429 3.11343 7.71429H7.61343C7.77415 7.71429 7.93486 7.58036 7.93486 7.39286V6.64286ZM7.61343 8.57143H3.11343C2.92593 8.57143 2.79201 8.73214 2.79201 8.89286V9.64286C2.79201 9.83036 2.92593 9.96429 3.11343 9.96429H7.61343C7.77415 9.96429 7.93486 9.83036 7.93486 9.64286V8.89286C7.93486 8.73214 7.77415 8.57143 7.61343 8.57143ZM10.5063 3.53571C10.5063 3.21429 10.3456 2.86607 10.1045 2.625L7.88129 0.401786C7.64022 0.160715 7.29201 7.15256e-07 6.97058 7.15256e-07H1.50629C0.783077 7.15256e-07 0.220577 0.589286 0.220577 1.28571V12.4286C0.220577 13.1518 0.783077 13.7143 1.50629 13.7143H9.22058C9.91701 13.7143 10.5063 13.1518 10.5063 12.4286V3.53571ZM7.07772 1.39286L9.11343 3.42857H7.07772V1.39286ZM9.22058 12.4286H1.50629V1.28571H5.79201V4.07143C5.79201 4.44643 6.05986 4.71429 6.43486 4.71429H9.22058V12.4286Z" fill="currentColor"/>'},logic:{viewBox:"0 0 11 14",content:'<path d="M10.5063 3.85714C10.5063 2.67857 9.54204 1.71429 8.36346 1.71429C7.15811 1.71429 6.22061 2.67857 6.22061 3.85714C6.22061 4.84821 6.86346 5.67857 7.74739 5.91964C7.72061 6.34821 7.64025 6.69643 7.45275 6.91071C7.05096 7.41964 6.14025 7.52679 5.17596 7.60714C4.42596 7.66071 3.62239 7.74107 3.00632 8.0625V4.20536C3.86346 3.9375 4.50632 3.10714 4.50632 2.14286C4.50632 0.964286 3.54204 7.15256e-07 2.36346 7.15256e-07C1.15811 7.15256e-07 0.220608 0.964286 0.220608 2.14286C0.220608 3.10714 0.836679 3.9375 1.72061 4.20536V9.53571C0.836679 9.80357 0.220608 10.6339 0.220608 11.5714C0.220608 12.7768 1.15811 13.7143 2.36346 13.7143C3.54204 13.7143 4.50632 12.7768 4.50632 11.5714C4.50632 10.6607 3.91704 9.88393 3.11346 9.58929C3.19382 9.45536 3.32775 9.32143 3.51525 9.21429C3.94382 9 4.61346 8.94643 5.28311 8.89286C6.43489 8.78571 7.69382 8.65179 8.47061 7.71429C8.84561 7.25893 9.03311 6.64286 9.03311 5.89286C9.89025 5.625 10.5063 4.82143 10.5063 3.85714ZM2.36346 1.71429C2.57775 1.71429 2.79204 1.92857 2.79204 2.14286C2.79204 2.38393 2.57775 2.57143 2.36346 2.57143C2.12239 2.57143 1.93489 2.38393 1.93489 2.14286C1.93489 1.92857 2.12239 1.71429 2.36346 1.71429ZM2.36346 12C2.12239 12 1.93489 11.8125 1.93489 11.5714C1.93489 11.3571 2.12239 11.1429 2.36346 11.1429C2.57775 11.1429 2.79204 11.3571 2.79204 11.5714C2.79204 11.8125 2.57775 12 2.36346 12ZM8.36346 3.42857C8.57775 3.42857 8.79204 3.64286 8.79204 3.85714C8.79204 4.09821 8.57775 4.28571 8.36346 4.28571C8.12239 4.28571 7.93489 4.09821 7.93489 3.85714C7.93489 3.64286 8.12239 3.42857 8.36346 3.42857Z" fill="currentColor"/>'},contrast:{viewBox:"0 0 14 14",content:'<path d="M0.220577 6.85714C0.220577 10.5268 3.19379 13.5 6.86343 13.5C10.5063 13.5 13.5063 10.5268 13.5063 6.85714C13.5063 3.21429 10.5063 0.214286 6.86343 0.214286C3.19379 0.214286 0.220577 3.21429 0.220577 6.85714ZM6.86343 11.7857V1.92857C9.56879 1.92857 11.792 4.15179 11.792 6.85714C11.792 9.58929 9.56879 11.7857 6.86343 11.7857Z" fill="currentColor"/>'},clock:{viewBox:"0 0 14 14",content:'<path d="M6.86346 0.214286C3.19382 0.214286 0.220608 3.1875 0.220608 6.85714C0.220608 10.5268 3.19382 13.5 6.86346 13.5C10.5331 13.5 13.5063 10.5268 13.5063 6.85714C13.5063 3.1875 10.5331 0.214286 6.86346 0.214286ZM6.86346 12.2143C3.89025 12.2143 1.50632 9.83036 1.50632 6.85714C1.50632 3.91071 3.89025 1.5 6.86346 1.5C9.80989 1.5 12.2206 3.91071 12.2206 6.85714C12.2206 9.83036 9.80989 12.2143 6.86346 12.2143ZM8.49739 9.42857C8.65811 9.53571 8.84561 9.50893 8.95275 9.34821L9.46168 8.67857C9.56882 8.51786 9.54204 8.33036 9.38132 8.22321L7.61346 6.91071V3.10714C7.61346 2.94643 7.45275 2.78571 7.29204 2.78571H6.43489C6.24739 2.78571 6.11346 2.94643 6.11346 3.10714V7.52679C6.11346 7.60714 6.14025 7.71429 6.22061 7.76786L8.49739 9.42857Z" fill="currentColor"/>'},phone:{viewBox:"0 0 9 14",content:'<path d="M7.36346 7.15256e-07H1.36346C0.64025 7.15256e-07 0.0777502 0.589286 0.0777502 1.28571V12.4286C0.0777502 13.1518 0.64025 13.7143 1.36346 13.7143H7.36346C8.05989 13.7143 8.64918 13.1518 8.64918 12.4286V1.28571C8.64918 0.589286 8.05989 7.15256e-07 7.36346 7.15256e-07ZM4.36346 12.8571C3.88132 12.8571 3.50632 12.4821 3.50632 12C3.50632 11.5446 3.88132 11.1429 4.36346 11.1429C4.81882 11.1429 5.22061 11.5446 5.22061 12C5.22061 12.4821 4.81882 12.8571 4.36346 12.8571ZM7.36346 9.96429C7.36346 10.1518 7.20275 10.2857 7.04204 10.2857H1.68489C1.49739 10.2857 1.36346 10.1518 1.36346 9.96429V1.60714C1.36346 1.44643 1.49739 1.28571 1.68489 1.28571H7.04204C7.20275 1.28571 7.36346 1.44643 7.36346 1.60714V9.96429Z" fill="currentColor"/>'},search:{viewBox:"0 0 14 14",content:'<path d="M13.5713 11.748C13.6898 11.8665 13.749 12.0104 13.749 12.1797C13.749 12.349 13.6898 12.4928 13.5713 12.6113L12.8604 13.3223C12.7419 13.4408 12.598 13.5 12.4287 13.5C12.2594 13.5 12.1156 13.4408 11.9971 13.3223L9.45801 10.7832C9.33952 10.6647 9.28027 10.5208 9.28027 10.3516V9.94531C8.33236 10.6901 7.24902 11.0625 6.03027 11.0625C4.57454 11.0625 3.3304 10.5462 2.29785 9.51367C1.2653 8.48112 0.749023 7.23698 0.749023 5.78125C0.749023 4.32552 1.2653 3.08138 2.29785 2.04883C3.3304 1.01628 4.57454 0.5 6.03027 0.5C7.486 0.5 8.73014 1.01628 9.7627 2.04883C10.7952 3.08138 11.3115 4.32552 11.3115 5.78125C11.3115 7 10.9391 8.08333 10.1943 9.03125H10.6006C10.7699 9.03125 10.9137 9.0905 11.0322 9.20898L13.5713 11.748ZM3.71973 8.0918C4.36296 8.7181 5.13314 9.03125 6.03027 9.03125C6.92741 9.03125 7.68913 8.7181 8.31543 8.0918C8.95866 7.44857 9.28027 6.67839 9.28027 5.78125C9.28027 4.88411 8.95866 4.1224 8.31543 3.49609C7.68913 2.85286 6.92741 2.53125 6.03027 2.53125C5.13314 2.53125 4.36296 2.85286 3.71973 3.49609C3.09342 4.1224 2.78027 4.88411 2.78027 5.78125C2.78027 6.67839 3.09342 7.44857 3.71973 8.0918Z" fill="currentColor"/>'},"info-circle":{viewBox:"0 0 512 512",content:'<path d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z" fill="currentColor"/>'},"field-chevron-down":{viewBox:"0 0 15 9",content:'<path fill="currentColor" d="M1.003.696H14.01c.434 0 .734.208.9.608.167.384.1.704-.2.992L8.207 8.408a.98.98 0 0 1-.7.288.98.98 0 0 1-.701-.288L.286 2.312c-.284-.288-.367-.624-.2-1.008.166-.416.466-.608.9-.608h.017Z" />'},"field-comment-edit":{viewBox:"0 0 19 15",content:'<path fill="currentColor" fill-rule="evenodd" d="M3.875 13.684c-.031.413.111.71.485.89l-.002-.003h.32c.272-.154.546-.307.82-.459.627-.348 1.254-.697 1.865-1.07.475-.287.949-.438 1.503-.396.32.025.642.019.966.013a23.3 23.3 0 0 1 .435-.006v-1.277H9.78c-.645 0-1.284-.001-1.922.005a.62.62 0 0 0-.277.097c-.487.273-.973.548-1.46.824H6.12l-.002.001-.728.412-.124.069c-.032.017-.067.035-.105.057v-.768c-.003-.434-.263-.7-.695-.7l-.5.001h-1c-.42-.003-.685-.268-.685-.69V2.79c0-.422.265-.69.685-.69h10.777c.431 0 .692.266.694.7v.568h1.276l.003-.255a5.637 5.637 0 0 0-.006-.53A1.911 1.911 0 0 0 14.118.853a2.02 2.02 0 0 0-.336-.03L10.168.82h-.002C7.756.82 5.35.818 2.942.821c-1.069.003-1.934.832-1.939 1.88-.01 2.69-.007 5.383 0 8.073.003.872.63 1.652 1.484 1.823.257.05.524.051.79.053.122 0 .244 0 .364.006h.237c0 .113.002.224.004.333.004.238.008.467-.008.695Zm-.3-10.29h9.574v1.255H3.576V3.393Zm0 5.436h6.697v1.254H3.576V8.83Zm15.423-2.173-.02.12c-.01.065-.021.128-.034.19a2 2 0 0 1-.545 1.024 7617.266 7617.266 0 0 1-4.44 4.437.735.735 0 0 1-.554.225c-.395-.003-.791-.002-1.187 0h-.593c-.446 0-.704-.26-.707-.708l.001-.593v-1.185a.75.75 0 0 1 .227-.555l1.475-1.475c.983-.984 1.965-1.967 2.952-2.945.595-.588 1.318-.749 2.1-.476.757.265 1.183.832 1.292 1.628.006.04.015.078.025.117l.008.035v.161Zm-3.782.666-.044.031a.354.354 0 0 0-.025.019c-.957.964-1.912 1.931-2.867 2.898h-.001c-.036.036-.076.086-.076.13-.005.227-.004.453-.003.684v.286h.25c.2-.002.393-.003.585.002a.383.383 0 0 0 .315-.125c.569-.58 1.14-1.156 1.712-1.734l1.028-1.04a.981.981 0 0 0 .081-.096l.019-.024-.487-.518h-.001l-.486-.518v.005Zm2.057-.01c.1-.093.195-.18.28-.277a.701.701 0 0 0-.034-.96c-.256-.263-.66-.308-.943-.08a2.715 2.715 0 0 0-.29.284c-.046.05-.092.1-.141.15l.485.516h.001l.485.517V7.46l.157-.147ZM3.569 7.204V5.951h8.615v1.253H3.57Z" clip-rule="evenodd" />'},"field-comment-heart":{viewBox:"0 0 16 18",content:'<path fill="currentColor" d="M7.785.377h.489c.374.042.749.073 1.113.135 2.123.385 3.84 1.447 5.099 3.184 1.956 2.716 2.019 6.317.177 9.116-.073.114-.084.197-.031.312.426.968.853 1.925 1.28 2.893.166.385 0 .78-.396.936-.062.02-.114.042-.177.063h-.177c-.052-.021-.114-.052-.166-.073-.968-.479-1.936-.947-2.903-1.426-.115-.062-.198-.052-.323 0-1.696.885-3.496 1.124-5.37.75-1.685-.334-3.12-1.135-4.276-2.404C.304 11.844-.352 9.472.178 6.797c.354-1.831 1.311-3.34 2.737-4.536A7.803 7.803 0 0 1 6.93.47c.281-.042.573-.063.864-.094h-.01Zm.177 5.338c-.063-.041-.104-.073-.156-.104-1.208-.812-2.529-.229-3.101.562a2.246 2.246 0 0 0 .218 2.903c.791.822 1.592 1.644 2.393 2.466.469.479.947.479 1.416 0 .79-.811 1.57-1.613 2.351-2.424.094-.104.188-.208.26-.323.396-.562.396-1.186.25-1.831-.187-.853-1.03-1.852-2.279-1.78-.51.032-.957.209-1.363.52l.01.011Z" />'},"field-comment-star":{viewBox:"0 0 15 16",content:'<path fill="currentColor" d="M15 1.611v10.306s-.019.01-.019.019c-.225.937-.796 1.377-1.761 1.377H9.706a.332.332 0 0 0-.243.094l-1.49 1.49a5.3 5.3 0 0 1-.356.29h-.234c-.113-.094-.244-.178-.347-.281-.496-.487-.993-.984-1.48-1.48a.39.39 0 0 0-.29-.122H1.676c-.759 0-1.368-.431-1.593-1.124L0 11.898C.01 8.478.01 5.05.01 1.611c0-.019.018-.047.027-.066C.131 1.04.394.655.843.412c.178-.094.375-.14.572-.206h12.18c.018 0 .046.018.065.028.562.103.965.421 1.2.937.065.14.093.29.14.44ZM4.769 10.053c.019.056.028.13.056.196.113.235.375.3.628.17.646-.338 1.293-.676 1.94-1.022.084-.047.15-.047.224 0 .637.337 1.284.674 1.93 1.021.178.094.347.103.506-.01.169-.121.197-.29.169-.477l-.366-2.118c-.018-.103 0-.178.085-.253a75.71 75.71 0 0 0 1.518-1.48.604.604 0 0 0 .168-.243c.094-.282-.094-.525-.43-.572-.704-.103-1.397-.206-2.1-.3-.121-.019-.187-.065-.234-.178-.3-.628-.618-1.265-.927-1.883a.905.905 0 0 0-.178-.244c-.225-.168-.525-.084-.656.188-.319.637-.637 1.274-.937 1.911-.066.14-.16.187-.3.206-.693.094-1.387.188-2.08.3a.555.555 0 0 0-.328.187c-.16.178-.112.413.075.6.515.506 1.04 1.012 1.565 1.518a.24.24 0 0 1 .075.215c-.075.422-.15.834-.216 1.256-.056.337-.112.674-.178 1.021l-.01-.01Z" />'},"field-comments":{viewBox:"0 0 17 16",content:'<path fill="currentColor" d="M.007 11.032V1.369c.007-.014.021-.028.021-.042C.148.682.532.277 1.163.1c.099-.028.205-.035.304-.057h9.762c.029.008.064.029.093.029.694.042 1.297.624 1.347 1.318.028.348.014.695.02 1.043v.61h2.716c.532 0 .985.17 1.29.616.142.206.206.468.305.702v10.988c-.043-.042-.092-.078-.135-.12-.921-.922-1.843-1.836-2.757-2.758a.42.42 0 0 0-.334-.135H5.296c-.178 0-.355-.007-.525-.056-.695-.192-1.113-.752-1.12-1.482V8.685H2.538a.353.353 0 0 0-.29.12c-.703.71-1.404 1.412-2.113 2.113-.043.043-.092.078-.135.12l.007-.006Zm11.683-7.99v-1.41c0-.39-.191-.582-.581-.582H1.58c-.39 0-.581.192-.581.581v6.835c0 .042 0 .092.014.163.298-.298.574-.582.858-.851a.341.341 0 0 1 .226-.092c.461-.007.922 0 1.376 0 .056 0 .113 0 .184-.007v-3.07c0-.518.184-.95.603-1.269.304-.234.652-.305 1.028-.305H11.69v.007Zm3.318 2.673h-9.35v.971H15v-.971h.007Zm-2 3.63v-.979h-7.35v.979h7.35Z"/>'},"field-hand-star":{viewBox:"0 0 16 16",content:'<path fill="currentColor" fill-rule="evenodd" d="m9.654.268-.05-.072L9.6.203 9.326.64c-.36.575-.714 1.14-1.073 1.7a.36.36 0 0 1-.194.142c-.39.103-.784.201-1.176.3l-.408.102c-.281.071-.562.143-.858.22.02.023.036.045.051.064a750 750 0 0 1 .341.413c.391.472.783.943 1.18 1.411.09.104.124.205.114.34-.045.619-.086 1.238-.127 1.857l-.03.457a1.722 1.722 0 0 0 0 .145l.014-.005c.069-.025.126-.046.182-.068l.416-.168c.573-.23 1.145-.46 1.72-.686a.387.387 0 0 1 .256 0 33.986 33.986 0 0 1 1.07.424l1.255.505.001-.09a1.717 1.717 0 0 0-.001-.15l-.05-.762c-.035-.508-.069-1.015-.098-1.523a.357.357 0 0 1 .075-.228 266.446 266.446 0 0 1 1.52-1.831.673.673 0 0 0 .05-.067l.032-.044-.014-.004a2.519 2.519 0 0 0-.117-.035l-.153-.039c-.707-.18-1.412-.359-2.12-.533a.363.363 0 0 1-.246-.174A237.664 237.664 0 0 0 9.654.268ZM7.479 3.917a29.354 29.354 0 0 0-.239-.292h.003l.123-.03c.445-.112.866-.217 1.284-.33a.348.348 0 0 0 .183-.132c.202-.31.4-.625.602-.949l.173-.274.001.002c.039.053.069.095.096.14l.235.374c.147.235.293.47.444.7.043.063.123.12.196.14.296.081.594.155.89.23l.342.085c.043.01.085.024.139.042l.018.006-.005.005c-.037.05-.065.088-.094.124l-.283.34c-.175.208-.35.417-.52.63a.397.397 0 0 0-.083.241c.012.272.03.542.05.814l.025.365.01.19.003.074-.087-.036a13.815 13.815 0 0 0-.32-.127c-.296-.118-.592-.235-.885-.358a.387.387 0 0 0-.33-.004c-.3.128-.602.248-.904.368l-.233.092c-.026.01-.052.02-.083.03l-.08.028.012-.21c.01-.186.02-.365.032-.545l.004-.13c.003-.103.005-.207.028-.307.062-.276-.034-.477-.22-.677-.182-.195-.352-.404-.527-.62ZM.001 8.788h-.002l.002-.003v.003Zm0 0v6.396l.07.006c.037.003.073.006.11.006h1.964c2.618 0 5.235 0 7.853-.003.102 0 .22-.038.303-.097.734-.518 1.466-1.039 2.199-1.559.732-.52 1.465-1.04 2.199-1.559.438-.31.726-.707.807-1.243a.062.062 0 0 1 .012-.025l.009-.014v-.455l-.012-.027c-.008-.018-.016-.037-.019-.055a1.76 1.76 0 0 0-.32-.727 1.74 1.74 0 0 0-2.366-.414c-.242.16-.477.328-.713.498l-.314.224a.257.257 0 0 0-.016-.016.084.084 0 0 1-.02-.023c-.346-.635-.887-.916-1.604-.911-.898.007-1.796.004-2.694 0h-.337a.437.437 0 0 1-.213-.051c-1.063-.62-2.124-.619-3.187-.004a.35.35 0 0 1-.167.053H.001Zm8.416 2.417h-.184v.902l.043.004c.04.003.078.005.117.005H9c.404.001.808.002 1.212 0 .827-.003 1.42-.45 1.663-1.241a.333.333 0 0 1 .11-.15c.423-.307.845-.608 1.271-.908.409-.288.92-.213 1.198.168.282.39.196.908-.213 1.201a1297.803 1297.803 0 0 1-4.286 3.046.325.325 0 0 1-.18.058c-1.88.002-3.76.002-5.64.002-.023 0-.044-.003-.07-.006a1.888 1.888 0 0 0-.055-.006V13.04c.001-1.088.001-2.175-.001-3.263 0-.104.03-.166.116-.223.73-.506 1.694-.482 2.44.054.075.053.181.09.273.09.568.003 1.137.003 1.705.003.569 0 1.137 0 1.705.002.576.004.935.563.695 1.072-.14.296-.383.43-.707.43H8.417ZM3.092 14.28H.914V9.71h2.178v4.569Z" clip-rule="evenodd"/>'},"field-mail-open":{viewBox:"0 0 15 16",content:'<path fill="currentColor" fill-rule="evenodd" d="M.323 15.194A.678.678 0 0 1 0 14.871v-8.17c.026-.03.05-.063.076-.095.058-.074.115-.149.185-.21.384-.336.77-.67 1.155-1.004L2.57 4.39a.295.295 0 0 0 .091-.193c.007-.189.007-.377.006-.566v-.282c0-.302.18-.48.482-.482l.303-.001c.236-.001.471-.002.707.002.116.004.199-.034.285-.11C5 2.262 5.558 1.77 6.116 1.275L7.127.38c.273-.242.47-.24.744.002l.434.384c.762.674 1.523 1.347 2.287 2.018a.341.341 0 0 0 .205.078c.237.006.475.005.713.004l.267-.001c.395 0 .553.154.553.544v.215c-.002.192-.003.384.003.575.002.062.038.14.085.182.78.68 1.559 1.36 2.345 2.031a.629.629 0 0 1 .235.52c-.005 2.557-.005 5.114 0 7.67 0 .272-.074.473-.326.591l.002.002H.323Zm10.125-5.387c.3-.26.596-.519.895-.774a.276.276 0 0 0 .111-.233c-.002-.98-.002-1.96-.002-2.941v-.002l-.001-1.961c0-.046-.004-.095-.007-.14H3.553a.916.916 0 0 1-.004.019l-.003.033.001 5.036c0 .054.036.12.076.157.369.326.742.649 1.114.971l.253.217.99-.867L7.125 8.32c.276-.242.467-.244.743 0 .71.62 1.417 1.24 2.14 1.873v-.003l.439-.382Zm2.931 4.5-1.585-1.388v-.001a11492.52 11492.52 0 0 0-4.296-3.76l-1.466 1.285-.005.004-4.41 3.86H13.38ZM.883 13.78l1.341-1.175 2.094-1.833L2.78 9.435C2.15 8.886 1.518 8.339.883 7.787v5.994Zm13.224-.005a4875.986 4875.986 0 0 0-3.43-3.002l3.43-2.982v5.984ZM5.654 2.857h3.69c-.628-.556-1.234-1.092-1.846-1.631l-.85.752-.994.88Zm6.688 2.625v2.68l.509-.441 1.036-.901-.067-.058c-.494-.428-.977-.848-1.478-1.28ZM1.111 6.82l.563.489.98.852V5.484l-.616.534-.927.802Zm6.403-2.198h2.59c.355 0 .573.33.422.632-.088.175-.239.247-.431.246H4.9c-.352 0-.576-.313-.44-.613.086-.19.242-.267.448-.267a1322.711 1322.711 0 0 1 2.605 0v.002Zm-.893 2.636H10.091c.206 0 .362-.08.445-.271.132-.303-.095-.607-.448-.607H4.895c-.2 0-.352.083-.434.265-.134.293.084.613.424.613h1.736Z" clip-rule="evenodd"/>'},"field-smile":{viewBox:"0 0 15 16",content:'<path fill="currentColor" d="M7.493.196C3.375.196 0 3.571 0 7.69c0 4.133 3.389 7.522 7.521 7.507 4.133-.014 7.493-3.389 7.479-7.507C14.986 3.557 11.611.196 7.493.196ZM5.019 5.201c.458 0 .815.4.815.858 0 .458-.4.815-.858.815-.457 0-.815-.4-.815-.858 0-.457.4-.815.858-.815Zm5.377 5.477c-.815.786-1.788 1.158-2.903 1.186-1.116-.028-2.088-.4-2.903-1.186-.343-.33-.372-.83-.071-1.173.3-.343.8-.386 1.172-.071.458.386.944.686 1.544.729.673.057 1.259-.1 1.788-.515.1-.071.186-.157.286-.229.386-.3.872-.271 1.172.072.3.343.272.844-.071 1.172l-.014.015ZM9.98 6.86a.842.842 0 0 1-.83-.844c0-.457.387-.83.844-.83.458 0 .83.387.83.844 0 .458-.386.83-.844.83Z"/>'},"field-userfeedback":{viewBox:"0 0 15 16",content:'<path fill="currentColor" fill-rule="evenodd" d="M1.66.196h11.68c.916 0 1.66.744 1.66 1.66v9.042c0 .918-.744 1.732-1.66 1.732H8.45c-.422 0-.828-.029-1.136.26l-2.002 1.916c-.876.821-2.5.269-2.5-.933 0-.757-.478-1.243-1.236-1.243h-.102C.66 12.63 0 11.97 0 11.156v-9.3C0 .94.744.197 1.66.197Zm5.398 2.076a.83.83 0 0 0-.83.83v5.812c0 .459.372.83.83.83h.83a.83.83 0 0 0 .831-.83V3.102a.83.83 0 0 0-.83-.83h-.83Zm-3.321 2.49a.83.83 0 0 0-.83.831v3.321c0 .459.371.83.83.83h.83a.83.83 0 0 0 .83-.83v-3.32a.83.83 0 0 0-.83-.831h-.83ZM9.55 7.255a.83.83 0 0 1 .83-.83h.83a.83.83 0 0 1 .83.83v1.66a.83.83 0 0 1-.83.83h-.83a.83.83 0 0 1-.83-.83v-1.66Z" clip-rule="evenodd"/>'},"field-widget-position-bottom-left":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="19" height="14" x=".5" y="1.019" stroke="#A7A7A7" rx="3"/><rect width="8" height="3.6" x="1" y="11.274" fill="#A7A7A7" rx=".5"/></svg>'},"field-widget-position-bottom-left-active":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="19" height="14" x=".5" y="1.019" stroke="#2D87F1" rx="3"/><rect width="8" height="3.6" x="1" y="11.274" fill="#4BBB6A" rx=".5"/></svg>'},"field-widget-position-bottom-right":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="8" height="3.6" x="11" y="11.548" fill="#A7A7A7" rx=".5"/><rect width="19" height="14" x=".5" y=".744" stroke="#A7A7A7" rx="3"/></svg>'},"field-widget-position-bottom-right-active":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="8" height="3.6" x="11" y="11.548" fill="#2D87F1" rx=".5"/><rect width="19" height="14" x=".5" y=".744" stroke="#4BBB6A" rx="3"/></svg>'},"field-widget-position-middle-left":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="19" height="14" x=".5" y="1.196" stroke="#A7A7A7" rx="3"/><rect width="8" height="3.6" x="4.6" y="3.696" fill="#A7A7A7" rx=".5" transform="rotate(90 4.6 3.696)"/></svg>'},"field-widget-position-middle-left-active":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="19" height="14" x=".5" y="1.196" stroke="#2D87F1" rx="3"/><rect width="8" height="3.6" x="4.6" y="3.696" fill="#4BBB6A" rx=".5" transform="rotate(90 4.6 3.696)"/></svg>'},"field-widget-position-middle-right":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="19" height="14" x=".5" y="1.196" stroke="#A7A7A7" rx="3"/><rect width="8" height="3.6" x="19" y="3.696" fill="#A7A7A7" rx=".5" transform="rotate(90 19 3.696)"/></svg>'},"field-widget-position-middle-right-active":{viewBox:"0 0 20 16",content:'<svg fill="none"><rect width="19" height="14" x=".5" y="1.196" stroke="#2D87F1" rx="3"/><rect width="8" height="3.6" x="19" y="3.696" fill="#4BBB6A" rx=".5" transform="rotate(90 19 3.696)"/></svg>'},revert:{viewBox:"0 0 12 14",content:'<path fill="currentColor" d="M1.85 2.653c0-.342.003-.65-.002-.958a1.036 1.036 0 0 0-.036-.291c-.088-.28-.363-.44-.664-.397a.59.59 0 0 0-.497.565c-.005.92-.005 1.839 0 2.758a.57.57 0 0 0 .557.564c.933.006 1.867.007 2.8 0 .316-.003.556-.274.556-.592a.582.582 0 0 0-.568-.596c-.431-.01-.863-.003-1.295-.004-.045 0-.09 0-.152-.033.144-.13.281-.268.432-.389 2.85-2.277 7.032-.773 7.773 2.768.533 2.551-1.018 5.015-3.535 5.668-2.718.703-5.497-1.104-5.95-3.877-.048-.286-.056-.579-.076-.868a.596.596 0 0 0-.516-.562c-.308-.034-.577.139-.656.43a.745.745 0 0 0-.02.209c.02 2.822 2 5.245 4.762 5.83 3.249.687 6.467-1.431 7.118-4.685.646-3.234-1.401-6.385-4.624-7.058-1.981-.413-3.751.079-5.282 1.41a13.77 13.77 0 0 1-.125.107v.001Z"/>'}};var s=i;const r={icon:{bind(t,{arg:e}){if(void 0===s)return void console.error("Icons not loaded");const a=s[e]||s[t.dataset.icon];void 0!==a?(t.classList.contains("icon")||t.classList.add("icon"),t.innerHTML=`<svg viewBox="${a.viewBox}">${a.content}</svg>`):console.warn(`Icon '${e}' does not exist`)}}};var n=r,l=a("a026"),o=a("561c"),c=a("1268");const u=(t,e,a)=>{const i=l.a.prototype.$uf.is_pro,s=i?"proplugin":"liteplugin",r=i?"my-account/":"lite/",n=l.a.prototype.$uf.plugin_version;return t=t||"defaultmedium",e=e||"defaultcampaign",a=a||"https://www.userfeedback.com/"+r,a=d(a,"utm_source",s),a=d(a,"utm_medium",t),a=d(a,"utm_campaign",e),a=d(a,"utm_content",n),a},d=(t,e,a)=>{const i=new RegExp("([?&])"+e+"=.*?(&|#|$)","i");if(t.match(i))return t.replace(i,"$1"+e+"="+a+"$2");{let i="";-1!==t.indexOf("#")&&(i=t.replace(/.*#/,"#"),t=t.replace(/#.*/,""));const s=-1!==t.indexOf("?")?"&":"?";return t+s+e+"="+a+i}},m={getLocalizedDate:(t=new Date,e=!1,a={})=>(t instanceof Date||(t=new Date(t)),e?t.toLocaleString(void 0,{month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"}):t.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric",...a})),getFormattedText:(t,e=[])=>Object(o.d)(t,e),capitalize:t=>t.charAt(0).toUpperCase()+t.slice(1),capitalizeAll:t=>{const e=t.split(" ");return e.map(t=>t[0].toUpperCase()+t.substring(1)).join(" ")},formatNumber:c.a,getUrl:u,getUpgradeUrl(t,e,a){const i=u(t,e,a);return l.a.prototype.$uf.is_pro?i:window.userfeedback.shareasale_id&&"0"!==window.userfeedback.shareasale_id?d(window.userfeedback.shareasale_url,"urllink",i):i},getExportsUrlForSurvey(t,e="general",a={}){const i={page:"userfeedback_exports",survey_id:t,report:e,...a},s=new URLSearchParams(i).toString();return l.a.prototype.$uf.admin_url+"admin.php?"+s}};var g=m;const p={formatNumber:c.a,formatDate:g.getLocalizedDate};var v=p;const h={registerStoreModule(t,e){void 0!==t&&t.registerModule("$uf",{state:{...window[e]},getters:{isPro:t=>t.is_pro,isLicensed:t=>t.is_licensed}})},install(t,e={}){const{store:a,wpObjectKey:i="userfeedback"}=e;if(t.prototype.$textDomain="userfeedback",Object(o.c)(window[i].translations,"userfeedback"),window[i]){t.prototype.$uf=window[i];const{addons:e}=window[i];Array.isArray(e)&&!e.length&&(t.prototype.$uf.addons={behavior:{active:!1},branding:{active:!1},targeting:{active:!1},templates:{active:!1},"question-types":{active:!1}}),t.prototype.$uf.is_pro=Boolean(window[i].is_pro),t.prototype.$uf.is_licensed=Boolean(window[i].is_licensed),this.registerStoreModule(a,i)}for(const s in n)n.hasOwnProperty(s)&&t.directive(s,n[s]);for(const s in g)g.hasOwnProperty(s)&&(t.prototype["$"+s]=g[s]);for(const s in v)v.hasOwnProperty(s)&&t.filter(s,v[s])}};e.a=h},"97fb":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"field toggle",class:{"is-faux":t.faux}},[e("label",{staticClass:"toggle__field",attrs:{for:t.fieldId}},[e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"checkbox",disabled:t.disabled||t.faux},domProps:{checked:Array.isArray(t.innerValue)?t._i(t.innerValue,null)>-1:t.innerValue},on:{change:function(e){var a=t.innerValue,i=e.target,s=!!i.checked;if(Array.isArray(a)){var r=null,n=t._i(a,r);i.checked?n<0&&(t.innerValue=a.concat([r])):n>-1&&(t.innerValue=a.slice(0,n).concat(a.slice(n+1)))}else t.innerValue=s}}},"input",t.fieldBindings,!1)),e("span",{staticClass:"toggle__skin"}),e("span",{staticClass:"toggle__label"},[t._t("default")],2)]),t.$slots.help?e("div",{staticClass:"toggle__help"},[t._t("help")],2):t._e()])},s=[],r=a("4368"),n={inheritAttrs:!1,name:"Toggle",mixins:[r.a]},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},9849:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("label",{staticClass:"checkbox",class:{"is-disabled":t.disabled},attrs:{for:t.fieldId}},[e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"checkbox",disabled:t.disabled},domProps:{value:t.inputValue,checked:Array.isArray(t.innerValue)?t._i(t.innerValue,t.inputValue)>-1:t.innerValue},on:{change:function(e){var a=t.innerValue,i=e.target,s=!!i.checked;if(Array.isArray(a)){var r=t.inputValue,n=t._i(a,r);i.checked?n<0&&(t.innerValue=a.concat([r])):n>-1&&(t.innerValue=a.slice(0,n).concat(a.slice(n+1)))}else t.innerValue=s}}},"input",t.fieldBindings,!1)),e("span",{staticClass:"checkbox__skin"},[e("svg",{attrs:{width:"11",height:"8",viewBox:"0 0 11 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M3.9627 7.84921L0.831445 4.72042C0.743945 4.63246 0.700195 4.51937 0.700195 4.38115C0.700195 4.24293 0.743945 4.12984 0.831445 4.04188L1.5252 3.36335C1.6127 3.26283 1.71895 3.21256 1.84395 3.21256C1.98145 3.21256 2.1002 3.26283 2.2002 3.36335L4.3002 5.47434L8.8002 0.950785C8.9002 0.850261 9.0127 0.799999 9.1377 0.799999C9.2752 0.799999 9.3877 0.850261 9.4752 0.950785L10.1689 1.62932C10.2564 1.71728 10.3002 1.83037 10.3002 1.96859C10.3002 2.10681 10.2564 2.21989 10.1689 2.30785L4.6377 7.84921C4.5502 7.94974 4.4377 8 4.3002 8C4.1627 8 4.0502 7.94974 3.9627 7.84921Z",fill:"currentColor"}})])]),e("span",[t._t("default"),t._t("after-label")],2)])},s=[],r=a("4368"),n={inheritAttrs:!1,name:"Checkbox",mixins:[r.a]},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"9b51":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"slide"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"notification-banner",class:t.bannerClasses},[e("div",{staticClass:"notification-banner__content"},[e(t.beforeContentComponent,{tag:"div"}),e(t.contentComponent,{tag:"div"})],1)])])},s=[],r={disableAutoload:!0,name:"NotificationBanner",props:{eventBus:{type:Object,required:!0},type:{type:String,default:"info",validator:function(t){return-1!==["info","success","warning"].indexOf(t)}},content:{type:String},timeout:{type:Number,default:-1},parentEl:{type:[String,Element],default:()=>document.body},slots:{type:Object},exclusive:{type:Boolean,default:!0}},data(){return{isActive:!1}},computed:{bannerClasses(){return["is-"+this.type]},beforeContentComponent(){const t=this.slots.beforeContent;return t?{template:t}:null},contentComponent(){const t=`<div>${this.content}</div>`;return t?{template:t}:null}},methods:{close(){this.isActive=!1,setTimeout(()=>{this.$el.remove()},2e3)}},beforeMount(){this.parentEl.appendChild(this.$el),this.exclusive&&this.eventBus.$emit("add-banner",this._uid)},mounted(){this.isActive=!0,this.eventBus.$on("add-banner",t=>{t!==this._uid&&this.close()}),this.timeout>-1&&setTimeout(this.close,1e3*this.timeout)}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},"9bcc":function(t,e,a){"use strict";e.a={props:{question:{type:Object,required:!0}}}},"9d07":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));const i=()=>{const t=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(t)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(t)?"mobile":"desktop"}},"9dd7":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"options-creator"},[e("div",{staticClass:"field"},[e("label",[t._t("label",(function(){return[t._v(t._s(t.texts.possibleAnswers))]}))],2)]),t.value.length>0?e("div",t._l(t.value,(function(a,i){return e("div",{key:i,staticClass:"field"},[e("input",{attrs:{type:"text",placeholder:t.fieldsPlaceholder},domProps:{value:a},on:{input:e=>{t.updateAnswerByIndex(i,e.target.value)}}}),i>=t.minOptions?e("button",{staticClass:"options-creator__remove",on:{click:function(e){return t.removeAnswerByIndex(i)}}},[t._t("button-remove",(function(){return[t._v(t._s(t.texts.remove))]}))],2):t._e()])})),0):t._e(),t.canAddMore?e("div",{staticClass:"field"},[e("button",{staticClass:"options-creator__add",attrs:{type:"button"},on:{click:t.addAnswer}},[t._t("button-add",(function(){return[t._v(t._s(t.texts.addAnswer))]}))],2)]):t._e()])},s=[],r=(a("14d9"),a("561c")),n={name:"OptionsCreator",props:{fieldsPlaceholder:{type:String},name:{type:String,required:!0},value:{type:Array},minOptions:{type:Number,default:2},maxOptions:{type:Number,default:-1}},computed:{canAddMore(){return-1===this.maxOptions||this.value&&this.value.length<this.maxOptions},canRemove(){return this.value.length>this.minOptions},texts(){return{possibleAnswers:Object(r.a)("Possible Answers",this.$_textDomain),addAnswer:Object(r.a)("Add Answer",this.$_textDomain),remove:Object(r.a)("Remove",this.$_textDomain)}}},methods:{addAnswer(){if(!this.canAddMore)return;const t=this.value;t.push(""),this.$emit("input",t)},removeAnswerByIndex(t){if(!this.canRemove)return;const e=this.value;e.splice(t,1),this.$emit("input",e)},updateAnswerByIndex(t,e){const a=this.value;a[t]=e.trim(),this.$emit("input",a)}},mounted(){if(!this.value||!this.value.length){const t=Array(this.minOptions).fill("",0);this.$emit("input",t)}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},"9ea0":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"d",(function(){return l})),a.d(e,"c",(function(){return o})),a.d(e,"g",(function(){return c})),a.d(e,"f",(function(){return u})),a.d(e,"a",(function(){return d}));var i=a("b39f"),s=a("0792");a.d(e,"e",(function(){return s.f}));const r=new i.a,n=(t={})=>r.get("results-summary",{params:t}).then(t=>t.data),l=t=>r.get(`surveys/${t}/results`).then(t=>t.data),o=(t,e)=>r.get(`surveys/${t}/responses`,{params:e}).then(t=>t.data),c=(t,e)=>r.post(`surveys/${t}/responses/trash`,{response_ids:e}).then(t=>t.data),u=(t,e)=>r.post(`surveys/${t}/responses/restore`,{response_ids:e}).then(t=>t.data),d=(t,e)=>r.delete(`surveys/${t}/responses`,{data:{response_ids:e}}).then(t=>t.data)},a103:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"field"},["textarea"===t.type?e("textarea",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],staticClass:"textarea",domProps:{value:t.innerValue},on:{input:function(e){e.target.composing||(t.innerValue=e.target.value)}}},"textarea",t.inputAttributes,!1)):"checkbox"===t.type?e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],staticClass:"input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.innerValue)?t._i(t.innerValue,null)>-1:t.innerValue},on:{change:function(e){var a=t.innerValue,i=e.target,s=!!i.checked;if(Array.isArray(a)){var r=null,n=t._i(a,r);i.checked?n<0&&(t.innerValue=a.concat([r])):n>-1&&(t.innerValue=a.slice(0,n).concat(a.slice(n+1)))}else t.innerValue=s}}},"input",t.inputAttributes,!1)):"radio"===t.type?e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],staticClass:"input",attrs:{type:"radio"},domProps:{checked:t._q(t.innerValue,null)},on:{change:function(e){t.innerValue=null}}},"input",t.inputAttributes,!1)):e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],staticClass:"input",attrs:{type:t.type},domProps:{value:t.innerValue},on:{input:function(e){e.target.composing||(t.innerValue=e.target.value)}}},"input",t.inputAttributes,!1)),t.maxLength&&null!==t.value?e("p",{staticClass:"help help--right"},[t._v(t._s(t.value.length)+" / "+t._s(t.maxLength))]):t._e()])},s=[],r={inheritAttrs:!1,name:"SimpleInput",props:{type:{type:String,default:"text"},value:{type:String},maxLength:{type:Number}},computed:{inputAttributes(){return{...this.$attrs,maxlength:this.maxLength}},innerValue:{get(){return this.value},set(t){this.$emit("input",t)}}},beforeMount(){this.value||this.$emit("input","")}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e.a=o.exports},a878:function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));const i=t=>{try{const e=a("0f7e")(`./${t}/routes.js`);return e.router}catch(e){return null}},s=(t,e="")=>{const a=window.userfeedback?window.userfeedback.admin_url+"admin.php":"/wp-admin/admin.php",s=new URL(a);s.searchParams.append("page","userfeedback_"+t);const r=i(t);if(!r)return s.href;const{resolved:n}=r.resolve(e);return s.hash=n.path,s.href}},ab89:function(t,e,a){"use strict";a.d(e,"d",(function(){return l})),a.d(e,"g",(function(){return o})),a.d(e,"c",(function(){return c})),a.d(e,"f",(function(){return u})),a.d(e,"a",(function(){return d})),a.d(e,"e",(function(){return m})),a.d(e,"b",(function(){return g})),a.d(e,"h",(function(){return p}));var i=a("a026"),s=a("b39f"),r=a("4279");const n=new s.a,l=()=>n.get("settings").then(t=>t.data),o=t=>n.post("settings",{settings:t}).then(t=>t.data),c=()=>Object(r.a)({action:"userfeedback_get_plugins"}),u=(t,e=!1)=>Object(r.a)({action:"userfeedback_install_plugin",nonce:i.a.prototype.$uf.install_nonce,slug:t.slug,activate:e}),d=t=>Object(r.a)({action:"userfeedback_activate_plugin",nonce:i.a.prototype.$uf.install_nonce,basename:t.basename}),m=()=>n.get("surveys").then(t=>t.data),g=()=>Object(r.a)({action:"userfeedback_dismiss_settings_blurb"}),p=()=>Object(r.a)({action:"userfeedback_validate_settings_blurb"})},af2a:function(t,e,a){"use strict";var i=a("b39f");const s=new i.a,r=()=>s.get("notifications").then(t=>t.data),n=t=>s.post(`notifications/${t}/dismiss`).then(t=>t.data),l=t=>s.post("notifications/action",t).then(t=>t.data);var o={state:{active:[],dismissed:[],viewUrl:"",sidebarUrl:"",showDrawer:!1},mutations:{toggleDrawer(t){t.showDrawer=!t.showDrawer},closeDrawer(t){t.showDrawer=!1},setNotificationsData(t,e){const{notifications:a,dismissed:i,view_url:s,sidebar_url:r}=e;t.active=a,t.dismissed=i,t.viewUrl=s,t.sidebarUrl=r},removeNotificationLocally(t,e){t.active=t.active.filter(t=>t.id!==e)}},actions:{fetchNotifications({commit:t}){r().then(e=>{t("setNotificationsData",e)})},dismissNotification({commit:t,dispatch:e},a){t("removeNotificationLocally",a),n(a).then(()=>{e("fetchNotifications")})},performNotificationAction(t,e){l({class:e.class,action:e.action}).then(t=>{t.reload?window.location.reload():t.redirect_to&&(window.location.href=t.redirect_to)})}}};const c={install(t,e){const{store:a}=e;a?a.registerModule("notifications",o):console.error("Missing Store for UF notifications plugin.")}};e.a=c},b136:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",[e("rating-picker",{attrs:{"field-name-prefix":t.question.id},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t.value?t._t("comment-box"):t._e()],2)},s=[],r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rating-picker"},t._l(t.ratings,(function(a){return e("label",{key:a,staticClass:"rating-picker__star",attrs:{for:`${t.fieldNamePrefix}-${a}`},on:{mouseenter:function(e){return t.onMouseOver(a)},mouseleave:t.onMouseOut}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{id:`${t.fieldNamePrefix}-${a}`,name:"star-"+t.fieldNamePrefix,type:"radio"},domProps:{value:a,checked:t._q(t.innerValue,a)},on:{change:function(e){t.innerValue=a}}}),a<=t.tempValue||a<=t.value?e("span",{directives:[{name:"icon",rawName:"v-icon:star",arg:"star"}],staticClass:"rating-picker__star-icon"}):e("span",{directives:[{name:"icon",rawName:"v-icon:star-outline",arg:"star-outline"}],staticClass:"rating-picker__star-icon"})])})),0)},n=[],l={inheritAttrs:!1,name:"RatingPicker",props:{value:{type:Number},fieldNamePrefix:{type:String,required:!0},maxValue:{type:Number,default:5}},data(){return{tempValue:0}},computed:{ratings(){return Array(this.maxValue).fill().map((t,e)=>e+1)},innerValue:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{onMouseOver(t){this.tempValue=t},onMouseOut(){this.tempValue=0}}},o=l,c=a("2877"),u=Object(c.a)(o,r,n,!1,null,null,null),d=u.exports,m=a("7c38"),g={name:"WidgetStarRating",mixins:[m.a],components:{RatingPicker:d}},p=g,v=Object(c.a)(p,i,s,!1,null,null,null);e.a=v.exports},b39f:function(t,e,a){"use strict";a.d(e,"a",(function(){return n}));var i=a("bc3a"),s=a.n(i);const r=(t=null)=>{const e=s.a.create();return e.interceptors.request.use(e=>{const a=window.userfeedback_frontend?window.userfeedback_frontend:window.userfeedback,{rest_url:i,wp_rest_nonce:s}=a;return{...e,baseURL:i+t,headers:{"X-WP-Nonce":s}}},t=>Promise.reject(t)),e};class n{constructor(t="userfeedback/v1/"){this.client=r(t)}get(t,e={}){return this.client.get(t,e).then(t=>Promise.resolve(t)).catch(t=>Promise.reject(t))}delete(t,e={}){return this.client.delete(t,e).then(t=>Promise.resolve(t)).catch(t=>Promise.reject(t))}head(t,e={}){return this.client.head(t,e).then(t=>Promise.resolve(t)).catch(t=>Promise.reject(t))}options(t,e={}){return this.client.options(t,e).then(t=>Promise.resolve(t)).catch(t=>Promise.reject(t))}post(t,e={},a={}){return this.client.post(t,e,a).then(t=>Promise.resolve(t)).catch(t=>Promise.reject(t))}put(t,e={},a={}){return this.client.put(t,e,a).then(t=>Promise.resolve(t)).catch(t=>Promise.reject(t))}patch(t,e={},a={}){return this.client.patch(t,e,a).then(t=>Promise.resolve(t)).catch(t=>Promise.reject(t))}}},b5f4:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"userfeedback-question-nps"},[e("nps-picker",{attrs:{"low-score-label":t.texts.lowScoreLabel,"high-score-label":t.texts.highScoreLabel,"max-value":10,"field-name-prefix":"nps-"+t.question.id,required:t.isRequired},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t.value?t._t("comment-box"):t._e()],2)},s=[],r=a("561c"),n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"nps-picker"},[e("header",{staticClass:"nps-picker__head"},[e("span",[t._v(t._s(t.lowScoreLabel))]),e("span",[t._v(t._s(t.highScoreLabel))])]),e("div",{staticClass:"nps-picker__body"},[e("div",{staticClass:"nps-picker__options"},t._l(t.options,(function(a){return e("label",{key:a,staticClass:"nps-option",attrs:{for:`${t.fieldNamePrefix}-${a}`}},[e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"radio",id:`${t.fieldNamePrefix}-${a}`,name:""+t.fieldNamePrefix},domProps:{value:a,checked:t._q(t.innerValue,a)},on:{change:function(e){t.innerValue=a}}},"input",t.$attrs,!1)),e("span",{staticClass:"nps-option__skin"},[t._v(t._s(a))])])})),0)])])},l=[],o={inheritAttrs:!1,name:"NpsPicker",props:{value:{type:Number},lowScoreLabel:{type:String,required:!0},highScoreLabel:{type:String,required:!0},fieldNamePrefix:{type:String,required:!0},maxValue:{type:Number,default:()=>10}},computed:{options(){return Array.from({length:this.maxValue},(t,e)=>e+1)},innerValue:{get(){return this.value},set(t){this.$emit("input",t)}}}},c=o,u=a("2877"),d=Object(u.a)(c,n,l,!1,null,null,null),m=d.exports,g=a("7c38"),p={name:"WidgetNps",components:{NpsPicker:m},mixins:[g.a],computed:{texts(){return{lowScoreLabel:Object(r.a)("Not Likely",this.$textDomain),highScoreLabel:Object(r.a)("Extremely Likely",this.$textDomain)}}}},v=p,h=Object(u.a)(v,i,s,!1,null,null,null);e.a=h.exports},bbab:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"slide"}},[t.showOnRoutes&&t.hideOnRoutes?e("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"notification-banner",class:["is-"+t.type,{"is-bordered":t.bordered}]},[e("div",{staticClass:"notification-banner__content"},[t.icon?e("span",{directives:[{name:"icon",rawName:"v-icon:[icon]",arg:t.icon}]}):t._e(),t._t("default")],2),t.closable?e("div",{staticClass:"notification-banner__actions"},[e("button",{staticClass:"button user-feedback-button is-flat",on:{click:t.close}},[e("span",{directives:[{name:"icon",rawName:"v-icon:close",arg:"close"}]})])]):t._e()]):t._e()])},s=[],r={name:"UserFeedbackNotice",props:{notice:{type:Object},id:{type:[String,Number]},icon:{type:String},type:{type:String,default:"info"},closable:{type:Boolean,default:!1},bordered:{type:Boolean,default:!0}},data(){return{isOpen:!1}},computed:{showOnRoutes(){return!(this.notice&&this.notice.show_on_routes&&this.notice.show_on_routes.length>0)||this.notice.show_on_routes.includes(this.$route.name)},hideOnRoutes(){return!(this.notice&&this.notice.hide_on_routes&&this.notice.hide_on_routes.length>0)||!this.notice.hide_on_routes.includes(this.$route.name)}},mounted(){this.$nextTick(()=>{this.isOpen=!0})},methods:{close(){this.$emit("closed",this.id),this.isOpen=!1,setTimeout(()=>{this.$el.remove()},500)}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e.a=o.exports},bf14:function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"b",(function(){return l})),a.d(e,"c",(function(){return o}));a("14d9");var i=a("a026"),s=a("561c"),r=a("7c9b");const n={light:{widget_color:"#ffffff",text_color:"#23282D",button_color:"#2D87F1"},dark:{widget_color:"#333333",text_color:"#ffffff",button_color:"#2D87F1"}},l=(t={})=>Object(r.a)({template:null,id:null,title:null,publish_at:null,questions:[],settings:{thank_you:{type:"message",message:Object(s.a)("Thanks for your feedback!",i.a.prototype.$textDomain),redirect_to:{id:null,label:null}},enable_tracking:!1,targeting:{devices:["desktop","tablet","mobile"],pages:"all",page_rules:[]},behavior:{timing:"immediate",timing_delay:20,display_length:"until_response",run_time:"indefinitely",expire_at:{month:null,day:null},start_minimized:!1},theming:{color_scheme:"light",widget_color:"#ffffff",text_color:"#23282D",button_color:"#2D87F1"}},notifications:{email:{addresses:"",active:!0,logic:{enable:!1,conditions:[],action:"send"}}}},t),o=(t,e=-1)=>{const a=[],i=e>-1;return t.questions.forEach((t,s)=>{if(s>=e&&i)return[];const{id:r,title:n,type:l,config:o}=t;["checkbox","radio-button"].includes(l)?a.push({id:r,title:n,type:l,choices:o.options}):"star-rating"===t.type?a.push({id:r,title:n,type:l,choices:[1,2,3,4,5]}):"nps"===t.type&&a.push({id:r,title:n,type:l,choices:[1,2,3,4,5,6,7,8,9,10]})}),a}},c0cc:function(t,e,a){"use strict";var i=a("a026"),s=a("9b51");const r=new i.a,n={eventBus:r,type:"info",slot:"",parentEl:void 0,slots:{beforeContent:""}},l=t=>({show(e={}){const a=Object.assign(n,e),i=t.extend(s["default"]);return new i({el:document.createElement("div"),propsData:a})}});var o=l;const c={"click-outside":{bind:function(t,e,a){t.clickOutsideEvent=function(i){t===i.target||t.contains(i.target)||a.context[e.expression](i)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}};var u=c;const d={componentPrefix:"",classPrefix:"",textDomain:"default"},m={install:(t,e)=>{const i=Object.assign(d,e),{componentPrefix:s,classPrefix:r}=i;t.prototype.$_componentPrefix=s,t.prototype.$_classPrefix=r,t.prototype.$_textDomain=s;const n=a("8879");n.keys().forEach(e=>{if(!n(e).default.disableAutoload){const a=e.split("/").pop().split(".")[0];t.component(`${s}${a}`,n(e).default)}}),t.prototype.$notificationBanner=o(t);for(const a in u)u.hasOwnProperty(a)&&t.directive(a,u[a])}};e.a=m},c337:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"icons-form-field",class:{"is-disabled":t.disabled}},[t._l(t.icons,(function(a,i){return e("span",{directives:[{name:"icon",rawName:"v-icon:[icon]",arg:a}],key:i,class:a===t.innerValue?"icon selected":"icon",style:{color:a===t.innerValue?"#2D87F1":"#ccc"},on:{click:function(e){t.innerValue=a}}})})),e("input",{directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"hidden"},domProps:{value:t.innerValue},on:{input:function(e){e.target.composing||(t.innerValue=e.target.value)}}})],2)},s=[],r={name:"Icons",props:{icons:{type:Array,required:!0},value:{type:String,default:""},disabled:{type:Boolean,default:!1}},computed:{innerValue:{get(){return this.value},set(t){this.$emit("input",t)}}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},c4f5:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"upgrade-to-pro-modal",class:{"is-open":t.show_modal}},[e("div",[e("div",{staticClass:"overlay",on:{click:function(e){t.show_modal=!1}}},[t._v(" ")]),e("div",{staticClass:"modal-content"},[e("div",{staticClass:"icon-close",on:{click:function(e){t.show_modal=!1}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:close",arg:"close"}]})]),e("div",{staticClass:"promo-panel"},[e("div",[e("span",{directives:[{name:"icon",rawName:"v-icon:lock",arg:"lock"}]})]),e("div",{staticClass:"heading"},[t._v(t._s(t.texts.content_heading))]),e("div",{staticClass:"description"},[t._v(t._s(t.texts.content_description))]),e("div",{staticClass:"cta"},[e("a",{staticClass:"button user-feedback-button is-large",attrs:{href:t.$getUpgradeUrl(this.campaign,"upgrade-button"),target:"_blank",rel:"noopener"}},[t._v(t._s(t.texts.upsell_cta))])])]),e("div",{staticClass:"bonus-wraper"},[e("div",{staticClass:"icon-wrapper"},[e("span",{directives:[{name:"icon",rawName:"v-icon:check-circle",arg:"check-circle"}]})]),e("div",{domProps:{innerHTML:t._s(t.texts.bonus)}})]),e("div",{staticClass:"purchased-cta"},[e("a",{attrs:{href:t.getSettingsLink()}},[t._v(" "+t._s(t.texts.purchased_cta)+" ")])])])])])},s=[],r=a("561c"),n=a("a878"),l={name:"UpgradeToPro",props:{show:{type:Boolean,default:!1},feature:{type:String,default:""},campaign:{type:String,default:"welcome-message"}},data(){return{show_modal:!1}},watch:{show:function(t){this.show_modal=t},show_modal:function(t){this.$emit("modal-state",t)}},computed:{texts(){const t=this.$uf.is_pro&&"plus"===this.$uf.license_type?"Plus":"Lite";return{upgrade_cta:Object(r.a)("Upgrade and Unlock",this.$textDomain),content_heading:Object(r.d)(Object(r.a)("%s is a PRO feature",this.$textDomain),this.feature),content_description:Object(r.d)(Object(r.a)("We're sorry, the %s is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features.",this.$textDomain),this.feature),upsell_cta:Object(r.a)("Upgrade to PRO",this.$textDomain),purchased_cta:Object(r.a)("Already purchased?",this.$textDomain),bonus:Object(r.d)(Object(r.a)('<b>Bonus:</b> UserFeedback %s users get <span class="discount">50%% off</span> regular price, <br />automatically applied at checkout.',this.$textDomain),t)}}},methods:{getSettingsLink(){return Object(n.a)("settings")}}},o=l,c=a("2877"),u=Object(c.a)(o,i,s,!1,null,null,null);e["default"]=u.exports},c6c6:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"radio-buttons"},t._l(t.options,(function(a){return e("label",{key:a.value,staticClass:"radio-button",class:[t.buttonClass,{"is-disabled":a.disabled}],attrs:{for:`${t.fieldNamePrefix}-${a.value}`}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"radio",id:`${t.fieldNamePrefix}-${a.value}`,disabled:a.disabled},domProps:{value:a.value,checked:t._q(t.innerValue,a.value)},on:{change:function(e){t.innerValue=a.value}}}),e("span",{staticClass:"radio-button__skin"},[a.icon&&""!==a.icon?t._t("option-icon",(function(){return[e("span",{directives:[{name:"icon",rawName:"v-icon:[option.icon]",arg:a.icon}]})]}),{option:a}):t._e(),a.label&&""!==a.label?t._t("option-label",(function(){return[t._v(t._s(a.label))]}),{option:a}):t._e()],2)])})),0)},s=[],r={inheritAttrs:!1,name:"RadioButtons",props:{value:{type:[String,Number,Boolean]},buttonClass:{type:[String,Object,Array]},fieldNamePrefix:{type:String,required:!0},options:{type:Array,required:!0,validator(t){return t.every(t=>t.hasOwnProperty("label")&&t.hasOwnProperty("value"))}}},computed:{innerValue:{get(){return this.value},set(t){this.$emit("input",t)}}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},cd4d:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("label",{staticClass:"radio",class:{"is-disabled":t.disabled,"is-selected":t.innerValue===t.inputValue},attrs:{for:t.fieldId}},[e("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.innerValue,expression:"innerValue"}],attrs:{type:"radio",disabled:t.disabled},domProps:{value:t.inputValue,checked:t._q(t.innerValue,t.inputValue)},on:{change:function(e){t.innerValue=t.inputValue}}},"input",t.fieldBindings,!1)),e("span",{staticClass:"radio__skin"}),e("span",{staticClass:"radio__content"},[t._t("default")],2)])},s=[],r=a("4368"),n={inheritAttrs:!1,name:"Radio",mixins:[r.a]},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},ce59:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"widget-positions"},[e("label",{staticClass:"widget-position bottom_left",class:"bottom_left"===t.position?"active":"",on:{click:function(e){return t.toggleActive("bottom_left")}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-bottom-left",arg:"field-widget-position-bottom-left"}],staticClass:"icon-inactive"}),e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-bottom-left-active",arg:"field-widget-position-bottom-left-active"}],staticClass:"icon-active"}),e("span",[t._v(t._s(t.texts.label_bottom_left))])]),e("label",{staticClass:"widget-position bottom_right",class:"bottom_right"===t.position?"active":"",on:{click:function(e){return t.toggleActive("bottom_right")}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-bottom-right",arg:"field-widget-position-bottom-right"}],staticClass:"icon-inactive"}),e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-bottom-right-active",arg:"field-widget-position-bottom-right-active"}],staticClass:"icon-active"}),e("span",[t._v(t._s(t.texts.label_bottom_right))])]),e("label",{staticClass:"widget-position middle_left",class:"middle_left"===t.position?"active":"",on:{click:function(e){return t.toggleActive("middle_left")}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-middle-left",arg:"field-widget-position-middle-left"}],staticClass:"icon-inactive"}),e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-middle-left-active",arg:"field-widget-position-middle-left-active"}],staticClass:"icon-active"}),e("span",[t._v(t._s(t.texts.label_middle_left))])]),e("label",{staticClass:"widget-position middle_right",class:"middle_right"===t.position?"active":"",on:{click:function(e){return t.toggleActive("middle_right")}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-middle-right",arg:"field-widget-position-middle-right"}],staticClass:"icon-inactive"}),e("span",{directives:[{name:"icon",rawName:"v-icon:field-widget-position-middle-right-active",arg:"field-widget-position-middle-right-active"}],staticClass:"icon-active"}),e("span",[t._v(t._s(t.texts.label_middle_right))])])])},s=[],r=a("561c"),n={props:{value:{type:String,default:"bottom_right"}},data(){return{position:this.value}},computed:{texts(){return{label_bottom_left:Object(r.a)("Bottom Left",this.$textDomain),label_bottom_right:Object(r.a)("Bottom Right",this.$textDomain),label_middle_left:Object(r.a)("Middle Left",this.$textDomain),label_middle_right:Object(r.a)("Middle Right",this.$textDomain)}}},methods:{toggleActive(t){this.$emit("widget-position-updated",t),(this.$store.state.$uf.is_pro||"middle_left"!==t&&"middle_right"!==t)&&(this.position=t,this.$emit("input",t))}}},l=n,o=a("2877"),c=Object(o.a)(l,i,s,!1,null,null,null);e["default"]=c.exports},d22b:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("nav",{staticClass:"admin-header__nav"},[e("div",{staticClass:"admin-header__nav-start"},[e("ul",{staticClass:"admin-header-steps"},t._l(t.workflow.steps,(function(a,i){return e(t.$_componentPrefix+"AdminHeaderWorkflowItem",{key:a.key,tag:"component",attrs:{step:a,"is-current":a.key===t.workflow.currentStep,"is-last":i!==t.workflow.steps.length-1}},[t._t("workflow-step-separator")],2)})),1)]),e("div",{staticClass:"admin-header__nav-end"},t._l(t.workflow.actions,(function(a,i){return e("button",{key:i,staticClass:"button",class:t.$_classPrefix+"-button is-small",attrs:{disabled:a.disabled},on:{click:a.handler}},[t._v(t._s(a.label))])})),0)])},s=[],r={name:"AdminHeaderWorkflow",components:{},props:{workflow:{type:Object}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},d4a7:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return t.survey&&t.isActive?e("section",{ref:"userfeedback-widget",staticClass:"userfeedback-widget",class:t.widgetClasses,style:t.widgetStyles},[t.isInline?t._e():e("a",{staticClass:"userfeedback-widget__toggle",on:{click:t.toggleWidget}},[e("toggle-icon",{attrs:{settings:t.widgetSettings}})],1),e("form",{on:{submit:function(e){return e.preventDefault(),t.onSubmit.apply(null,arguments)}}},[!t.isSurveyFinished&&t.currentQuestion?[e("header",{staticClass:"userfeedback-widget__header"},[e("h6",{staticClass:"question-title"},[t._v(t._s(t.currentQuestion.title))])]),e("section",{staticClass:"userfeedback-widget__body"},[e("question-wrapper",{key:t.currentQuestion.id,ref:"wrapper",on:{"question-answered":t.questionAnswered}})],1)]:e("div",{staticClass:"userfeedback-widget__thank-you"},[e("h6",{staticClass:"question-title",domProps:{innerHTML:t._s(t.thankYouMessage)}})]),e("footer",{staticClass:"userfeedback-widget__footer"},[e("figure",{staticClass:"userfeedback-widget__footer-branding"},[t.showUFLogo&&t.widgetLogo?e("img",{attrs:{src:t.widgetLogo,alt:t.texts.widgetLogoAlt}}):t._e()]),e("div",{staticClass:"userfeedback-widget__footer-actions"},[t.canSkip&&!t.isSurveyFinished?e("button",{staticClass:"user-feedback-button-base user-feedback-button is-link",attrs:{type:"button"},on:{click:t.skipCurrentQuestion}},[t._v(t._s(t.skipText))]):t._e(),t.isSurveyFinished?[t.isInline?t._e():e("button",{staticClass:"user-feedback-button-base user-feedback-button no-border",attrs:{type:"button"},on:{click:t.close}},[t._v(t._s(t.texts.close))])]:e("button",{staticClass:"user-feedback-button-base user-feedback-button no-border",attrs:{type:"submit"}},[e("span",[t._v(t._s(t.nextText))]),e("span",{directives:[{name:"icon",rawName:"v-icon:chevron-right",arg:"chevron-right"}]})])],2)])],2)]):t._e()},s=[],r=a("561c"),n=a("2f62"),l=a("6a1d"),o=function(){var t=this,e=t._self._c;return t.currentQuestion?e(t.questionComponent,{key:t.currentQuestion.id,tag:"component",class:"userfeedback-question userfeedback-question-"+t.currentQuestion.type,attrs:{question:t.currentQuestion,"is-preview":t.isPreview},on:{input:t.onInput},scopedSlots:t._u([{key:"comment-box",fn:function(){return[t.currentQuestion.settings.comment_box&&t.addons["question-types"].active?e("question-comment-box",{model:{value:t.currentQuestionComments,callback:function(e){t.currentQuestionComments=e},expression:"currentQuestionComments"}}):t._e()]},proxy:!0}],null,!1,636658589)}):t._e()},c=[],u=function(){var t=this,e=t._self._c;return e("div",t._l(t.options,(function(a,i){return e("v-radio",{key:i,attrs:{"input-value":a,name:"radio-"+t.question.id,required:t.isRequired},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},[e("span",[t._v(t._s(a))]),t.value===a?t._t("comment-box"):t._e()],2)})),1)},d=[],m=a("cd4d"),g=a("7c38");const p=t=>{let e,a=t.length;while(0!==a)e=Math.floor(Math.random()*a),a--,[t[a],t[e]]=[t[e],t[a]];return t};var v={computed:{randomize(){return this.question.settings.randomize},options(){const{options:t}=this.question.config,e=this.randomize&&this.$uf.addons["question-types"].active;return e?p(t):t}}},h={name:"WidgetRadioButton",components:{VRadio:m["default"]},mixins:[g.a,v]},f=h,y=a("2877"),b=Object(y.a)(f,u,d,!1,null,null,null),_=b.exports,x=function(){var t=this,e=t._self._c;return e("div",[t._l(t.options,(function(a,i){return e("v-checkbox",{key:i,attrs:{"input-value":a,name:"checkbox-"+t.question.id,id:`checkbox-${t.question.id}-${i}`,required:t.isRequired&&!t.value.length},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},[t._v(t._s(a))])})),t.value.length?t._t("comment-box"):t._e()],2)},C=[],w=a("9849"),k={name:"WidgetCheckbox",components:{VCheckbox:w["default"]},mixins:[g.a,v],beforeMount(){this.value=[]}},S=k,O=Object(y.a)(S,x,C,!1,null,null,null),$=O.exports,j=function(){var t=this,e=t._self._c;return e("div",[e("simple-input",{attrs:{type:"textarea","max-length":400,placeholder:t.texts.placeholder,required:t.isRequired},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1)},D=[],A=a("a103"),T={name:"WidgetLongText",mixins:[g.a],components:{SimpleInput:A.a},computed:{texts(){return{placeholder:Object(r.a)("Type your answer here...",this.$textDomain)}}}},P=T,N=Object(y.a)(P,j,D,!1,null,null,null),L=N.exports,M=function(){var t=this,e=t._self._c;return e("div",[e("simple-input",{attrs:{type:"email",name:"email",placeholder:t.texts.emailPlaceholder,required:t.isRequired},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),t.includeName?e("simple-input",{attrs:{type:"text",name:"first_name",placeholder:t.texts.namePlaceholder,required:t.isRequired},model:{value:t.extra.name,callback:function(e){t.$set(t.extra,"name",e)},expression:"extra.name"}}):t._e()],1)},B=[],q={name:"WidgetEmail",components:{SimpleInput:A.a},mixins:[g.a],computed:{texts(){return{emailPlaceholder:Object(r.a)("Email Address",this.$textDomain),namePlaceholder:Object(r.a)("First Name",this.$textDomain)}},includeName(){return this.question.config.include_name}},beforeMount(){this.includeName&&(this.extra={name:""})}},R=q,F=Object(y.a)(R,M,B,!1,null,null,null),I=F.exports,U=function(){var t=this,e=t._self._c;return e("div",[e("simple-input",{attrs:{id:"text-"+t.question.id,name:"text-"+t.question.id,placeholder:t.texts.fieldPlaceholder,required:t.isRequired},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1)},H=[],E={name:"WidgetText",mixins:[g.a],components:{SimpleInput:A.a},computed:{texts(){return{fieldPlaceholder:Object(r.a)("Type your answer here...",this.$textDomain)}}}},V=E,z=Object(y.a)(V,U,H,!1,null,null,null),Q=z.exports,Z={name:"QuestionWrapper",components:{WidgetRadioButton:_,WidgetCheckbox:$,WidgetLongText:L,WidgetEmail:I,SimpleInput:A.a},data(){return{currentQuestionAnswer:null,currentQuestionComments:null}},computed:{...Object(n.e)({addons:t=>t.$uf.addons}),...Object(n.e)("widget",["isPreview"]),...Object(n.c)("widget",["currentQuestion"]),questionComponent(){switch(this.currentQuestion.type){case"radio-button":return _;case"checkbox":return $;case"long-text":return L;case"email":return I;case"text":return Q;case"nps":return"widget-nps";case"star-rating":return"widget-star-rating";default:return null}}},methods:{...Object(n.b)("widget",["saveQuestionAnswerAndAdvance"]),save(){const t={questionId:this.currentQuestion.id,...this.currentQuestionAnswer};this.currentQuestionComments&&(t.extra={comments:this.currentQuestionComments}),this.saveQuestionAnswerAndAdvance(t)},skip(){this.saveQuestionAnswerAndAdvance({questionId:this.currentQuestion.id,value:null})},onInput(t){this.currentQuestionAnswer=t,"checkbox"===this.currentQuestion.type||this.$emit("question-answered",this.currentQuestion)}}},G=Z,W=Object(y.a)(G,o,c,!1,null,null,null),K=W.exports,Y=function(){var t=this,e=t._self._c;return e("span",{staticClass:"icon-wrap",style:t.styles},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.settings.global.widget_toggle_text&&""!==t.settings.global.widget_toggle_text,expression:"settings.global.widget_toggle_text && settings.global.widget_toggle_text !== ''"}],staticClass:"label"},[t._v(t._s(t.settings.global.widget_toggle_text))]),t.toggleIcon?e("span",{directives:[{name:"icon",rawName:"v-icon:[toggleIcon]",arg:t.toggleIcon}]}):t._e()])},J=[],X={name:"ToggleIcon",props:{settings:{type:Object,default:()=>({})}},data(){return{toggleIcon:!1}},mounted(){this.toggleIcon=this.settings.global.widget_toggle_icon},watch:{settings:{handler:function(t,e){t.global.widget_toggle_icon!==e.global.widget_toggle_icon&&(this.toggleIcon=!1),this.$nextTick(()=>{this.toggleIcon=t.global.widget_toggle_icon})},deep:!0}},computed:{styles(){const t=this.settings.global.widget_toggle_color?this.settings.global.widget_toggle_color:this.settings.survey.text_color;return{color:t}}}},tt=X,et=Object(y.a)(tt,Y,J,!1,null,null,null),at=et.exports,it=a("9d07"),st={name:"UserFeedbackWidget",components:{QuestionWrapper:K,ToggleIcon:at},props:{isInline:{type:Boolean,default:!1},isPreview:{type:Boolean,default:!1},useSurvey:{type:Object},hideLogo:{type:Boolean,default:!1},previewSurvey:{type:Object,default:null}},data(){return{isActive:!1,isWaiting:!1,isOpen:!1}},computed:{deviceType(){return Object(it.a)()},widgetSettings(){const t={survey:{},global:{}};return Object.keys(this.settings.theming).forEach(e=>{t.survey[e]=this.settings.theming[e]}),Object.keys(this.$store.state.$uf.widget_settings).forEach(e=>{t.global[e]=this.$store.state.$uf.widget_settings[e]}),this.isPreview&&Object.keys(this.survey.settings.theming).forEach(e=>{t.global[e]=this.survey.settings.theming[e]}),t},...Object(n.e)("widget",{survey:t=>t.survey,currentQuestionIndex:t=>t.currentQuestionIndex,answers:t=>t.answers,isSurveyFinished:t=>t.isSurveyFinished}),...Object(n.e)({addons:t=>t.$uf.addons,isPro:t=>t.$uf.is_pro}),...Object(n.c)("widget",["questions","settings","currentQuestion"]),showUFLogo(){return this.isPreview?this.hideLogo:this.$store.state.$uf.widget_settings.show_logo},widgetClasses(){let t=this.widgetSettings.global.position?this.widgetSettings.global.position:"bottom_right";return this.survey.shortcode&&(t="bottom_right"),[{"is-inline":this.isInline,"has-shortcode":this.survey.shortcode,"is-closed":!(!this.isPreview||!this.widgetSettings.survey.start_minimized)||!this.isOpen,"is-delayed":this.isDelayed,"is-waiting":this.isWaiting,"is-preview":this.isPreview},"widget-theme--"+this.widgetTheme,"widget-position-"+t]},widgetStyles(){if(!this.$uf.is_pro)return[];const{theming:t}=this.settings;if(!t||!this.$uf.addons.branding.active)return{};const e=this.widgetSettings.global.default_widget_color,a=this.widgetSettings.global.default_text_color,i=this.widgetSettings.global.default_button_color,s=this.widgetSettings.global.widget_color,r=this.widgetSettings.global.text_color,n=this.widgetSettings.global.button_color,l=t.widget_color!==e?t.widget_color:s,o=t.text_color!==a?r:t.text_color,c=t.button_color!==i?n:t.button_color;return{"--uf-widget-bg-color":l,"--uf-widget-text-color":o,"--uf-button-color":c}},widgetTheme(){const{theming:t}=this.settings;return this.$uf.is_pro&&this.$uf.addons.branding.active&&t?t.color_scheme:"light"},texts(){return{next:Object(r.a)("Next",this.$textDomain),skip:Object(r.a)("Skip",this.$textDomain),close:Object(r.a)("Close",this.$textDomain),widgetLogoAlt:Object(r.a)("UserFeedback logo",this.$textDomain),defaultThankYouMessage:Object(r.a)("Thanks for your feedback!",this.$textDomain)}},thankYouMessage(){const{message:t}=this.settings.thank_you;return t&&t.length>0?t:this.texts.defaultThankYouMessage},hasCustomLogo(){return""!==this.$store.state.$uf.widget_settings.custom_logo},widgetLogo(){const{widget_settings:t}=this.$store.state.$uf;if(this.isPreview)return void 0===this.widgetSettings.survey.logo_type||"userfeedback"===this.widgetSettings.survey.logo_type?this.$uf.assets+"/img/user-feedback-logo-full.svg":"custom"===this.widgetSettings.survey.logo_type&&(""!==this.widgetSettings.survey.custom_logo&&this.widgetSettings.survey.custom_logo);const e=t.custom_logo;return e&&this.$uf.is_pro&&this.$uf.addons.branding.active?e:this.$uf.assets+"/img/user-feedback-logo-full.svg"},canSkip(){return!!this.currentQuestion&&(!(this.$uf.is_pro&&this.$uf.is_licensed&&this.$uf.addons["question-types"].active)||!this.currentQuestion.settings.required)},canContinue(){return!!this.currentQuestion&&(this.answers.hasOwnProperty(this.currentQuestion.id)||!this.currentQuestion.settings.required)},behavior(){const t=this.settings.behavior;if(void 0!==this.widgetSettings.global.start_minimized){t.start_minimized=this.widgetSettings.global.start_minimized;const e=Object(l.b)(this.survey.cookie_name+"-minimized");t.start_minimized&&!e&&Object(l.c)(this.survey.cookie_name+"-minimized",!0)}return t},timing(){return this.behavior.timing},isDelayed(){return this.addons.behavior.active&&"immediate"!==this.timing},skipText(){return this.isPreview?this.widgetSettings.survey.skip_text&&""!==this.widgetSettings.survey.skip_text?this.widgetSettings.survey.skip_text:this.texts.skip:this.$store.state.$uf.widget_settings.skip_text&&""!==this.$store.state.$uf.widget_settings.skip_text?this.$store.state.$uf.widget_settings.skip_text:this.texts.skip},nextText(){return this.isPreview?this.widgetSettings.survey.next_text&&""!==this.widgetSettings.survey.next_text?this.widgetSettings.survey.next_text:this.texts.next:this.$store.state.$uf.widget_settings.next_text&&""!==this.$store.state.$uf.widget_settings.next_text?this.$store.state.$uf.widget_settings.next_text:this.texts.next}},methods:{...Object(n.d)("widget",["setQuestionIndex","setIsSurveyFinished"]),onSubmit(){this.$refs.wrapper.save()},skipCurrentQuestion(){this.canSkip&&(this.$refs.wrapper.skip(),this.currentQuestionIndex===this.questions.length-1&&this.onSubmit())},toggleWidget(){this.isPreview||(this.isOpen?Object(l.c)(this.survey.cookie_name+"-minimized",!0):Object(l.c)(this.survey.cookie_name+"-minimized",!1),this.isOpen=!this.isOpen)},startSurveyBeforeLeaving(){if("desktop"===this.deviceType){let t=!1,e=null;document.addEventListener("mousemove",a=>{const i=150,s=a.clientY;if(!t){if(null===e&&(e=s),s<=i&&e>i)return t=!0,void this.startSurvey();e=s}})}},startSurveyOnScroll(){const t=()=>{const e=window.scrollY,a=document.body.offsetHeight,i=window.innerHeight,s=e/(a-i)*100;s>=50&&(this.startSurvey(),window.removeEventListener("scroll",t))};window.addEventListener("scroll",t)},startSurvey(){this.isActive=!0,this.setIsSurveyFinished(!1),this.setQuestionIndex(0),this.is_pro&&this.behavior.start_minimized&&this.addons.behavior.active||(this.isInline?this.isOpen=!0:setTimeout(()=>{const t=Object(l.b)(this.survey.cookie_name+"-minimized");this.isOpen=!(t&&"true"===t)},100)),this.isDelayed&&setTimeout(()=>{this.isWaiting=!1},150)},close(){this.isPreview||(this.isOpen=!1,this.isSurveyFinished&&setTimeout(()=>{this.isActive=!1},150))},init(){if(this.survey){const t=Object(l.b)(this.survey.cookie_name+"-minimized");let e=!1;if(this.survey.settings.behavior&&(e=this.survey.settings.behavior.start_minimized),t||!this.$uf.widget_settings.start_minimized&&!e||Object(l.c)(this.survey.cookie_name+"-minimized",!0),!this.addons.behavior.active||"immediate"===this.timing||this.isInline)return void this.startSurvey();switch(this.timing){case"delay":this.isWaiting=!0,setTimeout(this.startSurvey,1e3*this.behavior.timing_delay);break;case"before_abandon":this.isWaiting=!0,this.startSurveyBeforeLeaving();break;case"half_page":this.isWaiting=!0,this.startSurveyOnScroll();break}}},questionAnswered(t){const e=["radio-button","star-rating","nps","checkbox"];-1!==e.indexOf(t.type)&&this.$refs.wrapper.save()}},mounted(){this.isPreview&&this.$store.commit("widget/setAsPreview"),this.useSurvey&&this.$store.commit("widget/setSurvey",this.useSurvey),(this.isPreview||this.useSurvey)&&(this.isActive=!0,this.isOpen=!0)},watch:{previewSurvey:{handler(t){this.$store.commit("widget/setSurvey",t)},deep:!0},survey(){this.init()}}},rt=st,nt=Object(y.a)(rt,i,s,!1,null,null,null);e.a=nt.exports},d89f:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"field flex-wrap"},[e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{id:"use_theme",name:"use_font","input-value":"theme",disabled:t.disabled},model:{value:t.use_font,callback:function(e){t.use_font=e},expression:"use_font"}},[t._v(" "+t._s(t.texts.use_theme)+" ")]),e("user-feedback-radio",{staticClass:"flex-item-none",attrs:{id:"use_custom",name:"use_font","input-value":"custom",disabled:t.disabled},model:{value:t.use_font,callback:function(e){t.use_font=e},expression:"use_font"}},[t._v(" "+t._s(t.texts.use_custom_font)+" ")])],1),"custom"===t.use_font?e("div",[e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.family_label))])]),e("user-feedback-input-select",{attrs:{value:t.selectedFont,options:t.fontOptionsArray,"empty-state-text":t.texts.family_empty_text},model:{value:t.selectedFont,callback:function(e){t.selectedFont=e},expression:"selectedFont"}})],1),t.fontVariantOptions?e("div",{staticClass:"field"},[e("label",{staticClass:"label-with-revert-icon"},[e("span",[t._v(t._s(t.texts.variant_label))])]),e("user-feedback-input-select",{attrs:{value:t.selectedVariant,options:t.fontVariantOptions,placeholder:t.texts.variants_empty_text},model:{value:t.selectedVariant,callback:function(e){t.selectedVariant=e},expression:"selectedVariant"}})],1):t._e()]):t._e()])},s=[],r=(a("14d9"),a("561c"));const n=[{family:"ABeeZee",variants:["regular","italic"]},{family:"Abel",variants:["regular"]},{family:"Abhaya Libre",variants:["regular","500","600","700","800"]},{family:"Aboreto",variants:["regular"]},{family:"Abril Fatface",variants:["regular"]},{family:"Abyssinica SIL",variants:["regular"]},{family:"Aclonica",variants:["regular"]},{family:"Acme",variants:["regular"]},{family:"Actor",variants:["regular"]},{family:"Adamina",variants:["regular"]},{family:"Advent Pro",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Aguafina Script",variants:["regular"]},{family:"Akaya Kanadaka",variants:["regular"]},{family:"Akaya Telivigala",variants:["regular"]},{family:"Akronim",variants:["regular"]},{family:"Akshar",variants:["300","regular","500","600","700"]},{family:"Aladin",variants:["regular"]},{family:"Alata",variants:["regular"]},{family:"Alatsi",variants:["regular"]},{family:"Albert Sans",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Aldrich",variants:["regular"]},{family:"Alef",variants:["regular","700"]},{family:"Alegreya",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Alegreya SC",variants:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{family:"Alegreya Sans",variants:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{family:"Alegreya Sans SC",variants:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{family:"Aleo",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Alex Brush",variants:["regular"]},{family:"Alexandria",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Alfa Slab One",variants:["regular"]},{family:"Alice",variants:["regular"]},{family:"Alike",variants:["regular"]},{family:"Alike Angular",variants:["regular"]},{family:"Alkalami",variants:["regular"]},{family:"Alkatra",variants:["regular","500","600","700"]},{family:"Allan",variants:["regular","700"]},{family:"Allerta",variants:["regular"]},{family:"Allerta Stencil",variants:["regular"]},{family:"Allison",variants:["regular"]},{family:"Allura",variants:["regular"]},{family:"Almarai",variants:["300","regular","700","800"]},{family:"Almendra",variants:["regular","italic","700","700italic"]},{family:"Almendra Display",variants:["regular"]},{family:"Almendra SC",variants:["regular"]},{family:"Alumni Sans",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Alumni Sans Collegiate One",variants:["regular","italic"]},{family:"Alumni Sans Inline One",variants:["regular","italic"]},{family:"Alumni Sans Pinstripe",variants:["regular","italic"]},{family:"Amarante",variants:["regular"]},{family:"Amaranth",variants:["regular","italic","700","700italic"]},{family:"Amatic SC",variants:["regular","700"]},{family:"Amethysta",variants:["regular"]},{family:"Amiko",variants:["regular","600","700"]},{family:"Amiri",variants:["regular","italic","700","700italic"]},{family:"Amiri Quran",variants:["regular"]},{family:"Amita",variants:["regular","700"]},{family:"Anaheim",variants:["regular"]},{family:"Andada Pro",variants:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"]},{family:"Andika",variants:["regular","italic","700","700italic"]},{family:"Anek Bangla",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Devanagari",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Gujarati",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Gurmukhi",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Kannada",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Latin",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Malayalam",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Odia",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Tamil",variants:["100","200","300","regular","500","600","700","800"]},{family:"Anek Telugu",variants:["100","200","300","regular","500","600","700","800"]},{family:"Angkor",variants:["regular"]},{family:"Annie Use Your Telescope",variants:["regular"]},{family:"Anonymous Pro",variants:["regular","italic","700","700italic"]},{family:"Antic",variants:["regular"]},{family:"Antic Didone",variants:["regular"]},{family:"Antic Slab",variants:["regular"]},{family:"Anton",variants:["regular"]},{family:"Antonio",variants:["100","200","300","regular","500","600","700"]},{family:"Anuphan",variants:["100","200","300","regular","500","600","700"]},{family:"Anybody",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Arapey",variants:["regular","italic"]},{family:"Arbutus",variants:["regular"]},{family:"Arbutus Slab",variants:["regular"]},{family:"Architects Daughter",variants:["regular"]},{family:"Archivo",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Archivo Black",variants:["regular"]},{family:"Archivo Narrow",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Are You Serious",variants:["regular"]},{family:"Aref Ruqaa",variants:["regular","700"]},{family:"Aref Ruqaa Ink",variants:["regular","700"]},{family:"Arima",variants:["100","200","300","regular","500","600","700"]},{family:"Arimo",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Arizonia",variants:["regular"]},{family:"Armata",variants:["regular"]},{family:"Arsenal",variants:["regular","italic","700","700italic"]},{family:"Artifika",variants:["regular"]},{family:"Arvo",variants:["regular","italic","700","700italic"]},{family:"Arya",variants:["regular","700"]},{family:"Asap",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Asap Condensed",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Asar",variants:["regular"]},{family:"Asset",variants:["regular"]},{family:"Assistant",variants:["200","300","regular","500","600","700","800"]},{family:"Astloch",variants:["regular","700"]},{family:"Asul",variants:["regular","700"]},{family:"Athiti",variants:["200","300","regular","500","600","700"]},{family:"Atkinson Hyperlegible",variants:["regular","italic","700","700italic"]},{family:"Atma",variants:["300","regular","500","600","700"]},{family:"Atomic Age",variants:["regular"]},{family:"Aubrey",variants:["regular"]},{family:"Audiowide",variants:["regular"]},{family:"Autour One",variants:["regular"]},{family:"Average",variants:["regular"]},{family:"Average Sans",variants:["regular"]},{family:"Averia Gruesa Libre",variants:["regular"]},{family:"Averia Libre",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Averia Sans Libre",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Averia Serif Libre",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Azeret Mono",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"B612",variants:["regular","italic","700","700italic"]},{family:"B612 Mono",variants:["regular","italic","700","700italic"]},{family:"BIZ UDGothic",variants:["regular","700"]},{family:"BIZ UDMincho",variants:["regular","700"]},{family:"BIZ UDPGothic",variants:["regular","700"]},{family:"BIZ UDPMincho",variants:["regular","700"]},{family:"Babylonica",variants:["regular"]},{family:"Bad Script",variants:["regular"]},{family:"Bahiana",variants:["regular"]},{family:"Bahianita",variants:["regular"]},{family:"Bai Jamjuree",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Bakbak One",variants:["regular"]},{family:"Ballet",variants:["regular"]},{family:"Baloo 2",variants:["regular","500","600","700","800"]},{family:"Baloo Bhai 2",variants:["regular","500","600","700","800"]},{family:"Baloo Bhaijaan 2",variants:["regular","500","600","700","800"]},{family:"Baloo Bhaina 2",variants:["regular","500","600","700","800"]},{family:"Baloo Chettan 2",variants:["regular","500","600","700","800"]},{family:"Baloo Da 2",variants:["regular","500","600","700","800"]},{family:"Baloo Paaji 2",variants:["regular","500","600","700","800"]},{family:"Baloo Tamma 2",variants:["regular","500","600","700","800"]},{family:"Baloo Tammudu 2",variants:["regular","500","600","700","800"]},{family:"Baloo Thambi 2",variants:["regular","500","600","700","800"]},{family:"Balsamiq Sans",variants:["regular","italic","700","700italic"]},{family:"Balthazar",variants:["regular"]},{family:"Bangers",variants:["regular"]},{family:"Barlow",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Barlow Condensed",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Barlow Semi Condensed",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Barriecito",variants:["regular"]},{family:"Barrio",variants:["regular"]},{family:"Basic",variants:["regular"]},{family:"Baskervville",variants:["regular","italic"]},{family:"Battambang",variants:["100","300","regular","700","900"]},{family:"Baumans",variants:["regular"]},{family:"Bayon",variants:["regular"]},{family:"Be Vietnam Pro",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Beau Rivage",variants:["regular"]},{family:"Bebas Neue",variants:["regular"]},{family:"Belgrano",variants:["regular"]},{family:"Bellefair",variants:["regular"]},{family:"Belleza",variants:["regular"]},{family:"Bellota",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Bellota Text",variants:["300","300italic","regular","italic","700","700italic"]},{family:"BenchNine",variants:["300","regular","700"]},{family:"Benne",variants:["regular"]},{family:"Bentham",variants:["regular"]},{family:"Berkshire Swash",variants:["regular"]},{family:"Besley",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Beth Ellen",variants:["regular"]},{family:"Bevan",variants:["regular","italic"]},{family:"BhuTuka Expanded One",variants:["regular"]},{family:"Big Shoulders Display",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Big Shoulders Inline Display",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Big Shoulders Inline Text",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Big Shoulders Stencil Display",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Big Shoulders Stencil Text",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Big Shoulders Text",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Bigelow Rules",variants:["regular"]},{family:"Bigshot One",variants:["regular"]},{family:"Bilbo",variants:["regular"]},{family:"Bilbo Swash Caps",variants:["regular"]},{family:"BioRhyme",variants:["200","300","regular","700","800"]},{family:"BioRhyme Expanded",variants:["200","300","regular","700","800"]},{family:"Birthstone",variants:["regular"]},{family:"Birthstone Bounce",variants:["regular","500"]},{family:"Biryani",variants:["200","300","regular","600","700","800","900"]},{family:"Bitter",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Black And White Picture",variants:["regular"]},{family:"Black Han Sans",variants:["regular"]},{family:"Black Ops One",variants:["regular"]},{family:"Blaka",variants:["regular"]},{family:"Blaka Hollow",variants:["regular"]},{family:"Blaka Ink",variants:["regular"]},{family:"Blinker",variants:["100","200","300","regular","600","700","800","900"]},{family:"Bodoni Moda",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Bokor",variants:["regular"]},{family:"Bona Nova",variants:["regular","italic","700"]},{family:"Bonbon",variants:["regular"]},{family:"Bonheur Royale",variants:["regular"]},{family:"Boogaloo",variants:["regular"]},{family:"Bowlby One",variants:["regular"]},{family:"Bowlby One SC",variants:["regular"]},{family:"Braah One",variants:["regular"]},{family:"Brawler",variants:["regular","700"]},{family:"Bree Serif",variants:["regular"]},{family:"Bruno Ace",variants:["regular"]},{family:"Bruno Ace SC",variants:["regular"]},{family:"Brygada 1918",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Bubblegum Sans",variants:["regular"]},{family:"Bubbler One",variants:["regular"]},{family:"Buda",variants:["300"]},{family:"Buenard",variants:["regular","700"]},{family:"Bungee",variants:["regular"]},{family:"Bungee Hairline",variants:["regular"]},{family:"Bungee Inline",variants:["regular"]},{family:"Bungee Outline",variants:["regular"]},{family:"Bungee Shade",variants:["regular"]},{family:"Bungee Spice",variants:["regular"]},{family:"Butcherman",variants:["regular"]},{family:"Butterfly Kids",variants:["regular"]},{family:"Cabin",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Cabin Condensed",variants:["regular","500","600","700"]},{family:"Cabin Sketch",variants:["regular","700"]},{family:"Caesar Dressing",variants:["regular"]},{family:"Cagliostro",variants:["regular"]},{family:"Cairo",variants:["200","300","regular","500","600","700","800","900"]},{family:"Cairo Play",variants:["200","300","regular","500","600","700","800","900"]},{family:"Caladea",variants:["regular","italic","700","700italic"]},{family:"Calistoga",variants:["regular"]},{family:"Calligraffitti",variants:["regular"]},{family:"Cambay",variants:["regular","italic","700","700italic"]},{family:"Cambo",variants:["regular"]},{family:"Candal",variants:["regular"]},{family:"Cantarell",variants:["regular","italic","700","700italic"]},{family:"Cantata One",variants:["regular"]},{family:"Cantora One",variants:["regular"]},{family:"Capriola",variants:["regular"]},{family:"Caramel",variants:["regular"]},{family:"Carattere",variants:["regular"]},{family:"Cardo",variants:["regular","italic","700"]},{family:"Carlito",variants:["regular","italic","700","700italic"]},{family:"Carme",variants:["regular"]},{family:"Carrois Gothic",variants:["regular"]},{family:"Carrois Gothic SC",variants:["regular"]},{family:"Carter One",variants:["regular"]},{family:"Castoro",variants:["regular","italic"]},{family:"Castoro Titling",variants:["regular"]},{family:"Catamaran",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Caudex",variants:["regular","italic","700","700italic"]},{family:"Caveat",variants:["regular","500","600","700"]},{family:"Caveat Brush",variants:["regular"]},{family:"Cedarville Cursive",variants:["regular"]},{family:"Ceviche One",variants:["regular"]},{family:"Chakra Petch",variants:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Changa",variants:["200","300","regular","500","600","700","800"]},{family:"Changa One",variants:["regular","italic"]},{family:"Chango",variants:["regular"]},{family:"Charis SIL",variants:["regular","italic","700","700italic"]},{family:"Charm",variants:["regular","700"]},{family:"Charmonman",variants:["regular","700"]},{family:"Chathura",variants:["100","300","regular","700","800"]},{family:"Chau Philomene One",variants:["regular","italic"]},{family:"Chela One",variants:["regular"]},{family:"Chelsea Market",variants:["regular"]},{family:"Chenla",variants:["regular"]},{family:"Cherish",variants:["regular"]},{family:"Cherry Cream Soda",variants:["regular"]},{family:"Cherry Swash",variants:["regular","700"]},{family:"Chewy",variants:["regular"]},{family:"Chicle",variants:["regular"]},{family:"Chilanka",variants:["regular"]},{family:"Chivo",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Chivo Mono",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Chonburi",variants:["regular"]},{family:"Cinzel",variants:["regular","500","600","700","800","900"]},{family:"Cinzel Decorative",variants:["regular","700","900"]},{family:"Clicker Script",variants:["regular"]},{family:"Climate Crisis",variants:["regular"]},{family:"Coda",variants:["regular","800"]},{family:"Coda Caption",variants:["800"]},{family:"Codystar",variants:["300","regular"]},{family:"Coiny",variants:["regular"]},{family:"Combo",variants:["regular"]},{family:"Comfortaa",variants:["300","regular","500","600","700"]},{family:"Comforter",variants:["regular"]},{family:"Comforter Brush",variants:["regular"]},{family:"Comic Neue",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Coming Soon",variants:["regular"]},{family:"Comme",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Commissioner",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Concert One",variants:["regular"]},{family:"Condiment",variants:["regular"]},{family:"Content",variants:["regular","700"]},{family:"Contrail One",variants:["regular"]},{family:"Convergence",variants:["regular"]},{family:"Cookie",variants:["regular"]},{family:"Copse",variants:["regular"]},{family:"Corben",variants:["regular","700"]},{family:"Corinthia",variants:["regular","700"]},{family:"Cormorant",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Cormorant Garamond",variants:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Cormorant Infant",variants:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Cormorant SC",variants:["300","regular","500","600","700"]},{family:"Cormorant Unicase",variants:["300","regular","500","600","700"]},{family:"Cormorant Upright",variants:["300","regular","500","600","700"]},{family:"Courgette",variants:["regular"]},{family:"Courier Prime",variants:["regular","italic","700","700italic"]},{family:"Cousine",variants:["regular","italic","700","700italic"]},{family:"Coustard",variants:["regular","900"]},{family:"Covered By Your Grace",variants:["regular"]},{family:"Crafty Girls",variants:["regular"]},{family:"Creepster",variants:["regular"]},{family:"Crete Round",variants:["regular","italic"]},{family:"Crimson Pro",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Crimson Text",variants:["regular","italic","600","600italic","700","700italic"]},{family:"Croissant One",variants:["regular"]},{family:"Crushed",variants:["regular"]},{family:"Cuprum",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Cute Font",variants:["regular"]},{family:"Cutive",variants:["regular"]},{family:"Cutive Mono",variants:["regular"]},{family:"DM Mono",variants:["300","300italic","regular","italic","500","500italic"]},{family:"DM Sans",variants:["regular","italic","500","500italic","700","700italic"]},{family:"DM Serif Display",variants:["regular","italic"]},{family:"DM Serif Text",variants:["regular","italic"]},{family:"Damion",variants:["regular"]},{family:"Dancing Script",variants:["regular","500","600","700"]},{family:"Dangrek",variants:["regular"]},{family:"Darker Grotesque",variants:["300","regular","500","600","700","800","900"]},{family:"Darumadrop One",variants:["regular"]},{family:"David Libre",variants:["regular","500","700"]},{family:"Dawning of a New Day",variants:["regular"]},{family:"Days One",variants:["regular"]},{family:"Dekko",variants:["regular"]},{family:"Dela Gothic One",variants:["regular"]},{family:"Delicious Handrawn",variants:["regular"]},{family:"Delius",variants:["regular"]},{family:"Delius Swash Caps",variants:["regular"]},{family:"Delius Unicase",variants:["regular","700"]},{family:"Della Respira",variants:["regular"]},{family:"Denk One",variants:["regular"]},{family:"Devonshire",variants:["regular"]},{family:"Dhurjati",variants:["regular"]},{family:"Didact Gothic",variants:["regular"]},{family:"Diplomata",variants:["regular"]},{family:"Diplomata SC",variants:["regular"]},{family:"Do Hyeon",variants:["regular"]},{family:"Dokdo",variants:["regular"]},{family:"Domine",variants:["regular","500","600","700"]},{family:"Donegal One",variants:["regular"]},{family:"Dongle",variants:["300","regular","700"]},{family:"Doppio One",variants:["regular"]},{family:"Dorsa",variants:["regular"]},{family:"Dosis",variants:["200","300","regular","500","600","700","800"]},{family:"DotGothic16",variants:["regular"]},{family:"Dr Sugiyama",variants:["regular"]},{family:"Duru Sans",variants:["regular"]},{family:"DynaPuff",variants:["regular","500","600","700"]},{family:"Dynalight",variants:["regular"]},{family:"EB Garamond",variants:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"]},{family:"Eagle Lake",variants:["regular"]},{family:"East Sea Dokdo",variants:["regular"]},{family:"Eater",variants:["regular"]},{family:"Economica",variants:["regular","italic","700","700italic"]},{family:"Eczar",variants:["regular","500","600","700","800"]},{family:"Edu NSW ACT Foundation",variants:["regular","500","600","700"]},{family:"Edu QLD Beginner",variants:["regular","500","600","700"]},{family:"Edu SA Beginner",variants:["regular","500","600","700"]},{family:"Edu TAS Beginner",variants:["regular","500","600","700"]},{family:"Edu VIC WA NT Beginner",variants:["regular","500","600","700"]},{family:"El Messiri",variants:["regular","500","600","700"]},{family:"Electrolize",variants:["regular"]},{family:"Elsie",variants:["regular","900"]},{family:"Elsie Swash Caps",variants:["regular","900"]},{family:"Emblema One",variants:["regular"]},{family:"Emilys Candy",variants:["regular"]},{family:"Encode Sans",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Encode Sans Condensed",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Encode Sans Expanded",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Encode Sans SC",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Encode Sans Semi Condensed",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Encode Sans Semi Expanded",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Engagement",variants:["regular"]},{family:"Englebert",variants:["regular"]},{family:"Enriqueta",variants:["regular","500","600","700"]},{family:"Ephesis",variants:["regular"]},{family:"Epilogue",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Erica One",variants:["regular"]},{family:"Esteban",variants:["regular"]},{family:"Estonia",variants:["regular"]},{family:"Euphoria Script",variants:["regular"]},{family:"Ewert",variants:["regular"]},{family:"Exo",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Exo 2",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Expletus Sans",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Explora",variants:["regular"]},{family:"Fahkwang",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Familjen Grotesk",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Fanwood Text",variants:["regular","italic"]},{family:"Farro",variants:["300","regular","500","700"]},{family:"Farsan",variants:["regular"]},{family:"Fascinate",variants:["regular"]},{family:"Fascinate Inline",variants:["regular"]},{family:"Faster One",variants:["regular"]},{family:"Fasthand",variants:["regular"]},{family:"Fauna One",variants:["regular"]},{family:"Faustina",variants:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Federant",variants:["regular"]},{family:"Federo",variants:["regular"]},{family:"Felipa",variants:["regular"]},{family:"Fenix",variants:["regular"]},{family:"Festive",variants:["regular"]},{family:"Figtree",variants:["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Finger Paint",variants:["regular"]},{family:"Finlandica",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Fira Code",variants:["300","regular","500","600","700"]},{family:"Fira Mono",variants:["regular","500","700"]},{family:"Fira Sans",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Fira Sans Condensed",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Fira Sans Extra Condensed",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Fjalla One",variants:["regular"]},{family:"Fjord One",variants:["regular"]},{family:"Flamenco",variants:["300","regular"]},{family:"Flavors",variants:["regular"]},{family:"Fleur De Leah",variants:["regular"]},{family:"Flow Block",variants:["regular"]},{family:"Flow Circular",variants:["regular"]},{family:"Flow Rounded",variants:["regular"]},{family:"Foldit",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Fondamento",variants:["regular","italic"]},{family:"Fontdiner Swanky",variants:["regular"]},{family:"Forum",variants:["regular"]},{family:"Fragment Mono",variants:["regular","italic"]},{family:"Francois One",variants:["regular"]},{family:"Frank Ruhl Libre",variants:["300","regular","500","600","700","800","900"]},{family:"Fraunces",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Freckle Face",variants:["regular"]},{family:"Fredericka the Great",variants:["regular"]},{family:"Fredoka",variants:["300","regular","500","600","700"]},{family:"Freehand",variants:["regular"]},{family:"Fresca",variants:["regular"]},{family:"Frijole",variants:["regular"]},{family:"Fruktur",variants:["regular","italic"]},{family:"Fugaz One",variants:["regular"]},{family:"Fuggles",variants:["regular"]},{family:"Fuzzy Bubbles",variants:["regular","700"]},{family:"GFS Didot",variants:["regular"]},{family:"GFS Neohellenic",variants:["regular","italic","700","700italic"]},{family:"Gabriela",variants:["regular"]},{family:"Gaegu",variants:["300","regular","700"]},{family:"Gafata",variants:["regular"]},{family:"Gajraj One",variants:["regular"]},{family:"Galada",variants:["regular"]},{family:"Galdeano",variants:["regular"]},{family:"Galindo",variants:["regular"]},{family:"Gamja Flower",variants:["regular"]},{family:"Gantari",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Gayathri",variants:["100","regular","700"]},{family:"Gelasio",variants:["regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Gemunu Libre",variants:["200","300","regular","500","600","700","800"]},{family:"Genos",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Gentium Book Plus",variants:["regular","italic","700","700italic"]},{family:"Gentium Plus",variants:["regular","italic","700","700italic"]},{family:"Geo",variants:["regular","italic"]},{family:"Georama",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Geostar",variants:["regular"]},{family:"Geostar Fill",variants:["regular"]},{family:"Germania One",variants:["regular"]},{family:"Gideon Roman",variants:["regular"]},{family:"Gidugu",variants:["regular"]},{family:"Gilda Display",variants:["regular"]},{family:"Girassol",variants:["regular"]},{family:"Give You Glory",variants:["regular"]},{family:"Glass Antiqua",variants:["regular"]},{family:"Glegoo",variants:["regular","700"]},{family:"Gloock",variants:["regular"]},{family:"Gloria Hallelujah",variants:["regular"]},{family:"Glory",variants:["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Gluten",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Goblin One",variants:["regular"]},{family:"Gochi Hand",variants:["regular"]},{family:"Goldman",variants:["regular","700"]},{family:"Golos Text",variants:["regular","500","600","700","800","900"]},{family:"Gorditas",variants:["regular","700"]},{family:"Gothic A1",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Gotu",variants:["regular"]},{family:"Goudy Bookletter 1911",variants:["regular"]},{family:"Gowun Batang",variants:["regular","700"]},{family:"Gowun Dodum",variants:["regular"]},{family:"Graduate",variants:["regular"]},{family:"Grand Hotel",variants:["regular"]},{family:"Grandstander",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Grape Nuts",variants:["regular"]},{family:"Gravitas One",variants:["regular"]},{family:"Great Vibes",variants:["regular"]},{family:"Grechen Fuemen",variants:["regular"]},{family:"Grenze",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Grenze Gotisch",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Grey Qo",variants:["regular"]},{family:"Griffy",variants:["regular"]},{family:"Gruppo",variants:["regular"]},{family:"Gudea",variants:["regular","italic","700"]},{family:"Gugi",variants:["regular"]},{family:"Gulzar",variants:["regular"]},{family:"Gupter",variants:["regular","500","700"]},{family:"Gurajada",variants:["regular"]},{family:"Gwendolyn",variants:["regular","700"]},{family:"Habibi",variants:["regular"]},{family:"Hachi Maru Pop",variants:["regular"]},{family:"Hahmlet",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Halant",variants:["300","regular","500","600","700"]},{family:"Hammersmith One",variants:["regular"]},{family:"Hanalei",variants:["regular"]},{family:"Hanalei Fill",variants:["regular"]},{family:"Handlee",variants:["regular"]},{family:"Hanken Grotesk",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Hanuman",variants:["100","300","regular","700","900"]},{family:"Happy Monkey",variants:["regular"]},{family:"Harmattan",variants:["regular","700"]},{family:"Headland One",variants:["regular"]},{family:"Heebo",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Henny Penny",variants:["regular"]},{family:"Hepta Slab",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Herr Von Muellerhoff",variants:["regular"]},{family:"Hi Melody",variants:["regular"]},{family:"Hina Mincho",variants:["regular"]},{family:"Hind",variants:["300","regular","500","600","700"]},{family:"Hind Guntur",variants:["300","regular","500","600","700"]},{family:"Hind Madurai",variants:["300","regular","500","600","700"]},{family:"Hind Siliguri",variants:["300","regular","500","600","700"]},{family:"Hind Vadodara",variants:["300","regular","500","600","700"]},{family:"Holtwood One SC",variants:["regular"]},{family:"Homemade Apple",variants:["regular"]},{family:"Homenaje",variants:["regular"]},{family:"Hubballi",variants:["regular"]},{family:"Hurricane",variants:["regular"]},{family:"IBM Plex Mono",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"IBM Plex Sans",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"IBM Plex Sans Arabic",variants:["100","200","300","regular","500","600","700"]},{family:"IBM Plex Sans Condensed",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"IBM Plex Sans Devanagari",variants:["100","200","300","regular","500","600","700"]},{family:"IBM Plex Sans Hebrew",variants:["100","200","300","regular","500","600","700"]},{family:"IBM Plex Sans JP",variants:["100","200","300","regular","500","600","700"]},{family:"IBM Plex Sans KR",variants:["100","200","300","regular","500","600","700"]},{family:"IBM Plex Sans Thai",variants:["100","200","300","regular","500","600","700"]},{family:"IBM Plex Sans Thai Looped",variants:["100","200","300","regular","500","600","700"]},{family:"IBM Plex Serif",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"IM Fell DW Pica",variants:["regular","italic"]},{family:"IM Fell DW Pica SC",variants:["regular"]},{family:"IM Fell Double Pica",variants:["regular","italic"]},{family:"IM Fell Double Pica SC",variants:["regular"]},{family:"IM Fell English",variants:["regular","italic"]},{family:"IM Fell English SC",variants:["regular"]},{family:"IM Fell French Canon",variants:["regular","italic"]},{family:"IM Fell French Canon SC",variants:["regular"]},{family:"IM Fell Great Primer",variants:["regular","italic"]},{family:"IM Fell Great Primer SC",variants:["regular"]},{family:"Ibarra Real Nova",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Iceberg",variants:["regular"]},{family:"Iceland",variants:["regular"]},{family:"Imbue",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Imperial Script",variants:["regular"]},{family:"Imprima",variants:["regular"]},{family:"Inconsolata",variants:["200","300","regular","500","600","700","800","900"]},{family:"Inder",variants:["regular"]},{family:"Indie Flower",variants:["regular"]},{family:"Ingrid Darling",variants:["regular"]},{family:"Inika",variants:["regular","700"]},{family:"Inknut Antiqua",variants:["300","regular","500","600","700","800","900"]},{family:"Inria Sans",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Inria Serif",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Inspiration",variants:["regular"]},{family:"Instrument Serif",variants:["regular","italic"]},{family:"Inter",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Inter Tight",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Irish Grover",variants:["regular"]},{family:"Island Moments",variants:["regular"]},{family:"Istok Web",variants:["regular","italic","700","700italic"]},{family:"Italiana",variants:["regular"]},{family:"Italianno",variants:["regular"]},{family:"Itim",variants:["regular"]},{family:"Jacques Francois",variants:["regular"]},{family:"Jacques Francois Shadow",variants:["regular"]},{family:"Jaldi",variants:["regular","700"]},{family:"JetBrains Mono",variants:["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Jim Nightshade",variants:["regular"]},{family:"Joan",variants:["regular"]},{family:"Jockey One",variants:["regular"]},{family:"Jolly Lodger",variants:["regular"]},{family:"Jomhuria",variants:["regular"]},{family:"Jomolhari",variants:["regular"]},{family:"Josefin Sans",variants:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"]},{family:"Josefin Slab",variants:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"]},{family:"Jost",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Joti One",variants:["regular"]},{family:"Jua",variants:["regular"]},{family:"Judson",variants:["regular","italic","700"]},{family:"Julee",variants:["regular"]},{family:"Julius Sans One",variants:["regular"]},{family:"Junge",variants:["regular"]},{family:"Jura",variants:["300","regular","500","600","700"]},{family:"Just Another Hand",variants:["regular"]},{family:"Just Me Again Down Here",variants:["regular"]},{family:"K2D",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{family:"Kadwa",variants:["regular","700"]},{family:"Kaisei Decol",variants:["regular","500","700"]},{family:"Kaisei HarunoUmi",variants:["regular","500","700"]},{family:"Kaisei Opti",variants:["regular","500","700"]},{family:"Kaisei Tokumin",variants:["regular","500","700","800"]},{family:"Kalam",variants:["300","regular","700"]},{family:"Kameron",variants:["regular","700"]},{family:"Kanit",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Kantumruy Pro",variants:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"]},{family:"Karantina",variants:["300","regular","700"]},{family:"Karla",variants:["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Karma",variants:["300","regular","500","600","700"]},{family:"Katibeh",variants:["regular"]},{family:"Kaushan Script",variants:["regular"]},{family:"Kavivanar",variants:["regular"]},{family:"Kavoon",variants:["regular"]},{family:"Kdam Thmor Pro",variants:["regular"]},{family:"Keania One",variants:["regular"]},{family:"Kelly Slab",variants:["regular"]},{family:"Kenia",variants:["regular"]},{family:"Khand",variants:["300","regular","500","600","700"]},{family:"Khmer",variants:["regular"]},{family:"Khula",variants:["300","regular","600","700","800"]},{family:"Kings",variants:["regular"]},{family:"Kirang Haerang",variants:["regular"]},{family:"Kite One",variants:["regular"]},{family:"Kiwi Maru",variants:["300","regular","500"]},{family:"Klee One",variants:["regular","600"]},{family:"Knewave",variants:["regular"]},{family:"KoHo",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Kodchasan",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Koh Santepheap",variants:["100","300","regular","700","900"]},{family:"Kolker Brush",variants:["regular"]},{family:"Konkhmer Sleokchher",variants:["regular"]},{family:"Kosugi",variants:["regular"]},{family:"Kosugi Maru",variants:["regular"]},{family:"Kotta One",variants:["regular"]},{family:"Koulen",variants:["regular"]},{family:"Kranky",variants:["regular"]},{family:"Kreon",variants:["300","regular","500","600","700"]},{family:"Kristi",variants:["regular"]},{family:"Krona One",variants:["regular"]},{family:"Krub",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Kufam",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Kulim Park",variants:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"]},{family:"Kumar One",variants:["regular"]},{family:"Kumar One Outline",variants:["regular"]},{family:"Kumbh Sans",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Kurale",variants:["regular"]},{family:"La Belle Aurore",variants:["regular"]},{family:"Labrada",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Lacquer",variants:["regular"]},{family:"Laila",variants:["300","regular","500","600","700"]},{family:"Lakki Reddy",variants:["regular"]},{family:"Lalezar",variants:["regular"]},{family:"Lancelot",variants:["regular"]},{family:"Langar",variants:["regular"]},{family:"Lateef",variants:["200","300","regular","500","600","700","800"]},{family:"Lato",variants:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"]},{family:"Lavishly Yours",variants:["regular"]},{family:"League Gothic",variants:["regular"]},{family:"League Script",variants:["regular"]},{family:"League Spartan",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Leckerli One",variants:["regular"]},{family:"Ledger",variants:["regular"]},{family:"Lekton",variants:["regular","italic","700"]},{family:"Lemon",variants:["regular"]},{family:"Lemonada",variants:["300","regular","500","600","700"]},{family:"Lexend",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Lexend Deca",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Lexend Exa",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Lexend Giga",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Lexend Mega",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Lexend Peta",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Lexend Tera",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Lexend Zetta",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Libre Barcode 128",variants:["regular"]},{family:"Libre Barcode 128 Text",variants:["regular"]},{family:"Libre Barcode 39",variants:["regular"]},{family:"Libre Barcode 39 Extended",variants:["regular"]},{family:"Libre Barcode 39 Extended Text",variants:["regular"]},{family:"Libre Barcode 39 Text",variants:["regular"]},{family:"Libre Barcode EAN13 Text",variants:["regular"]},{family:"Libre Baskerville",variants:["regular","italic","700"]},{family:"Libre Bodoni",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Libre Caslon Display",variants:["regular"]},{family:"Libre Caslon Text",variants:["regular","italic","700"]},{family:"Libre Franklin",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Licorice",variants:["regular"]},{family:"Life Savers",variants:["regular","700","800"]},{family:"Lilita One",variants:["regular"]},{family:"Lily Script One",variants:["regular"]},{family:"Limelight",variants:["regular"]},{family:"Linden Hill",variants:["regular","italic"]},{family:"Literata",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Liu Jian Mao Cao",variants:["regular"]},{family:"Livvic",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"]},{family:"Lobster",variants:["regular"]},{family:"Lobster Two",variants:["regular","italic","700","700italic"]},{family:"Londrina Outline",variants:["regular"]},{family:"Londrina Shadow",variants:["regular"]},{family:"Londrina Sketch",variants:["regular"]},{family:"Londrina Solid",variants:["100","300","regular","900"]},{family:"Long Cang",variants:["regular"]},{family:"Lora",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Love Light",variants:["regular"]},{family:"Love Ya Like A Sister",variants:["regular"]},{family:"Loved by the King",variants:["regular"]},{family:"Lovers Quarrel",variants:["regular"]},{family:"Luckiest Guy",variants:["regular"]},{family:"Lusitana",variants:["regular","700"]},{family:"Lustria",variants:["regular"]},{family:"Luxurious Roman",variants:["regular"]},{family:"Luxurious Script",variants:["regular"]},{family:"M PLUS 1",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"M PLUS 1 Code",variants:["100","200","300","regular","500","600","700"]},{family:"M PLUS 1p",variants:["100","300","regular","500","700","800","900"]},{family:"M PLUS 2",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"M PLUS Code Latin",variants:["100","200","300","regular","500","600","700"]},{family:"M PLUS Rounded 1c",variants:["100","300","regular","500","700","800","900"]},{family:"Ma Shan Zheng",variants:["regular"]},{family:"Macondo",variants:["regular"]},{family:"Macondo Swash Caps",variants:["regular"]},{family:"Mada",variants:["200","300","regular","500","600","700","900"]},{family:"Magra",variants:["regular","700"]},{family:"Maiden Orange",variants:["regular"]},{family:"Maitree",variants:["200","300","regular","500","600","700"]},{family:"Major Mono Display",variants:["regular"]},{family:"Mako",variants:["regular"]},{family:"Mali",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Mallanna",variants:["regular"]},{family:"Mandali",variants:["regular"]},{family:"Manjari",variants:["100","regular","700"]},{family:"Manrope",variants:["200","300","regular","500","600","700","800"]},{family:"Mansalva",variants:["regular"]},{family:"Manuale",variants:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Marcellus",variants:["regular"]},{family:"Marcellus SC",variants:["regular"]},{family:"Marck Script",variants:["regular"]},{family:"Margarine",variants:["regular"]},{family:"Marhey",variants:["300","regular","500","600","700"]},{family:"Markazi Text",variants:["regular","500","600","700"]},{family:"Marko One",variants:["regular"]},{family:"Marmelad",variants:["regular"]},{family:"Martel",variants:["200","300","regular","600","700","800","900"]},{family:"Martel Sans",variants:["200","300","regular","600","700","800","900"]},{family:"Martian Mono",variants:["100","200","300","regular","500","600","700","800"]},{family:"Marvel",variants:["regular","italic","700","700italic"]},{family:"Mate",variants:["regular","italic"]},{family:"Mate SC",variants:["regular"]},{family:"Material Icons",variants:["regular"]},{family:"Material Icons Outlined",variants:["regular"]},{family:"Material Icons Round",variants:["regular"]},{family:"Material Icons Sharp",variants:["regular"]},{family:"Material Icons Two Tone",variants:["regular"]},{family:"Material Symbols Outlined",variants:["100","200","300","regular","500","600","700"]},{family:"Material Symbols Rounded",variants:["100","200","300","regular","500","600","700"]},{family:"Material Symbols Sharp",variants:["100","200","300","regular","500","600","700"]},{family:"Maven Pro",variants:["regular","500","600","700","800","900"]},{family:"McLaren",variants:["regular"]},{family:"Mea Culpa",variants:["regular"]},{family:"Meddon",variants:["regular"]},{family:"MedievalSharp",variants:["regular"]},{family:"Medula One",variants:["regular"]},{family:"Meera Inimai",variants:["regular"]},{family:"Megrim",variants:["regular"]},{family:"Meie Script",variants:["regular"]},{family:"Meow Script",variants:["regular"]},{family:"Merienda",variants:["300","regular","500","600","700","800","900"]},{family:"Merriweather",variants:["300","300italic","regular","italic","700","700italic","900","900italic"]},{family:"Merriweather Sans",variants:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Metal",variants:["regular"]},{family:"Metal Mania",variants:["regular"]},{family:"Metamorphous",variants:["regular"]},{family:"Metrophobic",variants:["regular"]},{family:"Michroma",variants:["regular"]},{family:"Milonga",variants:["regular"]},{family:"Miltonian",variants:["regular"]},{family:"Miltonian Tattoo",variants:["regular"]},{family:"Mina",variants:["regular","700"]},{family:"Mingzat",variants:["regular"]},{family:"Miniver",variants:["regular"]},{family:"Miriam Libre",variants:["regular","700"]},{family:"Mirza",variants:["regular","500","600","700"]},{family:"Miss Fajardose",variants:["regular"]},{family:"Mitr",variants:["200","300","regular","500","600","700"]},{family:"Mochiy Pop One",variants:["regular"]},{family:"Mochiy Pop P One",variants:["regular"]},{family:"Modak",variants:["regular"]},{family:"Modern Antiqua",variants:["regular"]},{family:"Mogra",variants:["regular"]},{family:"Mohave",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Molengo",variants:["regular"]},{family:"Molle",variants:["italic"]},{family:"Monda",variants:["regular","700"]},{family:"Monofett",variants:["regular"]},{family:"Monoton",variants:["regular"]},{family:"Monsieur La Doulaise",variants:["regular"]},{family:"Montaga",variants:["regular"]},{family:"Montagu Slab",variants:["100","200","300","regular","500","600","700"]},{family:"MonteCarlo",variants:["regular"]},{family:"Montez",variants:["regular"]},{family:"Montserrat",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Montserrat Alternates",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Montserrat Subrayada",variants:["regular","700"]},{family:"Moo Lah Lah",variants:["regular"]},{family:"Moon Dance",variants:["regular"]},{family:"Moul",variants:["regular"]},{family:"Moulpali",variants:["regular"]},{family:"Mountains of Christmas",variants:["regular","700"]},{family:"Mouse Memoirs",variants:["regular"]},{family:"Mr Bedfort",variants:["regular"]},{family:"Mr Dafoe",variants:["regular"]},{family:"Mr De Haviland",variants:["regular"]},{family:"Mrs Saint Delafield",variants:["regular"]},{family:"Mrs Sheppards",variants:["regular"]},{family:"Ms Madi",variants:["regular"]},{family:"Mukta",variants:["200","300","regular","500","600","700","800"]},{family:"Mukta Mahee",variants:["200","300","regular","500","600","700","800"]},{family:"Mukta Malar",variants:["200","300","regular","500","600","700","800"]},{family:"Mukta Vaani",variants:["200","300","regular","500","600","700","800"]},{family:"Mulish",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Murecho",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"MuseoModerno",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"My Soul",variants:["regular"]},{family:"Mynerve",variants:["regular"]},{family:"Mystery Quest",variants:["regular"]},{family:"NTR",variants:["regular"]},{family:"Nabla",variants:["regular"]},{family:"Nanum Brush Script",variants:["regular"]},{family:"Nanum Gothic",variants:["regular","700","800"]},{family:"Nanum Gothic Coding",variants:["regular","700"]},{family:"Nanum Myeongjo",variants:["regular","700","800"]},{family:"Nanum Pen Script",variants:["regular"]},{family:"Neonderthaw",variants:["regular"]},{family:"Nerko One",variants:["regular"]},{family:"Neucha",variants:["regular"]},{family:"Neuton",variants:["200","300","regular","italic","700","800"]},{family:"New Rocker",variants:["regular"]},{family:"New Tegomin",variants:["regular"]},{family:"News Cycle",variants:["regular","700"]},{family:"Newsreader",variants:["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Niconne",variants:["regular"]},{family:"Niramit",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Nixie One",variants:["regular"]},{family:"Nobile",variants:["regular","italic","500","500italic","700","700italic"]},{family:"Nokora",variants:["100","300","regular","700","900"]},{family:"Norican",variants:["regular"]},{family:"Nosifer",variants:["regular"]},{family:"Notable",variants:["regular"]},{family:"Nothing You Could Do",variants:["regular"]},{family:"Noticia Text",variants:["regular","italic","700","700italic"]},{family:"Noto Color Emoji",variants:["regular"]},{family:"Noto Emoji",variants:["300","regular","500","600","700"]},{family:"Noto Kufi Arabic",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Music",variants:["regular"]},{family:"Noto Naskh Arabic",variants:["regular","500","600","700"]},{family:"Noto Nastaliq Urdu",variants:["regular","500","600","700"]},{family:"Noto Rashi Hebrew",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Noto Sans Adlam",variants:["regular","500","600","700"]},{family:"Noto Sans Adlam Unjoined",variants:["regular","500","600","700"]},{family:"Noto Sans Anatolian Hieroglyphs",variants:["regular"]},{family:"Noto Sans Arabic",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Armenian",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Avestan",variants:["regular"]},{family:"Noto Sans Balinese",variants:["regular","500","600","700"]},{family:"Noto Sans Bamum",variants:["regular","500","600","700"]},{family:"Noto Sans Bassa Vah",variants:["regular","500","600","700"]},{family:"Noto Sans Batak",variants:["regular"]},{family:"Noto Sans Bengali",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Bhaiksuki",variants:["regular"]},{family:"Noto Sans Brahmi",variants:["regular"]},{family:"Noto Sans Buginese",variants:["regular"]},{family:"Noto Sans Buhid",variants:["regular"]},{family:"Noto Sans Canadian Aboriginal",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Carian",variants:["regular"]},{family:"Noto Sans Caucasian Albanian",variants:["regular"]},{family:"Noto Sans Chakma",variants:["regular"]},{family:"Noto Sans Cham",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Cherokee",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Coptic",variants:["regular"]},{family:"Noto Sans Cuneiform",variants:["regular"]},{family:"Noto Sans Cypriot",variants:["regular"]},{family:"Noto Sans Deseret",variants:["regular"]},{family:"Noto Sans Devanagari",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Display",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Noto Sans Duployan",variants:["regular"]},{family:"Noto Sans Egyptian Hieroglyphs",variants:["regular"]},{family:"Noto Sans Elbasan",variants:["regular"]},{family:"Noto Sans Elymaic",variants:["regular"]},{family:"Noto Sans Ethiopic",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Georgian",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Glagolitic",variants:["regular"]},{family:"Noto Sans Gothic",variants:["regular"]},{family:"Noto Sans Grantha",variants:["regular"]},{family:"Noto Sans Gujarati",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Gunjala Gondi",variants:["regular"]},{family:"Noto Sans Gurmukhi",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans HK",variants:["100","300","regular","500","700","900"]},{family:"Noto Sans Hanifi Rohingya",variants:["regular","500","600","700"]},{family:"Noto Sans Hanunoo",variants:["regular"]},{family:"Noto Sans Hatran",variants:["regular"]},{family:"Noto Sans Hebrew",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Imperial Aramaic",variants:["regular"]},{family:"Noto Sans Indic Siyaq Numbers",variants:["regular"]},{family:"Noto Sans Inscriptional Pahlavi",variants:["regular"]},{family:"Noto Sans Inscriptional Parthian",variants:["regular"]},{family:"Noto Sans JP",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Javanese",variants:["regular","500","600","700"]},{family:"Noto Sans KR",variants:["100","300","regular","500","700","900"]},{family:"Noto Sans Kaithi",variants:["regular"]},{family:"Noto Sans Kannada",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Kayah Li",variants:["regular","500","600","700"]},{family:"Noto Sans Kharoshthi",variants:["regular"]},{family:"Noto Sans Khmer",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Khojki",variants:["regular"]},{family:"Noto Sans Khudawadi",variants:["regular"]},{family:"Noto Sans Lao",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Lao Looped",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Lepcha",variants:["regular"]},{family:"Noto Sans Limbu",variants:["regular"]},{family:"Noto Sans Linear A",variants:["regular"]},{family:"Noto Sans Linear B",variants:["regular"]},{family:"Noto Sans Lisu",variants:["regular","500","600","700"]},{family:"Noto Sans Lycian",variants:["regular"]},{family:"Noto Sans Lydian",variants:["regular"]},{family:"Noto Sans Mahajani",variants:["regular"]},{family:"Noto Sans Malayalam",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Mandaic",variants:["regular"]},{family:"Noto Sans Manichaean",variants:["regular"]},{family:"Noto Sans Marchen",variants:["regular"]},{family:"Noto Sans Masaram Gondi",variants:["regular"]},{family:"Noto Sans Math",variants:["regular"]},{family:"Noto Sans Mayan Numerals",variants:["regular"]},{family:"Noto Sans Medefaidrin",variants:["regular","500","600","700"]},{family:"Noto Sans Meetei Mayek",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Mende Kikakui",variants:["regular"]},{family:"Noto Sans Meroitic",variants:["regular"]},{family:"Noto Sans Miao",variants:["regular"]},{family:"Noto Sans Modi",variants:["regular"]},{family:"Noto Sans Mongolian",variants:["regular"]},{family:"Noto Sans Mono",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Mro",variants:["regular"]},{family:"Noto Sans Multani",variants:["regular"]},{family:"Noto Sans Myanmar",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans NKo",variants:["regular"]},{family:"Noto Sans Nabataean",variants:["regular"]},{family:"Noto Sans New Tai Lue",variants:["regular","500","600","700"]},{family:"Noto Sans Newa",variants:["regular"]},{family:"Noto Sans Nushu",variants:["regular"]},{family:"Noto Sans Ogham",variants:["regular"]},{family:"Noto Sans Ol Chiki",variants:["regular","500","600","700"]},{family:"Noto Sans Old Hungarian",variants:["regular"]},{family:"Noto Sans Old Italic",variants:["regular"]},{family:"Noto Sans Old North Arabian",variants:["regular"]},{family:"Noto Sans Old Permic",variants:["regular"]},{family:"Noto Sans Old Persian",variants:["regular"]},{family:"Noto Sans Old Sogdian",variants:["regular"]},{family:"Noto Sans Old South Arabian",variants:["regular"]},{family:"Noto Sans Old Turkic",variants:["regular"]},{family:"Noto Sans Oriya",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Osage",variants:["regular"]},{family:"Noto Sans Osmanya",variants:["regular"]},{family:"Noto Sans Pahawh Hmong",variants:["regular"]},{family:"Noto Sans Palmyrene",variants:["regular"]},{family:"Noto Sans Pau Cin Hau",variants:["regular"]},{family:"Noto Sans Phags Pa",variants:["regular"]},{family:"Noto Sans Phoenician",variants:["regular"]},{family:"Noto Sans Psalter Pahlavi",variants:["regular"]},{family:"Noto Sans Rejang",variants:["regular"]},{family:"Noto Sans Runic",variants:["regular"]},{family:"Noto Sans SC",variants:["100","300","regular","500","700","900"]},{family:"Noto Sans Samaritan",variants:["regular"]},{family:"Noto Sans Saurashtra",variants:["regular"]},{family:"Noto Sans Sharada",variants:["regular"]},{family:"Noto Sans Shavian",variants:["regular"]},{family:"Noto Sans Siddham",variants:["regular"]},{family:"Noto Sans SignWriting",variants:["regular"]},{family:"Noto Sans Sinhala",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Sogdian",variants:["regular"]},{family:"Noto Sans Sora Sompeng",variants:["regular","500","600","700"]},{family:"Noto Sans Soyombo",variants:["regular"]},{family:"Noto Sans Sundanese",variants:["regular","500","600","700"]},{family:"Noto Sans Syloti Nagri",variants:["regular"]},{family:"Noto Sans Symbols",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Symbols 2",variants:["regular"]},{family:"Noto Sans Syriac",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans TC",variants:["100","300","regular","500","700","900"]},{family:"Noto Sans Tagalog",variants:["regular"]},{family:"Noto Sans Tagbanwa",variants:["regular"]},{family:"Noto Sans Tai Le",variants:["regular"]},{family:"Noto Sans Tai Tham",variants:["regular","500","600","700"]},{family:"Noto Sans Tai Viet",variants:["regular"]},{family:"Noto Sans Takri",variants:["regular"]},{family:"Noto Sans Tamil",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Tamil Supplement",variants:["regular"]},{family:"Noto Sans Tangsa",variants:["regular","500","600","700"]},{family:"Noto Sans Telugu",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Thaana",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Thai",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Thai Looped",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Sans Tifinagh",variants:["regular"]},{family:"Noto Sans Tirhuta",variants:["regular"]},{family:"Noto Sans Ugaritic",variants:["regular"]},{family:"Noto Sans Vai",variants:["regular"]},{family:"Noto Sans Wancho",variants:["regular"]},{family:"Noto Sans Warang Citi",variants:["regular"]},{family:"Noto Sans Yi",variants:["regular"]},{family:"Noto Sans Zanabazar Square",variants:["regular"]},{family:"Noto Serif",variants:["regular","italic","700","700italic"]},{family:"Noto Serif Ahom",variants:["regular"]},{family:"Noto Serif Armenian",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Balinese",variants:["regular"]},{family:"Noto Serif Bengali",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Devanagari",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Display",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Noto Serif Dogra",variants:["regular"]},{family:"Noto Serif Ethiopic",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Georgian",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Grantha",variants:["regular"]},{family:"Noto Serif Gujarati",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Gurmukhi",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif HK",variants:["200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Hebrew",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif JP",variants:["200","300","regular","500","600","700","900"]},{family:"Noto Serif KR",variants:["200","300","regular","500","600","700","900"]},{family:"Noto Serif Kannada",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Khmer",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Khojki",variants:["regular","500","600","700"]},{family:"Noto Serif Lao",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Malayalam",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Myanmar",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif NP Hmong",variants:["regular","500","600","700"]},{family:"Noto Serif Oriya",variants:["regular","500","600","700"]},{family:"Noto Serif SC",variants:["200","300","regular","500","600","700","900"]},{family:"Noto Serif Sinhala",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif TC",variants:["200","300","regular","500","600","700","900"]},{family:"Noto Serif Tamil",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Noto Serif Tangut",variants:["regular"]},{family:"Noto Serif Telugu",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Thai",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Tibetan",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Noto Serif Toto",variants:["regular","500","600","700"]},{family:"Noto Serif Yezidi",variants:["regular","500","600","700"]},{family:"Noto Traditional Nushu",variants:["regular"]},{family:"Nova Cut",variants:["regular"]},{family:"Nova Flat",variants:["regular"]},{family:"Nova Mono",variants:["regular"]},{family:"Nova Oval",variants:["regular"]},{family:"Nova Round",variants:["regular"]},{family:"Nova Script",variants:["regular"]},{family:"Nova Slim",variants:["regular"]},{family:"Nova Square",variants:["regular"]},{family:"Numans",variants:["regular"]},{family:"Nunito",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Nunito Sans",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Nuosu SIL",variants:["regular"]},{family:"Odibee Sans",variants:["regular"]},{family:"Odor Mean Chey",variants:["regular"]},{family:"Offside",variants:["regular"]},{family:"Oi",variants:["regular"]},{family:"Old Standard TT",variants:["regular","italic","700"]},{family:"Oldenburg",variants:["regular"]},{family:"Ole",variants:["regular"]},{family:"Oleo Script",variants:["regular","700"]},{family:"Oleo Script Swash Caps",variants:["regular","700"]},{family:"Oooh Baby",variants:["regular"]},{family:"Open Sans",variants:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Oranienbaum",variants:["regular"]},{family:"Orbitron",variants:["regular","500","600","700","800","900"]},{family:"Oregano",variants:["regular","italic"]},{family:"Orelega One",variants:["regular"]},{family:"Orienta",variants:["regular"]},{family:"Original Surfer",variants:["regular"]},{family:"Oswald",variants:["200","300","regular","500","600","700"]},{family:"Outfit",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Over the Rainbow",variants:["regular"]},{family:"Overlock",variants:["regular","italic","700","700italic","900","900italic"]},{family:"Overlock SC",variants:["regular"]},{family:"Overpass",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Overpass Mono",variants:["300","regular","500","600","700"]},{family:"Ovo",variants:["regular"]},{family:"Oxanium",variants:["200","300","regular","500","600","700","800"]},{family:"Oxygen",variants:["300","regular","700"]},{family:"Oxygen Mono",variants:["regular"]},{family:"PT Mono",variants:["regular"]},{family:"PT Sans",variants:["regular","italic","700","700italic"]},{family:"PT Sans Caption",variants:["regular","700"]},{family:"PT Sans Narrow",variants:["regular","700"]},{family:"PT Serif",variants:["regular","italic","700","700italic"]},{family:"PT Serif Caption",variants:["regular","italic"]},{family:"Pacifico",variants:["regular"]},{family:"Padauk",variants:["regular","700"]},{family:"Padyakke Expanded One",variants:["regular"]},{family:"Palanquin",variants:["100","200","300","regular","500","600","700"]},{family:"Palanquin Dark",variants:["regular","500","600","700"]},{family:"Pangolin",variants:["regular"]},{family:"Paprika",variants:["regular"]},{family:"Parisienne",variants:["regular"]},{family:"Passero One",variants:["regular"]},{family:"Passion One",variants:["regular","700","900"]},{family:"Passions Conflict",variants:["regular"]},{family:"Pathway Extreme",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Pathway Gothic One",variants:["regular"]},{family:"Patrick Hand",variants:["regular"]},{family:"Patrick Hand SC",variants:["regular"]},{family:"Pattaya",variants:["regular"]},{family:"Patua One",variants:["regular"]},{family:"Pavanam",variants:["regular"]},{family:"Paytone One",variants:["regular"]},{family:"Peddana",variants:["regular"]},{family:"Peralta",variants:["regular"]},{family:"Permanent Marker",variants:["regular"]},{family:"Petemoss",variants:["regular"]},{family:"Petit Formal Script",variants:["regular"]},{family:"Petrona",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Philosopher",variants:["regular","italic","700","700italic"]},{family:"Phudu",variants:["300","regular","500","600","700","800","900"]},{family:"Piazzolla",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Piedra",variants:["regular"]},{family:"Pinyon Script",variants:["regular"]},{family:"Pirata One",variants:["regular"]},{family:"Plaster",variants:["regular"]},{family:"Play",variants:["regular","700"]},{family:"Playball",variants:["regular"]},{family:"Playfair Display",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Playfair Display SC",variants:["regular","italic","700","700italic","900","900italic"]},{family:"Plus Jakarta Sans",variants:["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Podkova",variants:["regular","500","600","700","800"]},{family:"Poiret One",variants:["regular"]},{family:"Poller One",variants:["regular"]},{family:"Poltawski Nowy",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Poly",variants:["regular","italic"]},{family:"Pompiere",variants:["regular"]},{family:"Pontano Sans",variants:["300","regular","500","600","700"]},{family:"Poor Story",variants:["regular"]},{family:"Poppins",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Port Lligat Sans",variants:["regular"]},{family:"Port Lligat Slab",variants:["regular"]},{family:"Potta One",variants:["regular"]},{family:"Pragati Narrow",variants:["regular","700"]},{family:"Praise",variants:["regular"]},{family:"Prata",variants:["regular"]},{family:"Preahvihear",variants:["regular"]},{family:"Press Start 2P",variants:["regular"]},{family:"Pridi",variants:["200","300","regular","500","600","700"]},{family:"Princess Sofia",variants:["regular"]},{family:"Prociono",variants:["regular"]},{family:"Prompt",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Prosto One",variants:["regular"]},{family:"Proza Libre",variants:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{family:"Public Sans",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Puppies Play",variants:["regular"]},{family:"Puritan",variants:["regular","italic","700","700italic"]},{family:"Purple Purse",variants:["regular"]},{family:"Qahiri",variants:["regular"]},{family:"Quando",variants:["regular"]},{family:"Quantico",variants:["regular","italic","700","700italic"]},{family:"Quattrocento",variants:["regular","700"]},{family:"Quattrocento Sans",variants:["regular","italic","700","700italic"]},{family:"Questrial",variants:["regular"]},{family:"Quicksand",variants:["300","regular","500","600","700"]},{family:"Quintessential",variants:["regular"]},{family:"Qwigley",variants:["regular"]},{family:"Qwitcher Grypen",variants:["regular","700"]},{family:"Racing Sans One",variants:["regular"]},{family:"Radio Canada",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Radley",variants:["regular","italic"]},{family:"Rajdhani",variants:["300","regular","500","600","700"]},{family:"Rakkas",variants:["regular"]},{family:"Raleway",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Raleway Dots",variants:["regular"]},{family:"Ramabhadra",variants:["regular"]},{family:"Ramaraja",variants:["regular"]},{family:"Rambla",variants:["regular","italic","700","700italic"]},{family:"Rammetto One",variants:["regular"]},{family:"Rampart One",variants:["regular"]},{family:"Ranchers",variants:["regular"]},{family:"Rancho",variants:["regular"]},{family:"Ranga",variants:["regular","700"]},{family:"Rasa",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Rationale",variants:["regular"]},{family:"Ravi Prakash",variants:["regular"]},{family:"Readex Pro",variants:["200","300","regular","500","600","700"]},{family:"Recursive",variants:["300","regular","500","600","700","800","900"]},{family:"Red Hat Display",variants:["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Red Hat Mono",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Red Hat Text",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Red Rose",variants:["300","regular","500","600","700"]},{family:"Redacted",variants:["regular"]},{family:"Redacted Script",variants:["300","regular","700"]},{family:"Redressed",variants:["regular"]},{family:"Reem Kufi",variants:["regular","500","600","700"]},{family:"Reem Kufi Fun",variants:["regular","500","600","700"]},{family:"Reem Kufi Ink",variants:["regular"]},{family:"Reenie Beanie",variants:["regular"]},{family:"Reggae One",variants:["regular"]},{family:"Revalia",variants:["regular"]},{family:"Rhodium Libre",variants:["regular"]},{family:"Ribeye",variants:["regular"]},{family:"Ribeye Marrow",variants:["regular"]},{family:"Righteous",variants:["regular"]},{family:"Risque",variants:["regular"]},{family:"Road Rage",variants:["regular"]},{family:"Roboto",variants:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"]},{family:"Roboto Condensed",variants:["300","300italic","regular","italic","700","700italic"]},{family:"Roboto Flex",variants:["regular"]},{family:"Roboto Mono",variants:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"]},{family:"Roboto Serif",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Roboto Slab",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Rochester",variants:["regular"]},{family:"Rock Salt",variants:["regular"]},{family:"RocknRoll One",variants:["regular"]},{family:"Rokkitt",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Romanesco",variants:["regular"]},{family:"Ropa Sans",variants:["regular","italic"]},{family:"Rosario",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Rosarivo",variants:["regular","italic"]},{family:"Rouge Script",variants:["regular"]},{family:"Rowdies",variants:["300","regular","700"]},{family:"Rozha One",variants:["regular"]},{family:"Rubik",variants:["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Rubik 80s Fade",variants:["regular"]},{family:"Rubik Beastly",variants:["regular"]},{family:"Rubik Bubbles",variants:["regular"]},{family:"Rubik Burned",variants:["regular"]},{family:"Rubik Dirt",variants:["regular"]},{family:"Rubik Distressed",variants:["regular"]},{family:"Rubik Gemstones",variants:["regular"]},{family:"Rubik Glitch",variants:["regular"]},{family:"Rubik Iso",variants:["regular"]},{family:"Rubik Marker Hatch",variants:["regular"]},{family:"Rubik Maze",variants:["regular"]},{family:"Rubik Microbe",variants:["regular"]},{family:"Rubik Mono One",variants:["regular"]},{family:"Rubik Moonrocks",variants:["regular"]},{family:"Rubik Pixels",variants:["regular"]},{family:"Rubik Puddles",variants:["regular"]},{family:"Rubik Spray Paint",variants:["regular"]},{family:"Rubik Storm",variants:["regular"]},{family:"Rubik Vinyl",variants:["regular"]},{family:"Rubik Wet Paint",variants:["regular"]},{family:"Ruda",variants:["regular","500","600","700","800","900"]},{family:"Rufina",variants:["regular","700"]},{family:"Ruge Boogie",variants:["regular"]},{family:"Ruluko",variants:["regular"]},{family:"Rum Raisin",variants:["regular"]},{family:"Ruslan Display",variants:["regular"]},{family:"Russo One",variants:["regular"]},{family:"Ruthie",variants:["regular"]},{family:"Rye",variants:["regular"]},{family:"STIX Two Text",variants:["regular","500","600","700","italic","500italic","600italic","700italic"]},{family:"Sacramento",variants:["regular"]},{family:"Sahitya",variants:["regular","700"]},{family:"Sail",variants:["regular"]},{family:"Saira",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Saira Condensed",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Saira Extra Condensed",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Saira Semi Condensed",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Saira Stencil One",variants:["regular"]},{family:"Salsa",variants:["regular"]},{family:"Sanchez",variants:["regular","italic"]},{family:"Sancreek",variants:["regular"]},{family:"Sansita",variants:["regular","italic","700","700italic","800","800italic","900","900italic"]},{family:"Sansita Swashed",variants:["300","regular","500","600","700","800","900"]},{family:"Sarabun",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{family:"Sarala",variants:["regular","700"]},{family:"Sarina",variants:["regular"]},{family:"Sarpanch",variants:["regular","500","600","700","800","900"]},{family:"Sassy Frass",variants:["regular"]},{family:"Satisfy",variants:["regular"]},{family:"Sawarabi Gothic",variants:["regular"]},{family:"Sawarabi Mincho",variants:["regular"]},{family:"Scada",variants:["regular","italic","700","700italic"]},{family:"Scheherazade New",variants:["regular","700"]},{family:"Schibsted Grotesk",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Schoolbell",variants:["regular"]},{family:"Scope One",variants:["regular"]},{family:"Seaweed Script",variants:["regular"]},{family:"Secular One",variants:["regular"]},{family:"Sedgwick Ave",variants:["regular"]},{family:"Sedgwick Ave Display",variants:["regular"]},{family:"Sen",variants:["regular","700","800"]},{family:"Send Flowers",variants:["regular"]},{family:"Sevillana",variants:["regular"]},{family:"Seymour One",variants:["regular"]},{family:"Shadows Into Light",variants:["regular"]},{family:"Shadows Into Light Two",variants:["regular"]},{family:"Shalimar",variants:["regular"]},{family:"Shantell Sans",variants:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"]},{family:"Shanti",variants:["regular"]},{family:"Share",variants:["regular","italic","700","700italic"]},{family:"Share Tech",variants:["regular"]},{family:"Share Tech Mono",variants:["regular"]},{family:"Shippori Antique",variants:["regular"]},{family:"Shippori Antique B1",variants:["regular"]},{family:"Shippori Mincho",variants:["regular","500","600","700","800"]},{family:"Shippori Mincho B1",variants:["regular","500","600","700","800"]},{family:"Shojumaru",variants:["regular"]},{family:"Short Stack",variants:["regular"]},{family:"Shrikhand",variants:["regular"]},{family:"Siemreap",variants:["regular"]},{family:"Sigmar",variants:["regular"]},{family:"Sigmar One",variants:["regular"]},{family:"Signika",variants:["300","regular","500","600","700"]},{family:"Signika Negative",variants:["300","regular","500","600","700"]},{family:"Silkscreen",variants:["regular","700"]},{family:"Simonetta",variants:["regular","italic","900","900italic"]},{family:"Single Day",variants:["regular"]},{family:"Sintony",variants:["regular","700"]},{family:"Sirin Stencil",variants:["regular"]},{family:"Six Caps",variants:["regular"]},{family:"Skranji",variants:["regular","700"]},{family:"Slabo 13px",variants:["regular"]},{family:"Slabo 27px",variants:["regular"]},{family:"Slackey",variants:["regular"]},{family:"Smokum",variants:["regular"]},{family:"Smooch",variants:["regular"]},{family:"Smooch Sans",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Smythe",variants:["regular"]},{family:"Sniglet",variants:["regular","800"]},{family:"Snippet",variants:["regular"]},{family:"Snowburst One",variants:["regular"]},{family:"Sofadi One",variants:["regular"]},{family:"Sofia",variants:["regular"]},{family:"Sofia Sans",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Sofia Sans Condensed",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Sofia Sans Extra Condensed",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Sofia Sans Semi Condensed",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Solitreo",variants:["regular"]},{family:"Solway",variants:["300","regular","500","700","800"]},{family:"Song Myung",variants:["regular"]},{family:"Sono",variants:["200","300","regular","500","600","700","800"]},{family:"Sonsie One",variants:["regular"]},{family:"Sora",variants:["100","200","300","regular","500","600","700","800"]},{family:"Sorts Mill Goudy",variants:["regular","italic"]},{family:"Source Code Pro",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Source Sans 3",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Source Sans Pro",variants:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"]},{family:"Source Serif 4",variants:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Source Serif Pro",variants:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"]},{family:"Space Grotesk",variants:["300","regular","500","600","700"]},{family:"Space Mono",variants:["regular","italic","700","700italic"]},{family:"Special Elite",variants:["regular"]},{family:"Spectral",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{family:"Spectral SC",variants:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{family:"Spicy Rice",variants:["regular"]},{family:"Spinnaker",variants:["regular"]},{family:"Spirax",variants:["regular"]},{family:"Splash",variants:["regular"]},{family:"Spline Sans",variants:["300","regular","500","600","700"]},{family:"Spline Sans Mono",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Squada One",variants:["regular"]},{family:"Square Peg",variants:["regular"]},{family:"Sree Krushnadevaraya",variants:["regular"]},{family:"Sriracha",variants:["regular"]},{family:"Srisakdi",variants:["regular","700"]},{family:"Staatliches",variants:["regular"]},{family:"Stalemate",variants:["regular"]},{family:"Stalinist One",variants:["regular"]},{family:"Stardos Stencil",variants:["regular","700"]},{family:"Stick",variants:["regular"]},{family:"Stick No Bills",variants:["200","300","regular","500","600","700","800"]},{family:"Stint Ultra Condensed",variants:["regular"]},{family:"Stint Ultra Expanded",variants:["regular"]},{family:"Stoke",variants:["300","regular"]},{family:"Strait",variants:["regular"]},{family:"Style Script",variants:["regular"]},{family:"Stylish",variants:["regular"]},{family:"Sue Ellen Francisco",variants:["regular"]},{family:"Suez One",variants:["regular"]},{family:"Sulphur Point",variants:["300","regular","700"]},{family:"Sumana",variants:["regular","700"]},{family:"Sunflower",variants:["300","500","700"]},{family:"Sunshiney",variants:["regular"]},{family:"Supermercado One",variants:["regular"]},{family:"Sura",variants:["regular","700"]},{family:"Suranna",variants:["regular"]},{family:"Suravaram",variants:["regular"]},{family:"Suwannaphum",variants:["100","300","regular","700","900"]},{family:"Swanky and Moo Moo",variants:["regular"]},{family:"Syncopate",variants:["regular","700"]},{family:"Syne",variants:["regular","500","600","700","800"]},{family:"Syne Mono",variants:["regular"]},{family:"Syne Tactile",variants:["regular"]},{family:"Tai Heritage Pro",variants:["regular","700"]},{family:"Tajawal",variants:["200","300","regular","500","700","800","900"]},{family:"Tangerine",variants:["regular","700"]},{family:"Tapestry",variants:["regular"]},{family:"Taprom",variants:["regular"]},{family:"Tauri",variants:["regular"]},{family:"Taviraj",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Teko",variants:["300","regular","500","600","700"]},{family:"Telex",variants:["regular"]},{family:"Tenali Ramakrishna",variants:["regular"]},{family:"Tenor Sans",variants:["regular"]},{family:"Text Me One",variants:["regular"]},{family:"Texturina",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Thasadith",variants:["regular","italic","700","700italic"]},{family:"The Girl Next Door",variants:["regular"]},{family:"The Nautigal",variants:["regular","700"]},{family:"Tienne",variants:["regular","700","900"]},{family:"Tillana",variants:["regular","500","600","700","800"]},{family:"Tilt Neon",variants:["regular"]},{family:"Tilt Prism",variants:["regular"]},{family:"Tilt Warp",variants:["regular"]},{family:"Timmana",variants:["regular"]},{family:"Tinos",variants:["regular","italic","700","700italic"]},{family:"Tiro Bangla",variants:["regular","italic"]},{family:"Tiro Devanagari Hindi",variants:["regular","italic"]},{family:"Tiro Devanagari Marathi",variants:["regular","italic"]},{family:"Tiro Devanagari Sanskrit",variants:["regular","italic"]},{family:"Tiro Gurmukhi",variants:["regular","italic"]},{family:"Tiro Kannada",variants:["regular","italic"]},{family:"Tiro Tamil",variants:["regular","italic"]},{family:"Tiro Telugu",variants:["regular","italic"]},{family:"Titan One",variants:["regular"]},{family:"Titillium Web",variants:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"]},{family:"Tomorrow",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Tourney",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Trade Winds",variants:["regular"]},{family:"Train One",variants:["regular"]},{family:"Trirong",variants:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{family:"Trispace",variants:["100","200","300","regular","500","600","700","800"]},{family:"Trocchi",variants:["regular"]},{family:"Trochut",variants:["regular","italic","700"]},{family:"Truculenta",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Trykker",variants:["regular"]},{family:"Tulpen One",variants:["regular"]},{family:"Turret Road",variants:["200","300","regular","500","700","800"]},{family:"Twinkle Star",variants:["regular"]},{family:"Ubuntu",variants:["300","300italic","regular","italic","500","500italic","700","700italic"]},{family:"Ubuntu Condensed",variants:["regular"]},{family:"Ubuntu Mono",variants:["regular","italic","700","700italic"]},{family:"Uchen",variants:["regular"]},{family:"Ultra",variants:["regular"]},{family:"Unbounded",variants:["200","300","regular","500","600","700","800","900"]},{family:"Uncial Antiqua",variants:["regular"]},{family:"Underdog",variants:["regular"]},{family:"Unica One",variants:["regular"]},{family:"UnifrakturCook",variants:["700"]},{family:"UnifrakturMaguntia",variants:["regular"]},{family:"Unkempt",variants:["regular","700"]},{family:"Unlock",variants:["regular"]},{family:"Unna",variants:["regular","italic","700","700italic"]},{family:"Updock",variants:["regular"]},{family:"Urbanist",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"VT323",variants:["regular"]},{family:"Vampiro One",variants:["regular"]},{family:"Varela",variants:["regular"]},{family:"Varela Round",variants:["regular"]},{family:"Varta",variants:["300","regular","500","600","700"]},{family:"Vast Shadow",variants:["regular"]},{family:"Vazirmatn",variants:["100","200","300","regular","500","600","700","800","900"]},{family:"Vesper Libre",variants:["regular","500","700","900"]},{family:"Viaoda Libre",variants:["regular"]},{family:"Vibes",variants:["regular"]},{family:"Vibur",variants:["regular"]},{family:"Vidaloka",variants:["regular"]},{family:"Viga",variants:["regular"]},{family:"Vina Sans",variants:["regular"]},{family:"Voces",variants:["regular"]},{family:"Volkhov",variants:["regular","italic","700","700italic"]},{family:"Vollkorn",variants:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Vollkorn SC",variants:["regular","600","700","900"]},{family:"Voltaire",variants:["regular"]},{family:"Vujahday Script",variants:["regular"]},{family:"Waiting for the Sunrise",variants:["regular"]},{family:"Wallpoet",variants:["regular"]},{family:"Walter Turncoat",variants:["regular"]},{family:"Warnes",variants:["regular"]},{family:"Water Brush",variants:["regular"]},{family:"Waterfall",variants:["regular"]},{family:"Wellfleet",variants:["regular"]},{family:"Wendy One",variants:["regular"]},{family:"Whisper",variants:["regular"]},{family:"WindSong",variants:["regular","500"]},{family:"Wire One",variants:["regular"]},{family:"Work Sans",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Xanh Mono",variants:["regular","italic"]},{family:"Yaldevi",variants:["200","300","regular","500","600","700"]},{family:"Yanone Kaffeesatz",variants:["200","300","regular","500","600","700"]},{family:"Yantramanav",variants:["100","300","regular","500","700","900"]},{family:"Yatra One",variants:["regular"]},{family:"Yellowtail",variants:["regular"]},{family:"Yeon Sung",variants:["regular"]},{family:"Yeseva One",variants:["regular"]},{family:"Yesteryear",variants:["regular"]},{family:"Yomogi",variants:["regular"]},{family:"Yrsa",variants:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"]},{family:"Ysabeau",variants:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"]},{family:"Yuji Boku",variants:["regular"]},{family:"Yuji Mai",variants:["regular"]},{family:"Yuji Syuku",variants:["regular"]},{family:"Yusei Magic",variants:["regular"]},{family:"ZCOOL KuaiLe",variants:["regular"]},{family:"ZCOOL QingKe HuangYou",variants:["regular"]},{family:"ZCOOL XiaoWei",variants:["regular"]},{family:"Zen Antique",variants:["regular"]},{family:"Zen Antique Soft",variants:["regular"]},{family:"Zen Dots",variants:["regular"]},{family:"Zen Kaku Gothic Antique",variants:["300","regular","500","700","900"]},{family:"Zen Kaku Gothic New",variants:["300","regular","500","700","900"]},{family:"Zen Kurenaido",variants:["regular"]},{family:"Zen Loop",variants:["regular","italic"]},{family:"Zen Maru Gothic",variants:["300","regular","500","700","900"]},{family:"Zen Old Mincho",variants:["regular","500","600","700","900"]},{family:"Zen Tokyo Zoo",variants:["regular"]},{family:"Zeyada",variants:["regular"]},{family:"Zhi Mang Xing",variants:["regular"]},{family:"Zilla Slab",variants:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"]},{family:"Zilla Slab Highlight",variants:["regular","700"]}];var l=n,o={name:"GoogleFontSelect",props:{selected:{type:Object,default:()=>({family:"",weight:""})},disabled:{type:Boolean,default:!1}},data(){return{fonts:l,selectedFont:{},selectedVariant:{},use_font:"theme",widget_font:{family:"",weight:""}}},mounted(){""!==this.selected.family&&""!==this.selected.weight?(this.use_font="custom",this.selectedFont={value:this.selected.family,label:this.selected.family},this.selectedVariant={value:this.selected.weight,label:this.selected.weight}):(this.use_font="theme",this.selectedFont={value:"",label:""},this.selectedVariant={value:"",label:""})},computed:{texts(){return{family_label:Object(r.a)("Font family",this.$textDomain),variant_label:Object(r.a)("Font weight",this.$textDomain),family_empty_text:Object(r.a)("Font family",this.$textDomain),variants_empty_text:Object(r.a)("Font weight",this.$textDomain),use_theme:Object(r.a)("Use Theme",this.$textDomain),use_custom_font:Object(r.a)("Use Custom Font",this.$textDomain)}},fontVariantOptions(){if(this.selectedFont.value)for(let t=0;t<this.fonts.length;t++)if(this.fonts[t].family===this.selectedFont.value){const e=[];for(let a=0;a<this.fonts[t].variants.length;a++)-1===this.fonts[t].variants[a].search("italic")&&e.push({value:this.fonts[t].variants[a],label:this.fonts[t].variants[a]});return e}return null},fontOptionsArray(){return this.fonts.map(t=>({value:t.family,label:t.family}))}},watch:{use_font:function(t){"theme"===t&&(this.widget_font={family:"",weight:""},this.selectedFont={value:"",label:""},this.selectedVariant={value:"",label:""},this.$emit("updated-widget-font",this.widget_font))},selectedFont:function(t,e){this.widget_font.family=t.value,""!==this.widget_font.family&&this.$emit("updated-widget-font",this.widget_font)},selectedVariant:function(t){this.widget_font.weight=t.value,""!==this.widget_font.family&&""!==this.widget_font.weight&&this.$emit("updated-widget-font",this.widget_font)}}},c=o,u=a("2877"),d=Object(u.a)(c,i,s,!1,null,null,null);e["default"]=d.exports},ddf4:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("section",{staticClass:"comparison-table"},[e("header",{staticClass:"comparison-table__header"},[e("div",{staticClass:"content"},[t._t("header")],2)]),e("section",{staticClass:"comparison-table__table"},[e("table",[e("thead",[e("tr",t._l(t.columns,(function(a){return e("th",{key:a.key,attrs:{scope:"col"},domProps:{innerHTML:t._s(a.label)}})})),0)]),e("tbody",t._l(t.rows,(function(a,i){return e("tr",{key:i},[t._t("rows",null,{row:a})],2)})),0)])]),e("footer",{staticClass:"comparison-table__footer"},[e("div",{staticClass:"content"},[t._t("footer")],2)])])},s=[],r={name:"ComparisonTable",props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0}}},n=r,l=a("2877"),o=Object(l.a)(n,i,s,!1,null,null,null);e["default"]=o.exports},dfa4:function(t,e,a){"use strict";a.d(e,"b",(function(){return s})),a.d(e,"e",(function(){return r})),a.d(e,"a",(function(){return n})),a.d(e,"d",(function(){return l})),a.d(e,"c",(function(){return o}));var i=a("4279");const s=()=>Object(i.a)({action:"userfeedback_vue_get_license"}),r=t=>Object(i.a)({action:"userfeedback_verify_license",license:t}),n=t=>Object(i.a)({action:"userfeedback_deactivate_license",license:t}),l=t=>Object(i.a)({action:"userfeedback_validate_license",license:t}),o=t=>Object(i.a)({action:"userfeedback_connect_url",key:t})},ebb2:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"userfeedback-notices"},[t.wp_notices.length>0?e("div",t._l(t.wp_notices,(function(a){return e("div",{key:a.id},[e("user-feedback-wp-notice",{class:["notice-"+a.id],attrs:{id:a.id,type:a.type,closable:a.isClosable},on:{closed:t.onWpNoticeClose}},[e("span",{domProps:{innerHTML:t._s(a.content)}})])],1)})),0):t._e()])},s=[],r=a("2f62"),n=function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"slide"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"notice userfeedback-wp-notice",class:t.noticeClass,attrs:{id:"notice-"+t.id}},[t._t("default")],2)])},l=[],o=(a("14d9"),{name:"UserFeedbackWpNotice",props:{id:{type:[String,Number]},icon:{type:String},type:{type:String,default:"info"},closable:{type:Boolean,default:!1},bordered:{type:Boolean,default:!0}},data(){return{isOpen:!1,closeButton:null}},computed:{noticeClass:function(){const t=["notice-"+this.id,"notice-"+this.type];return this.closable&&t.push("is-dismissible"),this.bordered&&t.push("notice-bordered"),this.isOpen&&t.push("notice-open"),t.join(" ")}},mounted(){this.$nextTick(()=>{this.isOpen=!0}),setTimeout(()=>{this.closeButton=document.querySelector(`#notice-${this.id} .notice-dismiss`),this.closeButton&&this.closeButton.addEventListener("click",this.close)},300)},methods:{close(){this.$emit("closed",this.id),this.isOpen=!1,setTimeout(()=>{this.$el.remove()},500)}}}),c=o,u=a("2877"),d=Object(u.a)(c,n,l,!1,null,null,null),m=d.exports,g={name:"UserFeedbackWpNotices",components:{UserFeedbackWpNotice:m},computed:{...Object(r.e)({wp_notices:t=>Object.values(t.notices.wp_notices)})},methods:{onWpNoticeClose(t){const e=this.wp_notices.find(e=>e.id===t);e&&e.hasOwnProperty("onClose")&&"function"===typeof e.onClose&&setTimeout(()=>{e.onClose()},500)}}},p=g,v=Object(u.a)(p,i,s,!1,null,null,null);e.a=v.exports},ed75:function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"b",(function(){return c}));a("14d9");var i=a("9d07"),s=a("6a1d"),r=a("1cce");const n=(t,e,a)=>{const i=e[t+1];if(!i)return null;const{logic:s}=i,{action:l,conditions:o}=s;if(s.enabled){let s=!0;o.forEach(t=>{const{compare:e,question_id:i,value:n}=t,l=a.find(t=>t.question_id===i);s=s&&Object(r.a)(e,l.value,n)});const c="show"===l&&s;return c?i:n(t+1,e,a)}return i},l=t=>{const{addons:e,is_pro:a}=window.userfeedback||window.userfeedback_frontend,{questions:i}=t;let s=!0;for(const r of i){const{type:i}=r;if(["star-rating","nps"].includes(i)&&(!e["question-types"].active||!a)){window.userfeedback_no_show_reasons[t.id]="Question Types addon is missing",s=!1;break}}return s};function o(t,e){const a=[];for(const i of t){const t=i.logic;let s=i.data.id?i.data.id:i.data;"string"===typeof s&&(s=s.replace(/\/+$/,"")),"user_logged_in"===t&&"user_logged_in"===s&&a.push(e.user_logged_in),"user_logged_in"===t&&"user_logged_out"===s&&a.push(!e.user_logged_in),"page_type"===t&&a.push(e.page_type&&s===e.page_type),"page_or_post_is"===t&&a.push(e.post_id&&s===e.post_id),"page_or_post_is_not"===t&&a.push(e.post_id&&s!==e.post_id),"post_type_is"===t&&a.push(e.post_type&&s===e.post_type),"post_type_is_not"===t&&a.push(e.post_type&&s!==e.post_type),"taxonomy_is"===t&&a.push(e.taxonomy&&s===e.taxonomy),"taxonomy_is_not"===t&&a.push(e.taxonomy&&s!==e.taxonomy),"taxonomy_term_is"===t&&a.push(e.taxonomy_term&&s===e.taxonomy_term),"taxonomy_term_is_not"===t&&a.push(e.taxonomy_term&&s!==e.taxonomy_term),"referrer"===t&&a.push(e.referrer&&(e.referrer.search(s)>-1||s.search(e.referrer)>-1)),"page_url_is"===t&&a.push(e.current_url&&e.current_url.search(s)>-1),"page_url_is_not"===t&&a.push(e.current_url&&-1===e.current_url.search(s)),"page_url_contains"===t&&a.push(e.current_url.search(s)>-1),"page_url_not_contains"===t&&a.push(-1===e.current_url.search(s))}return a}const c=(t,e)=>{const a=[],{addons:r}=window.userfeedback||window.userfeedback_frontend;for(const l of t){const{settings:{targeting:t,behavior:c},cookie_name:d}=l,m=Object(i.a)(),g=t.devices;if(!r.targeting.active&&"desktop"!==m){window.userfeedback_no_show_reasons[l.id]="Targeting addon missing";continue}l.shortcode=!1;const p=document.querySelector(".userfeedback-survey-shortcode"),v=!!p&&p.getAttribute("data-survey-id");if(p&&v&&v===l.id&&(l.shortcode=!0),!g.includes(m)){window.userfeedback_no_show_reasons[l.id]=`Current device '${m}' not on Survey devices list.`;continue}const h=t.pages;if(e&&"select"===h&&r.targeting.active){const a=t.page_rules,i=[],s=[];for(let t=0;t<a.length;t++){var n;const e=a[t],r=null!==(n=a[t+1])&&void 0!==n&&n;null===e.operator&&(r&&"||"===r.operator?s.push(e):i.push(e)),"&&"===e.operator&&i.push(e),"||"===e.operator&&s.push(e)}const r=o(i,e),c=o(s,e);let u=!1;0===r.length&&(u=!0),r.length>0&&r.includes(!0)&&!r.includes(!1)&&(u=!0);let d=!1;0===c.length&&(d=!0),c.length>0&&c.includes(!0)&&(d=!0);const m=u&&d;if(!m){window.userfeedback_no_show_reasons[l.id]="Survey does not apply to current page.";continue}}const{display_length:f}=c,y=Object(s.b)(d);if(y)try{const t=JSON.parse(y);if("until_response"===f&&!0===t.submitted||"once"===f&&r.behavior.active||"repeatedly"===f&&!0===t.submitted&&!r.behavior.active){window.userfeedback_no_show_reasons[l.id]="Cookie present";continue}}catch(u){}const{run_time:b}=c;if("expire"===b&&r.behavior.active){const{expire_at:t}=c,e=new Date,a=e.getMonth()+1,i=e.getDate();if(t.month<a||t.month===a&&t.day<i){window.userfeedback_no_show_reasons[l.id]=`Survey expired on ${t.month}/${t.day}`;continue}}a.push(l)}const c=a.length>0?a[0]:null;return c&&l(c)?c:null}},f70d:function(t,e,a){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"field"},[e("label",[t._v(t._s(t.texts.deviceType))]),e("p",{staticClass:"help"},[t._v(t._s(t.texts.deviceTypeHelp))]),e("user-feedback-upgrade-to-pro",{attrs:{show:t.show_upgrade_modal,feature:t.upgrade_modal_feature,campaign:"targeting-pages"},on:{"modal-state":e=>t.show_upgrade_modal=e}}),e("div",{staticClass:"checkbox-group",on:{click:t.openDeviceTypeModal}},[e("user-feedback-checkbox",{attrs:{id:"device_type_desktop",name:"targeting_device_type","input-value":"desktop",disabled:!t.$uf.is_pro||t.$uf.is_pro&&"plus"===t.$uf.license_type},model:{value:t.survey.settings.targeting.devices,callback:function(e){t.$set(t.survey.settings.targeting,"devices",e)},expression:"survey.settings.targeting.devices"}},[e("span",[t._v(t._s(t.texts.desktop))])]),e("user-feedback-checkbox",{attrs:{id:"device_type_tablet",name:"targeting_device_type","input-value":"tablet",disabled:!t.$uf.is_pro||t.$uf.is_pro&&"plus"===t.$uf.license_type},model:{value:t.survey.settings.targeting.devices,callback:function(e){t.$set(t.survey.settings.targeting,"devices",e)},expression:"survey.settings.targeting.devices"}},[e("span",[t._v(t._s(t.texts.tablet))])]),e("user-feedback-checkbox",{attrs:{id:"device_type_mobile",name:"targeting_device_type","input-value":"mobile",disabled:!t.$uf.is_pro||t.$uf.is_pro&&"plus"===t.$uf.license_type},model:{value:t.survey.settings.targeting.devices,callback:function(e){t.$set(t.survey.settings.targeting,"devices",e)},expression:"survey.settings.targeting.devices"}},[e("span",[t._v(t._s(t.texts.mobile))])])],1)],1),e("div",{staticClass:"separator"}),e("div",{staticClass:"field"},[e("label",[t._v(t._s(t.texts.pages))]),e("p",{staticClass:"help"},[t._v(t._s(t.texts.pagesHelp))]),e("div",{staticClass:"radio-list",on:{click:t.openPagesModal}},[e("user-feedback-radio",{attrs:{id:"targeting_pages_all",name:"targeting_pages","input-value":"all",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.targeting.pages,callback:function(e){t.$set(t.survey.settings.targeting,"pages",e)},expression:"survey.settings.targeting.pages"}},[e("span",[t._v(t._s(t.texts.allPages))])]),e("user-feedback-radio",{attrs:{id:"targeting_pages_select",name:"targeting_pages","input-value":"select",disabled:!t.$uf.is_pro},model:{value:t.survey.settings.targeting.pages,callback:function(e){t.$set(t.survey.settings.targeting,"pages",e)},expression:"survey.settings.targeting.pages"}},[e("span",[t._v(t._s(t.texts.advanced))])])],1)]),e("page-logic",{attrs:{"field-id":t.survey.id,disabled:"select"!==t.survey.settings.targeting.pages},model:{value:t.survey.settings.targeting.page_rules,callback:function(e){t.$set(t.survey.settings.targeting,"page_rules",e)},expression:"survey.settings.targeting.page_rules"}})],1)},s=[],r=a("561c"),n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-logic"},[t._l(t.value,(function(a,i){return e("div",{key:i,staticClass:"field inline-fields"},[a.operator&&"&&"===a.operator?e("div",{staticClass:"operator"},[t._v(t._s(t.texts.andText))]):t._e(),a.operator&&"||"===a.operator?e("div",{staticClass:"operator"},[t._v(t._s(t.texts.orText))]):t._e(),e("div",{staticClass:"select"},[e("select",{directives:[{name:"model",rawName:"v-model",value:a.logic,expression:"rule.logic"}],attrs:{name:"page-logic-"+t.fieldId,id:"page-logic-"+t.fieldId,disabled:t.disabled},on:{change:[function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(a,"logic",e.target.multiple?i:i[0])},function(e){return t.clearRuleData(a)}]}},t._l(t.logicOptions,(function(a,i){return e("option",{key:i,domProps:{value:i}},[t._v(t._s(a))])})),0)]),"user_logged_in"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.userLoggedInOptions,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"page_type"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.wpPageType,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"page_or_post_is"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.searchWp,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"page_or_post_is_not"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.searchWp,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"post_type_is"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.postTypeOptions,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"post_type_is_not"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.postTypeOptions,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"taxonomy_is"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.taxonomyOptions,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"taxonomy_is_not"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.taxonomyOptions,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"taxonomy_term_is"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.taxonomyTermOptions,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"taxonomy_term_is_not"===a.logic?e("user-feedback-search-select",{attrs:{disabled:t.disabled,"empty-state-text":t.texts.emptyText,"search-placeholder":t.texts.selectPlaceHolder,"get-items":t.taxonomyTermOptions,"has-error":!t.disabled&&!a.data},model:{value:a.data,callback:function(e){t.$set(a,"data",e)},expression:"rule.data"}}):t._e(),"referrer"===a.logic?e("input",{directives:[{name:"model",rawName:"v-model",value:a.data,expression:"rule.data"}],class:{"has-error":!t.validateUrl(a.data)},attrs:{type:"url",autocomplete:"off",placeholder:t.texts.urlPlaceholder},domProps:{value:a.data},on:{input:function(e){e.target.composing||t.$set(a,"data",e.target.value)}}}):t._e(),"page_url_is"===a.logic?e("input",{directives:[{name:"model",rawName:"v-model",value:a.data,expression:"rule.data"}],class:{"has-error":!t.validateUrl(a.data)},attrs:{type:"url",autocomplete:"off",placeholder:t.texts.urlPlaceholder},domProps:{value:a.data},on:{input:function(e){e.target.composing||t.$set(a,"data",e.target.value)}}}):t._e(),"page_url_is_not"===a.logic?e("input",{directives:[{name:"model",rawName:"v-model",value:a.data,expression:"rule.data"}],class:{"has-error":!t.validateUrl(a.data)},attrs:{type:"url",autocomplete:"off",placeholder:t.texts.urlPlaceholder},domProps:{value:a.data},on:{input:function(e){e.target.composing||t.$set(a,"data",e.target.value)}}}):t._e(),"page_url_contains"===a.logic?e("input",{directives:[{name:"model",rawName:"v-model",value:a.data,expression:"rule.data"}],class:{"has-error":""===a.data},attrs:{type:"text",autocomplete:"off",placeholder:t.texts.stringPlaceholder},domProps:{value:a.data},on:{input:function(e){e.target.composing||t.$set(a,"data",e.target.value)}}}):t._e(),"page_url_not_contains"===a.logic?e("input",{directives:[{name:"model",rawName:"v-model",value:a.data,expression:"rule.data"}],class:{"has-error":""===a.data},attrs:{type:"text",autocomplete:"off",placeholder:t.texts.stringPlaceholder},domProps:{value:a.data},on:{input:function(e){e.target.composing||t.$set(a,"data",e.target.value)}}}):t._e(),e("button",{staticClass:"page-logic__remove",attrs:{disabled:0===i||t.disabled},on:{click:function(e){return t.removeRuleByIndex(i)}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:remove",arg:"remove"}],staticClass:"icon"})])],1)})),e("button",{staticClass:"page-logic__add",attrs:{type:"button",disabled:t.disabled},on:{click:function(e){return t.addRule("&&")}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:plus",arg:"plus"}],staticClass:"icon"}),e("span",[t._v(t._s(t.texts.andAddPageRule))])]),e("button",{staticClass:"page-logic__add",attrs:{type:"button",disabled:t.disabled},on:{click:function(e){return t.addRule("||")}}},[e("span",{directives:[{name:"icon",rawName:"v-icon:plus",arg:"plus"}],staticClass:"icon"}),e("span",[t._v(t._s(t.texts.orAddPageRule))])])],2)},l=[],o=a("f926"),c=a("5464");const u={logic:"page_type",operator:"&&",data:null};var d={name:"PageLogic",props:{value:{type:Array,required:!0,default:()=>[]},fieldId:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{operatorOptions(){return{"&&":Object(r.a)("and",this.$textDomain),"||":Object(r.a)("or",this.$textDomain)}},logicOptions(){return{user_logged_in:Object(r.a)("User is",this.$textDomain),page_type:Object(r.a)("Type of page",this.$textDomain),page_or_post_is:Object(r.a)("Page or Post is",this.$textDomain),page_or_post_is_not:Object(r.a)("Page or Post is not",this.$textDomain),post_type_is:Object(r.a)("Post type is",this.$textDomain),post_type_is_not:Object(r.a)("Post type is not",this.$textDomain),taxonomy_is:Object(r.a)("Taxonomy page is",this.$textDomain),taxonomy_is_not:Object(r.a)("Taxonomy page is not",this.$textDomain),taxonomy_term_is:Object(r.a)("Taxonomy term is",this.$textDomain),taxonomy_term_is_not:Object(r.a)("Taxonomy term is not",this.$textDomain),referrer:Object(r.a)("Referrer is",this.$textDomain),page_url_is:Object(r.a)("Page url is",this.$textDomain),page_url_is_not:Object(r.a)("Page url is not",this.$textDomain),page_url_contains:Object(r.a)("Page url contains",this.$textDomain),page_url_not_contains:Object(r.a)("Page url not contains",this.$textDomain)}},texts(){return{emptyText:Object(r.a)("Please select..",this.$textDomain),selectPlaceHolder:Object(r.a)("Type to search...",this.$textDomain),andAddPageRule:Object(r.a)("And (add another rule)",this.$textDomain),orAddPageRule:Object(r.a)("Or (add another rule)",this.$textDomain),urlPlaceholder:Object(r.a)("https://",this.$textDomain),stringPlaceholder:Object(r.a)("Type a string",this.$textDomain),andText:Object(r.a)("and",this.$textDomain),orText:Object(r.a)("or",this.$textDomain)}}},methods:{addRule(t="&&"){u.operator=t,this.$emit("input",[...this.value,Object.assign({},u)])},removeRuleByIndex(t){const e=this.value;e.splice(t,1)},async searchWp(t){const e=await Object(o.b)({title:null!==t&&void 0!==t?t:""});return e.map(t=>({id:t.id,label:t.title}))},async userLoggedInOptions(t){const e=await Object(o.a)({search:null!==t&&void 0!==t?t:"",logic_type:"user_logged_in"});return e.map(t=>({id:t.id,label:t.label}))},async wpPageType(t){const e=await Object(o.a)({search:null!==t&&void 0!==t?t:"",logic_type:"wp_page_type"});return e.map(t=>({id:t.id,label:t.label}))},async postTypeOptions(t){const e=await Object(o.a)({search:null!==t&&void 0!==t?t:"",logic_type:"post_type"});return e.map(t=>({id:t.id,label:t.label}))},async taxonomyOptions(t){const e=await Object(o.a)({search:null!==t&&void 0!==t?t:"",logic_type:"taxonomy"});return e.map(t=>({id:t.id,label:t.label}))},async taxonomyTermOptions(t){const e=await Object(o.a)({search:null!==t&&void 0!==t?t:"",logic_type:"taxonomy_term"});return e.map(t=>({id:t.id,label:t.label}))},clearRuleData(t){const e=["referrer","page_url_is","page_url_is_not"];e.indexOf(t.logic)>-1?t.data="":t.data=null},validateUrl:c.b},mounted(){0===this.value.length&&this.addRule(null)}},m=d,g=a("2877"),p=Object(g.a)(m,n,l,!1,null,null,null),v=p.exports,h={name:"SurveyTargetingOptions",components:{PageLogic:v},props:{survey:{type:Object,required:!0}},data(){return{show_upgrade_modal:!1,upgrade_modal_feature:""}},computed:{texts(){return{deviceType:Object(r.a)("Device Type",this.$textDomain),deviceTypeHelp:Object(r.a)("Choose on which types of devices the Survey will appear.",this.$textDomain),desktop:Object(r.a)("Desktop",this.$textDomain),tablet:Object(r.a)("Tablet",this.$textDomain),mobile:Object(r.a)("Mobile",this.$textDomain),pages:Object(r.a)("Pages",this.$textDomain),pagesHelp:Object(r.a)("Choose on which pages the Survey will be appear.",this.$textDomain),allPages:Object(r.a)("All Pages",this.$textDomain),advanced:Object(r.a)("Advanced: (survey will display if all specified conditions are met)",this.$textDomain),feature_device_type:Object(r.a)("Custom Device Type",this.$textDomain),feature_pages:Object(r.a)("Conditional Display",this.$textDomain)}}},mounted(){(!this.$uf.is_pro||this.$uf.is_pro&&"plus"===this.$uf.license_type)&&(this.survey.settings.targeting.devices=["desktop"])},methods:{openDeviceTypeModal(){if(this.$uf.is_pro&&"plus"===this.$uf.license_type)return this.show_upgrade_modal=!0,void(this.upgrade_modal_feature=this.texts.feature_device_type);this.$uf.is_pro||(this.show_upgrade_modal=!0,this.upgrade_modal_feature=this.texts.feature_device_type)},openPagesModal(){this.$uf.is_pro||(this.show_upgrade_modal=!0,this.upgrade_modal_feature=this.texts.feature_pages)}}},f=h,y=Object(g.a)(f,i,s,!1,null,null,null);e.a=y.exports},f926:function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"a",(function(){return n}));var i=a("b39f");const s=new i.a("userfeedback/v1/"),r=(t={})=>s.get("search",{params:t}).then(t=>t.data),n=(t={})=>s.get("logic-type",{params:t}).then(t=>t.data)}}]);



(function(e){function t(t){for(var n,i,a=t[0],c=t[1],u=t[2],d=0,l=[];d<a.length;d++)i=a[d],Object.prototype.hasOwnProperty.call(s,i)&&s[i]&&l.push(s[i][0]),s[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);f&&f(t);while(l.length)l.shift()();return o.push.apply(o,u||[]),r()}function r(){for(var e,t=0;t<o.length;t++){for(var r=o[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==s[c]&&(n=!1)}n&&(o.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},s={frontend:0},o=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var u=0;u<a.length;u++)t(a[u]);var f=c;o.push([2,"chunk-vendors","chunk-common"]),r()})({2:function(e,t,r){e.exports=r("d67f")},ceb9:function(e,t,r){},d67f:function(e,t,r){"use strict";r.r(t);var n=r("a026"),s=(r("ceb9"),r("2f62")),o=r("6b96");n.a.use(s.a);const i=()=>new s.a.Store({modules:{widget:o.a}});var a=r("c0cc"),c=r("918d");const u=e=>{"function"===typeof __gtagTracker&&__gtagTracker("event","impression",{event_category:"userfeedback-survey",event_label:e.title,non_interaction:!0,survey_id:e.id})},f=e=>{"function"===typeof __gtagTracker&&__gtagTracker("event","submission",{event_category:"userfeedback-survey",event_label:e.title,non_interaction:!1,survey_id:e.id})},d={subscribeToStore(e){e.subscribe(t=>{const{type:r,payload:n}=t,{isPreview:s}=e.state.widget;if(!s)switch(r){case"widget/setSurvey":n.settings.enable_tracking&&u(n);break}}),e.subscribeAction((t,r)=>{const{type:n}=t,{survey:s}=r.widget,{isPreview:o}=e.state.widget;if(!o)switch(n){case"widget/saveResponse":s.settings.enable_tracking&&f(s);break}})}};var l=d,p=r("d4a7"),b=r("ed75");(()=>{const e="userfeedback_frontend";window.userfeedback_no_show_reasons={};const t=document.createElement("div");document.body.append(t),n.a.use(a.a,{componentPrefix:"UserFeedback",classPrefix:"user-feedback"}),window.userfeedback_addons_frontend&&window.userfeedback_addons_frontend.forEach(e=>{n.a.use(e)});const r=i();n.a.use(c.a,{store:r,wpObjectKey:e});const{monsterinsights:s}=r.state.$uf.integrations;new n.a({store:r,mounted:()=>{if(r.state.$uf.is_preview)return;let e=r.state.$uf.surveys;if("1"===r.state.$uf.is_singular){if(""!==r.state.$uf.disable_all_surveys&&0===parseInt(r.state.$uf.show_specific_survey))return;if(0!==parseInt(r.state.$uf.show_specific_survey)){const t=e.find(e=>e.id===r.state.$uf.show_specific_survey);e=[t]}}const t=r.state.$uf.logic,n=Object(b.b)(e,t);n&&!n.shortcode&&(s&&s.is_active&&l.subscribeToStore(r),r.dispatch("widget/init",n))},render:e=>r.state.$uf.is_preview?e(p.a,{props:{isInline:!0,isPreview:!0,useSurvey:r.state.$uf.use_survey}}):e(p.a)}).$mount(r.state.$uf.is_preview?"#"+r.state.$uf.preview_element_id:t);const o=document.querySelectorAll(".userfeedback-survey-container");o.forEach(e=>{const t=e.dataset.id;if(!t)return;const r=window.userfeedback_frontend.surveys,o=r.find(e=>e.id===t);if(!o)return;const a=i();c.a.registerStoreModule(a,"userfeedback_frontend"),new n.a({store:a,mounted:()=>{const e=Object(b.b)([o]);s&&s.is_active&&l.subscribeToStore(a),a.dispatch("widget/init",e)},render:e=>e(p.a,{props:{isInline:!0}})}).$mount(e)})})()}});



/*! This file is auto-generated */
/*!
 * imagesLoaded PACKAGED v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
/*!
 * imagesLoaded v5.0.0
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));



!function a(n,i,r){function o(t,e){if(!i[t]){if(!n[t]){var l="function"==typeof require&&require;if(!e&&l)return l(t,!0);if(s)return s(t,!0);throw(l=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",l}l=i[t]={exports:{}},n[t][0].call(l.exports,function(e){return o(n[t][1][e]||e)},l,l.exports,a,n,i,r)}return i[t].exports}for(var s="function"==typeof require&&require,e=0;e<r.length;e++)o(r[e]);return o}({1:[function(e,t,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.options=void 0;var a=oceanwpLocalize;l.options=a},{}],2:[function(e,t,l){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(l,"__esModule",{value:!0}),l.fadeOutNav=l.fadeInNav=l.isSelectorValid=l.isElement=l.getSiblings=l.visible=l.offset=l.fadeToggle=l.fadeOut=l.fadeIn=l.slideToggle=l.slideUp=l.slideDown=l.wrap=void 0;var n=a(e("@babel/runtime/helpers/typeof"));l.wrap=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)};function i(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,l=window.getComputedStyle(e).display;"none"===l&&(l="block"),e.style.transitionProperty="height",e.style.transitionDuration="".concat(t,"ms"),e.style.opacity=0,e.style.display=l;var a=e.offsetHeight;e.style.height=0,e.style.opacity=1,e.style.overflow="hidden",setTimeout(function(){e.style.height="".concat(a,"px")},5),window.setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.style.removeProperty("opacity")},t+50)}l.slideDown=i;function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300;e.style.boxSizing="border-box",e.style.transitionProperty="height, margin",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(e.offsetHeight,"px"),e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",setTimeout(function(){e.style.height=0},5),window.setTimeout(function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t+50)}l.slideUp=r;l.slideToggle=function(e,t){("none"===window.getComputedStyle(e).display?i:r)(e,t)};function o(e){var t={duration:300,display:null,opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50)}l.fadeIn=o;function s(e){var t;"none"!==e.style.display&&(t={duration:300,display:null,opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.display="none",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}l.fadeOut=s;l.fadeToggle=function(e,t){("none"===window.getComputedStyle(e).display?o:s)(e,t)};l.offset=function(e){if(!e.getClientRects().length)return{top:0,left:0};var t=e.getBoundingClientRect(),e=e.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset}};l.visible=function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};l.getSiblings=function(e){var t=[];if(!e.parentNode)return t;for(var l=e.parentNode.firstChild;l;)1===l.nodeType&&l!==e&&t.push(l),l=l.nextSibling;return t};l.isElement=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":(0,n.default)(HTMLElement))?e instanceof HTMLElement:e&&"object"===(0,n.default)(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var u,e=(u=document.createDocumentFragment(),function(e){try{u.querySelector(e)}catch(e){return!1}return!0});l.isSelectorValid=e;l.fadeInNav=function(e){var t={duration:300,visibility:"visible",opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5)};l.fadeOutNav=function(e){var t;"hidden"!==e.style.visibility&&(t={duration:300,visibility:"hidden",opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.visibility="hidden",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}},{"@babel/runtime/helpers/interopRequireDefault":15,"@babel/runtime/helpers/typeof":16}],3:[function(e,t,l){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e("@babel/runtime/helpers/defineProperty")),i=a(e("@babel/runtime/helpers/classCallCheck")),r=a(e("@babel/runtime/helpers/classPrivateFieldSet")),o=a(e("@babel/runtime/helpers/classPrivateFieldGet"));function s(t,e){var l,a=Object.keys(t);return Object.getOwnPropertySymbols&&(l=Object.getOwnPropertySymbols(t),e&&(l=l.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,l)),a}function u(t){for(var e=1;e<arguments.length;e++){var l=null!=arguments[e]?arguments[e]:{};e%2?s(Object(l),!0).forEach(function(e){(0,n.default)(t,e,l[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(l)):s(Object(l)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(l,e))})}return t}var c=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,y=new WeakMap,b=new WeakMap,m=new WeakMap,h=new WeakMap;l.default=function e(){var l=this;(0,i.default)(this,e),c.set(this,{writable:!0,value:{mainSection:document.querySelector("#main")}}),d.set(this,{writable:!0,value:null}),f.set(this,{writable:!0,value:function(){(0,r.default)(l,c,u(u({},(0,o.default)(l,c)),{},{WPAdminbar:document.querySelector("#wpadminbar"),siteFooter:document.querySelector("#footer"),calloutFooter:document.querySelector("#footer-callout-wrap"),footerBar:document.querySelector("#footer-bar"),parallax:document.querySelector(".parallax-footer"),html:document.querySelector("html"),body:document.body,wrapSection:document.querySelector("#wrap")}))}}),p.set(this,{writable:!0,value:function(){window.addEventListener("load",(0,o.default)(l,y)),window.addEventListener("resize",(0,o.default)(l,b))}}),y.set(this,{writable:!0,value:function(e){(0,o.default)(l,m).call(l),(0,o.default)(l,h).call(l)}}),b.set(this,{writable:!0,value:function(e){(0,o.default)(l,m).call(l),(0,o.default)(l,h).call(l)}}),m.set(this,{writable:!0,value:function(){var e,t;document.body.classList.contains("has-fixed-footer")&&(e=null!==(t=null===(e=(0,o.default)(l,c).WPAdminbar)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0,t=null!==(t=null===(t=(0,o.default)(l,c).footerBar)||void 0===t?void 0:t.offsetHeight)&&void 0!==t?t:0,(0,o.default)(l,c).html.offsetHeight-e<window.innerHeight?((0,o.default)(l,c).wrapSection.style.cssText="\n                display: flex;\n                flex-direction: column;\n                min-height: calc(100vh - ".concat(e,"px - ").concat(t,"px);\n            "),(0,o.default)(l,c).calloutFooter?(0,o.default)(l,c).calloutFooter.style.marginTop="auto":(0,o.default)(l,c).siteFooter&&((0,o.default)(l,c).siteFooter.style.marginTop="auto"),(0,r.default)(l,d,"changed")):"changed"===(0,o.default)(l,d)&&(((0,o.default)(l,c).wrapSection.style.cssText="",o.default)(l,c).calloutFooter?(0,o.default)(l,c).calloutFooter.style.marginTop=null:(0,o.default)(l,c).siteFooter.style.marginTop=null,(0,r.default)(l,d,null)))}}),h.set(this,{writable:!0,value:function(){(0,o.default)(l,c).body.classList.contains("has-parallax-footer")&&setTimeout(function(){var e,t=0;t+=null===(e=(0,o.default)(l,c).parallax)||void 0===e?void 0:e.offsetHeight,(0,o.default)(l,c).calloutFooter&&((0,o.default)(l,c).calloutFooter.style.bottom="".concat(t,"px"),t+=(0,o.default)(l,c).calloutFooter.offsetHeight),(0,o.default)(l,c).mainSection.style.marginBottom="".concat(t,"px")},10)}}),(0,o.default)(this,c).mainSection&&((0,o.default)(this,f).call(this),(0,o.default)(this,p).call(this))}},{"@babel/runtime/helpers/classCallCheck":10,"@babel/runtime/helpers/classPrivateFieldGet":12,"@babel/runtime/helpers/classPrivateFieldSet":13,"@babel/runtime/helpers/defineProperty":14,"@babel/runtime/helpers/interopRequireDefault":15}],4:[function(e,t,l){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e("@babel/runtime/helpers/classCallCheck")),i=a(e("@babel/runtime/helpers/classPrivateFieldSet")),r=a(e("@babel/runtime/helpers/classPrivateFieldGet")),o=e("../../constants"),s=e("../../lib/utils"),u=new WeakMap,c=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,y=new WeakMap,b=new WeakMap;l.default=function e(){var l=this;(0,n.default)(this,e),u.set(this,{writable:!0,value:void 0}),c.set(this,{writable:!0,value:function(){(0,i.default)(l,u,{menuContents:document.querySelectorAll(".navigation .megamenu-li.auto-mega .megamenu"),menuItems:document.querySelectorAll("#site-navigation .megamenu-li.full-mega"),topbarMenuItems:document.querySelectorAll("#top-bar-nav .megamenu-li.full-mega"),header:document.querySelector("#site-header"),topbar:document.querySelector("#top-bar"),body:document.body})}}),d.set(this,{writable:!0,value:function(){(0,r.default)(l,u).menuContents.forEach(function(e){var t,l=e.parentNode,a=(0,s.offset)(l).left,n=parseInt(window.getComputedStyle(e).width),i=a-n/2<0?(t=a-10,0):(t=n/2,l.offsetWidth/2);o.options.isRTL?(e.style.right="-".concat(t,"px"),e.style.marginRight="".concat(i,"px")):(e.style.left="-".concat(t,"px"),e.style.marginLeft="".concat(i,"px")),window.innerWidth-a-t+i+n<0&&(e.style.left="auto",e.style.right="-".concat(window.innerWidth-a-l.offsetWidth-10,"px"))})}}),f.set(this,{writable:!0,value:function(){(0,r.default)(l,u).menuItems.forEach(function(e){e.addEventListener("mouseenter",(0,r.default)(l,p)),e.addEventListener("keydown",(0,r.default)(l,p))}),(0,r.default)(l,u).topbarMenuItems.forEach(function(e){e.addEventListener("mouseenter",(0,r.default)(l,y)),e.addEventListener("keydown",(0,r.default)(l,y))})}}),p.set(this,{writable:!0,value:function(e){var t=(0,r.default)(l,u).header.classList.contains("medium-header")?document.querySelector("#site-navigation-wrap > .container"):document.querySelector("#site-header-inner");(0,r.default)(l,b).call(l,t,e)}}),y.set(this,{writable:!0,value:function(e){var t=(0,r.default)(l,u).topbar;(0,r.default)(l,b).call(l,t,e)}}),b.set(this,{writable:!0,value:function(e,t){var l=t.currentTarget,t=l.querySelector(".megamenu"),l=parseInt((0,s.offset)(l).left-(0,s.offset)(e).left);t&&(t.style.left="-".concat(l,"px"),t.style.width="".concat(e.offsetWidth,"px"))}}),(0,r.default)(this,c).call(this),(0,r.default)(this,d).call(this),(0,r.default)(this,f).call(this)}},{"../../constants":1,"../../lib/utils":2,"@babel/runtime/helpers/classCallCheck":10,"@babel/runtime/helpers/classPrivateFieldGet":12,"@babel/runtime/helpers/classPrivateFieldSet":13,"@babel/runtime/helpers/interopRequireDefault":15}],5:[function(e,t,l){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e("@babel/runtime/helpers/classCallCheck")),i=a(e("@babel/runtime/helpers/classPrivateFieldSet")),o=a(e("@babel/runtime/helpers/classPrivateFieldGet")),s=e("../../lib/utils"),u=new WeakMap,c=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,y=new WeakMap,b=new WeakMap,m=new WeakMap;l.default=function e(){var r=this;(0,n.default)(this,e),u.set(this,{writable:!0,value:void 0}),c.set(this,{writable:!0,value:function(){document.querySelectorAll("li.nav-no-click > a").forEach(function(e){e.addEventListener("click",(0,o.default)(r,d))}),document.querySelectorAll("ul.sf-menu").forEach(function(e){e.querySelectorAll(".menu-item-has-children").forEach(function(e){e.addEventListener("mouseover",(0,o.default)(r,f)),e.addEventListener("mouseout",(0,o.default)(r,p)),e.addEventListener("keydown",(0,o.default)(r,y))})})}}),d.set(this,{writable:!0,value:function(e){e.preventDefault(),e.stopPropagation()}}),f.set(this,{writable:!0,value:function(e){(0,o.default)(r,u)&&(0,o.default)(r,u).contains(e.relatedTarget)||((0,i.default)(r,u,e.currentTarget),(0,o.default)(r,b).call(r,(0,o.default)(r,u)))}}),p.set(this,{writable:!0,value:function(e){(0,o.default)(r,u)&&!(0,o.default)(r,u).contains(e.relatedTarget)&&((0,o.default)(r,m).call(r,(0,o.default)(r,u)),(0,i.default)(r,u,null))}}),y.set(this,{writable:!0,value:function(e){var t,l,a,n,i;(0,o.default)(r,u)&&(0,o.default)(r,u).contains(e.relatedTarget)||(t=9===e.keyCode,!(l=e.shiftKey)&&t&&(0,o.default)(r,f).call(r,e),(0,o.default)(r,u)&&(a=(i=(0,o.default)(r,u).querySelectorAll("ul.sub-menu a"))[0],n=i[i.length-1],i=document.activeElement,!l&&t&&n===i&&(0,o.default)(r,p).call(r,e),l&&t&&a===i&&(0,o.default)(r,p).call(r,e)))}}),b.set(this,{writable:!0,value:function(e){var t=e.querySelector("ul.sub-menu:not( ul.sub-menu.megamenu ul.sub-menu )");e.classList.add("sfHover"),t&&(0,s.fadeInNav)(t,{callback:function(){}})}}),m.set(this,{writable:!0,value:function(e){var t=e.querySelector("ul.sub-menu:not( ul.sub-menu.megamenu ul.sub-menu )");e.classList.remove("sfHover"),t&&(t.style.pointerEvents="none",(0,s.fadeOutNav)(t,{callback:function(){t.style.pointerEvents=null,e.classList.contains("sfHover")&&(0,o.default)(r,b).call(r,e)}}))}}),(0,o.default)(this,c).call(this)}},{"../../lib/utils":2,"@babel/runtime/helpers/classCallCheck":10,"@babel/runtime/helpers/classPrivateFieldGet":12,"@babel/runtime/helpers/classPrivateFieldSet":13,"@babel/runtime/helpers/interopRequireDefault":15}],6:[function(e,t,l){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e("@babel/runtime/helpers/classCallCheck")),i=a(e("@babel/runtime/helpers/defineProperty")),r=a(e("@babel/runtime/helpers/classPrivateFieldSet")),o=a(e("@babel/runtime/helpers/classPrivateFieldGet")),s=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap,f=new WeakMap;l.default=function e(){var l=this;(0,n.default)(this,e),s.set(this,{writable:!0,value:void 0}),(0,i.default)(this,"mobileOverlayInput",void 0),u.set(this,{writable:!0,value:function(){(0,r.default)(l,s,{forms:document.querySelectorAll("form.header-searchform")})}}),c.set(this,{writable:!0,value:function(){var e;l.mobileOverlayInput=document.querySelector(".mobile-search-overlay-input"),(0,o.default)(l,s).forms.forEach(function(e){var t;null!==(t=e.querySelector("input"))&&void 0!==t&&t.value&&e.classList.add("search-filled")}),null!==(e=l.mobileOverlayInput)&&void 0!==e&&e.value&&l.mobileOverlayInput.closest("form").classList.add("search-filled")}}),d.set(this,{writable:!0,value:function(){var e;(0,o.default)(l,s).forms.forEach(function(e){var t;null!==(t=e.querySelector("input"))&&void 0!==t&&t.addEventListener("keyup",(0,o.default)(l,f)),null!==(e=e.querySelector("input"))&&void 0!==e&&e.addEventListener("blur",(0,o.default)(l,f))}),null!==(e=l.mobileOverlayInput)&&void 0!==e&&e.addEventListener("keyup",(0,o.default)(l,f)),null!==(e=l.mobileOverlayInput)&&void 0!==e&&e.addEventListener("blur",(0,o.default)(l,f))}}),f.set(this,{writable:!0,value:function(e){var t=e.currentTarget,e=t.closest("form");t.value?e.classList.add("search-filled"):e.classList.remove("search-filled")}}),(0,o.default)(this,u).call(this),(0,o.default)(this,c).call(this),(0,o.default)(this,d).call(this)}},{"@babel/runtime/helpers/classCallCheck":10,"@babel/runtime/helpers/classPrivateFieldGet":12,"@babel/runtime/helpers/classPrivateFieldSet":13,"@babel/runtime/helpers/defineProperty":14,"@babel/runtime/helpers/interopRequireDefault":15}],7:[function(e,t,l){"use strict";var a=e("@babel/runtime/helpers/interopRequireDefault"),n=a(e("@babel/runtime/helpers/classCallCheck")),i=a(e("@babel/runtime/helpers/classPrivateFieldGet")),r=a(e("./menu/menu")),o=a(e("./menu/mega-menu")),s=a(e("./search/search")),u=a(e("./footer")),c=new WeakMap,d=new WeakMap,f=new WeakMap,e=function e(){var t=this;(0,n.default)(this,e),c.set(this,{writable:!0,value:function(){t.menu=new r.default,t.megaMenu=new o.default,t.search=new s.default,t.footer=new u.default}}),d.set(this,{writable:!0,value:function(){document.addEventListener("keydown",(0,i.default)(t,f))}}),f.set(this,{writable:!0,value:function(e){13===e.keyCode&&document.querySelector(".skip-link").addEventListener("keydown",function(e){var t=document.getElementById("main");t.tabIndex=-1,t.focus()})}}),(0,i.default)(this,c).call(this),(0,i.default)(this,d).call(this)};window.oceanwp=window.oceanwp||{},oceanwp.theme=new e},{"./footer":3,"./menu/mega-menu":4,"./menu/menu":5,"./search/search":6,"@babel/runtime/helpers/classCallCheck":10,"@babel/runtime/helpers/classPrivateFieldGet":12,"@babel/runtime/helpers/interopRequireDefault":15}],8:[function(e,t,l){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],9:[function(e,t,l){t.exports=function(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],10:[function(e,t,l){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],11:[function(e,t,l){t.exports=function(e,t,l){if(!t.has(e))throw new TypeError("attempted to "+l+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],12:[function(e,t,l){var a=e("./classApplyDescriptorGet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=n(e,t,"get"),a(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":8,"./classExtractFieldDescriptor.js":11}],13:[function(e,t,l){var a=e("./classApplyDescriptorSet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t,l){return t=n(e,t,"set"),a(e,t,l),l},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorSet.js":9,"./classExtractFieldDescriptor.js":11}],14:[function(e,t,l){t.exports=function(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],15:[function(e,t,l){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],16:[function(e,t,l){function a(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=a=function(e){return typeof e}:t.exports=a=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,a(e)}t.exports=a,t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[7]);



!function o(i,r,l){function a(t,e){if(!r[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(s)return s(t,!0);throw(n=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",n}n=r[t]={exports:{}},i[t][0].call(n.exports,function(e){return a(i[t][1][e]||e)},n,n.exports,o,i,r,l)}return r[t].exports}for(var s="function"==typeof require&&require,e=0;e<l.length;e++)a(l[e]);return a}({1:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.options=void 0;var o=oceanwpLocalize;n.options=o},{}],2:[function(e,t,n){"use strict";var o=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.fadeOutNav=n.fadeInNav=n.isSelectorValid=n.isElement=n.getSiblings=n.visible=n.offset=n.fadeToggle=n.fadeOut=n.fadeIn=n.slideToggle=n.slideUp=n.slideDown=n.wrap=void 0;var i=o(e("@babel/runtime/helpers/typeof"));n.wrap=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)};function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,n=window.getComputedStyle(e).display;"none"===n&&(n="block"),e.style.transitionProperty="height",e.style.transitionDuration="".concat(t,"ms"),e.style.opacity=0,e.style.display=n;var o=e.offsetHeight;e.style.height=0,e.style.opacity=1,e.style.overflow="hidden",setTimeout(function(){e.style.height="".concat(o,"px")},5),window.setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.style.removeProperty("opacity")},t+50)}n.slideDown=r;function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300;e.style.boxSizing="border-box",e.style.transitionProperty="height, margin",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(e.offsetHeight,"px"),e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",setTimeout(function(){e.style.height=0},5),window.setTimeout(function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t+50)}n.slideUp=l;n.slideToggle=function(e,t){("none"===window.getComputedStyle(e).display?r:l)(e,t)};function a(e){var t={duration:300,display:null,opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50)}n.fadeIn=a;function s(e){var t;"none"!==e.style.display&&(t={duration:300,display:null,opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.display="none",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}n.fadeOut=s;n.fadeToggle=function(e,t){("none"===window.getComputedStyle(e).display?a:s)(e,t)};n.offset=function(e){if(!e.getClientRects().length)return{top:0,left:0};var t=e.getBoundingClientRect(),e=e.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset}};n.visible=function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};n.getSiblings=function(e){var t=[];if(!e.parentNode)return t;for(var n=e.parentNode.firstChild;n;)1===n.nodeType&&n!==e&&t.push(n),n=n.nextSibling;return t};n.isElement=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":(0,i.default)(HTMLElement))?e instanceof HTMLElement:e&&"object"===(0,i.default)(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var u,e=(u=document.createDocumentFragment(),function(e){try{u.querySelector(e)}catch(e){return!1}return!0});n.isSelectorValid=e;n.fadeInNav=function(e){var t={duration:300,visibility:"visible",opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5)};n.fadeOutNav=function(e){var t;"hidden"!==e.style.visibility&&(t={duration:300,visibility:"hidden",opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.visibility="hidden",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}},{"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":12}],3:[function(e,t,n){"use strict";var o=e("@babel/runtime/helpers/interopRequireDefault"),i=o(e("@babel/runtime/helpers/classCallCheck")),r=o(e("@babel/runtime/helpers/defineProperty")),l=o(e("@babel/runtime/helpers/classPrivateFieldSet")),u=o(e("@babel/runtime/helpers/classPrivateFieldGet")),a=o(e("delegate")),c=e("../../constants"),d=e("../../lib/utils");function s(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){(0,r.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var f=new WeakMap,y=new WeakMap,v=new WeakMap,m=new WeakMap,b=new WeakMap,h=new WeakMap,g=new WeakMap,w=new WeakMap,x=new WeakMap,k=new WeakMap,M=new WeakMap,S=new WeakMap,e=function e(){var s=this;(0,i.default)(this,e),f.set(this,{writable:!0,value:{body:document.body}}),y.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:void 0}),m.set(this,{writable:!0,value:function(){(0,l.default)(s,f,p(p({},(0,u.default)(s,f)),{},{parentMenuItems:document.querySelectorAll("#mobile-dropdown .menu-item-has-children"),navWrapper:document.querySelector("#mobile-dropdown"),hamburgerBtn:document.querySelector(".mobile-menu > .hamburger"),toggleMenuBtn:document.querySelector(".mobile-menu"),nav:document.querySelector("#mobile-dropdown > nav")}))}}),b.set(this,{writable:!0,value:function(){var e,t;(0,l.default)(s,y,!1),null!==(e=(0,u.default)(s,f).parentMenuItems)&&void 0!==e&&e.forEach(function(e){var t=document.createElement("span");t.className="dropdown-toggle",t.setAttribute("tabindex",0),e.getElementsByTagName("a")[0].appendChild(t)}),(0,l.default)(s,v,"link"==c.options.sidrDropdownTarget?null===(t=(0,u.default)(s,f).navWrapper)||void 0===t?void 0:t.querySelectorAll("li.menu-item-has-children > a"):null===(t=(0,u.default)(s,f).navWrapper)||void 0===t?void 0:t.querySelectorAll(".dropdown-toggle"))}}),h.set(this,{writable:!0,value:function(){var e;(0,a.default)(document.body,".mobile-menu","click",(0,u.default)(s,w)),null!==(e=(0,u.default)(s,f).navWrapper)&&void 0!==e&&e.querySelectorAll('li a[href*="#"]:not([href="#"])').forEach(function(e){e.addEventListener("click",(0,u.default)(s,g))}),document.addEventListener("click",s.onMenuCloseClick),null!==(e=(0,u.default)(s,f).navWrapper)&&void 0!==e&&e.addEventListener("click",function(e){e.stopPropagation()}),window.addEventListener("resize",(0,u.default)(s,x)),null!==(e=(0,u.default)(s,f).hamburgerBtn)&&void 0!==e&&e.addEventListener("click",(0,u.default)(s,k)),null!==(e=(0,u.default)(s,v))&&void 0!==e&&e.forEach(function(e){e.addEventListener("click",(0,u.default)(s,M))}),document.addEventListener("keydown",(0,u.default)(s,S))}}),g.set(this,{writable:!0,value:function(e){var t=e.currentTarget.getAttribute("href"),t=t.substring(t.lastIndexOf("#")),n=document.querySelector(t);n&&(e.stopPropagation(),s.onMenuCloseClick(),setTimeout(function(){var e=document.querySelector(".oceanwp-sticky-header-holder .has-sticky-mobile"),t=e?e.offsetHeight:0,e=document.querySelector(".oceanwp-sticky-top-bar-holder"),e=e?e.offsetHeight:0,e=n.getBoundingClientRect().top+window.scrollY-t-e;window.scrollTo({top:e,behavior:"smooth"})},50))}}),w.set(this,{writable:!0,value:function(e){e.preventDefault(),e.stopPropagation(),(0,u.default)(s,f).navWrapper&&(0,d.slideToggle)((0,u.default)(s,f).navWrapper,400),null!==(e=(0,u.default)(s,f).toggleMenuBtn)&&void 0!==e&&e.classList.toggle("opened"),null!==(e=(0,u.default)(s,f).hamburgerBtn)&&void 0!==e&&e.classList.toggle("is-active"),null!==(e=(0,u.default)(s,f).toggleMenuBtn)&&void 0!==e&&e.focus()}}),(0,r.default)(this,"onMenuCloseClick",function(e){var t;(0,u.default)(s,f).navWrapper&&(0,d.slideUp)((0,u.default)(s,f).navWrapper,250),null!==(t=(0,u.default)(s,f).toggleMenuBtn)&&void 0!==t&&t.classList.remove("opened"),null!==(t=(0,u.default)(s,f).hamburgerBtn)&&void 0!==t&&t.classList.remove("is-active")}),x.set(this,{writable:!0,value:function(e){960<=window.innerWidth&&s.onMenuCloseClick()}}),k.set(this,{writable:!0,value:function(e){(0,l.default)(s,y,!(0,u.default)(s,y)),e.currentTarget.setAttribute("aria-expanded",(0,u.default)(s,y))}}),M.set(this,{writable:!0,value:function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget,n=("link"==c.options.sidrDropdownTarget?t:t.parentNode).parentNode,e=n.lastElementChild;null!=n&&n.classList.contains("active")?(n.classList.remove("active"),(0,d.slideUp)(e,250),null!==(t=n.querySelectorAll(".menu-item-has-children.active"))&&void 0!==t&&t.forEach(function(e){e.classList.remove("active"),(0,d.slideUp)(e.querySelector("ul"))})):(n.classList.add("active"),(0,d.slideDown)(e,250))}}),S.set(this,{writable:!0,value:function(e){var t,n,o,i,r,l,a;null!==(a=(0,u.default)(s,f).toggleMenuBtn)&&void 0!==a&&a.classList.contains("opened")&&(t=9===e.keyCode,n=e.shiftKey,o=27===e.keyCode,i=13===e.keyCode,r=(0,u.default)(s,f).toggleMenuBtn,l=(a=null===(l=(0,u.default)(s,f).nav)||void 0===l?void 0:l.querySelectorAll("a, span.dropdown-toggle, input, button"))[0],a=a[a.length-1],r&&(r.style.outline=""),o&&(e.preventDefault(),s.onMenuCloseClick()),i&&document.activeElement.classList.contains("dropdown-toggle")&&(e.preventDefault(),document.activeElement.click()),!n&&t&&a===document.activeElement&&(e.preventDefault(),r.style.outline="1px dashed rgba(255, 255, 255, 0.6)",r.focus()),n&&t&&l===document.activeElement&&(e.preventDefault(),r.style.outline="1px dashed rgba(255, 255, 255, 0.6)",r.focus()),t&&l===a&&e.preventDefault())}}),(0,u.default)(this,f).body.classList.contains("dropdown-mobile")&&((0,u.default)(this,m).call(this),(0,u.default)(this,b).call(this),(0,u.default)(this,h).call(this))};window.oceanwp=window.oceanwp||{},oceanwp.dropDownMobileMenu=new e},{"../../constants":1,"../../lib/utils":2,"@babel/runtime/helpers/classCallCheck":6,"@babel/runtime/helpers/classPrivateFieldGet":8,"@babel/runtime/helpers/classPrivateFieldSet":9,"@babel/runtime/helpers/defineProperty":10,"@babel/runtime/helpers/interopRequireDefault":11,delegate:14}],4:[function(e,t,n){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],5:[function(e,t,n){t.exports=function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],6:[function(e,t,n){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],7:[function(e,t,n){t.exports=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],8:[function(e,t,n){var o=e("./classApplyDescriptorGet.js"),i=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=i(e,t,"get"),o(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":4,"./classExtractFieldDescriptor.js":7}],9:[function(e,t,n){var o=e("./classApplyDescriptorSet.js"),i=e("./classExtractFieldDescriptor.js");t.exports=function(e,t,n){return t=i(e,t,"set"),o(e,t,n),n},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorSet.js":5,"./classExtractFieldDescriptor.js":7}],10:[function(e,t,n){t.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],11:[function(e,t,n){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],12:[function(e,t,n){function o(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=o=function(e){return typeof e}:t.exports=o=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,o(e)}t.exports=o,t.exports.default=t.exports,t.exports.__esModule=!0},{}],13:[function(e,t,n){var o;"undefined"==typeof Element||Element.prototype.matches||((o=Element.prototype).matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector),t.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},{}],14:[function(e,t,n){var l=e("./closest");function r(e,t,n,o,i){var r=function(t,n,e,o){return function(e){e.delegateTarget=l(e.target,n),e.delegateTarget&&o.call(t,e)}}.apply(this,arguments);return e.addEventListener(n,r,i),{destroy:function(){e.removeEventListener(n,r,i)}}}t.exports=function(e,t,n,o,i){return"function"==typeof e.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return r(e,t,n,o,i)}))}},{"./closest":13}]},{},[3]);



/*! Magnific Popup - v1.2.0 - 2024-06-08
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2024 Dmitry Semenov; */
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(c){function e(){}function d(e,t){m.ev.on(x+e+I,t)}function p(e,t,n,o){var i=document.createElement("div");return i.className="mfp-"+e,n&&(i.innerHTML=n),o?t&&t.appendChild(i):(i=c(i),t&&i.appendTo(t)),i}function u(e,t){m.ev.triggerHandler(x+e,t),m.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),m.st.callbacks[e])&&m.st.callbacks[e].apply(m,Array.isArray(t)?t:[t])}function f(e){return e===A&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=c(m.st.closeMarkup.replace("%title%",m.st.tClose)),A=e),m.currTemplate.closeBtn}function r(){c.magnificPopup.instance||((m=new e).init(),c.magnificPopup.instance=m)}function a(){y&&(v.after(y.addClass(l)).detach(),y=null)}function i(){n&&c(document.body).removeClass(n)}function t(){i(),m.req&&m.req.abort()}var m,o,g,s,h,A,l,v,y,n,w="Close",F="BeforeClose",C="MarkupParse",b="Open",j="Change",x="mfp",I="."+x,T="mfp-ready",N="mfp-removing",k="mfp-prevent-close",P=!!window.jQuery,_=c(window),S=(c.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;m.isLowIE=m.isIE8=document.all&&!document.addEventListener,m.isAndroid=/android/gi.test(e),m.isIOS=/iphone|ipad|ipod/gi.test(e),m.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),m.popupsCache={}},open:function(e){if(!1===e.isObj){m.items=e.items.toArray(),m.index=0;for(var t,n=e.items,o=0;o<n.length;o++)if((t=(t=n[o]).parsed?t.el[0]:t)===e.el[0]){m.index=o;break}}else m.items=Array.isArray(e.items)?e.items:[e.items],m.index=e.index||0;if(!m.isOpen){m.types=[],h="",e.mainEl&&e.mainEl.length?m.ev=e.mainEl.eq(0):m.ev=g,e.key?(m.popupsCache[e.key]||(m.popupsCache[e.key]={}),m.currTemplate=m.popupsCache[e.key]):m.currTemplate={},m.st=c.extend(!0,{},c.magnificPopup.defaults,e),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=p("bg").on("click"+I,function(){m.close()}),m.wrap=p("wrap").attr("tabindex",-1).on("click"+I,function(e){m._checkIfClose(e.target)&&m.close()}),m.container=p("container",m.wrap)),m.contentContainer=p("content"),m.st.preloader&&(m.preloader=p("preloader",m.container,m.st.tLoading));var i=c.magnificPopup.modules;for(o=0;o<i.length;o++){var r=(r=i[o]).charAt(0).toUpperCase()+r.slice(1);m["init"+r].call(m)}u("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(d(C,function(e,t,n,o){n.close_replaceWith=f(o.type)}),h+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(h+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:_.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+I,function(e){27===e.keyCode&&m.close()}),_.on("resize"+I,function(){m.updateSize()}),m.st.closeOnContentClick||(h+=" mfp-auto-cursor"),h&&m.wrap.addClass(h);var a=m.wH=_.height(),s={},l=(m.fixedContentPos&&m._hasScrollBar(a)&&(l=m._getScrollbarSize())&&(s.marginRight=l),m.fixedContentPos&&(m.isIE7?c("body, html").css("overflow","hidden"):s.overflow="hidden"),m.st.mainClass);return m.isIE7&&(l+=" mfp-ie7"),l&&m._addClassToMFP(l),m.updateItemHTML(),u("BuildControls"),c("html").css(s),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||c(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(T),m._setFocus()):m.bgOverlay.addClass(T),g.on("focusin"+I,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(a),u(b),e}m.updateItemHTML()},close:function(){m.isOpen&&(u(F),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(N),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){u(w);var e=N+" "+T+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(e={marginRight:""},m.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),g.off("keyup.mfp focusin"+I),m.ev.off(I),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m.st.autoFocusLast&&m._lastFocusedEl&&c(m._lastFocusedEl).trigger("focus"),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,u("AfterClose")},updateSize:function(e){var t;m.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,m.wrap.css("height",t),m.wH=t):m.wH=e||_.height(),m.fixedContentPos||m.wrap.css("height",m.wH),u("Resize")},updateItemHTML:function(){var e=m.items[m.index],t=(m.contentContainer.detach(),m.content&&m.content.detach(),(e=e.parsed?e:m.parseEl(m.index)).type),n=(u("BeforeChange",[m.currItem?m.currItem.type:"",t]),m.currItem=e,m.currTemplate[t]||(n=!!m.st[t]&&m.st[t].markup,u("FirstMarkupParse",n),m.currTemplate[t]=!n||c(n)),s&&s!==e.type&&m.container.removeClass("mfp-"+s+"-holder"),m["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,m.currTemplate[t]));m.appendContent(n,t),e.preloaded=!0,u(j,e),s=e.type,m.container.prepend(m.contentContainer),u("AfterChange")},appendContent:function(e,t){(m.content=e)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[t]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=e:m.content="",u("BeforeAppend"),m.container.addClass("mfp-"+t+"-holder"),m.contentContainer.append(m.content)},parseEl:function(e){var t,n=m.items[e];if((n=n.tagName?{el:c(n)}:(t=n.type,{data:n,src:n.src})).el){for(var o=m.types,i=0;i<o.length;i++)if(n.el.hasClass("mfp-"+o[i])){t=o[i];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||m.st.type||"inline",n.index=e,n.parsed=!0,m.items[e]=n,u("ElementParse",n),m.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,m._openClick(e,t,n)}var o="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(o).on(o,e)):(n.isObj=!1,n.delegate?t.off(o).on(o,n.delegate,e):(n.items=t).off(o).on(o,e))},_openClick:function(e,t,n){var o=(void 0!==n.midClick?n:c.magnificPopup.defaults).midClick;if(o||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){o=(void 0!==n.disableOn?n:c.magnificPopup.defaults).disableOn;if(o)if("function"==typeof o){if(!o.call(m))return!0}else if(_.width()<o)return!0;e.type&&(e.preventDefault(),m.isOpen)&&e.stopPropagation(),n.el=c(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),m.open(n)}},updateStatus:function(e,t){var n;m.preloader&&(o!==e&&m.container.removeClass("mfp-s-"+o),n={status:e,text:t=t||"loading"!==e?t:m.st.tLoading},u("UpdateStatus",n),e=n.status,t=n.text,m.st.allowHTMLInStatusIndicator?m.preloader.html(t):m.preloader.text(t),m.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+e),o=e)},_checkIfClose:function(e){if(!c(e).closest("."+k).length){var t=m.st.closeOnContentClick,n=m.st.closeOnBgClick;if(t&&n)return!0;if(!m.content||c(e).closest(".mfp-close").length||m.preloader&&e===m.preloader[0])return!0;if(e===m.content[0]||c.contains(m.content[0],e)){if(t)return!0}else if(n&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){m.bgOverlay.addClass(e),m.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),m.wrap.removeClass(e)},_hasScrollBar:function(e){return(m.isIE7?g.height():document.body.scrollHeight)>(e||_.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).trigger("focus")},_onFocusIn:function(e){if(e.target!==m.wrap[0]&&!c.contains(m.wrap[0],e.target))return m._setFocus(),!1},_parseMarkup:function(i,e,t){var r;t.data&&(e=c.extend(t.data,e)),u(C,[i,e,t]),c.each(e,function(e,t){if(void 0===t||!1===t)return!0;var n,o;1<(r=e.split("_")).length?0<(n=i.find(I+"-"+r[0])).length&&("replaceWith"===(o=r[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===o?n.is("img")?n.attr("src",t):n.replaceWith(c("<img>").attr("src",t).attr("class",n.attr("class"))):n.attr(r[1],t)):m.st.allowHTMLInTemplate?i.find(I+"-"+e).html(t):i.find(I+"-"+e).text(t)})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},modules:[],open:function(e,t){return r(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,allowHTMLInStatusIndicator:!1,allowHTMLInTemplate:!1}},c.fn.magnificPopup=function(e){r();var t,n,o,i=c(this);return"string"==typeof e?"open"===e?(t=P?i.data("magnificPopup"):i[0].magnificPopup,n=parseInt(arguments[1],10)||0,o=t.items?t.items[n]:(o=i,(o=t.delegate?o.find(t.delegate):o).eq(n)),m._openClick({mfpEl:o},i,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),P?i.data("magnificPopup",e):i[0].magnificPopup=e,m.addGroup(i,e)),i},"inline"),E=(c.magnificPopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(S),d(w+"."+S,function(){a()})},getInline:function(e,t){var n,o,i;return a(),e.src?(n=m.st.inline,(o=c(e.src)).length?((i=o[0].parentNode)&&i.tagName&&(v||(l=n.hiddenClass,v=p(l),l="mfp-"+l),y=o.after(v).detach().removeClass(l)),m.updateStatus("ready")):(m.updateStatus("error",n.tNotFound),o=c("<div>")),e.inlineElement=o):(m.updateStatus("ready"),m._parseMarkup(t,{},e),t)}}}),"ajax");c.magnificPopup.registerModule(E,{options:{settings:null,cursor:"mfp-ajax-cur",tError:"The content could not be loaded."},proto:{initAjax:function(){m.types.push(E),n=m.st.ajax.cursor,d(w+"."+E,t),d("BeforeChange."+E,t)},getAjax:function(o){n&&c(document.body).addClass(n),m.updateStatus("loading");var e=c.extend({url:o.src,success:function(e,t,n){e={data:e,xhr:n};u("ParseAjax",e),m.appendContent(c(e.data),E),o.finished=!0,i(),m._setFocus(),setTimeout(function(){m.wrap.addClass(T)},16),m.updateStatus("ready"),u("AjaxContentAdded")},error:function(){i(),o.finished=o.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",o.src))}},m.st.ajax.settings);return m.req=c.ajax(e),""}}});var z;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:"The image could not be loaded."},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),d(b+t,function(){"image"===m.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),d(w+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),_.off("resize"+I)}),d("Resize"+t,m.resizeImage),m.isLowIE&&d("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,z&&clearInterval(z),e.isCheckingImgSize=!1,u("ImageHasSize",e),e.imgHidden)&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function n(e){z&&clearInterval(z),z=setInterval(function(){0<i.naturalWidth?m._onImageHasSize(t):(200<o&&clearInterval(z),3===++o?n(10):40===o?n(50):100===o&&n(500))},e)}var o=0,i=t.img[0];n(1)},getImage:function(e,t){function n(){e&&(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}function o(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,u("ImageLoadComplete")):++r<200?setTimeout(o,100):n())}var i,r=0,a=m.st.image,s=t.find(".mfp-img");return s.length&&((i=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(i.alt=e.el.find("img").attr("alt")),e.img=c(i).on("load.mfploader",o).on("error.mfploader",n),i.src=e.src,s.is("img")&&(e.img=e.img.clone()),0<(i=e.img[0]).naturalWidth?e.hasSize=!0:i.width||(e.hasSize=!1)),m._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=m.st.image.titleSrc;if(t){if("function"==typeof t)return t.call(m,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),m.resizeImage(),e.hasSize?(z&&clearInterval(z),e.loadError?(t.addClass("mfp-loading"),m.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),m.updateStatus("ready"))):(m.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),m.findImageSize(e))),t}}});function O(e){var t;m.currTemplate[L]&&(t=m.currTemplate[L].find("iframe")).length&&(e||(t[0].src="//about:blank"),m.isIE8)&&t.css("display",e?"block":"none")}function M(e){var t=m.items.length;return t-1<e?e-t:e<0?t+e:e}function D(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,o,i,r,a=m.st.zoom,s=".zoom";a.enabled&&m.supportsTransition&&(t=a.duration,n=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+a.duration/1e3+"s "+a.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return n["-webkit-"+o]=n["-moz-"+o]=n["-o-"+o]=n[o]=t,e.css(n),e},o=function(){m.content.css("visibility","visible")},d("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(i),m.content.css("visibility","hidden"),(e=m._getItemToZoom())?((r=n(e)).css(m._getOffset()),m.wrap.append(r),i=setTimeout(function(){r.css(m._getOffset(!0)),i=setTimeout(function(){o(),setTimeout(function(){r.remove(),e=r=null,u("ZoomAnimationEnded")},16)},t)},16)):o())}),d(F+s,function(){if(m._allowZoom()){if(clearTimeout(i),m.st.removalDelay=t,!e){if(!(e=m._getItemToZoom()))return;r=n(e)}r.css(m._getOffset(!0)),m.wrap.append(r),m.content.css("visibility","hidden"),setTimeout(function(){r.css(m._getOffset())},16)}}),d(w+s,function(){m._allowZoom()&&(o(),r&&r.remove(),e=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(e){var e=e?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),t=e.offset(),n=parseInt(e.css("padding-top"),10),o=parseInt(e.css("padding-bottom"),10),e=(t.top-=c(window).scrollTop()-n,{width:e.width(),height:(P?e.innerHeight():e[0].offsetHeight)-o-n});return(B=void 0===B?void 0!==document.createElement("p").style.MozTransform:B)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var B,L="iframe",H=(c.magnificPopup.registerModule(L,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(L),d("BeforeChange",function(e,t,n){t!==n&&(t===L?O():n===L&&O(!0))}),d(w+"."+L,function(){O()})},getIframe:function(e,t){var n=e.src,o=m.st.iframe,i=(c.each(o.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1}),{});return o.srcAction&&(i[o.srcAction]=n),m._parseMarkup(t,i,e),m.updateStatus("ready"),t}}}),c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%",langDir:null,loop:!0},proto:{initGallery:function(){var r=m.st.gallery,e=".mfp-gallery";if(m.direction=!0,!r||!r.enabled)return!1;r.langDir||(r.langDir=document.dir||"ltr"),h+=" mfp-gallery",d(b+e,function(){r.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.on("keydown"+e,function(e){37===e.keyCode?"rtl"===r.langDir?m.next():m.prev():39===e.keyCode&&("rtl"===r.langDir?m.prev():m.next())}),m.updateGalleryButtons()}),d("UpdateStatus"+e,function(){m.updateGalleryButtons()}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=D(t.text,m.currItem.index,m.items.length))}),d(C+e,function(e,t,n,o){var i=m.items.length;n.counter=1<i?D(r.tCounter,o.index,i):""}),d("BuildControls"+e,function(){var e,t,n,o,i;1<m.items.length&&r.arrows&&!m.arrowLeft&&(t="rtl"===r.langDir?(o=r.tNext,e=r.tPrev,i="next","prev"):(o=r.tPrev,e=r.tNext,i="prev","next"),n=r.arrowMarkup,o=m.arrowLeft=c(n.replace(/%title%/gi,o).replace(/%action%/gi,i).replace(/%dir%/gi,"left")).addClass(k),i=m.arrowRight=c(n.replace(/%title%/gi,e).replace(/%action%/gi,t).replace(/%dir%/gi,"right")).addClass(k),"rtl"===r.langDir?(m.arrowNext=o,m.arrowPrev=i):(m.arrowNext=i,m.arrowPrev=o),o.on("click",function(){"rtl"===r.langDir?m.next():m.prev()}),i.on("click",function(){"rtl"===r.langDir?m.prev():m.next()}),m.container.append(o.add(i)))}),d(j+e,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),d(w+e,function(){g.off(e),m.wrap.off("click"+e),m.arrowRight=m.arrowLeft=null})},next:function(){var e=M(m.index+1);if(!m.st.gallery.loop&&0===e)return!1;m.direction=!0,m.index=e,m.updateItemHTML()},prev:function(){var e=m.index-1;if(!m.st.gallery.loop&&e<0)return!1;m.direction=!1,m.index=M(e),m.updateItemHTML()},goTo:function(e){m.direction=e>=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),o=1;o<=(m.direction?n:t);o++)m._preloadItem(m.index+o);for(o=1;o<=(m.direction?t:n);o++)m._preloadItem(m.index-o)},_preloadItem:function(e){var t;e=M(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),u("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,u("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)},updateGalleryButtons:function(){m.st.gallery.loop||"object"!=typeof m.arrowPrev||null===m.arrowPrev||(0===m.index?m.arrowPrev.hide():m.arrowPrev.show(),m.index===m.items.length-1?m.arrowNext.hide():m.arrowNext.show())}}}),"retina");c.magnificPopup.registerModule(H,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,o;1<window.devicePixelRatio&&(n=m.st.retina,o=n.ratio,1<(o=isNaN(o)?o():o))&&(d("ImageHasSize."+H,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/o,width:"100%"})}),d("ElementParse."+H,function(e,t){t.src=n.replaceSrc(t,o)}))}}}),r()});



!function o(i,r,l){function a(t,e){if(!r[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(s)return s(t,!0);throw(n=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",n}n=r[t]={exports:{}},i[t][0].call(n.exports,function(e){return a(i[t][1][e]||e)},n,n.exports,o,i,r,l)}return r[t].exports}for(var s="function"==typeof require&&require,e=0;e<l.length;e++)a(l[e]);return a}({1:[function(e,t,n){"use strict";var o=e("@babel/runtime/helpers/interopRequireDefault"),i=o(e("@babel/runtime/helpers/classCallCheck")),r=o(e("@babel/runtime/helpers/defineProperty")),l=o(e("@babel/runtime/helpers/classPrivateFieldGet")),a=new WeakMap,s=new WeakMap,e=function e(){var o=this;(0,i.default)(this,e),(0,r.default)(this,"start",function(){document.body.classList.contains("no-lightbox")||((0,l.default)(o,a).call(o),o.initSingleImageLightbox(),o.initGalleryLightbox())}),(0,r.default)(this,"initSingleImageLightbox",function(){var e;null!==(e=document.querySelectorAll(".oceanwp-lightbox"))&&void 0!==e&&e.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()})}),jQuery(".oceanwp-lightbox").magnificPopup({type:"image",mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(e){return e.is("img")?e:e.find("img")}}})}),(0,r.default)(this,"initGalleryLightbox",function(){jQuery(".wp-block-gallery, .gallery-format, .gallery").magnificPopup({delegate:".gallery-lightbox:not(.slick-cloned)",type:"image",mainClass:"mfp-fade",gallery:{enabled:!0}})}),a.set(this,{writable:!0,value:function(){var e;null!==(e=document.querySelectorAll("body .entry-content a, body .entry a, body article .gallery-format a"))&&void 0!==e&&e.forEach(function(t){var e,n;t.querySelector("img")&&(e=(0,l.default)(o,s).call(o),n=0,e.forEach(function(e){n+=String(t.getAttribute("href")).indexOf("."+e)}),-13===n&&t.classList.add("no-lightbox"),t.classList.contains("no-lightbox")||t.classList.contains("gallery-lightbox")||t.parentNode.classList.contains("gallery-icon")||t.classList.contains("woo-lightbox")||t.classList.contains("woo-thumbnail")||t.parentNode.classList.contains("woocommerce-product-gallery__image")||t.closest(".wp-block-gallery")||t.getAttribute("data-elementor-open-lightbox")||t.classList.contains("yith_magnifier_thumbnail")||t.classList.contains("gg-link")||t.classList.add("oceanwp-lightbox"),t.classList.contains("no-lightbox")||(t.parentNode.classList.contains("gallery-icon")||t.closest(".wp-block-gallery"))&&t.classList.add("gallery-lightbox"))})}}),s.set(this,{writable:!0,value:function(){return["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","svg","mp4","ogg","webm"]}}),this.start()};window.oceanwp=window.oceanwp||{},oceanwp.owLightbox=new e},{"@babel/runtime/helpers/classCallCheck":3,"@babel/runtime/helpers/classPrivateFieldGet":5,"@babel/runtime/helpers/defineProperty":6,"@babel/runtime/helpers/interopRequireDefault":7}],2:[function(e,t,n){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],3:[function(e,t,n){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],4:[function(e,t,n){t.exports=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],5:[function(e,t,n){var o=e("./classApplyDescriptorGet.js"),i=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=i(e,t,"get"),o(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":2,"./classExtractFieldDescriptor.js":4}],6:[function(e,t,n){t.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],7:[function(e,t,n){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[1]);



/*!
 * Flickity PACKAGED v2.2.2
 * Touch, responsive, flickable carousels
 *
 * Licensed GPLv3 for open source use
 * or Flickity Commercial License for commercial use
 *
 * https://flickity.metafizzy.co
 * Copyright 2015-2021 Metafizzy
 */
(function(e,i){if(typeof define=="function"&&define.amd){define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)})}else if(typeof module=="object"&&module.exports){module.exports=i(e,require("jquery"))}else{e.jQueryBridget=i(e,e.jQuery)}})(window,function t(e,r){"use strict";var o=Array.prototype.slice;var i=e.console;var u=typeof i=="undefined"?function(){}:function(t){i.error(t)};function n(h,s,c){c=c||r||e.jQuery;if(!c){return}if(!s.prototype.option){s.prototype.option=function(t){if(!c.isPlainObject(t)){return}this.options=c.extend(true,this.options,t)}}c.fn[h]=function(t){if(typeof t=="string"){var e=o.call(arguments,1);return i(this,t,e)}n(this,t);return this};function i(t,r,o){var a;var l="$()."+h+'("'+r+'")';t.each(function(t,e){var i=c.data(e,h);if(!i){u(h+" not initialized. Cannot call methods, i.e. "+l);return}var n=i[r];if(!n||r.charAt(0)=="_"){u(l+" is not a valid method");return}var s=n.apply(i,o);a=a===undefined?s:a});return a!==undefined?a:t}function n(t,n){t.each(function(t,e){var i=c.data(e,h);if(i){i.option(n);i._init()}else{i=new s(e,n);c.data(e,h,i)}})}a(c)}function a(t){if(!t||t&&t.bridget){return}t.bridget=n}a(r||e.jQuery);return n});(function(t,e){if(typeof define=="function"&&define.amd){define("ev-emitter/ev-emitter",e)}else if(typeof module=="object"&&module.exports){module.exports=e()}else{t.EvEmitter=e()}})(typeof window!="undefined"?window:this,function(){function t(){}var e=t.prototype;e.on=function(t,e){if(!t||!e){return}var i=this._events=this._events||{};var n=i[t]=i[t]||[];if(n.indexOf(e)==-1){n.push(e)}return this};e.once=function(t,e){if(!t||!e){return}this.on(t,e);var i=this._onceEvents=this._onceEvents||{};var n=i[t]=i[t]||{};n[e]=true;return this};e.off=function(t,e){var i=this._events&&this._events[t];if(!i||!i.length){return}var n=i.indexOf(e);if(n!=-1){i.splice(n,1)}return this};e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(!i||!i.length){return}i=i.slice(0);e=e||[];var n=this._onceEvents&&this._onceEvents[t];for(var s=0;s<i.length;s++){var r=i[s];var o=n&&n[r];if(o){this.off(t,r);delete n[r]}r.apply(this,e)}return this};e.allOff=function(){delete this._events;delete this._onceEvents};return t});
/*!
 * getSize v2.0.3
 * measure size of elements
 * MIT license
 */
(function(t,e){if(typeof define=="function"&&define.amd){define("get-size/get-size",e)}else if(typeof module=="object"&&module.exports){module.exports=e()}else{t.getSize=e()}})(window,function t(){"use strict";function m(t){var e=parseFloat(t);var i=t.indexOf("%")==-1&&!isNaN(e);return i&&e}function e(){}var i=typeof console=="undefined"?e:function(t){console.error(t)};var y=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];var b=y.length;function E(){var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};for(var e=0;e<b;e++){var i=y[e];t[i]=0}return t}function S(t){var e=getComputedStyle(t);if(!e){i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? "+"See https://bit.ly/getsizebug1")}return e}var n=false;var C;function x(){if(n){return}n=true;var t=document.createElement("div");t.style.width="200px";t.style.padding="1px 2px 3px 4px";t.style.borderStyle="solid";t.style.borderWidth="1px 2px 3px 4px";t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var i=S(t);C=Math.round(m(i.width))==200;s.isBoxSizeOuter=C;e.removeChild(t)}function s(t){x();if(typeof t=="string"){t=document.querySelector(t)}if(!t||typeof t!="object"||!t.nodeType){return}var e=S(t);if(e.display=="none"){return E()}var i={};i.width=t.offsetWidth;i.height=t.offsetHeight;var n=i.isBorderBox=e.boxSizing=="border-box";for(var s=0;s<b;s++){var r=y[s];var o=e[r];var a=parseFloat(o);i[r]=!isNaN(a)?a:0}var l=i.paddingLeft+i.paddingRight;var h=i.paddingTop+i.paddingBottom;var c=i.marginLeft+i.marginRight;var u=i.marginTop+i.marginBottom;var d=i.borderLeftWidth+i.borderRightWidth;var f=i.borderTopWidth+i.borderBottomWidth;var p=n&&C;var v=m(e.width);if(v!==false){i.width=v+(p?0:l+d)}var g=m(e.height);if(g!==false){i.height=g+(p?0:h+f)}i.innerWidth=i.width-(l+d);i.innerHeight=i.height-(h+f);i.outerWidth=i.width+c;i.outerHeight=i.height+u;return i}return s});(function(t,e){"use strict";if(typeof define=="function"&&define.amd){define("desandro-matches-selector/matches-selector",e)}else if(typeof module=="object"&&module.exports){module.exports=e()}else{t.matchesSelector=e()}})(window,function t(){"use strict";var n=function(){var t=window.Element.prototype;if(t.matches){return"matches"}if(t.matchesSelector){return"matchesSelector"}var e=["webkit","moz","ms","o"];for(var i=0;i<e.length;i++){var n=e[i];var s=n+"MatchesSelector";if(t[s]){return s}}}();return function t(e,i){return e[n](i)}});(function(e,i){if(typeof define=="function"&&define.amd){define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return i(e,t)})}else if(typeof module=="object"&&module.exports){module.exports=i(e,require("desandro-matches-selector"))}else{e.fizzyUIUtils=i(e,e.matchesSelector)}})(window,function t(h,r){var c={};c.extend=function(t,e){for(var i in e){t[i]=e[i]}return t};c.modulo=function(t,e){return(t%e+e)%e};var i=Array.prototype.slice;c.makeArray=function(t){if(Array.isArray(t)){return t}if(t===null||t===undefined){return[]}var e=typeof t=="object"&&typeof t.length=="number";if(e){return i.call(t)}return[t]};c.removeFrom=function(t,e){var i=t.indexOf(e);if(i!=-1){t.splice(i,1)}};c.getParent=function(t,e){while(t.parentNode&&t!=document.body){t=t.parentNode;if(r(t,e)){return t}}};c.getQueryElement=function(t){if(typeof t=="string"){return document.querySelector(t)}return t};c.handleEvent=function(t){var e="on"+t.type;if(this[e]){this[e](t)}};c.filterFindElements=function(t,n){t=c.makeArray(t);var s=[];t.forEach(function(t){if(!(t instanceof HTMLElement)){return}if(!n){s.push(t);return}if(r(t,n)){s.push(t)}var e=t.querySelectorAll(n);for(var i=0;i<e.length;i++){s.push(e[i])}});return s};c.debounceMethod=function(t,e,n){n=n||100;var s=t.prototype[e];var r=e+"Timeout";t.prototype[e]=function(){var t=this[r];clearTimeout(t);var e=arguments;var i=this;this[r]=setTimeout(function(){s.apply(i,e);delete i[r]},n)}};c.docReady=function(t){var e=document.readyState;if(e=="complete"||e=="interactive"){setTimeout(t)}else{document.addEventListener("DOMContentLoaded",t)}};c.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var u=h.console;c.htmlInit=function(a,l){c.docReady(function(){var t=c.toDashed(l);var s="data-"+t;var e=document.querySelectorAll("["+s+"]");var i=document.querySelectorAll(".js-"+t);var n=c.makeArray(e).concat(c.makeArray(i));var r=s+"-options";var o=h.jQuery;n.forEach(function(e){var t=e.getAttribute(s)||e.getAttribute(r);var i;try{i=t&&JSON.parse(t)}catch(t){if(u){u.error("Error parsing "+s+" on "+e.className+": "+t)}return}var n=new a(e,i);if(o){o.data(e,l,n)}})})};return c});(function(e,i){if(typeof define=="function"&&define.amd){define("flickity/js/cell",["get-size/get-size"],function(t){return i(e,t)})}else if(typeof module=="object"&&module.exports){module.exports=i(e,require("get-size"))}else{e.Flickity=e.Flickity||{};e.Flickity.Cell=i(e,e.getSize)}})(window,function t(e,i){function n(t,e){this.element=t;this.parent=e;this.create()}var s=n.prototype;s.create=function(){this.element.style.position="absolute";this.element.setAttribute("aria-hidden","true");this.x=0;this.shift=0};s.destroy=function(){this.unselect();this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="";this.element.removeAttribute("aria-hidden")};s.getSize=function(){this.size=i(this.element)};s.setPosition=function(t){this.x=t;this.updateTarget();this.renderPosition(t)};s.updateTarget=s.setDefaultTarget=function(){var t=this.parent.originSide=="left"?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign};s.renderPosition=function(t){var e=this.parent.originSide;this.element.style[e]=this.parent.getPositionValue(t)};s.select=function(){this.element.classList.add("is-selected");this.element.removeAttribute("aria-hidden")};s.unselect=function(){this.element.classList.remove("is-selected");this.element.setAttribute("aria-hidden","true")};s.wrapShift=function(t){this.shift=t;this.renderPosition(this.x+this.parent.slideableWidth*t)};s.remove=function(){this.element.parentNode.removeChild(this.element)};return n});(function(t,e){if(typeof define=="function"&&define.amd){define("flickity/js/slide",e)}else if(typeof module=="object"&&module.exports){module.exports=e()}else{t.Flickity=t.Flickity||{};t.Flickity.Slide=e()}})(window,function t(){"use strict";function e(t){this.parent=t;this.isOriginLeft=t.originSide=="left";this.cells=[];this.outerWidth=0;this.height=0}var i=e.prototype;i.addCell=function(t){this.cells.push(t);this.outerWidth+=t.size.outerWidth;this.height=Math.max(t.size.outerHeight,this.height);if(this.cells.length==1){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}};i.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft";var e=this.getLastCell();var i=e?e.size[t]:0;var n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign};i.getLastCell=function(){return this.cells[this.cells.length-1]};i.select=function(){this.cells.forEach(function(t){t.select()})};i.unselect=function(){this.cells.forEach(function(t){t.unselect()})};i.getCellElements=function(){return this.cells.map(function(t){return t.element})};return e});(function(e,i){if(typeof define=="function"&&define.amd){define("flickity/js/animate",["fizzy-ui-utils/utils"],function(t){return i(e,t)})}else if(typeof module=="object"&&module.exports){module.exports=i(e,require("fizzy-ui-utils"))}else{e.Flickity=e.Flickity||{};e.Flickity.animatePrototype=i(e,e.fizzyUIUtils)}})(window,function t(e,i){var n={};n.startAnimation=function(){if(this.isAnimating){return}this.isAnimating=true;this.restingFrames=0;this.animate()};n.animate=function(){this.applyDragForce();this.applySelectedAttraction();var t=this.x;this.integratePhysics();this.positionSlider();this.settle(t);if(this.isAnimating){var e=this;requestAnimationFrame(function t(){e.animate()})}};n.positionSlider=function(){var t=this.x;if(this.options.wrapAround&&this.cells.length>1){t=i.modulo(t,this.slideableWidth);t-=this.slideableWidth;this.shiftWrapCells(t)}this.setTranslateX(t,this.isAnimating);this.dispatchScrollEvent()};n.setTranslateX=function(t,e){t+=this.cursorPosition;t=this.options.rightToLeft?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"};n.dispatchScrollEvent=function(){var t=this.slides[0];if(!t){return}var e=-this.x-t.target;var i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])};n.positionSliderAtSelected=function(){if(!this.cells.length){return}this.x=-this.selectedSlide.target;this.velocity=0;this.positionSlider()};n.getPositionValue=function(t){if(this.options.percentPosition){return Math.round(t/this.size.innerWidth*1e4)*.01+"%"}else{return Math.round(t)+"px"}};n.settle=function(t){var e=!this.isPointerDown&&Math.round(this.x*100)==Math.round(t*100);if(e){this.restingFrames++}if(this.restingFrames>2){this.isAnimating=false;delete this.isFreeScrolling;this.positionSlider();this.dispatchEvent("settle",null,[this.selectedIndex])}};n.shiftWrapCells=function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)};n._shiftCells=function(t,e,i){for(var n=0;n<t.length;n++){var s=t[n];var r=e>0?i:0;s.wrapShift(r);e-=s.size.outerWidth}};n._unshiftCells=function(t){if(!t||!t.length){return}for(var e=0;e<t.length;e++){t[e].wrapShift(0)}};n.integratePhysics=function(){this.x+=this.velocity;this.velocity*=this.getFrictionFactor()};n.applyForce=function(t){this.velocity+=t};n.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]};n.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())};n.applyDragForce=function(){if(!this.isDraggable||!this.isPointerDown){return}var t=this.dragX-this.x;var e=t-this.velocity;this.applyForce(e)};n.applySelectedAttraction=function(){var t=this.isDraggable&&this.isPointerDown;if(t||this.isFreeScrolling||!this.slides.length){return}var e=this.selectedSlide.target*-1-this.x;var i=e*this.options.selectedAttraction;this.applyForce(i)};return n});(function(o,a){if(typeof define=="function"&&define.amd){define("flickity/js/flickity",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],function(t,e,i,n,s,r){return a(o,t,e,i,n,s,r)})}else if(typeof module=="object"&&module.exports){module.exports=a(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./slide"),require("./animate"))}else{var t=o.Flickity;o.Flickity=a(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,t.Cell,t.Slide,t.animatePrototype)}})(window,function t(n,e,i,a,s,o,r){var l=n.jQuery;var h=n.getComputedStyle;var c=n.console;function u(t,e){t=a.makeArray(t);while(t.length){e.appendChild(t.shift())}}var d=0;var f={};function p(t,e){var i=a.getQueryElement(t);if(!i){if(c){c.error("Bad element for Flickity: "+(i||t))}return}this.element=i;if(this.element.flickityGUID){var n=f[this.element.flickityGUID];if(n)n.option(e);return n}if(l){this.$element=l(this.element)}this.options=a.extend({},this.constructor.defaults);this.option(e);this._create()}p.defaults={accessibility:true,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:true,percentPosition:true,resize:true,selectedAttraction:.025,setGallerySize:true};p.createMethods=[];var v=p.prototype;a.extend(v,e.prototype);v._create=function(){var t=this.guid=++d;this.element.flickityGUID=t;f[t]=this;this.selectedIndex=0;this.restingFrames=0;this.x=0;this.velocity=0;this.originSide=this.options.rightToLeft?"right":"left";this.viewport=document.createElement("div");this.viewport.className="flickity-viewport";this._createSlider();if(this.options.resize||this.options.watchCSS){n.addEventListener("resize",this)}for(var e in this.options.on){var i=this.options.on[e];this.on(e,i)}p.createMethods.forEach(function(t){this[t]()},this);if(this.options.watchCSS){this.watchCSS()}else{this.activate()}};v.option=function(t){a.extend(this.options,t)};v.activate=function(){if(this.isActive){return}this.isActive=true;this.element.classList.add("flickity-enabled");if(this.options.rightToLeft){this.element.classList.add("flickity-rtl")}this.getSize();var t=this._filterFindCellElements(this.element.children);u(t,this.slider);this.viewport.appendChild(this.slider);this.element.appendChild(this.viewport);this.reloadCells();if(this.options.accessibility){this.element.tabIndex=0;this.element.addEventListener("keydown",this)}this.emitEvent("activate");this.selectInitialIndex();this.isInitActivated=true;this.dispatchEvent("ready")};v._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider";t.style[this.originSide]=0;this.slider=t};v._filterFindCellElements=function(t){return a.filterFindElements(t,this.options.cellSelector)};v.reloadCells=function(){this.cells=this._makeCells(this.slider.children);this.positionCells();this._getWrapShiftCells();this.setGallerySize()};v._makeCells=function(t){var e=this._filterFindCellElements(t);var i=e.map(function(t){return new s(t,this)},this);return i};v.getLastCell=function(){return this.cells[this.cells.length-1]};v.getLastSlide=function(){return this.slides[this.slides.length-1]};v.positionCells=function(){this._sizeCells(this.cells);this._positionCells(0)};v._positionCells=function(t){t=t||0;this.maxCellHeight=t?this.maxCellHeight||0:0;var e=0;if(t>0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}var n=this.cells.length;for(var s=t;s<n;s++){var r=this.cells[s];r.setPosition(e);e+=r.size.outerWidth;this.maxCellHeight=Math.max(r.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e;this.updateSlides();this._containSlides();this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0};v._sizeCells=function(t){t.forEach(function(t){t.getSize()})};v.updateSlides=function(){this.slides=[];if(!this.cells.length){return}var n=new o(this);this.slides.push(n);var t=this.originSide=="left";var s=t?"marginRight":"marginLeft";var r=this._getCanCellFit();this.cells.forEach(function(t,e){if(!n.cells.length){n.addCell(t);return}var i=n.outerWidth-n.firstMargin+(t.size.outerWidth-t.size[s]);if(r.call(this,e,i)){n.addCell(t)}else{n.updateTarget();n=new o(this);this.slides.push(n);n.addCell(t)}},this);n.updateTarget();this.updateSelectedSlide()};v._getCanCellFit=function(){var t=this.options.groupCells;if(!t){return function(){return false}}else if(typeof t=="number"){var e=parseInt(t,10);return function(t){return t%e!==0}}var i=typeof t=="string"&&t.match(/^(\d+)%$/);var n=i?parseInt(i[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}};v._init=v.reposition=function(){this.positionCells();this.positionSliderAtSelected()};v.getSize=function(){this.size=i(this.element);this.setCellAlign();this.cursorPosition=this.size.innerWidth*this.cellAlign};var g={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};v.setCellAlign=function(){var t=g[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign};v.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}};v._getWrapShiftCells=function(){if(!this.options.wrapAround){return}this._unshiftCells(this.beforeShiftCells);this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition;var e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1);t=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(t,0,1)};v._getGapCells=function(t,e,i){var n=[];while(t>0){var s=this.cells[e];if(!s){break}n.push(s);e+=i;t-=s.size.outerWidth}return n};v._containSlides=function(){if(!this.options.contain||this.options.wrapAround||!this.cells.length){return}var t=this.options.rightToLeft;var e=t?"marginRight":"marginLeft";var i=t?"marginLeft":"marginRight";var n=this.slideableWidth-this.getLastCell().size[i];var s=n<this.size.innerWidth;var r=this.cursorPosition+this.cells[0].size[e];var o=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(function(t){if(s){t.target=n*this.cellAlign}else{t.target=Math.max(t.target,r);t.target=Math.min(t.target,o)}},this)};v.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n);if(l&&this.$element){t+=this.options.namespaceJQueryEvents?".flickity":"";var s=t;if(e){var r=new l.Event(e);r.type=t;s=r}this.$element.trigger(s,i)}};v.select=function(t,e,i){if(!this.isActive){return}t=parseInt(t,10);this._wrapSelect(t);if(this.options.wrapAround||e){t=a.modulo(t,this.slides.length)}if(!this.slides[t]){return}var n=this.selectedIndex;this.selectedIndex=t;this.updateSelectedSlide();if(i){this.positionSliderAtSelected()}else{this.startAnimation()}if(this.options.adaptiveHeight){this.setGallerySize()}this.dispatchEvent("select",null,[t]);if(t!=n){this.dispatchEvent("change",null,[t])}this.dispatchEvent("cellSelect")};v._wrapSelect=function(t){var e=this.slides.length;var i=this.options.wrapAround&&e>1;if(!i){return t}var n=a.modulo(t,e);var s=Math.abs(n-this.selectedIndex);var r=Math.abs(n+e-this.selectedIndex);var o=Math.abs(n-e-this.selectedIndex);if(!this.isDragSelect&&r<s){t+=e}else if(!this.isDragSelect&&o<s){t-=e}if(t<0){this.x-=this.slideableWidth}else if(t>=e){this.x+=this.slideableWidth}};v.previous=function(t,e){this.select(this.selectedIndex-1,t,e)};v.next=function(t,e){this.select(this.selectedIndex+1,t,e)};v.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];if(!t){return}this.unselectSelectedSlide();this.selectedSlide=t;t.select();this.selectedCells=t.cells;this.selectedElements=t.getCellElements();this.selectedCell=t.cells[0];this.selectedElement=this.selectedElements[0]};v.unselectSelectedSlide=function(){if(this.selectedSlide){this.selectedSlide.unselect()}};v.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated){this.select(this.selectedIndex,false,true);return}if(t&&typeof t=="string"){var e=this.queryCell(t);if(e){this.selectCell(t,false,true);return}}var i=0;if(t&&this.slides[t]){i=t}this.select(i,false,true)};v.selectCell=function(t,e,i){var n=this.queryCell(t);if(!n){return}var s=this.getCellSlideIndex(n);this.select(s,e,i)};v.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++){var i=this.slides[e];var n=i.cells.indexOf(t);if(n!=-1){return e}}};v.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t){return i}}};v.getCells=function(t){t=a.makeArray(t);var i=[];t.forEach(function(t){var e=this.getCell(t);if(e){i.push(e)}},this);return i};v.getCellElements=function(){return this.cells.map(function(t){return t.element})};v.getParentCell=function(t){var e=this.getCell(t);if(e){return e}t=a.getParent(t,".flickity-slider > *");return this.getCell(t)};v.getAdjacentCellElements=function(t,e){if(!t){return this.selectedSlide.getCellElements()}e=e===undefined?this.selectedIndex:e;var i=this.slides.length;if(1+t*2>=i){return this.getCellElements()}var n=[];for(var s=e-t;s<=e+t;s++){var r=this.options.wrapAround?a.modulo(s,i):s;var o=this.slides[r];if(o){n=n.concat(o.getCellElements())}}return n};v.queryCell=function(t){if(typeof t=="number"){return this.cells[t]}if(typeof t=="string"){if(t.match(/^[#.]?[\d/]/)){return}t=this.element.querySelector(t)}return this.getCell(t)};v.uiChange=function(){this.emitEvent("uiChange")};v.childUIPointerDown=function(t){if(t.type!="touchstart"){t.preventDefault()}this.focus()};v.onresize=function(){this.watchCSS();this.resize()};a.debounceMethod(p,"onresize",150);v.resize=function(){if(!this.isActive){return}this.getSize();if(this.options.wrapAround){this.x=a.modulo(this.x,this.slideableWidth)}this.positionCells();this._getWrapShiftCells();this.setGallerySize();this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,false,true)};v.watchCSS=function(){var t=this.options.watchCSS;if(!t){return}var e=h(this.element,":after").content;if(e.indexOf("flickity")!=-1){this.activate()}else{this.deactivate()}};v.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(!this.options.accessibility||e){return}var i=p.keyboardHandlers[t.keyCode];if(i){i.call(this)}};p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange();this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange();this[t]()}};v.focus=function(){var t=n.pageYOffset;this.element.focus({preventScroll:true});if(n.pageYOffset!=t){n.scrollTo(n.pageXOffset,t)}};v.deactivate=function(){if(!this.isActive){return}this.element.classList.remove("flickity-enabled");this.element.classList.remove("flickity-rtl");this.unselectSelectedSlide();this.cells.forEach(function(t){t.destroy()});this.element.removeChild(this.viewport);u(this.slider.children,this.element);if(this.options.accessibility){this.element.removeAttribute("tabIndex");this.element.removeEventListener("keydown",this)}this.isActive=false;this.emitEvent("deactivate")};v.destroy=function(){this.deactivate();n.removeEventListener("resize",this);this.allOff();this.emitEvent("destroy");if(l&&this.$element){l.removeData(this.element,"flickity")}delete this.element.flickityGUID;delete f[this.guid]};a.extend(v,r);p.data=function(t){t=a.getQueryElement(t);var e=t&&t.flickityGUID;return e&&f[e]};a.htmlInit(p,"flickity");if(l&&l.bridget){l.bridget("flickity",p)}p.setJQuery=function(t){l=t};p.Cell=s;p.Slide=o;return p});
/*!
 * Unipointer v2.3.0
 * base class for doing one thing with pointer event
 * MIT license
 */
(function(e,i){if(typeof define=="function"&&define.amd){define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(t){return i(e,t)})}else if(typeof module=="object"&&module.exports){module.exports=i(e,require("ev-emitter"))}else{e.Unipointer=i(e,e.EvEmitter)}})(window,function t(s,e){function i(){}function n(){}var r=n.prototype=Object.create(e.prototype);r.bindStartEvent=function(t){this._bindStartEvent(t,true)};r.unbindStartEvent=function(t){this._bindStartEvent(t,false)};r._bindStartEvent=function(t,e){e=e===undefined?true:e;var i=e?"addEventListener":"removeEventListener";var n="mousedown";if(s.PointerEvent){n="pointerdown"}else if("ontouchstart"in s){n="touchstart"}t[i](n,this)};r.handleEvent=function(t){var e="on"+t.type;if(this[e]){this[e](t)}};r.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier){return i}}};r.onmousedown=function(t){var e=t.button;if(e&&(e!==0&&e!==1)){return}this._pointerDown(t,t)};r.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])};r.onpointerdown=function(t){this._pointerDown(t,t)};r._pointerDown=function(t,e){if(t.button||this.isPointerDown){return}this.isPointerDown=true;this.pointerIdentifier=e.pointerId!==undefined?e.pointerId:e.identifier;this.pointerDown(t,e)};r.pointerDown=function(t,e){this._bindPostStartEvents(t);this.emitEvent("pointerDown",[t,e])};var o={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};r._bindPostStartEvents=function(t){if(!t){return}var e=o[t.type];e.forEach(function(t){s.addEventListener(t,this)},this);this._boundPointerEvents=e};r._unbindPostStartEvents=function(){if(!this._boundPointerEvents){return}this._boundPointerEvents.forEach(function(t){s.removeEventListener(t,this)},this);delete this._boundPointerEvents};r.onmousemove=function(t){this._pointerMove(t,t)};r.onpointermove=function(t){if(t.pointerId==this.pointerIdentifier){this._pointerMove(t,t)}};r.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);if(e){this._pointerMove(t,e)}};r._pointerMove=function(t,e){this.pointerMove(t,e)};r.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])};r.onmouseup=function(t){this._pointerUp(t,t)};r.onpointerup=function(t){if(t.pointerId==this.pointerIdentifier){this._pointerUp(t,t)}};r.ontouchend=function(t){var e=this.getTouch(t.changedTouches);if(e){this._pointerUp(t,e)}};r._pointerUp=function(t,e){this._pointerDone();this.pointerUp(t,e)};r.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])};r._pointerDone=function(){this._pointerReset();this._unbindPostStartEvents();this.pointerDone()};r._pointerReset=function(){this.isPointerDown=false;delete this.pointerIdentifier};r.pointerDone=i;r.onpointercancel=function(t){if(t.pointerId==this.pointerIdentifier){this._pointerCancel(t,t)}};r.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);if(e){this._pointerCancel(t,e)}};r._pointerCancel=function(t,e){this._pointerDone();this.pointerCancel(t,e)};r.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])};n.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}};return n});
/*!
 * Unidragger v2.3.1
 * Draggable base class
 * MIT license
 */
(function(e,i){if(typeof define=="function"&&define.amd){define("unidragger/unidragger",["unipointer/unipointer"],function(t){return i(e,t)})}else if(typeof module=="object"&&module.exports){module.exports=i(e,require("unipointer"))}else{e.Unidragger=i(e,e.Unipointer)}})(window,function t(r,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindHandles=function(){this._bindHandles(true)};n.unbindHandles=function(){this._bindHandles(false)};n._bindHandles=function(t){t=t===undefined?true:t;var e=t?"addEventListener":"removeEventListener";var i=t?this._touchActionValue:"";for(var n=0;n<this.handles.length;n++){var s=this.handles[n];this._bindStartEvent(s,t);s[e]("click",this);if(r.PointerEvent){s.style.touchAction=i}}};n._touchActionValue="none";n.pointerDown=function(t,e){var i=this.okayPointerDown(t);if(!i){return}this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY};t.preventDefault();this.pointerDownBlur();this._bindPostStartEvents(t);this.emitEvent("pointerDown",[t,e])};var s={TEXTAREA:true,INPUT:true,SELECT:true,OPTION:true};var o={radio:true,checkbox:true,button:true,submit:true,image:true,file:true};n.okayPointerDown=function(t){var e=s[t.target.nodeName];var i=o[t.target.type];var n=!e||i;if(!n){this._pointerReset()}return n};n.pointerDownBlur=function(){var t=document.activeElement;var e=t&&t.blur&&t!=document.body;if(e){t.blur()}};n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]);this._dragMove(t,e,i)};n._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};if(!this.isDragging&&this.hasDragStarted(i)){this._dragStart(t,e)}return i};n.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3};n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]);this._dragPointerUp(t,e)};n._dragPointerUp=function(t,e){if(this.isDragging){this._dragEnd(t,e)}else{this._staticClick(t,e)}};n._dragStart=function(t,e){this.isDragging=true;this.isPreventingClicks=true;this.dragStart(t,e)};n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])};n._dragMove=function(t,e,i){if(!this.isDragging){return}this.dragMove(t,e,i)};n.dragMove=function(t,e,i){t.preventDefault();this.emitEvent("dragMove",[t,e,i])};n._dragEnd=function(t,e){this.isDragging=false;setTimeout(function(){delete this.isPreventingClicks}.bind(this));this.dragEnd(t,e)};n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])};n.onclick=function(t){if(this.isPreventingClicks){t.preventDefault()}};n._staticClick=function(t,e){if(this.isIgnoringMouseUp&&t.type=="mouseup"){return}this.staticClick(t,e);if(t.type!="mouseup"){this.isIgnoringMouseUp=true;setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)}};n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])};i.getPointerPoint=e.getPointerPoint;return i});(function(n,s){if(typeof define=="function"&&define.amd){define("flickity/js/drag",["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(t,e,i){return s(n,t,e,i)})}else if(typeof module=="object"&&module.exports){module.exports=s(n,require("./flickity"),require("unidragger"),require("fizzy-ui-utils"))}else{n.Flickity=s(n,n.Flickity,n.Unidragger,n.fizzyUIUtils)}})(window,function t(n,e,i,a){a.extend(e.defaults,{draggable:">1",dragThreshold:3});e.createMethods.push("_createDrag");var s=e.prototype;a.extend(s,i.prototype);s._touchActionValue="pan-y";var r="createTouch"in document;var o=false;s._createDrag=function(){this.on("activate",this.onActivateDrag);this.on("uiChange",this._uiChangeDrag);this.on("deactivate",this.onDeactivateDrag);this.on("cellChange",this.updateDraggable);if(r&&!o){n.addEventListener("touchmove",function(){});o=true}};s.onActivateDrag=function(){this.handles=[this.viewport];this.bindHandles();this.updateDraggable()};s.onDeactivateDrag=function(){this.unbindHandles();this.element.classList.remove("is-draggable")};s.updateDraggable=function(){if(this.options.draggable==">1"){this.isDraggable=this.slides.length>1}else{this.isDraggable=this.options.draggable}if(this.isDraggable){this.element.classList.add("is-draggable")}else{this.element.classList.remove("is-draggable")}};s.bindDrag=function(){this.options.draggable=true;this.updateDraggable()};s.unbindDrag=function(){this.options.draggable=false;this.updateDraggable()};s._uiChangeDrag=function(){delete this.isFreeScrolling};s.pointerDown=function(t,e){if(!this.isDraggable){this._pointerDownDefault(t,e);return}var i=this.okayPointerDown(t);if(!i){return}this._pointerDownPreventDefault(t);this.pointerDownFocus(t);if(document.activeElement!=this.element){this.pointerDownBlur()}this.dragX=this.x;this.viewport.classList.add("is-pointer-down");this.pointerDownScroll=h();n.addEventListener("scroll",this);this._pointerDownDefault(t,e)};s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY};this._bindPostStartEvents(t);this.dispatchEvent("pointerDown",t,[e])};var l={INPUT:true,TEXTAREA:true,SELECT:true};s.pointerDownFocus=function(t){var e=l[t.target.nodeName];if(!e){this.focus()}};s._pointerDownPreventDefault=function(t){var e=t.type=="touchstart";var i=t.pointerType=="touch";var n=l[t.target.nodeName];if(!e&&!i&&!n){t.preventDefault()}};s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold};s.pointerUp=function(t,e){delete this.isTouchScrolling;this.viewport.classList.remove("is-pointer-down");this.dispatchEvent("pointerUp",t,[e]);this._dragPointerUp(t,e)};s.pointerDone=function(){n.removeEventListener("scroll",this);delete this.pointerDownScroll};s.dragStart=function(t,e){if(!this.isDraggable){return}this.dragStartPosition=this.x;this.startAnimation();n.removeEventListener("scroll",this);this.dispatchEvent("dragStart",t,[e])};s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]);this._dragMove(t,e,i)};s.dragMove=function(t,e,i){if(!this.isDraggable){return}t.preventDefault();this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;if(this.options.wrapAround){i.x%=this.slideableWidth}var s=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var r=Math.max(-this.slides[0].target,this.dragStartPosition);s=s>r?(s+r)*.5:s;var o=Math.min(-this.getLastSlide().target,this.dragStartPosition);s=s<o?(s+o)*.5:s}this.dragX=s;this.dragMoveTime=new Date;this.dispatchEvent("dragMove",t,[e,i])};s.dragEnd=function(t,e){if(!this.isDraggable){return}if(this.options.freeScroll){this.isFreeScrolling=true}var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else if(!this.options.freeScroll&&i==this.selectedIndex){i+=this.dragEndBoostSelect()}delete this.previousDragX;this.isDragSelect=this.options.wrapAround;this.select(i);delete this.isDragSelect;this.dispatchEvent("dragEnd",t,[e])};s.dragEndRestingSelect=function(){var t=this.getRestingPosition();var e=Math.abs(this.getSlideDistance(-t,this.selectedIndex));var i=this._getClosestResting(t,e,1);var n=this._getClosestResting(t,e,-1);var s=i.distance<n.distance?i.index:n.index;return s};s._getClosestResting=function(t,e,i){var n=this.selectedIndex;var s=Infinity;var r=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};while(r(e,s)){n+=i;s=e;e=this.getSlideDistance(-t,n);if(e===null){break}e=Math.abs(e)}return{distance:s,index:n-i}};s.getSlideDistance=function(t,e){var i=this.slides.length;var n=this.options.wrapAround&&i>1;var s=n?a.modulo(e,i):e;var r=this.slides[s];if(!r){return null}var o=n?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+o)};s.dragEndBoostSelect=function(){if(this.previousDragX===undefined||!this.dragMoveTime||new Date-this.dragMoveTime>100){return 0}var t=this.getSlideDistance(-this.dragX,this.selectedIndex);var e=this.previousDragX-this.dragX;if(t>0&&e>0){return 1}else if(t<0&&e<0){return-1}return 0};s.staticClick=function(t,e){var i=this.getParentCell(t.target);var n=i&&i.element;var s=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,s])};s.onscroll=function(){var t=h();var e=this.pointerDownScroll.x-t.x;var i=this.pointerDownScroll.y-t.y;if(Math.abs(e)>3||Math.abs(i)>3){this._pointerDone()}};function h(){return{x:n.pageXOffset,y:n.pageYOffset}}return e});(function(n,s){if(typeof define=="function"&&define.amd){define("flickity/js/prev-next-button",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(t,e,i){return s(n,t,e,i)})}else if(typeof module=="object"&&module.exports){module.exports=s(n,require("./flickity"),require("unipointer"),require("fizzy-ui-utils"))}else{s(n,n.Flickity,n.Unipointer,n.fizzyUIUtils)}})(window,function t(e,i,n,s){"use strict";var r="http://www.w3.org/2000/svg";function o(t,e){this.direction=t;this.parent=e;this._create()}o.prototype=Object.create(n.prototype);o.prototype._create=function(){this.isEnabled=true;this.isPrevious=this.direction==-1;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickity-button flickity-prev-next-button";e.className+=this.isPrevious?" previous":" next";e.setAttribute("type","button");this.disable();e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i);this.parent.on("select",this.update.bind(this));this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))};o.prototype.activate=function(){this.bindStartEvent(this.element);this.element.addEventListener("click",this);this.parent.element.appendChild(this.element)};o.prototype.deactivate=function(){this.parent.element.removeChild(this.element);this.unbindStartEvent(this.element);this.element.removeEventListener("click",this)};o.prototype.createSVG=function(){var t=document.createElementNS(r,"svg");t.setAttribute("class","flickity-button-icon");t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(r,"path");var i=a(this.parent.options.arrowShape);e.setAttribute("d",i);e.setAttribute("class","arrow");if(!this.isLeft){e.setAttribute("transform","translate(100, 100) rotate(180) ")}t.appendChild(e);return t};function a(t){if(typeof t=="string"){return t}return"M "+t.x0+",50"+" L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 "+" L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}o.prototype.handleEvent=s.handleEvent;o.prototype.onclick=function(){if(!this.isEnabled){return}this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()};o.prototype.enable=function(){if(this.isEnabled){return}this.element.disabled=false;this.isEnabled=true};o.prototype.disable=function(){if(!this.isEnabled){return}this.element.disabled=true;this.isEnabled=false};o.prototype.update=function(){var t=this.parent.slides;if(this.parent.options.wrapAround&&t.length>1){this.enable();return}var e=t.length?t.length-1:0;var i=this.isPrevious?0:e;var n=this.parent.selectedIndex==i?"disable":"enable";this[n]()};o.prototype.destroy=function(){this.deactivate();this.allOff()};s.extend(i.defaults,{prevNextButtons:true,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}});i.createMethods.push("_createPrevNextButtons");var l=i.prototype;l._createPrevNextButtons=function(){if(!this.options.prevNextButtons){return}this.prevButton=new o(-1,this);this.nextButton=new o(1,this);this.on("activate",this.activatePrevNextButtons)};l.activatePrevNextButtons=function(){this.prevButton.activate();this.nextButton.activate();this.on("deactivate",this.deactivatePrevNextButtons)};l.deactivatePrevNextButtons=function(){this.prevButton.deactivate();this.nextButton.deactivate();this.off("deactivate",this.deactivatePrevNextButtons)};i.PrevNextButton=o;return i});(function(n,s){if(typeof define=="function"&&define.amd){define("flickity/js/page-dots",["./flickity","unipointer/unipointer","fizzy-ui-utils/utils"],function(t,e,i){return s(n,t,e,i)})}else if(typeof module=="object"&&module.exports){module.exports=s(n,require("./flickity"),require("unipointer"),require("fizzy-ui-utils"))}else{s(n,n.Flickity,n.Unipointer,n.fizzyUIUtils)}})(window,function t(e,i,n,s){function r(t){this.parent=t;this._create()}r.prototype=Object.create(n.prototype);r.prototype._create=function(){this.holder=document.createElement("ol");this.holder.className="flickity-page-dots";this.dots=[];this.handleClick=this.onClick.bind(this);this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))};r.prototype.activate=function(){this.setDots();this.holder.addEventListener("click",this.handleClick);this.bindStartEvent(this.holder);this.parent.element.appendChild(this.holder)};r.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick);this.unbindStartEvent(this.holder);this.parent.element.removeChild(this.holder)};r.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;if(t>0){this.addDots(t)}else if(t<0){this.removeDots(-t)}};r.prototype.addDots=function(t){var e=document.createDocumentFragment();var i=[];var n=this.dots.length;var s=n+t;for(var r=n;r<s;r++){var o=document.createElement("li");o.className="dot";o.setAttribute("aria-label","Page dot "+(r+1));e.appendChild(o);i.push(o)}this.holder.appendChild(e);this.dots=this.dots.concat(i)};r.prototype.removeDots=function(t){var e=this.dots.splice(this.dots.length-t,t);e.forEach(function(t){this.holder.removeChild(t)},this)};r.prototype.updateSelected=function(){if(this.selectedDot){this.selectedDot.className="dot";this.selectedDot.removeAttribute("aria-current")}if(!this.dots.length){return}this.selectedDot=this.dots[this.parent.selectedIndex];this.selectedDot.className="dot is-selected";this.selectedDot.setAttribute("aria-current","step")};r.prototype.onTap=r.prototype.onClick=function(t){var e=t.target;if(e.nodeName!="LI"){return}this.parent.uiChange();var i=this.dots.indexOf(e);this.parent.select(i)};r.prototype.destroy=function(){this.deactivate();this.allOff()};i.PageDots=r;s.extend(i.defaults,{pageDots:true});i.createMethods.push("_createPageDots");var o=i.prototype;o._createPageDots=function(){if(!this.options.pageDots){return}this.pageDots=new r(this);this.on("activate",this.activatePageDots);this.on("select",this.updateSelectedPageDots);this.on("cellChange",this.updatePageDots);this.on("resize",this.updatePageDots);this.on("deactivate",this.deactivatePageDots)};o.activatePageDots=function(){this.pageDots.activate()};o.updateSelectedPageDots=function(){this.pageDots.updateSelected()};o.updatePageDots=function(){this.pageDots.setDots()};o.deactivatePageDots=function(){this.pageDots.deactivate()};i.PageDots=r;return i});(function(t,n){if(typeof define=="function"&&define.amd){define("flickity/js/player",["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],function(t,e,i){return n(t,e,i)})}else if(typeof module=="object"&&module.exports){module.exports=n(require("ev-emitter"),require("fizzy-ui-utils"),require("./flickity"))}else{n(t.EvEmitter,t.fizzyUIUtils,t.Flickity)}})(window,function t(e,i,n){function s(t){this.parent=t;this.state="stopped";this.onVisibilityChange=this.visibilityChange.bind(this);this.onVisibilityPlay=this.visibilityPlay.bind(this)}s.prototype=Object.create(e.prototype);s.prototype.play=function(){if(this.state=="playing"){return}var t=document.hidden;if(t){document.addEventListener("visibilitychange",this.onVisibilityPlay);return}this.state="playing";document.addEventListener("visibilitychange",this.onVisibilityChange);this.tick()};s.prototype.tick=function(){if(this.state!="playing"){return}var t=this.parent.options.autoPlay;t=typeof t=="number"?t:3e3;var e=this;this.clear();this.timeout=setTimeout(function(){e.parent.next(true);e.tick()},t)};s.prototype.stop=function(){this.state="stopped";this.clear();document.removeEventListener("visibilitychange",this.onVisibilityChange)};s.prototype.clear=function(){clearTimeout(this.timeout)};s.prototype.pause=function(){if(this.state=="playing"){this.state="paused";this.clear()}};s.prototype.unpause=function(){if(this.state=="paused"){this.play()}};s.prototype.visibilityChange=function(){var t=document.hidden;this[t?"pause":"unpause"]()};s.prototype.visibilityPlay=function(){this.play();document.removeEventListener("visibilitychange",this.onVisibilityPlay)};i.extend(n.defaults,{pauseAutoPlayOnHover:true});n.createMethods.push("_createPlayer");var r=n.prototype;r._createPlayer=function(){this.player=new s(this);this.on("activate",this.activatePlayer);this.on("uiChange",this.stopPlayer);this.on("pointerDown",this.stopPlayer);this.on("deactivate",this.deactivatePlayer)};r.activatePlayer=function(){if(!this.options.autoPlay){return}this.player.play();this.element.addEventListener("mouseenter",this)};r.playPlayer=function(){this.player.play()};r.stopPlayer=function(){this.player.stop()};r.pausePlayer=function(){this.player.pause()};r.unpausePlayer=function(){this.player.unpause()};r.deactivatePlayer=function(){this.player.stop();this.element.removeEventListener("mouseenter",this)};r.onmouseenter=function(){if(!this.options.pauseAutoPlayOnHover){return}this.player.pause();this.element.addEventListener("mouseleave",this)};r.onmouseleave=function(){this.player.unpause();this.element.removeEventListener("mouseleave",this)};n.Player=s;return n});(function(i,n){if(typeof define=="function"&&define.amd){define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(t,e){return n(i,t,e)})}else if(typeof module=="object"&&module.exports){module.exports=n(i,require("./flickity"),require("fizzy-ui-utils"))}else{n(i,i.Flickity,i.fizzyUIUtils)}})(window,function t(e,i,n){function l(t){var e=document.createDocumentFragment();t.forEach(function(t){e.appendChild(t.element)});return e}var s=i.prototype;s.insert=function(t,e){var i=this._makeCells(t);if(!i||!i.length){return}var n=this.cells.length;e=e===undefined?n:e;var s=l(i);var r=e==n;if(r){this.slider.appendChild(s)}else{var o=this.cells[e].element;this.slider.insertBefore(s,o)}if(e===0){this.cells=i.concat(this.cells)}else if(r){this.cells=this.cells.concat(i)}else{var a=this.cells.splice(e,n-e);this.cells=this.cells.concat(i).concat(a)}this._sizeCells(i);this.cellChange(e,true)};s.append=function(t){this.insert(t,this.cells.length)};s.prepend=function(t){this.insert(t,0)};s.remove=function(t){var e=this.getCells(t);if(!e||!e.length){return}var i=this.cells.length-1;e.forEach(function(t){t.remove();var e=this.cells.indexOf(t);i=Math.min(e,i);n.removeFrom(this.cells,t)},this);this.cellChange(i,true)};s.cellSizeChange=function(t){var e=this.getCell(t);if(!e){return}e.getSize();var i=this.cells.indexOf(e);this.cellChange(i)};s.cellChange=function(t,e){var i=this.selectedElement;this._positionCells(t);this._getWrapShiftCells();this.setGallerySize();var n=this.getCell(i);if(n){this.selectedIndex=this.getCellSlideIndex(n)}this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex);this.emitEvent("cellChange",[t]);this.select(this.selectedIndex);if(e){this.positionSliderAtSelected()}};return i});(function(i,n){if(typeof define=="function"&&define.amd){define("flickity/js/lazyload",["./flickity","fizzy-ui-utils/utils"],function(t,e){return n(i,t,e)})}else if(typeof module=="object"&&module.exports){module.exports=n(i,require("./flickity"),require("fizzy-ui-utils"))}else{n(i,i.Flickity,i.fizzyUIUtils)}})(window,function t(e,i,o){"use strict";i.createMethods.push("_createLazyload");var n=i.prototype;n._createLazyload=function(){this.on("select",this.lazyLoad)};n.lazyLoad=function(){var t=this.options.lazyLoad;if(!t){return}var e=typeof t=="number"?t:0;var i=this.getAdjacentCellElements(e);var n=[];i.forEach(function(t){var e=s(t);n=n.concat(e)});n.forEach(function(t){new r(t,this)},this)};function s(t){if(t.nodeName=="IMG"){var e=t.getAttribute("data-flickity-lazyload");var i=t.getAttribute("data-flickity-lazyload-src");var n=t.getAttribute("data-flickity-lazyload-srcset");if(e||i||n){return[t]}}var s="img[data-flickity-lazyload], "+"img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]";var r=t.querySelectorAll(s);return o.makeArray(r)}function r(t,e){this.img=t;this.flickity=e;this.load()}r.prototype.handleEvent=o.handleEvent;r.prototype.load=function(){this.img.addEventListener("load",this);this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src");var e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t;if(e){this.img.setAttribute("srcset",e)}this.img.removeAttribute("data-flickity-lazyload");this.img.removeAttribute("data-flickity-lazyload-src");this.img.removeAttribute("data-flickity-lazyload-srcset")};r.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")};r.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")};r.prototype.complete=function(t,e){this.img.removeEventListener("load",this);this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img);var n=i&&i.element;this.flickity.cellSizeChange(n);this.img.classList.add(e);this.flickity.dispatchEvent("lazyLoad",t,n)};i.LazyLoader=r;return i});
/*!
 * Flickity v2.2.2
 * Touch, responsive, flickable carousels
 *
 * Licensed GPLv3 for open source use
 * or Flickity Commercial License for commercial use
 *
 * https://flickity.metafizzy.co
 * Copyright 2015-2021 Metafizzy
 */
(function(t,e){if(typeof define=="function"&&define.amd){define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],e)}else if(typeof module=="object"&&module.exports){module.exports=e(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload"))}})(window,function t(e){return e});
/*!
 * Flickity asNavFor v2.0.2
 * enable asNavFor for Flickity
 */
(function(t,e){if(typeof define=="function"&&define.amd){define("flickity-as-nav-for/as-nav-for",["flickity/js/index","fizzy-ui-utils/utils"],e)}else if(typeof module=="object"&&module.exports){module.exports=e(require("flickity"),require("fizzy-ui-utils"))}else{t.Flickity=e(t.Flickity,t.fizzyUIUtils)}})(window,function t(n,s){n.createMethods.push("_createAsNavFor");var e=n.prototype;e._createAsNavFor=function(){this.on("activate",this.activateAsNavFor);this.on("deactivate",this.deactivateAsNavFor);this.on("destroy",this.destroyAsNavFor);var e=this.options.asNavFor;if(!e){return}var i=this;setTimeout(function t(){i.setNavCompanion(e)})};e.setNavCompanion=function(t){t=s.getQueryElement(t);var e=n.data(t);if(!e||e==this){return}this.navCompanion=e;var i=this;this.onNavCompanionSelect=function(){i.navCompanionSelect()};e.on("select",this.onNavCompanionSelect);this.on("staticClick",this.onNavStaticClick);this.navCompanionSelect(true)};e.navCompanionSelect=function(t){var e=this.navCompanion&&this.navCompanion.selectedCells;if(!e){return}var i=e[0];var n=this.navCompanion.cells.indexOf(i);var s=n+e.length-1;var r=Math.floor(a(n,s,this.navCompanion.cellAlign));this.selectCell(r,false,t);this.removeNavSelectedElements();if(r>=this.cells.length){return}var o=this.cells.slice(n,s+1);this.navSelectedElements=o.map(function(t){return t.element});this.changeNavSelectedClass("add")};function a(t,e,i){return(e-t)*i+t}e.changeNavSelectedClass=function(e){this.navSelectedElements.forEach(function(t){t.classList[e]("is-nav-selected")})};e.activateAsNavFor=function(){this.navCompanionSelect(true)};e.removeNavSelectedElements=function(){if(!this.navSelectedElements){return}this.changeNavSelectedClass("remove");delete this.navSelectedElements};e.onNavStaticClick=function(t,e,i,n){if(typeof n=="number"){this.navCompanion.selectCell(n)}};e.deactivateAsNavFor=function(){this.removeNavSelectedElements()};e.destroyAsNavFor=function(){if(!this.navCompanion){return}this.navCompanion.off("select",this.onNavCompanionSelect);this.off("staticClick",this.onNavStaticClick);delete this.navCompanion};return n});
/*!
 * imagesLoaded v4.1.4
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
(function(e,i){"use strict";if(typeof define=="function"&&define.amd){define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(t){return i(e,t)})}else if(typeof module=="object"&&module.exports){module.exports=i(e,require("ev-emitter"))}else{e.imagesLoaded=i(e,e.EvEmitter)}})(typeof window!=="undefined"?window:this,function t(e,i){var s=e.jQuery;var r=e.console;function o(t,e){for(var i in e){t[i]=e[i]}return t}var n=Array.prototype.slice;function a(t){if(Array.isArray(t)){return t}var e=typeof t=="object"&&typeof t.length=="number";if(e){return n.call(t)}return[t]}function l(t,e,i){if(!(this instanceof l)){return new l(t,e,i)}var n=t;if(typeof t=="string"){n=document.querySelectorAll(t)}if(!n){r.error("Bad element for imagesLoaded "+(n||t));return}this.elements=a(n);this.options=o({},this.options);if(typeof e=="function"){i=e}else{o(this.options,e)}if(i){this.on("always",i)}this.getImages();if(s){this.jqDeferred=new s.Deferred}setTimeout(this.check.bind(this))}l.prototype=Object.create(i.prototype);l.prototype.options={};l.prototype.getImages=function(){this.images=[];this.elements.forEach(this.addElementImages,this)};l.prototype.addElementImages=function(t){if(t.nodeName=="IMG"){this.addImage(t)}if(this.options.background===true){this.addElementBackgroundImages(t)}var e=t.nodeType;if(!e||!h[e]){return}var i=t.querySelectorAll("img");for(var n=0;n<i.length;n++){var s=i[n];this.addImage(s)}if(typeof this.options.background=="string"){var r=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var o=r[n];this.addElementBackgroundImages(o)}}};var h={1:true,9:true,11:true};l.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(!e){return}var i=/url\((['"])?(.*?)\1\)/gi;var n=i.exec(e.backgroundImage);while(n!==null){var s=n&&n[2];if(s){this.addBackground(s,t)}n=i.exec(e.backgroundImage)}};l.prototype.addImage=function(t){var e=new c(t);this.images.push(e)};l.prototype.addBackground=function(t,e){var i=new u(t,e);this.images.push(i)};l.prototype.check=function(){var n=this;this.progressedCount=0;this.hasAnyBroken=false;if(!this.images.length){this.complete();return}function e(t,e,i){setTimeout(function(){n.progress(t,e,i)})}this.images.forEach(function(t){t.once("progress",e);t.check()})};l.prototype.progress=function(t,e,i){this.progressedCount++;this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;this.emitEvent("progress",[this,t,e]);if(this.jqDeferred&&this.jqDeferred.notify){this.jqDeferred.notify(this,t)}if(this.progressedCount==this.images.length){this.complete()}if(this.options.debug&&r){r.log("progress: "+i,t,e)}};l.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=true;this.emitEvent(t,[this]);this.emitEvent("always",[this]);if(this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}};function c(t){this.img=t}c.prototype=Object.create(i.prototype);c.prototype.check=function(){var t=this.getIsImageComplete();if(t){this.confirm(this.img.naturalWidth!==0,"naturalWidth");return}this.proxyImage=new Image;this.proxyImage.addEventListener("load",this);this.proxyImage.addEventListener("error",this);this.img.addEventListener("load",this);this.img.addEventListener("error",this);this.proxyImage.src=this.img.src};c.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth};c.prototype.confirm=function(t,e){this.isLoaded=t;this.emitEvent("progress",[this,this.img,e])};c.prototype.handleEvent=function(t){var e="on"+t.type;if(this[e]){this[e](t)}};c.prototype.onload=function(){this.confirm(true,"onload");this.unbindEvents()};c.prototype.onerror=function(){this.confirm(false,"onerror");this.unbindEvents()};c.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this);this.proxyImage.removeEventListener("error",this);this.img.removeEventListener("load",this);this.img.removeEventListener("error",this)};function u(t,e){this.url=t;this.element=e;this.img=new Image}u.prototype=Object.create(c.prototype);u.prototype.check=function(){this.img.addEventListener("load",this);this.img.addEventListener("error",this);this.img.src=this.url;var t=this.getIsImageComplete();if(t){this.confirm(this.img.naturalWidth!==0,"naturalWidth");this.unbindEvents()}};u.prototype.unbindEvents=function(){this.img.removeEventListener("load",this);this.img.removeEventListener("error",this)};u.prototype.confirm=function(t,e){this.isLoaded=t;this.emitEvent("progress",[this,this.element,e])};l.makeJQueryPlugin=function(t){t=t||e.jQuery;if(!t){return}s=t;s.fn.imagesLoaded=function(t,e){var i=new l(this,t,e);return i.jqDeferred.promise(s(this))}};l.makeJQueryPlugin();return l});
/*!
 * Flickity imagesLoaded v2.0.0
 * enables imagesLoaded option for Flickity
 */
(function(i,n){if(typeof define=="function"&&define.amd){define(["flickity/js/index","imagesloaded/imagesloaded"],function(t,e){return n(i,t,e)})}else if(typeof module=="object"&&module.exports){module.exports=n(i,require("flickity"),require("imagesloaded"))}else{i.Flickity=n(i,i.Flickity,i.imagesLoaded)}})(window,function t(e,i,s){"use strict";i.createMethods.push("_createImagesLoaded");var n=i.prototype;n._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)};n.imagesLoaded=function(){if(!this.options.imagesLoaded){return}var n=this;function t(t,e){var i=n.getParentCell(e.img);n.cellSizeChange(i&&i.element);if(!n.options.freeScroll){n.positionSliderAtSelected()}}s(this.slider).on("progress",t)};return i});



!function n(o,i,l){function a(t,e){if(!i[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);throw(r=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",r}r=i[t]={exports:{}},o[t][0].call(r.exports,function(e){return a(o[t][1][e]||e)},r,r.exports,n,o,i,l)}return i[t].exports}for(var u="function"==typeof require&&require,e=0;e<l.length;e++)a(l[e]);return a}({1:[function(e,t,r){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),o=n(e("@babel/runtime/helpers/classCallCheck")),i=n(e("@babel/runtime/helpers/defineProperty")),e=function e(){var r=this;(0,o.default)(this,e),(0,i.default)(this,"flickity",void 0),(0,i.default)(this,"start",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.querySelectorAll(".gallery-format, .product-entry-slider");r.flickity=[],null!=e&&e.forEach(function(e){var t=new Flickity(e,{autoPlay:!e.classList.contains("woo-entry-image")&&6e3,rightToLeft:!!document.body.classList.contains("rtl"),imagesLoaded:!0,pageDots:!1,on:{ready:function(){e.style.opacity=1,e.style.visibility="visible",e.style.height="auto"}}});r.flickity.push(t)})}),this.start()};window.oceanwp=window.oceanwp||{},window.oceanwp.theme=window.oceanwp.theme||{},oceanwp.owSlider=new e,oceanwp.theme.owSlider=oceanwp.owSlider},{"@babel/runtime/helpers/classCallCheck":2,"@babel/runtime/helpers/defineProperty":3,"@babel/runtime/helpers/interopRequireDefault":4}],2:[function(e,t,r){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],3:[function(e,t,r){t.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],4:[function(e,t,r){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[1]);



!function n(i,r,l){function a(t,e){if(!r[t]){if(!i[t]){var o="function"==typeof require&&require;if(!e&&o)return o(t,!0);if(s)return s(t,!0);throw(o=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",o}o=r[t]={exports:{}},i[t][0].call(o.exports,function(e){return a(i[t][1][e]||e)},o,o.exports,n,i,r,l)}return r[t].exports}for(var s="function"==typeof require&&require,e=0;e<l.length;e++)a(l[e]);return a}({1:[function(e,t,o){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(o,"__esModule",{value:!0}),o.fadeOutNav=o.fadeInNav=o.isSelectorValid=o.isElement=o.getSiblings=o.visible=o.offset=o.fadeToggle=o.fadeOut=o.fadeIn=o.slideToggle=o.slideUp=o.slideDown=o.wrap=void 0;var i=n(e("@babel/runtime/helpers/typeof"));o.wrap=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)};function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,o=window.getComputedStyle(e).display;"none"===o&&(o="block"),e.style.transitionProperty="height",e.style.transitionDuration="".concat(t,"ms"),e.style.opacity=0,e.style.display=o;var n=e.offsetHeight;e.style.height=0,e.style.opacity=1,e.style.overflow="hidden",setTimeout(function(){e.style.height="".concat(n,"px")},5),window.setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.style.removeProperty("opacity")},t+50)}o.slideDown=r;function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300;e.style.boxSizing="border-box",e.style.transitionProperty="height, margin",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(e.offsetHeight,"px"),e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",setTimeout(function(){e.style.height=0},5),window.setTimeout(function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t+50)}o.slideUp=l;o.slideToggle=function(e,t){("none"===window.getComputedStyle(e).display?r:l)(e,t)};function a(e){var t={duration:300,display:null,opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50)}o.fadeIn=a;function s(e){var t;"none"!==e.style.display&&(t={duration:300,display:null,opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.display="none",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}o.fadeOut=s;o.fadeToggle=function(e,t){("none"===window.getComputedStyle(e).display?a:s)(e,t)};o.offset=function(e){if(!e.getClientRects().length)return{top:0,left:0};var t=e.getBoundingClientRect(),e=e.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset}};o.visible=function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};o.getSiblings=function(e){var t=[];if(!e.parentNode)return t;for(var o=e.parentNode.firstChild;o;)1===o.nodeType&&o!==e&&t.push(o),o=o.nextSibling;return t};o.isElement=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":(0,i.default)(HTMLElement))?e instanceof HTMLElement:e&&"object"===(0,i.default)(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var c,e=(c=document.createDocumentFragment(),function(e){try{c.querySelector(e)}catch(e){return!1}return!0});o.isSelectorValid=e;o.fadeInNav=function(e){var t={duration:300,visibility:"visible",opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5)};o.fadeOutNav=function(e){var t;"hidden"!==e.style.visibility&&(t={duration:300,visibility:"hidden",opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.visibility="hidden",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}},{"@babel/runtime/helpers/interopRequireDefault":10,"@babel/runtime/helpers/typeof":11}],2:[function(e,t,o){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),i=n(e("@babel/runtime/helpers/defineProperty")),r=n(e("@babel/runtime/helpers/classCallCheck")),l=n(e("@babel/runtime/helpers/classPrivateFieldSet")),a=n(e("@babel/runtime/helpers/classPrivateFieldGet")),s=e("../lib/utils");function c(t,e){var o,n=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)),n}function u(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?c(Object(o),!0).forEach(function(e){(0,i.default)(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var d=new WeakMap,p=new WeakMap,f=new WeakMap,y=new WeakMap,b=new WeakMap,h=new WeakMap,m=new WeakMap,v=new WeakMap,e=function e(){var i=this;(0,r.default)(this,e),d.set(this,{writable:!0,value:{body:document.body}}),p.set(this,{writable:!0,value:function(){(0,l.default)(i,d,u(u({},(0,a.default)(i,d)),{},{html:document.querySelector("html"),WPAdminbar:document.querySelector("#wpadminbar"),topbarWrapper:document.querySelector("#top-bar-wrap"),header:document.querySelector("#site-header")}))}}),f.set(this,{writable:!0,value:function(){document.querySelectorAll('a[href*="#"]:not([href="#"]), a.local[href*="#"]:not([href="#"]), .local a[href*="#"]:not([href="#"]), a.menu-link[href*="#"]:not([href="#"])').forEach(function(e){e.addEventListener("click",(0,a.default)(i,y))}),document.addEventListener("sectionLoaded",function(){window.oceanwp.fullScreenMobileMenu&&window.oceanwp.fullScreenMobileMenu.closeMainMenu(),window.oceanwp.sidebarMobileMenu&&window.oceanwp.sidebarMobileMenu.closeSidr(),window.oceanwp.dropDownMobileMenu&&window.oceanwp.dropDownMobileMenu.onMenuCloseClick()})}}),y.set(this,{writable:!0,value:function(e){var t,o=e.currentTarget;o.classList.contains("omw-open-modal")||o.closest(".omw-open-modal")||o.classList.contains("oew-modal-button")||o.closest(".oew-modal-button")||o.classList.contains("opl-link")||o.parentNode.classList.contains("opl-link")||o.classList.contains("oew-off-canvas-button")||o.parentNode.classList.contains("oew-off-canvas-button")||o.classList.contains("oec-off-canvas-button")||o.parentNode.classList.contains("oec-off-canvas-button")||(o=(t=o.getAttribute("href")).substring(t.indexOf("#")).slice(1),(t=null,s.isSelectorValid)("#".concat(o))&&(t=document.querySelector("#".concat(o))),""!=o&&t&&(e.preventDefault(),e.stopPropagation(),t=(0,s.offset)(t).top-(0,a.default)(i,b).call(i)-(0,a.default)(i,h).call(i)-(0,a.default)(i,m).call(i)-(0,a.default)(i,v).call(i),(0,a.default)(i,d).html.scrollTo({top:t,behavior:"smooth"})))}}),b.set(this,{writable:!0,value:function(){return oceanwpLocalize.customScrollOffset||0}}),h.set(this,{writable:!0,value:function(){return(0,a.default)(i,d).WPAdminbar?(0,a.default)(i,d).WPAdminbar.offsetHeight:0}}),m.set(this,{writable:!0,value:function(){return(0,a.default)(i,d).topbarWrapper&&(0,a.default)(i,d).topbarWrapper.classList.contains("top-bar-sticky")?(0,a.default)(i,d).topbarWrapper.offsetHeight:0}}),v.set(this,{writable:!0,value:function(){var e,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],o=document.querySelector("#site-header-sticky-wrapper");if(o){if(o.classList.contains("is-sticky")&&!t)return(0,a.default)(i,d).header.offsetHeight;if(null!==(t=(0,a.default)(i,d).header)&&void 0!==t&&t.classList.contains("top-header"))return Number.parseInt(getComputedStyle(o).height);if(null!==(o=(0,a.default)(i,d).header)&&void 0!==o&&o.classList.contains("medium-header")){var n=(0,a.default)(i,d).header.querySelector(".bottom-header-wrap");return n.classList.contains("fixed-scroll")?n.offsetHeight:(0,a.default)(i,d).header.classList.contains("hidden-menu")?(0,a.default)(i,d).header.dataset.height:(0,a.default)(i,d).header.offsetHeight}return null!==(n=(0,a.default)(i,d).header)&&void 0!==n&&n.classList.contains("fixed-header")?(0,a.default)(i,d).header.offsetHeight:null!==(n=(0,a.default)(i,d).header)&&void 0!==n&&n.classList.contains("up-effect")?0:null!==(e=null===(e=(0,a.default)(i,d).header)||void 0===e?void 0:e.dataset.height)&&void 0!==e?e:54}return document.querySelector("#stick-anything-header")?document.querySelector("#stick-anything-header").offsetHeight:null!==(e=document.querySelector(".elementor-section-wrap"))&&void 0!==e&&e.firstElementChild.classList.contains("elementor-sticky")?null===(e=document.querySelector(".elementor-section-wrap"))||void 0===e?void 0:e.firstElementChild.offsetHeight:0}}),(0,a.default)(this,d).body.classList.contains("single-product")||(0,a.default)(this,d).body.classList.contains("no-local-scroll")||((0,a.default)(this,p).call(this),(0,a.default)(this,f).call(this))};window.oceanwp=window.oceanwp||{},oceanwp.scrollEffect=new e},{"../lib/utils":1,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/classPrivateFieldGet":7,"@babel/runtime/helpers/classPrivateFieldSet":8,"@babel/runtime/helpers/defineProperty":9,"@babel/runtime/helpers/interopRequireDefault":10}],3:[function(e,t,o){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],4:[function(e,t,o){t.exports=function(e,t,o){if(t.set)t.set.call(e,o);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=o}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],5:[function(e,t,o){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],6:[function(e,t,o){t.exports=function(e,t,o){if(!t.has(e))throw new TypeError("attempted to "+o+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],7:[function(e,t,o){var n=e("./classApplyDescriptorGet.js"),i=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=i(e,t,"get"),n(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":3,"./classExtractFieldDescriptor.js":6}],8:[function(e,t,o){var n=e("./classApplyDescriptorSet.js"),i=e("./classExtractFieldDescriptor.js");t.exports=function(e,t,o){return t=i(e,t,"set"),n(e,t,o),o},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorSet.js":4,"./classExtractFieldDescriptor.js":6}],9:[function(e,t,o){t.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],10:[function(e,t,o){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],11:[function(e,t,o){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[2]);



!function i(n,l,r){function s(t,e){if(!l[t]){if(!n[t]){var o="function"==typeof require&&require;if(!e&&o)return o(t,!0);if(a)return a(t,!0);throw(o=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",o}o=l[t]={exports:{}},n[t][0].call(o.exports,function(e){return s(n[t][1][e]||e)},o,o.exports,i,n,l,r)}return l[t].exports}for(var a="function"==typeof require&&require,e=0;e<r.length;e++)s(r[e]);return s}({1:[function(e,t,o){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(o,"__esModule",{value:!0}),o.fadeOutNav=o.fadeInNav=o.isSelectorValid=o.isElement=o.getSiblings=o.visible=o.offset=o.fadeToggle=o.fadeOut=o.fadeIn=o.slideToggle=o.slideUp=o.slideDown=o.wrap=void 0;var n=i(e("@babel/runtime/helpers/typeof"));o.wrap=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.createElement("div");return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t.appendChild(e)};function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300,o=window.getComputedStyle(e).display;"none"===o&&(o="block"),e.style.transitionProperty="height",e.style.transitionDuration="".concat(t,"ms"),e.style.opacity=0,e.style.display=o;var i=e.offsetHeight;e.style.height=0,e.style.opacity=1,e.style.overflow="hidden",setTimeout(function(){e.style.height="".concat(i,"px")},5),window.setTimeout(function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.style.removeProperty("opacity")},t+50)}o.slideDown=l;function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:300;e.style.boxSizing="border-box",e.style.transitionProperty="height, margin",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(e.offsetHeight,"px"),e.style.marginTop=0,e.style.marginBottom=0,e.style.overflow="hidden",setTimeout(function(){e.style.height=0},5),window.setTimeout(function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")},t+50)}o.slideUp=r;o.slideToggle=function(e,t){("none"===window.getComputedStyle(e).display?l:r)(e,t)};function s(e){var t={duration:300,display:null,opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50)}o.fadeIn=s;function a(e){var t;"none"!==e.style.display&&(t={duration:300,display:null,opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.display=t.display||"block",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.display="none",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}o.fadeOut=a;o.fadeToggle=function(e,t){("none"===window.getComputedStyle(e).display?s:a)(e,t)};o.offset=function(e){if(!e.getClientRects().length)return{top:0,left:0};var t=e.getBoundingClientRect(),e=e.ownerDocument.defaultView;return{top:t.top+e.pageYOffset,left:t.left+e.pageXOffset}};o.visible=function(e){return!!e&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};o.getSiblings=function(e){var t=[];if(!e.parentNode)return t;for(var o=e.parentNode.firstChild;o;)1===o.nodeType&&o!==e&&t.push(o),o=o.nextSibling;return t};o.isElement=function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":(0,n.default)(HTMLElement))?e instanceof HTMLElement:e&&"object"===(0,n.default)(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var u,e=(u=document.createDocumentFragment(),function(e){try{u.querySelector(e)}catch(e){return!1}return!0});o.isSelectorValid=e;o.fadeInNav=function(e){var t={duration:300,visibility:"visible",opacity:1,callback:null};Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=0,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5)};o.fadeOutNav=function(e){var t;"hidden"!==e.style.visibility&&(t={duration:300,visibility:"hidden",opacity:0,callback:null},Object.assign(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}),e.style.opacity=1,e.style.visibility=t.visibility||"visible",setTimeout(function(){e.style.transition="".concat(t.duration,"ms opacity ease"),e.style.opacity=t.opacity},5),setTimeout(function(){e.style.visibility="hidden",e.style.removeProperty("transition"),t.callback&&t.callback()},t.duration+50))}},{"@babel/runtime/helpers/interopRequireDefault":9,"@babel/runtime/helpers/typeof":10}],2:[function(e,t,o){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault"),n=i(e("@babel/runtime/helpers/classCallCheck")),l=i(e("@babel/runtime/helpers/classPrivateFieldSet")),r=i(e("@babel/runtime/helpers/classPrivateFieldGet")),s=e("../lib/utils"),a=new WeakMap,u=new WeakMap,c=new WeakMap,p=new WeakMap,d=new WeakMap,f=new WeakMap,e=function e(){var t=this;(0,n.default)(this,e),a.set(this,{writable:!0,value:void 0}),u.set(this,{writable:!0,value:function(){(0,l.default)(t,a,{scrollTop:document.querySelector("#scroll-top"),goTop:document.querySelector('a[href="#go-top"]'),goTopSlash:document.querySelector('body.home a[href="/#go-top"]'),html:document.querySelector("html")})}}),c.set(this,{writable:!0,value:function(){}}),p.set(this,{writable:!0,value:function(){var e;window.addEventListener("scroll",(0,r.default)(t,d)),null!==(e=(0,r.default)(t,a).scrollTop)&&void 0!==e&&e.addEventListener("click",(0,r.default)(t,f)),null!==(e=(0,r.default)(t,a).goTop)&&void 0!==e&&e.addEventListener("click",(0,r.default)(t,f)),null!==(e=(0,r.default)(t,a).goTopSlash)&&void 0!==e&&e.addEventListener("click",(0,r.default)(t,f))}}),d.set(this,{writable:!0,value:function(e){(0,r.default)(t,a).scrollTop&&(100<window.pageYOffset?"none"===window.getComputedStyle((0,r.default)(t,a).scrollTop).display&&(0,s.fadeIn)((0,r.default)(t,a).scrollTop):"none"!==window.getComputedStyle((0,r.default)(t,a).scrollTop).display&&(0,s.fadeOut)((0,r.default)(t,a).scrollTop))}}),f.set(this,{writable:!0,value:function(e){e.preventDefault();var e=e.currentTarget;(0,r.default)(t,a).html.scrollTo({top:0,behavior:"smooth"}),null!==(e=e.parentNode)&&void 0!==e&&e.classList.remove("sfHover")}}),(0,r.default)(this,u).call(this),(0,r.default)(this,c).call(this),(0,r.default)(this,p).call(this)};window.oceanwp=window.oceanwp||{},oceanwp.scrollTop=new e},{"../lib/utils":1,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/classPrivateFieldGet":7,"@babel/runtime/helpers/classPrivateFieldSet":8,"@babel/runtime/helpers/interopRequireDefault":9}],3:[function(e,t,o){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],4:[function(e,t,o){t.exports=function(e,t,o){if(t.set)t.set.call(e,o);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=o}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],5:[function(e,t,o){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],6:[function(e,t,o){t.exports=function(e,t,o){if(!t.has(e))throw new TypeError("attempted to "+o+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],7:[function(e,t,o){var i=e("./classApplyDescriptorGet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=n(e,t,"get"),i(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":3,"./classExtractFieldDescriptor.js":6}],8:[function(e,t,o){var i=e("./classApplyDescriptorSet.js"),n=e("./classExtractFieldDescriptor.js");t.exports=function(e,t,o){return t=n(e,t,"set"),i(e,t,o),o},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorSet.js":4,"./classExtractFieldDescriptor.js":6}],9:[function(e,t,o){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],10:[function(e,t,o){function i(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=i=function(e){return typeof e}:t.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,i(e)}t.exports=i,t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[2]);



!function n(a,l,r){function i(t,e){if(!l[t]){if(!a[t]){var s="function"==typeof require&&require;if(!e&&s)return s(t,!0);if(o)return o(t,!0);throw(s=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",s}s=l[t]={exports:{}},a[t][0].call(s.exports,function(e){return i(a[t][1][e]||e)},s,s.exports,n,a,l,r)}return l[t].exports}for(var o="function"==typeof require&&require,e=0;e<r.length;e++)i(r[e]);return i}({1:[function(e,t,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.options=void 0;var n=oceanwpLocalize;s.options=n},{}],2:[function(e,t,s){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var a=n(e("@babel/runtime/helpers/classCallCheck")),l=n(e("@babel/runtime/helpers/defineProperty")),r=n(e("@babel/runtime/helpers/classPrivateFieldSet")),i=n(e("@babel/runtime/helpers/classPrivateFieldGet")),o=e("../constants"),u=new WeakMap,c=new WeakMap,p=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,x=new WeakMap,b=new WeakMap,v=new WeakMap,w=new WeakMap,e=function e(){var t=this;(0,a.default)(this,e),u.set(this,{writable:!0,value:void 0}),c.set(this,{writable:!0,value:void 0}),p.set(this,{writable:!0,value:function(){(0,r.default)(t,u,{selectTags:document.querySelectorAll(o.options.customSelects)})}}),d.set(this,{writable:!0,value:function(){(0,i.default)(t,u).selectTags.forEach(function(e){(0,r.default)(t,c,e),(0,i.default)(t,c).insertAdjacentHTML("afterend",'<span class="theme-select '.concat((0,i.default)(t,c).classList,'">\n            <span class="theme-selectInner">\n                ').concat((0,i.default)(t,c).options[(0,i.default)(t,c).selectedIndex].text,"\n            </span>\n        </span>")),(0,i.default)(t,c).classList.add("hasCustomSelect"),(0,i.default)(t,f).call(t),(0,i.default)(t,h).call(t)})}}),f.set(this,{writable:!0,value:function(){((0,i.default)(t,c).style.opacity=0,i.default)(t,c).style.position="absolute",(0,i.default)(t,c).style.height="34px",(0,i.default)(t,c).style.fontSize="13px",(0,i.default)(t,c).style.appearance="menulist-button",(0,i.default)(t,c).nextSibling.style.display="inline-block",(0,i.default)(t,c).nextSibling.firstElementChild.style.display="inline-block"}}),h.set(this,{writable:!0,value:function(){(0,i.default)(t,c).addEventListener("mouseenter",(0,i.default)(t,x)),(0,i.default)(t,c).addEventListener("mouseleave",(0,i.default)(t,b)),(0,i.default)(t,c).addEventListener("change",t.onChange)}}),x.set(this,{writable:!0,value:function(e){e.currentTarget.classList.add("theme-selectHover")}}),b.set(this,{writable:!0,value:function(e){e.currentTarget.classList.remove("theme-selectHover")}}),(0,l.default)(this,"onChange",function(e){e=e.currentTarget;e.nextSibling.innerHTML=e.options[e.selectedIndex].text}),v.set(this,{writable:!0,value:function(){document.addEventListener("DOMContentLoaded",(0,i.default)(t,w)),window.addEventListener("resize",(0,i.default)(t,w))}}),w.set(this,{writable:!0,value:function(e){(0,i.default)(t,u).selectTags.forEach(function(e){e.style.width=e.nextSibling.offsetWidth+"px"})}}),(0,i.default)(this,p).call(this),(0,i.default)(this,d).call(this),(0,i.default)(this,v).call(this)};s.default=e,window.oceanwp=window.oceanwp||{},oceanwp.select=new e},{"../constants":1,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/classPrivateFieldGet":7,"@babel/runtime/helpers/classPrivateFieldSet":8,"@babel/runtime/helpers/defineProperty":9,"@babel/runtime/helpers/interopRequireDefault":10}],3:[function(e,t,s){t.exports=function(e,t){return t.get?t.get.call(e):t.value},t.exports.default=t.exports,t.exports.__esModule=!0},{}],4:[function(e,t,s){t.exports=function(e,t,s){if(t.set)t.set.call(e,s);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=s}},t.exports.default=t.exports,t.exports.__esModule=!0},{}],5:[function(e,t,s){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},{}],6:[function(e,t,s){t.exports=function(e,t,s){if(!t.has(e))throw new TypeError("attempted to "+s+" private field on non-instance");return t.get(e)},t.exports.default=t.exports,t.exports.__esModule=!0},{}],7:[function(e,t,s){var n=e("./classApplyDescriptorGet.js"),a=e("./classExtractFieldDescriptor.js");t.exports=function(e,t){return t=a(e,t,"get"),n(e,t)},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorGet.js":3,"./classExtractFieldDescriptor.js":6}],8:[function(e,t,s){var n=e("./classApplyDescriptorSet.js"),a=e("./classExtractFieldDescriptor.js");t.exports=function(e,t,s){return t=a(e,t,"set"),n(e,t,s),s},t.exports.default=t.exports,t.exports.__esModule=!0},{"./classApplyDescriptorSet.js":4,"./classExtractFieldDescriptor.js":6}],9:[function(e,t,s){t.exports=function(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e},t.exports.default=t.exports,t.exports.__esModule=!0},{}],10:[function(e,t,s){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.default=t.exports,t.exports.__esModule=!0},{}]},{},[2]);



!function(t){function e(n){n=n.find(".oceanwp-flickr-container");n.length&&n.each(function(){var i=t(this),n=i.data("user-id"),c=i.data("max-photos"),e="jsonFlickrFeed_"+i.attr("id"),n="https://www.flickr.com/services/feeds/photos_public.gne?id="+n+"&format=json&jsoncallback="+e;window[e]=function(n){var o=0;t.each(n.items,function(n,e){var t;o<c&&(t=e.media.m.replace("_m.jpg","_q.jpg"),i.append('<img src="'+t+'" alt="'+e.title+'">'),o++)})};e=document.createElement("script");e.src=n,document.head.appendChild(e)})}t(document).ready(function(){e(t(document))}),t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(n){e(n)})})}(jQuery);



function isValidEmailAddress(e){return new RegExp(/^(("[\w-+\s]+")|([\w-+]+(?:\.[\w-+]+)*)|("[\w-+\s]+")([\w-+]+(?:\.[\w-+]+)*))(@((?:[\w-+]+\.)*\w[\w-+]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][\d]\.|1[\d]{2}\.|[\d]{1,2}\.))((25[0-5]|2[0-4][\d]|1[\d]{2}|[\d]{1,2})\.){2}(25[0-5]|2[0-4][\d]|1[\d]{2}|[\d]{1,2})\]?$)/i).test(e)}jQuery(document).ready(function(n){n(".oceanwp-newsletter-form-wrap #mc-embedded-subscribe-form").on("submit",function(e){e.preventDefault();var d=n(this),i=d.find(".email").val(),e=!0;d.find(".err-msg").hide(),0==n.trim(i).length?(e=!1,d.find(".email-err.req").show()):isValidEmailAddress(i)||(e=!1,d.find(".email-err.not-valid").show()),d.find(".gdpr").length&&!d.find(".gdpr").is(":checked")&&(e=!1,d.find(".gdpr-err.err-msg").show()),d.find(".res-msg").hide(),e&&(d.find("button").attr("disabled",!0),i={action:"oceanwp_mailchimp_request",_ajax_nonce:oceanwpLocalize.oe_mc_wpnonce,email:i},n.ajax({type:"POST",url:oceanwpLocalize.ajax_url,data:i,success:function(e){d.find("button").attr("disabled",!1),(e.status?d.find(".res-msg.success"):d.find(".res-msg.failed")).show().delay(5e3).fadeOut()},complete:function(){}}))})});



/*! elementor - v3.25.0 - 28-10-2024 */
(()=>{"use strict";var e,r,_,t,a,i={},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var _=n[e]={exports:{}};return i[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=i,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var i=1/0;for(u=0;u<e.length;u++){for(var[_,t,a]=e[u],n=!0,c=0;c<_.length;c++)(!1&a||i>=a)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](_[c])))?_.splice(c--,1):(n=!1,a<i&&(i=a));if(n){e.splice(u--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var i={};r=r||[null,_({}),_([]),_(_)];for(var n=2&t&&e;"object"==typeof n&&!~r.indexOf(n);n=_(n))Object.getOwnPropertyNames(n).forEach((r=>i[r]=()=>e[r]));return i.default=()=>e,__webpack_require__.d(a,i),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((r,_)=>(__webpack_require__.f[_](e,r),r)),[])),__webpack_require__.u=e=>906===e?"nested-title-keyboard-handler.0b608656da2be746fb80.bundle.min.js":723===e?"lightbox.01a419d1fcdd47a75a77.bundle.min.js":48===e?"text-path.39fb59e43970222f5a3e.bundle.min.js":209===e?"accordion.8799675460c73eb48972.bundle.min.js":745===e?"alert.cbc2a0fee74ee3ed0419.bundle.min.js":120===e?"counter.02cef29c589e742d4c8c.bundle.min.js":192===e?"progress.985f012a6336ab21cb44.bundle.min.js":520===e?"tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js":181===e?"toggle.31881477c45ff5cf9d4d.bundle.min.js":791===e?"video.78c625e89ab767d621c5.bundle.min.js":268===e?"image-carousel.4455c6362492d9067512.bundle.min.js":357===e?"text-editor.2c35aafbe5bf0e127950.bundle.min.js":52===e?"wp-audio.75f0ced143febb8cd31a.bundle.min.js":609===e?"nested-accordion.c3b109b714293a16bd95.bundle.min.js":8===e?"contact-buttons.31aad77620f461830ce9.bundle.min.js":273===e?"floating-bars.e4547b87bc6fb09381ca.bundle.min.js":413===e?"container.c65a2a923085e1120e75.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementor:",__webpack_require__.l=(e,r,_,i)=>{if(t[e])t[e].push(r);else{var n,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),u=0;u<o.length;u++){var b=o[u];if(b.getAttribute("src")==e||b.getAttribute("data-webpack")==a+_){n=b;break}}n||(c=!0,(n=document.createElement("script")).charset="utf-8",n.timeout=120,__webpack_require__.nc&&n.setAttribute("nonce",__webpack_require__.nc),n.setAttribute("data-webpack",a+_),n.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{n.onerror=n.onload=null,clearTimeout(p);var a=t[e];if(delete t[e],n.parentNode&&n.parentNode.removeChild(n),a&&a.forEach((e=>e(_))),r)return r(_)},p=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=onScriptComplete.bind(null,n.onerror),n.onload=onScriptComplete.bind(null,n.onload),c&&document.head.appendChild(n)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&!e;)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={162:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(162!=r){var a=new Promise(((_,a)=>t=e[r]=[_,a]));_.push(t[2]=a);var i=__webpack_require__.p+__webpack_require__.u(r),n=new Error;__webpack_require__.l(i,(_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),i=_&&_.target&&_.target.src;n.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",n.name="ChunkLoadError",n.type=a,n.request=i,t[1](n)}}),"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[i,n,c]=_,o=0;if(i.some((r=>0!==e[r]))){for(t in n)__webpack_require__.o(n,t)&&(__webpack_require__.m[t]=n[t]);if(c)var u=c(__webpack_require__)}for(r&&r(_);o<i.length;o++)a=i[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(u)},r=self.webpackChunkelementor=self.webpackChunkelementor||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();



/*! elementor - v3.25.0 - 28-10-2024 */
(self.webpackChunkelementor=self.webpackChunkelementor||[]).push([[354],{381:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const n of t)if(e.constructor.name===n.prototype[Symbol.toStringTag])return!0;return!1}},8135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),(n=>{t[n]=e.attributes[n]}))}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each(((e,t)=>setTimeout((()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",(()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))})):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},1292:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2821));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:`.${elementorFrontend.config.swiperClass}`,swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,n=1===t,r=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:n?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(r).reverse().forEach((t=>{const n=i[t]?i[t]:o;s.breakpoints[r[t].value]={slidesPerView:+e["slides_to_show_"+t]||n,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[r[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||n})),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),n?(s.effect=e.effect,"fade"===e.effect&&(s.fadeEffect={crossFade:!0})):s.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(s.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,l="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),l&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"yes"===e.lazyload&&(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),s.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},s.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetWidgetAriaDetails(),this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,s,t),s}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,n){const r=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&r&&"none"!==r)switch(r){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(){if(super.onInit(...arguments),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,n=e.originalEvent.code,r=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(n)))return!0;(t?"ArrowRight":"ArrowLeft")===n?this.swiper.slidePrev():r===n&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],n=this.swiper.params;switch(e){case"autoplay_speed":n.autoplay.delay=t;break;case"speed":n.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),n=t?t[1]:"desktop",r=this.getSpaceBetween(n);"desktop"!==n&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[n].value].spaceBetween=r),this.swiper.params.spaceBetween=r,this.swiper.update()}getPaginationBullets(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"array";const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetWidgetAriaDetails(){const e=this.$element;e.attr("aria-roledescription","carousel"),e.attr("aria-label",elementorFrontend.config.i18n.a11yCarouselWrapperAriaLabel)}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach((e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")}));const n="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&n&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(){if("number"!=typeof("initialisation"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")?0:this.swiper?.activeIndex))return;const e=this.getSwiperWrapperTranformXValue(),t=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each(((n,r)=>{0<=r.offsetLeft+e&&t>r.offsetLeft+e?(r.removeAttribute("aria-hidden"),r.removeAttribute("inert")):(r.setAttribute("aria-hidden",!0),r.setAttribute("inert",""))}))}handleElementHandlers(){}}t.default=CarouselHandlerBase},2821:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3090));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},3090:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter((function(){return jQuery(this).parent().closest(".elementor-element").is(t)}))},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let n="change";"global"!==t&&(n+=":"+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,n){if(n.model.cid!==e.getModelCID())return;const r=Object.keys(t.changed)[0];e.onEditSettingsChange(r,t.changed[r])}}),["page"].forEach((function(t){var n="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[n]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[n](t.changed)}})}))},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)}))},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach((function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)}))},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const n=this.getModelCID();if(this.isEdit&&n){const e=elementorFrontend.config.elements.data[n],r=e.attributes;let i=r.widgetType||r.elType;r.isInner&&(i="inner-"+i);let s=elementorFrontend.config.elements.keys[i];s||(s=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,((e,t)=>{(t.frontend_available||t.editor_available)&&s.push(e)}))),jQuery.each(e.getActiveControls(),(function(e){if(-1!==s.indexOf(e)){let n=r[e];n.toJSON&&(n=n.toJSON()),t[e]=n}}))}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},2263:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3090));class StretchedElement extends i.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...arguments),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},6412:(e,t,n)=>{"use strict";var r=n(3203),i=r(n(5955)),s=r(n(8135)),o=r(n(5658)),a=r(n(2263)),l=r(n(3090)),c=r(n(2821)),u=r(n(1292)),d=r(n(7323));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:l.default,StretchedElement:a.default,SwiperBase:c.default,CarouselBase:u.default,NestedTabs:d.default}}},5658:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var n=this.elements.$element,r=t.innerWidth(),i=n.offset().left,s="fixed"===n.css("position"),o=s?0:i,a=window===t[0];if(!a){var l=t.offset().left;s&&(o=l),i>l&&(o=i-l)}if(e.considerScrollbar&&a){o-=window.innerWidth-r}s||(elementorFrontend.config.is_rtl&&(o=r-(n.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var c={};let u=r;e.margin&&(u-=2*e.margin),c.width=u+"px",c[e.direction]=o+"px","variables"!==e.cssOutput?n.css(c):this.applyCssVariables(n,c)},reset(){const e={},t=this.getSettings(),n=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",n.css(e)):this.resetCssVariables(n)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},6630:(e,t)=>{"use strict";function getChildrenWidth(e){let t=0;const n=e[0].parentNode,r=getComputedStyle(n),i=parseFloat(r.gap)||0;for(let n=0;n<e.length;n++)t+=e[n].offsetWidth+i;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.changeScrollStatus=function changeScrollStatus(e,t){"mousedown"===t.type?(e.classList.add("e-scroll"),e.dataset.pageX=t.pageX):(e.classList.remove("e-scroll","e-scroll-active"),e.dataset.pageX="")},t.setHorizontalScrollAlignment=function setHorizontalScrollAlignment(e){let{element:t,direction:n,justifyCSSVariable:r,horizontalScrollStatus:i}=e;if(!t)return;!function isHorizontalScroll(e,t){return e.clientWidth<getChildrenWidth(e.children)&&"enable"===t}(t,i)?t.style.setProperty(r,""):function initialScrollPosition(e,t,n){const r=elementorFrontend.config.is_rtl;if("end"===t)e.style.setProperty(n,"start"),e.scrollLeft=r?-1*getChildrenWidth(e.children):getChildrenWidth(e.children);else e.style.setProperty(n,"start"),e.scrollLeft=0}(t,n,r)},t.setHorizontalTitleScrollValues=function setHorizontalTitleScrollValues(e,t,n){const r=e.classList.contains("e-scroll"),i="enable"===t,s=e.scrollWidth>e.clientWidth;if(!r||!i||!s)return;n.preventDefault();const o=parseFloat(e.dataset.pageX),a=n.pageX-o;let l=0;l=20<a?5:-20>a?-5:a;e.scrollLeft=e.scrollLeft-l,e.classList.add("e-scroll-active")}},2618:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(740);var i=r(n(7597)),s=r(n(381));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),typeof n[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),!(n[e]instanceof t||(0,s.default)(n[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(e,n),n[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},869:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0,n(740);class ForceMethodImplementation extends Error{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),n=t.startsWith("at new")?"constructor":t.split(" ")[1],r={};if(r.functionName=n,r.fullName=n,r.functionName.includes(".")){const e=r.functionName.split(".");r.className=e[0],r.functionName=e[1]}else r.isStatic=!0;throw new ForceMethodImplementation(r,e)}},7597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach((e=>this instanceof e))}}t.default=InstanceType},1192:(e,t,n)=>{"use strict";n(740);const Module=function(){const e=jQuery,t=arguments,n=this,r={};let i;this.getItems=function(e,t){if(t){const n=t.split("."),r=n.splice(0,1);if(!n.length)return e[r];if(!e[r])return;return this.getItems(e[r],n.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,r,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),n;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),n.setSettings(o.join("."),r,s[a])):(s[a]=r,n)},this.getErrorMessage=function(e,t){let n;if("forceMethodImplementation"===e)n=`The method '${t}' must to be implemented in the inheritor child.`;else n="An error occurs";return n},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,(function(e){n.on(e,this)})),n;return t.split(" ").forEach((function(e){r[e]||(r[e]=[]),r[e].push(i)})),n},this.off=function(e,t){if(!r[e])return n;if(!t)return delete r[e],n;const i=r[e].indexOf(t);return-1!==i&&(delete r[e][i],r[e]=r[e].filter((e=>e))),n},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);n[i]&&n[i].apply(n,s);const o=r[t];return o?(e.each(o,(function(e,t){t.apply(n,s)})),n):n},n.__construct.apply(n,t),e.each(n,(function(e){const t=n[e];"function"==typeof t&&(n[e]=function(){return t.apply(n,arguments)})})),function(){i=n.getDefaultSettings();const r=t[0];r&&e.extend(!0,i,r)}(),n.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,n=this,child=function(){return n.apply(this,arguments)};return t.extend(child,n),(child.prototype=Object.create(t.extend({},n.prototype,e))).constructor=child,child.__super__=n.prototype,child},e.exports=Module},6516:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2640)).default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,n=this.getSettings(),r=n.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each((function(i){var s=Math.floor(i/r),o=jQuery(this),a=o[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(s){var l=o.position(),c=i%r,u=l.top-t-e[c];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[c]+=a}else e.push(a)}))}});t.default=i},400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class Scroll{static scrollObserver(e){let t=0;const n={root:e.root||null,rootMargin:e.offset||"0px",threshold:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=[];if(e>0&&e<=100){const n=100/e;for(let e=0;e<=100;e+=n)t.push(e/100)}else t.push(0);return t}(e.sensitivity)};return new IntersectionObserver((function handleIntersect(n){const r=n[0].boundingClientRect.y,i=n[0].isIntersecting,s=r<t?"down":"up",o=Math.abs(parseFloat((100*n[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:s}),t=r}),n)}static getElementViewportPercentage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e[0].getBoundingClientRect(),r=t.start||0,i=t.end||0,s=window.innerHeight*r/100,o=window.innerHeight*i/100,a=n.top-window.innerHeight,l=0-a+s,c=n.top+s+e.height()-a+o,u=Math.max(0,Math.min(l/c,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=e.start||0,r=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*n/100,o=i+s+i*r/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},2640:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1192)).default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}});t.default=i},5955:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1192)),s=r(n(2640)),o=r(n(2618)),a=r(n(6516)),l=r(n(400)),c=r(n(869)),u=window.elementorModules={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:c.default,utils:{Masonry:a.default,Scroll:l.default}};t.default=u},7323:(e,t,n)=>{"use strict";var r=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3090)),s=n(6630);class NestedTabs extends i.default{getTabTitleFilterSelector(e){return`[${this.getSettings("dataAttributes").tabIndex}="${e}"]`}getTabContentFilterSelector(e){return`*:nth-child(${e})`}getTabIndex(e){return e.getAttribute(this.getSettings("dataAttributes").tabIndex)}getActiveTabIndex(){const e=this.getSettings(),t=e.ariaAttributes.activeTitleSelector,n=e.dataAttributes.tabIndex;return this.elements.$tabTitles.filter(t).attr(n)||null}getWidgetNumber(){return this.$element.find("> .elementor-widget-container > .e-n-tabs, > .e-n-tabs").attr("data-widget-number")}getDefaultSettings(){const e=this.getWidgetNumber();return{selectors:{widgetContainer:`[data-widget-number="${e}"]`,tabTitle:`[aria-controls*="e-n-tab-content-${e}"]`,tabTitleIcon:`[id*="e-n-tab-title-${e}"] > .e-n-tab-icon`,tabTitleText:`[id*="e-n-tab-title-${e}"] > .e-n-tab-title-text`,tabContent:`[data-widget-number="${e}"] > .e-n-tabs-content > .e-con`,headingContainer:`[data-widget-number="${e}"] > .e-n-tabs-heading`,activeTabContentContainers:`[id*="e-n-tab-content-${e}"].e-active`},classes:{active:"e-active"},dataAttributes:{tabIndex:"data-tab-index"},ariaAttributes:{titleStateAttribute:"aria-selected",activeTitleSelector:'[aria-selected="true"]'},showTabFn:"show",hideTabFn:"hide",toggleSelf:!1,hidePrevious:!0,autoExpand:!0}}getDefaultElements(){const e=this.getSettings("selectors");return{$widgetContainer:this.findElement(e.widgetContainer),$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent),$headingContainer:this.findElement(e.headingContainer)}}getKeyboardNavigationSettings(){return this.getSettings()}activateDefaultTab(){const e=this.getSettings(),t=this.getEditSettings("activeItemIndex")||1,n={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(t),this.setSettings(n),this.elements.$widgetContainer.addClass("e-activated")}deactivateActiveTab(e){const t=this.getSettings(),n=t.classes.active,r=t.ariaAttributes.activeTitleSelector,i="."+n,s=this.elements.$tabTitles.filter(r),o=this.elements.$tabContents.filter(i);return this.setTabDeactivationAttributes(s,e),o.removeClass(n),o[t.hideTabFn](0,(()=>this.onHideTabContent(o))),o}getTitleActivationAttributes(){return{tabindex:"0",[this.getSettings("ariaAttributes").titleStateAttribute]:"true"}}setTabDeactivationAttributes(e){const t=this.getSettings("ariaAttributes").titleStateAttribute;e.attr({tabindex:"-1",[t]:"false"})}onHideTabContent(){}activateTab(e){const t=this.getSettings(),n=t.classes.active,r="show"===t.showTabFn?0:400;let i=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e)),s=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e));if(!i.length){const t=Math.max(e-1,1);i=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(t)),s=this.elements.$tabContents.filter(this.getTabContentFilterSelector(t))}i.attr(this.getTitleActivationAttributes()),s.addClass(n),s[t.showTabFn](r,(()=>this.onShowTabContent(s)))}onShowTabContent(e){elementorFrontend.elements.$window.trigger("elementor-pro/motion-fx/recalc"),elementorFrontend.elements.$window.trigger("elementor/nested-tabs/activate",e),elementorFrontend.elements.$window.trigger("elementor/bg-video/recalc")}isActiveTab(e){const t=this.getSettings(),n="true"===this.elements.$tabTitles.filter(`[${t.dataAttributes.tabIndex}="${e}"]`).attr(t.ariaAttributes.titleStateAttribute),r=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).hasClass(this.getActiveClass());return n&&r}onTabClick(e){e.preventDefault(),this.changeActiveTab(e.currentTarget?.getAttribute(this.getSettings("dataAttributes").tabIndex),!0)}getTabEvents(){return{click:this.onTabClick.bind(this)}}getHeadingEvents(){const e=this.elements.$headingContainer[0];return{mousedown:s.changeScrollStatus.bind(this,e),mouseup:s.changeScrollStatus.bind(this,e),mouseleave:s.changeScrollStatus.bind(this,e),mousemove:s.setHorizontalTitleScrollValues.bind(this,e,this.getHorizontalScrollSetting())}}bindEvents(){this.elements.$tabTitles.on(this.getTabEvents()),this.elements.$headingContainer.on(this.getHeadingEvents()),elementorFrontend.elements.$window.on("resize",this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.on("resize",this.setTouchMode.bind(this)),elementorFrontend.elements.$window.on("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.on("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$tabTitles.off(),this.elements.$headingContainer.off(),this.elements.$tabContents.children().off(),elementorFrontend.elements.$window.off("resize",this.onResizeUpdateHorizontalScrolling.bind(this)),elementorFrontend.elements.$window.off("resize",this.setTouchMode.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.off("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}reInitSwipers(e,t){const n=t.querySelectorAll(`.${elementorFrontend.config.swiperClass}`);for(const e of n){if(!e.swiper)return;e.swiper.initialized=!1,e.swiper.init()}}onInit(){super.onInit(...arguments),this.getSettings("autoExpand")&&this.activateDefaultTab(),(0,s.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()),this.setTouchMode(),"nested-tabs.default"===this.getSettings("elementName")&&n.e(906).then(n.bind(n,6752)).then((e=>{let{default:t}=e;new t(this.getKeyboardNavigationSettings())})).catch((e=>{console.error("Error importing module:",e)}))}onEditSettingsChange(e,t){"activeItemIndex"===e&&this.changeActiveTab(t,!1)}onElementChange(e){this.checkSliderPropsToWatch(e)&&(0,s.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}checkSliderPropsToWatch(e){return 0===e.indexOf("horizontal_scroll")||"breakpoint_selector"===e||0===e.indexOf("tabs_justify_horizontal")||0===e.indexOf("tabs_title_space_between")}changeActiveTab(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&this.isEdit&&this.isElementInTheCurrentDocument())return window.top.$e.run("document/repeater/select",{container:elementor.getContainer(this.$element.attr("data-id")),index:parseInt(e)});const t=this.isActiveTab(e),n=this.getSettings();if(!n.toggleSelf&&t||!n.hidePrevious||this.deactivateActiveTab(e),!n.hidePrevious&&t&&this.deactivateActiveTab(e),!t){if(this.isAccordionVersion())return void this.activateMobileTab(e);this.activateTab(e)}}changeActiveTabByKeyboard(e,t){t.widgetId.toString()===this.getID().toString()&&this.changeActiveTab(t.titleIndex,!0)}activateMobileTab(e){setTimeout((()=>{this.activateTab(e),this.forceActiveTabToBeInViewport(e)}),10)}forceActiveTabToBeInViewport(e){if(!elementorFrontend.isEditMode())return;const t=this.elements.$tabTitles.filter(this.getTabTitleFilterSelector(e));elementor.helpers.isInViewport(t[0])||t[0].scrollIntoView({block:"center"})}getActiveClass(){return this.getSettings().classes.active}getTabsDirection(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"tabs_justify_horizontal","",e)}getHorizontalScrollSetting(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"horizontal_scroll","",e)}isAccordionVersion(){return"contents"===this.elements.$headingContainer.css("display")}setTouchMode(){const e=this.getSettings("selectors").widgetContainer;if(elementorFrontend.isEditMode()||"resize"===event?.type){const t=["mobile","mobile_extra","tablet","tablet_extra"],n=elementorFrontend.getCurrentDeviceMode();if(-1!==t.indexOf(n))return void this.$element.find(e).attr("data-touch-mode","true")}else if("ontouchstart"in window)return void this.$element.find(e).attr("data-touch-mode","true");this.$element.find(e).attr("data-touch-mode","false")}linkContainer(e){const{container:t}=e.detail,n=t.model.get("id"),r=this.$element.data("id"),i=t.view.$el;if(n===r&&(this.updateIndexValues(),this.updateListeners(i),elementor.$preview[0].contentWindow.dispatchEvent(new CustomEvent("elementor/elements/link-data-bindings"))),!this.getActiveTabIndex()){const t=e.detail.index+1||1;this.changeActiveTab(t)}}updateListeners(e){this.elements.$tabContents=e.find(this.getSettings("selectors.tabContent")),this.elements.$tabTitles=e.find(this.getSettings("selectors.tabTitle")),this.elements.$tabTitles.on(this.getTabEvents())}updateIndexValues(){const{$widgetContainer:e,$tabContents:t,$tabTitles:n}=this.getDefaultElements(),r=this.getSettings(),i=r.dataAttributes.tabIndex,s=e.data("widgetNumber");n.each(((e,n)=>{const o=e+1,a=`e-n-tab-title-${s}${o}`,l=`e-n-tab-content-${s}${o}`;n.setAttribute("id",a),n.setAttribute("style",`--n-tabs-title-order: ${o}`),n.setAttribute(i,o),n.setAttribute("aria-controls",l),n.querySelector(r.selectors.tabTitleIcon)?.setAttribute("data-binding-index",o),n.querySelector(r.selectors.tabTitleText).setAttribute("data-binding-index",o),t[e].setAttribute("aria-labelledby",a),t[e].setAttribute(i,o),t[e].setAttribute("id",l),t[e].setAttribute("style",`--n-tabs-title-order: ${o}`)}))}onResizeUpdateHorizontalScrolling(){(0,s.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings())}getHorizontalScrollingSettings(){return{element:this.elements.$headingContainer[0],direction:this.getTabsDirection(),justifyCSSVariable:"--n-tabs-heading-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()}}}t.default=NestedTabs},5089:(e,t,n)=>{"use strict";var r=n(930),i=n(9268),s=TypeError;e.exports=function(e){if(r(e))return e;throw s(i(e)+" is not a function")}},1378:(e,t,n)=>{"use strict";var r=n(930),i=String,s=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw s("Can't set "+i(e)+" as a prototype")}},6112:(e,t,n)=>{"use strict";var r=n(8759),i=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw s(i(e)+" is not an object")}},6198:(e,t,n)=>{"use strict";var r=n(4088),i=n(7740),s=n(2871),createMethod=function(e){return function(t,n,o){var a,l=r(t),c=s(l),u=i(o,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},2306:(e,t,n)=>{"use strict";var r=n(8240),i=r({}.toString),s=r("".slice);e.exports=function(e){return s(i(e),8,-1)}},375:(e,t,n)=>{"use strict";var r=n(2371),i=n(930),s=n(2306),o=n(211)("toStringTag"),a=Object,l="Arguments"==s(function(){return arguments}());e.exports=r?s:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:l?s(t):"Object"==(r=s(t))&&i(t.callee)?"Arguments":r}},8474:(e,t,n)=>{"use strict";var r=n(9606),i=n(6095),s=n(4399),o=n(7826);e.exports=function(e,t,n){for(var a=i(t),l=o.f,c=s.f,u=0;u<a.length;u++){var d=a[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},2585:(e,t,n)=>{"use strict";var r=n(5283),i=n(7826),s=n(5736);e.exports=r?function(e,t,n){return i.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},5736:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1343:(e,t,n)=>{"use strict";var r=n(930),i=n(7826),s=n(3712),o=n(9444);e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(r(n)&&s(n,c,a),a.global)l?e[t]=n:o(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},9444:(e,t,n)=>{"use strict";var r=n(2086),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},5283:(e,t,n)=>{"use strict";var r=n(3677);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7886:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},821:(e,t,n)=>{"use strict";var r=n(2086),i=n(8759),s=r.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},4999:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},1448:(e,t,n)=>{"use strict";var r,i,s=n(2086),o=n(4999),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},8684:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},79:(e,t,n)=>{"use strict";var r=n(8240),i=Error,s=r("".replace),o=String(i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=s(e,a,"");return e}},8395:(e,t,n)=>{"use strict";var r=n(2585),i=n(79),s=n(2114),o=Error.captureStackTrace;e.exports=function(e,t,n,a){s&&(o?o(e,t):r(e,"stack",i(n,a)))}},2114:(e,t,n)=>{"use strict";var r=n(3677),i=n(5736);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},1695:(e,t,n)=>{"use strict";var r=n(2086),i=n(4399).f,s=n(2585),o=n(1343),a=n(9444),l=n(8474),c=n(7189);e.exports=function(e,t){var n,u,d,h,g,p=e.target,f=e.global,m=e.stat;if(n=f?r:m?r[p]||a(p,{}):(r[p]||{}).prototype)for(u in t){if(h=t[u],d=e.dontCallGetSet?(g=i(n,u))&&g.value:n[u],!c(f?u:p+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&s(h,"sham",!0),o(n,u,h,e)}}},3677:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7258:(e,t,n)=>{"use strict";var r=n(6059),i=Function.prototype,s=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(s):function(){return o.apply(s,arguments)})},6059:(e,t,n)=>{"use strict";var r=n(3677);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9413:(e,t,n)=>{"use strict";var r=n(6059),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},4398:(e,t,n)=>{"use strict";var r=n(5283),i=n(9606),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=i(s,"name"),l=a&&"something"===function something(){}.name,c=a&&(!r||r&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},1518:(e,t,n)=>{"use strict";var r=n(8240),i=n(5089);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},8240:(e,t,n)=>{"use strict";var r=n(6059),i=Function.prototype,s=i.call,o=r&&i.bind.bind(s,s);e.exports=r?o:function(e){return function(){return s.apply(e,arguments)}}},563:(e,t,n)=>{"use strict";var r=n(2086),i=n(930);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},2964:(e,t,n)=>{"use strict";var r=n(5089),i=n(1858);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},2086:function(e,t,n){"use strict";var check=function(e){return e&&e.Math==Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},9606:(e,t,n)=>{"use strict";var r=n(8240),i=n(3060),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},7153:e=>{"use strict";e.exports={}},6761:(e,t,n)=>{"use strict";var r=n(5283),i=n(3677),s=n(821);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},5974:(e,t,n)=>{"use strict";var r=n(8240),i=n(3677),s=n(2306),o=Object,a=r("".split);e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):o(e)}:o},5070:(e,t,n)=>{"use strict";var r=n(930),i=n(8759),s=n(7530);e.exports=function(e,t,n){var o,a;return s&&r(o=t.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&s(e,a),e}},9277:(e,t,n)=>{"use strict";var r=n(8240),i=n(930),s=n(4489),o=r(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},8945:(e,t,n)=>{"use strict";var r=n(8759),i=n(2585);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},3278:(e,t,n)=>{"use strict";var r,i,s,o=n(640),a=n(2086),l=n(8759),c=n(2585),u=n(9606),d=n(4489),h=n(8944),g=n(7153),p="Object already initialized",f=a.TypeError,m=a.WeakMap;if(o||d.state){var b=d.state||(d.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw f(p);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},s=function(e){return b.has(e)}}else{var v=h("state");g[v]=!0,r=function(e,t){if(u(e,v))throw f(p);return t.facade=e,c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},s=function(e){return u(e,v)}}e.exports={set:r,get:i,has:s,enforce:function(e){return s(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw f("Incompatible receiver, "+e+" required");return n}}}},930:(e,t,n)=>{"use strict";var r=n(7886),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},7189:(e,t,n)=>{"use strict";var r=n(3677),i=n(930),s=/#|\.prototype\./,isForced=function(e,t){var n=a[o(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},l=isForced.NATIVE="N",c=isForced.POLYFILL="P";e.exports=isForced},1858:e=>{"use strict";e.exports=function(e){return null==e}},8759:(e,t,n)=>{"use strict";var r=n(930),i=n(7886),s=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===s}:function(e){return"object"==typeof e?null!==e:r(e)}},3296:e=>{"use strict";e.exports=!1},2071:(e,t,n)=>{"use strict";var r=n(563),i=n(930),s=n(5516),o=n(1876),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&s(t.prototype,a(e))}},2871:(e,t,n)=>{"use strict";var r=n(4005);e.exports=function(e){return r(e.length)}},3712:(e,t,n)=>{"use strict";var r=n(8240),i=n(3677),s=n(930),o=n(9606),a=n(5283),l=n(4398).CONFIGURABLE,c=n(9277),u=n(3278),d=u.enforce,h=u.get,g=String,p=Object.defineProperty,f=r("".slice),m=r("".replace),b=r([].join),v=a&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),S=e.exports=function(e,t,n){"Symbol("===f(g(t),0,7)&&(t="["+m(g(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&o(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return o(r,"source")||(r.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=S((function toString(){return s(this)&&h(this).source||c(this)}),"toString")},5681:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function trunc(e){var r=+e;return(r>0?n:t)(r)}},1879:(e,t,n)=>{"use strict";var r=n(4059);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},7826:(e,t,n)=>{"use strict";var r=n(5283),i=n(6761),s=n(8202),o=n(6112),a=n(2258),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",g="writable";t.f=r?s?function defineProperty(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&g in n&&!n[g]){var r=u(e,t);r&&r[g]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function defineProperty(e,t,n){if(o(e),t=a(t),o(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},4399:(e,t,n)=>{"use strict";var r=n(5283),i=n(9413),s=n(7446),o=n(5736),a=n(4088),l=n(2258),c=n(9606),u=n(6761),d=Object.getOwnPropertyDescriptor;t.f=r?d:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return o(!i(s.f,e,t),e[t])}},62:(e,t,n)=>{"use strict";var r=n(1352),i=n(8684).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,i)}},6952:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},5516:(e,t,n)=>{"use strict";var r=n(8240);e.exports=r({}.isPrototypeOf)},1352:(e,t,n)=>{"use strict";var r=n(8240),i=n(9606),s=n(4088),o=n(6198).indexOf,a=n(7153),l=r([].push);e.exports=function(e,t){var n,r=s(e),c=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&l(u,n);for(;t.length>c;)i(r,n=t[c++])&&(~o(u,n)||l(u,n));return u}},7446:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=r(this,e);return!!t&&t.enumerable}:n},7530:(e,t,n)=>{"use strict";var r=n(1518),i=n(6112),s=n(1378);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function setPrototypeOf(n,r){return i(n),s(r),t?e(n,r):n.__proto__=r,n}}():void 0)},7999:(e,t,n)=>{"use strict";var r=n(9413),i=n(930),s=n(8759),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!s(a=r(n,e)))return a;if(i(n=e.valueOf)&&!s(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!s(a=r(n,e)))return a;throw o("Can't convert object to primitive value")}},6095:(e,t,n)=>{"use strict";var r=n(563),i=n(8240),s=n(62),o=n(6952),a=n(6112),l=i([].concat);e.exports=r("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),n=o.f;return n?l(t,n(e)):t}},1632:(e,t,n)=>{"use strict";var r=n(7826).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},9586:(e,t,n)=>{"use strict";var r=n(1858),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},8944:(e,t,n)=>{"use strict";var r=n(9197),i=n(5422),s=r("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},4489:(e,t,n)=>{"use strict";var r=n(2086),i=n(9444),s="__core-js_shared__",o=r[s]||i(s,{});e.exports=o},9197:(e,t,n)=>{"use strict";var r=n(3296),i=n(4489);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5558:(e,t,n)=>{"use strict";var r=n(1448),i=n(3677),s=n(2086).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7740:(e,t,n)=>{"use strict";var r=n(9502),i=Math.max,s=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):s(n,t)}},4088:(e,t,n)=>{"use strict";var r=n(5974),i=n(9586);e.exports=function(e){return r(i(e))}},9502:(e,t,n)=>{"use strict";var r=n(5681);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},4005:(e,t,n)=>{"use strict";var r=n(9502),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},3060:(e,t,n)=>{"use strict";var r=n(9586),i=Object;e.exports=function(e){return i(r(e))}},1288:(e,t,n)=>{"use strict";var r=n(9413),i=n(8759),s=n(2071),o=n(2964),a=n(7999),l=n(211),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var n,l=o(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!i(n)||s(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2258:(e,t,n)=>{"use strict";var r=n(1288),i=n(2071);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},2371:(e,t,n)=>{"use strict";var r={};r[n(211)("toStringTag")]="z",e.exports="[object z]"===String(r)},4059:(e,t,n)=>{"use strict";var r=n(375),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},9268:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},5422:(e,t,n)=>{"use strict";var r=n(8240),i=0,s=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},1876:(e,t,n)=>{"use strict";var r=n(5558);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8202:(e,t,n)=>{"use strict";var r=n(5283),i=n(3677);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},640:(e,t,n)=>{"use strict";var r=n(2086),i=n(930),s=r.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},211:(e,t,n)=>{"use strict";var r=n(2086),i=n(9197),s=n(9606),o=n(5422),a=n(5558),l=n(1876),c=r.Symbol,u=i("wks"),d=l?c.for||c:c&&c.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(c,e)?c[e]:d("Symbol."+e)),u[e]}},1557:(e,t,n)=>{"use strict";var r=n(563),i=n(9606),s=n(2585),o=n(5516),a=n(7530),l=n(8474),c=n(1632),u=n(5070),d=n(1879),h=n(8945),g=n(8395),p=n(5283),f=n(3296);e.exports=function(e,t,n,m){var b="stackTraceLimit",v=m?2:1,y=e.split("."),S=y[y.length-1],w=r.apply(null,y);if(w){var E=w.prototype;if(!f&&i(E,"cause")&&delete E.cause,!n)return w;var C=r("Error"),x=t((function(e,t){var n=d(m?t:e,void 0),r=m?new w(e):new w;return void 0!==n&&s(r,"message",n),g(r,x,r.stack,2),this&&o(E,this)&&u(r,this,x),arguments.length>v&&h(r,arguments[v]),r}));if(x.prototype=E,"Error"!==S?a?a(x,C):l(x,C,{name:!0}):p&&b in w&&(c(x,w,b),c(x,w,"prepareStackTrace")),l(x,w),!f)try{E.name!==S&&s(E,"name",S),E.constructor=x}catch(e){}return x}}},740:(e,t,n)=>{"use strict";var r=n(1695),i=n(2086),s=n(7258),o=n(1557),a="WebAssembly",l=i[a],c=7!==Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(e,t){var n={};n[e]=o(e,t,c),r({global:!0,constructor:!0,arity:1,forced:c},n)},exportWebAssemblyErrorCauseWrapper=function(e,t){if(l&&l[e]){var n={};n[e]=o(a+"."+e,t,c),r({target:a,stat:!0,constructor:!0,arity:1,forced:c},n)}};exportGlobalErrorCauseWrapper("Error",(function(e){return function Error(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("EvalError",(function(e){return function EvalError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("RangeError",(function(e){return function RangeError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("ReferenceError",(function(e){return function ReferenceError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("SyntaxError",(function(e){return function SyntaxError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("TypeError",(function(e){return function TypeError(t){return s(e,this,arguments)}})),exportGlobalErrorCauseWrapper("URIError",(function(e){return function URIError(t){return s(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("CompileError",(function(e){return function CompileError(t){return s(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("LinkError",(function(e){return function LinkError(t){return s(e,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("RuntimeError",(function(e){return function RuntimeError(t){return s(e,this,arguments)}}))},3203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}},e=>{var t;t=6412,e(e.s=t)}]);



/*! jQuery UI - v1.13.3 - 2024-04-26
* https://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
/*!
 * jQuery UI :data 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
/*!
 * jQuery UI Disable Selection 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
/*!
 * jQuery UI Focusable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
/*!
 * jQuery UI Form Reset Mixin 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
/*!
 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 *
 */
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
/*!
 * jQuery UI Keycode 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
/*!
 * jQuery UI Labels 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
/*!
 * jQuery UI Position 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 *
 * https://api.jqueryui.com/position/
 */
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;e.collisionWidth>n?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
/*!
 * jQuery UI Scroll Parent 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
/*!
 * jQuery UI Tabbable 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
/*!
 * jQuery UI Unique ID 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
/*!
 * jQuery UI Widget 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});


