/*! For license information please see vendor.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([[660],{78446:(t,e,n)=>{"use strict";n.d(e,{n4:()=>w,UD:()=>x});var r=n(38290),i=n(22126),o=n(70019),s=n(34413);var a=n(15188),l=n(79081),c=n(86768),u=n(71414),d=n(57994);function h(t,e,n){void 0===n&&(n=!1);var h,f,p=(0,s.sb)(e),m=(0,s.sb)(e)&&function(t){var e=t.getBoundingClientRect(),n=(0,d.LI)(e.width)/t.offsetWidth||1,r=(0,d.LI)(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),g=(0,c.A)(e),v=(0,r.A)(t,m,n),b={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(p||!p&&!n)&&(("body"!==(0,a.A)(e)||(0,u.A)(g))&&(b=(h=e)!==(0,o.A)(h)&&(0,s.sb)(h)?{scrollLeft:(f=h).scrollLeft,scrollTop:f.scrollTop}:(0,i.A)(h)),(0,s.sb)(e)?((y=(0,r.A)(e,!0)).x+=e.clientLeft,y.y+=e.clientTop):g&&(y.x=(0,l.A)(g))),{x:v.left+b.scrollLeft-y.x,y:v.top+b.scrollTop-y.y,width:v.width,height:v.height}}var f=n(14019),p=n(91118),m=n(67154),g=n(41574);function v(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}var b={placement:"bottom",modifiers:[],strategy:"absolute"};function y(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function x(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?b:i;return function(t,e,n){void 0===n&&(n=o);var i,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},b,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var i="function"==typeof n?n(l.options):n;x(),l.options=Object.assign({},o,l.options,i),l.scrollParents={reference:(0,s.vq)(t)?(0,p.A)(t):t.contextElement?(0,p.A)(t.contextElement):[],popper:(0,p.A)(e)};var a,u,h=function(t){var e=v(t);return g.GM.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),u=a.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(u).map((function(t){return u[t]}))));return l.orderedModifiers=h.filter((function(t){return t.enabled})),l.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var o=i({state:l,name:e,instance:d,options:r}),s=function(){};c.push(o||s)}})),d.update()},forceUpdate:function(){if(!u){var t=l.elements,e=t.reference,n=t.popper;if(y(e,n)){l.rects={reference:h(e,(0,m.A)(n),"fixed"===l.options.strategy),popper:(0,f.A)(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(t){return l.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var i=l.orderedModifiers[r],o=i.fn,s=i.options,a=void 0===s?{}:s,c=i.name;"function"==typeof o&&(l=o({state:l,options:a,name:c,instance:d})||l)}else l.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){d.forceUpdate(),t(l)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){x(),u=!0}};if(!y(t,e))return d;function x(){c.forEach((function(t){return t()})),c=[]}return d.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),d}}var w=x()},31462:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(34413);function i(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&(0,r.Ng)(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}},38290:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(34413),i=n(57994),o=n(70019),s=n(98443);function a(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var a=t.getBoundingClientRect(),l=1,c=1;e&&(0,r.sb)(t)&&(l=t.offsetWidth>0&&(0,i.LI)(a.width)/t.offsetWidth||1,c=t.offsetHeight>0&&(0,i.LI)(a.height)/t.offsetHeight||1);var u=((0,r.vq)(t)?(0,o.A)(t):window).visualViewport,d=!(0,s.A)()&&n,h=(a.left+(d&&u?u.offsetLeft:0))/l,f=(a.top+(d&&u?u.offsetTop:0))/c,p=a.width/l,m=a.height/c;return{width:p,height:m,top:f,right:h+p,bottom:f+m,left:h,x:h,y:f}}},59631:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(70019);function i(t){return(0,r.A)(t).getComputedStyle(t)}},86768:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(34413);function i(t){return(((0,r.vq)(t)?t.ownerDocument:t.document)||window.document).documentElement}},14019:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(38290);function i(t){var e=(0,r.A)(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}},15188:(t,e,n)=>{"use strict";function r(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,{A:()=>r})},67154:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(70019),i=n(15188),o=n(59631),s=n(34413);function a(t){return["table","td","th"].indexOf((0,i.A)(t))>=0}var l=n(42067),c=n(10734);function u(t){return(0,s.sb)(t)&&"fixed"!==(0,o.A)(t).position?t.offsetParent:null}function d(t){for(var e=(0,r.A)(t),n=u(t);n&&a(n)&&"static"===(0,o.A)(n).position;)n=u(n);return n&&("html"===(0,i.A)(n)||"body"===(0,i.A)(n)&&"static"===(0,o.A)(n).position)?e:n||function(t){var e=/firefox/i.test((0,c.A)());if(/Trident/i.test((0,c.A)())&&(0,s.sb)(t)&&"fixed"===(0,o.A)(t).position)return null;var n=(0,l.A)(t);for((0,s.Ng)(n)&&(n=n.host);(0,s.sb)(n)&&["html","body"].indexOf((0,i.A)(n))<0;){var r=(0,o.A)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}},42067:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(15188),i=n(86768),o=n(34413);function s(t){return"html"===(0,r.A)(t)?t:t.assignedSlot||t.parentNode||((0,o.Ng)(t)?t.host:null)||(0,i.A)(t)}},70019:(t,e,n)=>{"use strict";function r(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,{A:()=>r})},22126:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(70019);function i(t){var e=(0,r.A)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},79081:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(38290),i=n(86768),o=n(22126);function s(t){return(0,r.A)((0,i.A)(t)).left+(0,o.A)(t).scrollLeft}},34413:(t,e,n)=>{"use strict";n.d(e,{Ng:()=>s,sb:()=>o,vq:()=>i});var r=n(70019);function i(t){return t instanceof(0,r.A)(t).Element||t instanceof Element}function o(t){return t instanceof(0,r.A)(t).HTMLElement||t instanceof HTMLElement}function s(t){return"undefined"!=typeof ShadowRoot&&(t instanceof(0,r.A)(t).ShadowRoot||t instanceof ShadowRoot)}},98443:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(10734);function i(){return!/^((?!chrome|android).)*safari/i.test((0,r.A)())}},71414:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(59631);function i(t){var e=(0,r.A)(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}},91118:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(42067),i=n(71414),o=n(15188),s=n(34413);function a(t){return["html","body","#document"].indexOf((0,o.A)(t))>=0?t.ownerDocument.body:(0,s.sb)(t)&&(0,i.A)(t)?t:a((0,r.A)(t))}var l=n(70019);function c(t,e){var n;void 0===e&&(e=[]);var o=a(t),s=o===(null==(n=t.ownerDocument)?void 0:n.body),u=(0,l.A)(o),d=s?[u].concat(u.visualViewport||[],(0,i.A)(o)?o:[]):o,h=e.concat(d);return s?h:h.concat(c((0,r.A)(d)))}},41574:(t,e,n)=>{"use strict";n.d(e,{DD:()=>g,EP:()=>k,GM:()=>M,LF:()=>b,LG:()=>x,M9:()=>S,Mn:()=>r,OM:()=>l,Ol:()=>m,R9:()=>h,SE:()=>O,WY:()=>d,_N:()=>u,ci:()=>v,iW:()=>w,ir:()=>p,kb:()=>s,ni:()=>c,pA:()=>_,pG:()=>o,qZ:()=>a,sQ:()=>i,v5:()=>y,xf:()=>f});var r="top",i="bottom",o="right",s="left",a="auto",l=[r,i,o,s],c="start",u="end",d="clippingParents",h="viewport",f="popper",p="reference",m=l.reduce((function(t,e){return t.concat([e+"-"+c,e+"-"+u])}),[]),g=[].concat(l,[a]).reduce((function(t,e){return t.concat([e,e+"-"+c,e+"-"+u])}),[]),v="beforeRead",b="read",y="afterRead",x="beforeMain",w="main",k="afterMain",_="beforeWrite",S="write",O="afterWrite",M=[v,b,y,x,w,k,_,S,O]},37983:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(15188),i=n(34413);const o={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},s=e.elements[t];(0,i.sb)(s)&&(0,r.A)(s)&&(Object.assign(s.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],s=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});(0,i.sb)(o)&&(0,r.A)(o)&&(Object.assign(o.style,a),Object.keys(s).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]}},93744:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});var r=n(5656),i=n(14019),o=n(31462),s=n(67154),a=n(66551),l=n(94555),c=n(58062),u=n(60287),d=n(41574);const h={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,h=t.options,f=n.elements.arrow,p=n.modifiersData.popperOffsets,m=(0,r.A)(n.placement),g=(0,a.A)(m),v=[d.kb,d.pG].indexOf(m)>=0?"height":"width";if(f&&p){var b=function(t,e){return t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,(0,c.A)("number"!=typeof t?t:(0,u.A)(t,d.OM))}(h.padding,n),y=(0,i.A)(f),x="y"===g?d.Mn:d.kb,w="y"===g?d.sQ:d.pG,k=n.rects.reference[v]+n.rects.reference[g]-p[g]-n.rects.popper[v],_=p[g]-n.rects.reference[g],S=(0,s.A)(f),O=S?"y"===g?S.clientHeight||0:S.clientWidth||0:0,M=k/2-_/2,C=b[x],A=O-y[v]-b[w],T=O/2-y[v]/2+M,E=(0,l.u)(C,T,A),D=g;n.modifiersData[o]=((e={})[D]=E,e.centerOffset=E-T,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&(0,o.A)(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},34094:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r=n(41574),i=n(67154),o=n(70019),s=n(86768),a=n(59631),l=n(5656),c=n(37205),u=n(57994),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h(t){var e,n=t.popper,l=t.popperRect,c=t.placement,h=t.variation,f=t.offsets,p=t.position,m=t.gpuAcceleration,g=t.adaptive,v=t.roundOffsets,b=t.isFixed,y=f.x,x=void 0===y?0:y,w=f.y,k=void 0===w?0:w,_="function"==typeof v?v({x,y:k}):{x,y:k};x=_.x,k=_.y;var S=f.hasOwnProperty("x"),O=f.hasOwnProperty("y"),M=r.kb,C=r.Mn,A=window;if(g){var T=(0,i.A)(n),E="clientHeight",D="clientWidth";if(T===(0,o.A)(n)&&(T=(0,s.A)(n),"static"!==(0,a.A)(T).position&&"absolute"===p&&(E="scrollHeight",D="scrollWidth")),c===r.Mn||(c===r.kb||c===r.pG)&&h===r._N)C=r.sQ,k-=(b&&T===A&&A.visualViewport?A.visualViewport.height:T[E])-l.height,k*=m?1:-1;if(c===r.kb||(c===r.Mn||c===r.sQ)&&h===r._N)M=r.pG,x-=(b&&T===A&&A.visualViewport?A.visualViewport.width:T[D])-l.width,x*=m?1:-1}var P,j=Object.assign({position:p},g&&d),L=!0===v?function(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:(0,u.LI)(n*i)/i||0,y:(0,u.LI)(r*i)/i||0}}({x,y:k},(0,o.A)(n)):{x,y:k};return x=L.x,k=L.y,m?Object.assign({},j,((P={})[C]=O?"0":"",P[M]=S?"0":"",P.transform=(A.devicePixelRatio||1)<=1?"translate("+x+"px, "+k+"px)":"translate3d("+x+"px, "+k+"px, 0)",P)):Object.assign({},j,((e={})[C]=O?k+"px":"",e[M]=S?x+"px":"",e.transform="",e))}const f={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,d={placement:(0,l.A)(e.placement),variation:(0,c.A)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,h(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,h(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},7196:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(70019),i={passive:!0};const o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,s=o.scroll,a=void 0===s||s,l=o.resize,c=void 0===l||l,u=(0,r.A)(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&d.forEach((function(t){t.addEventListener("scroll",n.update,i)})),c&&u.addEventListener("resize",n.update,i),function(){a&&d.forEach((function(t){t.removeEventListener("scroll",n.update,i)})),c&&u.removeEventListener("resize",n.update,i)}},data:{}}},67250:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function i(t){return t.replace(/left|right|bottom|top/g,(function(t){return r[t]}))}var o=n(5656),s={start:"end",end:"start"};function a(t){return t.replace(/start|end/g,(function(t){return s[t]}))}var l=n(94848),c=n(37205),u=n(41574);const d={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var s=n.mainAxis,d=void 0===s||s,h=n.altAxis,f=void 0===h||h,p=n.fallbackPlacements,m=n.padding,g=n.boundary,v=n.rootBoundary,b=n.altBoundary,y=n.flipVariations,x=void 0===y||y,w=n.allowedAutoPlacements,k=e.options.placement,_=(0,o.A)(k),S=p||(_===k||!x?[i(k)]:function(t){if((0,o.A)(t)===u.qZ)return[];var e=i(t);return[a(t),e,a(e)]}(k)),O=[k].concat(S).reduce((function(t,n){return t.concat((0,o.A)(n)===u.qZ?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,s=n.rootBoundary,a=n.padding,d=n.flipVariations,h=n.allowedAutoPlacements,f=void 0===h?u.DD:h,p=(0,c.A)(r),m=p?d?u.Ol:u.Ol.filter((function(t){return(0,c.A)(t)===p})):u.OM,g=m.filter((function(t){return f.indexOf(t)>=0}));0===g.length&&(g=m);var v=g.reduce((function(e,n){return e[n]=(0,l.A)(t,{placement:n,boundary:i,rootBoundary:s,padding:a})[(0,o.A)(n)],e}),{});return Object.keys(v).sort((function(t,e){return v[t]-v[e]}))}(e,{placement:n,boundary:g,rootBoundary:v,padding:m,flipVariations:x,allowedAutoPlacements:w}):n)}),[]),M=e.rects.reference,C=e.rects.popper,A=new Map,T=!0,E=O[0],D=0;D<O.length;D++){var P=O[D],j=(0,o.A)(P),L=(0,c.A)(P)===u.ni,I=[u.Mn,u.sQ].indexOf(j)>=0,N=I?"width":"height",R=(0,l.A)(e,{placement:P,boundary:g,rootBoundary:v,altBoundary:b,padding:m}),$=I?L?u.pG:u.kb:L?u.sQ:u.Mn;M[N]>C[N]&&($=i($));var B=i($),F=[];if(d&&F.push(R[j]<=0),f&&F.push(R[$]<=0,R[B]<=0),F.every((function(t){return t}))){E=P,T=!1;break}A.set(P,F)}if(T)for(var z=function(t){var e=O.find((function(e){var n=A.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return E=e,"break"},H=x?3:1;H>0;H--){if("break"===z(H))break}e.placement!==E&&(e.modifiersData[r]._skip=!0,e.placement=E,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},13273:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(41574),i=n(94848);function o(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function s(t){return[r.Mn,r.pG,r.sQ,r.kb].some((function(e){return t[e]>=0}))}const a={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,a=e.rects.popper,l=e.modifiersData.preventOverflow,c=(0,i.A)(e,{elementContext:"reference"}),u=(0,i.A)(e,{altBoundary:!0}),d=o(c,r),h=o(u,a,l),f=s(d),p=s(h);e.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:h,isReferenceHidden:f,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}}},68986:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(5656),i=n(41574);const o={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,o=t.name,s=n.offset,a=void 0===s?[0,0]:s,l=i.DD.reduce((function(t,n){return t[n]=function(t,e,n){var o=(0,r.A)(t),s=[i.kb,i.Mn].indexOf(o)>=0?-1:1,a="function"==typeof n?n(Object.assign({},e,{placement:t})):n,l=a[0],c=a[1];return l=l||0,c=(c||0)*s,[i.kb,i.pG].indexOf(o)>=0?{x:c,y:l}:{x:l,y:c}}(n,e.rects,a),t}),{}),c=l[e.placement],u=c.x,d=c.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[o]=l}}},36227:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(13047);const i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=(0,r.A)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},9602:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r=n(41574),i=n(5656),o=n(66551);var s=n(94555),a=n(14019),l=n(67154),c=n(94848),u=n(37205),d=n(65764),h=n(57994);const f={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,f=t.name,p=n.mainAxis,m=void 0===p||p,g=n.altAxis,v=void 0!==g&&g,b=n.boundary,y=n.rootBoundary,x=n.altBoundary,w=n.padding,k=n.tether,_=void 0===k||k,S=n.tetherOffset,O=void 0===S?0:S,M=(0,c.A)(e,{boundary:b,rootBoundary:y,padding:w,altBoundary:x}),C=(0,i.A)(e.placement),A=(0,u.A)(e.placement),T=!A,E=(0,o.A)(C),D="x"===E?"y":"x",P=e.modifiersData.popperOffsets,j=e.rects.reference,L=e.rects.popper,I="function"==typeof O?O(Object.assign({},e.rects,{placement:e.placement})):O,N="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),R=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,$={x:0,y:0};if(P){if(m){var B,F="y"===E?r.Mn:r.kb,z="y"===E?r.sQ:r.pG,H="y"===E?"height":"width",Y=P[E],W=Y+M[F],V=Y-M[z],U=_?-L[H]/2:0,G=A===r.ni?j[H]:L[H],X=A===r.ni?-L[H]:-j[H],q=e.elements.arrow,K=_&&q?(0,a.A)(q):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:(0,d.A)(),Z=J[F],Q=J[z],tt=(0,s.u)(0,j[H],K[H]),et=T?j[H]/2-U-tt-Z-N.mainAxis:G-tt-Z-N.mainAxis,nt=T?-j[H]/2+U+tt+Q+N.mainAxis:X+tt+Q+N.mainAxis,rt=e.elements.arrow&&(0,l.A)(e.elements.arrow),it=rt?"y"===E?rt.clientTop||0:rt.clientLeft||0:0,ot=null!=(B=null==R?void 0:R[E])?B:0,st=Y+et-ot-it,at=Y+nt-ot,lt=(0,s.u)(_?(0,h.jk)(W,st):W,Y,_?(0,h.T9)(V,at):V);P[E]=lt,$[E]=lt-Y}if(v){var ct,ut="x"===E?r.Mn:r.kb,dt="x"===E?r.sQ:r.pG,ht=P[D],ft="y"===D?"height":"width",pt=ht+M[ut],mt=ht-M[dt],gt=-1!==[r.Mn,r.kb].indexOf(C),vt=null!=(ct=null==R?void 0:R[D])?ct:0,bt=gt?pt:ht-j[ft]-L[ft]-vt+N.altAxis,yt=gt?ht+j[ft]+L[ft]-vt-N.altAxis:mt,xt=_&&gt?(0,s.P)(bt,ht,yt):(0,s.u)(_?bt:pt,ht,_?yt:mt);P[D]=xt,$[D]=xt-ht}e.modifiersData[f]=$}},requiresIfExists:["offset"]}},27736:(t,e,n)=>{"use strict";n.d(e,{n4:()=>p});var r=n(78446),i=n(7196),o=n(36227),s=n(34094),a=n(37983),l=n(68986),c=n(67250),u=n(9602),d=n(93744),h=n(13273),f=[i.A,o.A,s.A,a.A,l.A,c.A,u.A,d.A,h.A],p=(0,r.UD)({defaultModifiers:f})},13047:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(5656),i=n(37205),o=n(66551),s=n(41574);function a(t){var e,n=t.reference,a=t.element,l=t.placement,c=l?(0,r.A)(l):null,u=l?(0,i.A)(l):null,d=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(c){case s.Mn:e={x:d,y:n.y-a.height};break;case s.sQ:e={x:d,y:n.y+n.height};break;case s.pG:e={x:n.x+n.width,y:h};break;case s.kb:e={x:n.x-a.width,y:h};break;default:e={x:n.x,y:n.y}}var f=c?(0,o.A)(c):null;if(null!=f){var p="y"===f?"height":"width";switch(u){case s.ni:e[f]=e[f]-(n[p]/2-a[p]/2);break;case s._N:e[f]=e[f]+(n[p]/2-a[p]/2)}}return e}},94848:(t,e,n)=>{"use strict";n.d(e,{A:()=>S});var r=n(41574),i=n(70019),o=n(86768),s=n(79081),a=n(98443);var l=n(59631),c=n(22126),u=n(57994);var d=n(91118),h=n(67154),f=n(34413),p=n(38290),m=n(42067),g=n(31462),v=n(15188);function b(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function y(t,e,n){return e===r.R9?b(function(t,e){var n=(0,i.A)(t),r=(0,o.A)(t),l=n.visualViewport,c=r.clientWidth,u=r.clientHeight,d=0,h=0;if(l){c=l.width,u=l.height;var f=(0,a.A)();(f||!f&&"fixed"===e)&&(d=l.offsetLeft,h=l.offsetTop)}return{width:c,height:u,x:d+(0,s.A)(t),y:h}}(t,n)):(0,f.vq)(e)?function(t,e){var n=(0,p.A)(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):b(function(t){var e,n=(0,o.A)(t),r=(0,c.A)(t),i=null==(e=t.ownerDocument)?void 0:e.body,a=(0,u.T9)(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),d=(0,u.T9)(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),h=-r.scrollLeft+(0,s.A)(t),f=-r.scrollTop;return"rtl"===(0,l.A)(i||n).direction&&(h+=(0,u.T9)(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:d,x:h,y:f}}((0,o.A)(t)))}function x(t,e,n,r){var i="clippingParents"===e?function(t){var e=(0,d.A)((0,m.A)(t)),n=["absolute","fixed"].indexOf((0,l.A)(t).position)>=0&&(0,f.sb)(t)?(0,h.A)(t):t;return(0,f.vq)(n)?e.filter((function(t){return(0,f.vq)(t)&&(0,g.A)(t,n)&&"body"!==(0,v.A)(t)})):[]}(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce((function(e,n){var i=y(t,n,r);return e.top=(0,u.T9)(i.top,e.top),e.right=(0,u.jk)(i.right,e.right),e.bottom=(0,u.jk)(i.bottom,e.bottom),e.left=(0,u.T9)(i.left,e.left),e}),y(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}var w=n(13047),k=n(58062),_=n(60287);function S(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=void 0===i?t.placement:i,a=n.strategy,l=void 0===a?t.strategy:a,c=n.boundary,u=void 0===c?r.WY:c,d=n.rootBoundary,h=void 0===d?r.R9:d,m=n.elementContext,g=void 0===m?r.xf:m,v=n.altBoundary,y=void 0!==v&&v,S=n.padding,O=void 0===S?0:S,M=(0,k.A)("number"!=typeof O?O:(0,_.A)(O,r.OM)),C=g===r.xf?r.ir:r.xf,A=t.rects.popper,T=t.elements[y?C:g],E=x((0,f.vq)(T)?T:T.contextElement||(0,o.A)(t.elements.popper),u,h,l),D=(0,p.A)(t.elements.reference),P=(0,w.A)({reference:D,element:A,strategy:"absolute",placement:s}),j=b(Object.assign({},A,P)),L=g===r.xf?j:D,I={top:E.top-L.top+M.top,bottom:L.bottom-E.bottom+M.bottom,left:E.left-L.left+M.left,right:L.right-E.right+M.right},N=t.modifiersData.offset;if(g===r.xf&&N){var R=N[s];Object.keys(I).forEach((function(t){var e=[r.pG,r.sQ].indexOf(t)>=0?1:-1,n=[r.Mn,r.sQ].indexOf(t)>=0?"y":"x";I[t]+=R[n]*e}))}return I}},60287:(t,e,n)=>{"use strict";function r(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,{A:()=>r})},5656:(t,e,n)=>{"use strict";function r(t){return t.split("-")[0]}n.d(e,{A:()=>r})},65764:(t,e,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(e,{A:()=>r})},66551:(t,e,n)=>{"use strict";function r(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,{A:()=>r})},37205:(t,e,n)=>{"use strict";function r(t){return t.split("-")[1]}n.d(e,{A:()=>r})},57994:(t,e,n)=>{"use strict";n.d(e,{LI:()=>o,T9:()=>r,jk:()=>i});var r=Math.max,i=Math.min,o=Math.round},58062:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(65764);function i(t){return Object.assign({},(0,r.A)(),t)}},10734:(t,e,n)=>{"use strict";function r(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,{A:()=>r})},94555:(t,e,n)=>{"use strict";n.d(e,{P:()=>o,u:()=>i});var r=n(57994);function i(t,e,n){return(0,r.T9)(t,(0,r.jk)(e,n))}function o(t,e,n){var r=i(t,e,n);return r>n?n:r}},73557:t=>{t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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")}({1582:function(t,e,n){"use strict";var r=n("adc3");n.n(r).a},"185a":function(t,e,n){"use strict";var r=(n("88b1"),n("2877")),i=Object(r.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition-group",{attrs:{tag:"div",name:t.positionClass}},t._l(t.messages,(function(e){return n("VueMessageBlock",{key:e.id+"-fm",attrs:{messageObj:e,positionString:t.position}})})),1)}),[],!1,null,null,null);e.a=i.exports},2350:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(r),o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},"278c":function(t,e,n){var r=n("c135"),i=n("9b42"),o=n("c240");t.exports=function(t,e){return r(t)||i(t,e)||o()}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},"2af9":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var r=n("3a16"),i=n("8c8b"),o=n("bcd4"),s=n("185a"),a=n("2f86"),l={name:"flashMessage",tag:"FlashMessage",time:8e3,strategy:"single"};function c(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!c.installed){c.installed=!0,e=Object.assign(l,e);var n=new t(Object(r.a)(e));t.prototype[e.name]=n;var u=Object.assign(s.a,Object(i.a)(e)),d=Object.assign(a.a,Object(o.a)(e));t.component(e.tag,u),t.component("VueMessageBlock",d)}}var u={install:c},d=null;"undefined"==typeof window?void 0!==t&&(d=t.Vue):d=window.Vue,d&&d.use(u)}).call(this,n("c8ba"))},"2f86":function(t,e,n){"use strict";var r=(n("1582"),n("2877")),i=Object(r.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[t.classObj.status,t.classObj.basic,this.messageObj.clickable?"":"_vue-flash-msg-body_unclickabe",t.positionClass,t.messageObj.blockClass],style:t.positionStyleObj,on:{click:t.clickHandler}},[t.messageObj.componentName?n(t.messageObj.componentName,{tag:"component",attrs:{messageId:t.messageObj.id}}):t.messageObj.html?n("div",{class:["_vue-flash-msg-wrapper",t.messageObj.wrapperClass],domProps:{innerHTML:t._s(t.messageObj.html)}}):n("div",{class:["_vue-flash-msg-wrapper",t.messageObj.wrapperClass]},[t.messageObj.icon?n("div",{class:["_vue-flash-msg-body__icon",t.messageObj.iconClass]},[n("img",{attrs:{src:t.messageObj.icon,alt:"",loading:"lazy"},on:{load:t.imageLoadedHandler}})]):t._e(),n("div",{class:["_vue-flash-msg-body__content",t.messageObj.contentClass]},[n("p",{staticClass:"_vue-flash-msg-body__title",attrs:{role:"heading"}},[t._v("\n\t\t\t\t"+t._s(t.messageObj.title)+"\n\t\t\t")]),n("p",{staticClass:"_vue-flash-msg-body__text"},[t._v("\n\t\t\t\t"+t._s(t.messageObj.message)+"\n\t\t\t")])])])],1)}),[],!1,null,null,null);e.a=i.exports},3664:function(t,e,n){var r=n("d857");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("0d52856b",r,!0,{sourceMap:!1,shadowMode:!1})},"3a16":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=["error","success","warning","info"];function i(t){var e={data:function(){return{messages:[],nextMessageId:1,strategy:t.strategy,timeoutId:void 0,currentHeight:0}},methods:{$_vueFlashMessage_setDimensions:function(t){var e=this,n=t.height,r=t.id,i=t.img;0<this.messages.length?this.currentHeight+=n:this.currentHeight=0,0>n&&"number"==typeof r?setTimeout((function(){e.$emit("changePosition",{height:Math.abs(n),id:r})}),500):this.$emit("changePosition",{height:n,id:r,img:i})},setStrategy:function(t){return!!/^(single)|(multiple)$/i.test(t)&&(this.strategy=t,!0)},show:function(e){var n=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i={id:this.nextMessageId++,time:e.time||t.time,status:"default",message:"",icon:"",clickable:!0};return i=Object.assign(i,e,r),"single"===this.strategy&&0<this.messages.length?(clearTimeout(this.timeoutId),this.messages=[],this.timeoutId=setTimeout((function(){!(0<n.messages.length)||(n.messages=[]),n.messages.push(i)}),600)):this.messages.push(i),i.id},deleteMessage:function(t){this.messages=this.messages.filter((function(e){return e.id!==t}))}},created:function(){this.$on("deleteMessage",this.deleteMessage),this.$on("destroy",this.$_vueFlashMessage_setDimensions),this.$on("imageLoaded",this.$_vueFlashMessage_setDimensions)}},n=!0,i=!1,o=void 0;try{for(var s,a=function(){var t=s.value;e.methods[t]=function(e,n){return this.show(Object.assign(e,{status:t}),n)}},l=r[Symbol.iterator]();!(n=(s=l.next()).done);n=!0)a()}catch(t){i=!0,o=t}finally{try{n||null==l.return||l.return()}finally{if(i)throw o}}return e}},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){c=n,d=i||{};var s=r(t,e);return m(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i],l=o[a.id];l.refs--,n.push(l)}for(e?m(s=r(t,e)):s=[],i=0;i<n.length;i++)if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,r=document.querySelector("style["+h+'~="'+t.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=a||(a=g()),e=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=g(),e=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),d.ssrId&&t.setAttribute(h,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"88b1":function(t,e,n){"use strict";var r=n("3664");n.n(r).a},"8c8b":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("278c"),i=n.n(r);function o(t){return{props:{position:{type:String,default:"right bottom",validator:function(t){return t.split(" ").every((function(t){return 0<=["top","left","right","bottom"].indexOf(t)}))}}},computed:{strategy:function(){return this[t.name].strategy},messages:function(){return this[t.name].messages},positionClass:function(){var t=this.position.split(" "),e=i()(t,2),n=e[0],r=e[1];return"_vue-flash-msg-container_".concat(n,"-").concat(r)}}}}},"9b42":function(t,e){t.exports=function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}}},adc3:function(t,e,n){var r=n("da8d");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("786f93e1",r,!0,{sourceMap:!1,shadowMode:!1})},bcd4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("278c"),i=n.n(r);function o(t){return{props:{messageObj:{type:Object},positionString:{type:String,default:"right bottom"}},data:function(){return{timeoutId:void 0,yAxis:0,heightWithoutImage:0}},computed:{isCustom:function(){return"number"==typeof this.messageObj.x&&"number"==typeof this.messageObj.y},classObj:function(){return{status:"_vue-flash-msg-body_".concat(this.messageObj.status),basic:"_vue-flash-msg-body"}},positionClass:function(){var t=this.positionString.split(" "),e=i()(t,2),n=e[0],r=e[1];return"_vue-flash-msg-_".concat(n,"-").concat(r)},positionStyleObj:function(){var t={},e=this.positionString.split(" "),n=i()(e,2),r=n[0],o=n[1];return this.isCustom?(t[r]="".concat(this.messageObj.x,"px"),t[o]="".concat(this.messageObj.y,"px"),t):(t[o]="".concat(this.yAxis,"px"),t)}},methods:{clearData:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];this.timeoutId&&e&&clearTimeout(this.timeoutId),this[t.name].$emit("deleteMessage",this.messageObj.id)},clickHandler:function(){this.messageObj.clickable&&this.clearData()},changePositionHandler:function(t){var e=t.height,n=t.id,r=t.img;this.messageObj.id>n&&!r?this.yAxis-=e:this.messageObj.id>n&&r&&(this.yAxis+=e)},imageLoadedHandler:function(){if(!this.isCustom){var e=this.$el.offsetHeight-this.heightWithoutImage;this[t.name].$emit("imageLoaded",{height:e,id:this.messageObj.id,img:!0})}},invokeCallback:function(t){this.messageObj[t]&&"function"==typeof this.messageObj[t]&&this.messageObj[t]()}},created:function(){this.messageObj.time&&(this.timeoutId=setTimeout(this.clearData.bind(this,!1),this.messageObj.time)),this[t.name].$on("changePosition",this.changePositionHandler)},mounted:function(){this.heightWithoutImage=this.$el.offsetHeight,this.yAxis=this[t.name].currentHeight+20,this.isCustom||this[t.name].$_vueFlashMessage_setDimensions({height:this.$el.offsetHeight+20}),this.invokeCallback("mounted")},beforeDestroy:function(){this.$off("changePosition",this.changePositionHandler),this.isCustom||this[t.name].$emit("destroy",{height:-(this.$el.offsetHeight+20),id:this.messageObj.id})},destroyed:function(){this.invokeCallback("destroyed")}}}},c135:function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},c240:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},d857:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,"._vue-flash-msg-container_left-bottom-enter-active,._vue-flash-msg-container_right-bottom-enter-active{-webkit-animation:fromBottom .5s forwards;animation:fromBottom .5s forwards}._vue-flash-msg-container_left-top-enter-active,._vue-flash-msg-container_right-top-enter-active{-webkit-animation:fromTop .5s forwards;animation:fromTop .5s forwards}._vue-flash-msg-container_right-bottom-leave-active,._vue-flash-msg-container_right-top-leave-active{-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation:toRight .8s forwards;animation:toRight .8s forwards}._vue-flash-msg-container_left-bottom-leave-active,._vue-flash-msg-container_left-top-leave-active{-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation:toLeft .8s forwards;animation:toLeft .8s forwards}.flash-message-move{-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}@-webkit-keyframes fromBottom{0%{-webkit-transform:translateY(240px);transform:translateY(240px);opacity:0}70%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:.8}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes fromBottom{0%{-webkit-transform:translateY(240px);transform:translateY(240px);opacity:0}70%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:.8}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes fromTop{0%{-webkit-transform:translateY(-240px);transform:translateY(-240px);opacity:0}70%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:.8}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes fromTop{0%{-webkit-transform:translateY(-240px);transform:translateY(-240px);opacity:0}70%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:.8}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes toRight{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}30%{-webkit-transform:translateX(-20px);transform:translateX(-20px);opacity:.8}70%{-webkit-transform:translateX(240px);transform:translateX(240px);opacity:0}to{-webkit-transform:translateX(240px);transform:translateX(240px);opacity:0}}@keyframes toRight{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}30%{-webkit-transform:translateX(-20px);transform:translateX(-20px);opacity:.8}70%{-webkit-transform:translateX(240px);transform:translateX(240px);opacity:0}to{-webkit-transform:translateX(240px);transform:translateX(240px);opacity:0}}@-webkit-keyframes toLeft{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}30%{-webkit-transform:translateX(20px);transform:translateX(20px);opacity:.8}70%{-webkit-transform:translateX(-240px);transform:translateX(-240px);opacity:0}to{-webkit-transform:translateX(-240px);transform:translateX(-240px);opacity:0}}@keyframes toLeft{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}30%{-webkit-transform:translateX(20px);transform:translateX(20px);opacity:.8}70%{-webkit-transform:translateX(-240px);transform:translateX(-240px);opacity:0}to{-webkit-transform:translateX(-240px);transform:translateX(-240px);opacity:0}}",""])},da8d:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,"._vue-flash-msg-body{position:fixed;width:35%;border-radius:5px;-webkit-box-shadow:0 2px 6px rgba(0,0,0,.2);box-shadow:0 2px 6px rgba(0,0,0,.2);background-color:#fff;color:#fff;text-align:left;cursor:pointer;overflow:hidden;-webkit-transition:all .3s ease-in;transition:all .3s ease-in}._vue-flash-msg-body._vue-flash-msg-body_unclickabe{cursor:auto}._vue-flash-msg-body._vue-flash-msg-_right-bottom,._vue-flash-msg-body._vue-flash-msg-_right-top{right:20px}._vue-flash-msg-body._vue-flash-msg-_left-bottom,._vue-flash-msg-body._vue-flash-msg-_left-top{left:20px}._vue-flash-msg-body ._vue-flash-msg-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}._vue-flash-msg-body ._vue-flash-msg-body__icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:20%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;background-color:#fff;overflow:hidden}._vue-flash-msg-body ._vue-flash-msg-body__icon img{width:80%;height:auto}._vue-flash-msg-body ._vue-flash-msg-body__content{padding-left:20px}._vue-flash-msg-body._vue-flash-msg-body_default{color:#000}._vue-flash-msg-body._vue-flash-msg-body_success{border:1px solid #01947a;background-color:rgba(1,148,122,.68)}._vue-flash-msg-body._vue-flash-msg-body_success:hover{background-color:#01947a}._vue-flash-msg-body._vue-flash-msg-body_success ._vue-flash-msg-body__content{border-left:5px solid #01947a}._vue-flash-msg-body._vue-flash-msg-body_info{border:1px solid #1087c2;background-color:rgba(16,135,194,.68)}._vue-flash-msg-body._vue-flash-msg-body_info:hover{background-color:#1087c2}._vue-flash-msg-body._vue-flash-msg-body_info ._vue-flash-msg-body__content{border-left:5px solid #1087c2}._vue-flash-msg-body._vue-flash-msg-body_error{border:1px solid #f12222;background-color:rgba(241,34,34,.68)}._vue-flash-msg-body._vue-flash-msg-body_error:hover{background-color:#f12222}._vue-flash-msg-body._vue-flash-msg-body_error ._vue-flash-msg-body__content{border-left:5px solid #f12222}._vue-flash-msg-body._vue-flash-msg-body_warning{border:1px solid #f18b22;background-color:rgba(241,139,34,.68)}._vue-flash-msg-body._vue-flash-msg-body_warning:hover{background-color:#f18b22}._vue-flash-msg-body._vue-flash-msg-body_warning ._vue-flash-msg-body__content{border-left:5px solid #f18b22}@media (min-width:1024px) and (max-width:1200px){._vue-flash-msg-body{width:60%}._vue-flash-msg-body ._vue-flash-msg-body__content{padding:15px}}@media (min-width:320px) and (max-width:1023px){._vue-flash-msg-body{font-size:.9em;width:90%}._vue-flash-msg-body._vue-flash-msg-_right-bottom,._vue-flash-msg-body._vue-flash-msg-_right-top{right:5%}._vue-flash-msg-body._vue-flash-msg-_left-bottom,._vue-flash-msg-body._vue-flash-msg-_left-top{left:5%}._vue-flash-msg-body ._vue-flash-msg-body__content{padding:10px}}",""])},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(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})}(document)},fb15:function(t,e,n){"use strict";var r;n.r(e),"undefined"!=typeof window&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=n("2af9");e.default=i.a}})},31612:(t,e,n)=>{"use strict";function r(t){return t?(Number(t)^16*Math.random()>>Number(t)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,r)}n.d(e,{c7:()=>m});var i=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{l(r.next(t))}catch(t){o(t)}}function a(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((r=r.apply(t,e||[])).next())}))},o=function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},s=function(){return i(void 0,void 0,void 0,(function(){var t;return o(this,(function(e){return(t=document.createElement("iframe")).id="userlike-frame-".concat(r()),t.title="Empty frame",t.setAttribute("aria-hidden","true"),t.tabIndex=-1,t.setAttribute("style","\n    position: absolute !important;\n    opacity: 0 !important;\n    height : 1px !important;\n    top : 0 !important;\n    left : 0 !important;\n    border : none !important;\n    display : block !important;\n    z-index : -1 !important;\n  "),[2,new Promise((function(e){t.addEventListener("load",(function(){return e(t)})),document.body.appendChild(t)}))]}))}))},a=function(){var t=navigator.userAgent;return t.indexOf("MSIE")>0||t.indexOf("Trident")>0},l=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{l(r.next(t))}catch(t){o(t)}}function a(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((r=r.apply(t,e||[])).next())}))},c=function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function u(t,e,n){return a()?Promise.reject(new Error("Browser is not suported by Userlike messenger.")):Promise.all([h(n),s()]).then((function(n){var r=n[0],i=n[1];return new Promise((function(n,o){var s=i.contentWindow,a=i.contentDocument;if(!s||!a)return Promise.reject(new Error("iframe did not initialize"));var l=r.length-1;r.slice(0,l).forEach((function(t){d(a,t)})),d(a,r[l],(function(){(0,s.run)({widget_key:e},t).then((function(t){return n(t)})).catch(o)}))}))}))}function d(t,e,n){var r=t.createElement("script");r.async=!1,r.src=e,n&&(r.onload=n),t.head.appendChild(r)}function h(t){return l(this,void 0,void 0,(function(){var e,n;return c(this,(function(r){switch(r.label){case 0:return e=function(t){void 0===t&&(t="https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com");return"".concat(t,"/umm-manifest.json")}(t),[4,fetch(e,{mode:"cors"})];case 1:return(n=r.sent()).ok?[2,n.json()]:[2,Promise.reject(new Error(n.statusText))]}}))}))}var f=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{l(r.next(t))}catch(t){o(t)}}function a(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((r=r.apply(t,e||[])).next())}))},p=function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};function m(t){return f(this,void 0,void 0,(function(){return p(this,(function(e){switch(e.label){case 0:return[4,u(window,t.widgetKey,t.baseUrl)];case 1:return[2,(0,e.sent().createMessenger)(t.version)({widget_key:t.widgetKey})]}}))}))}},30214:(t,e)=>{"use strict";e.byteLength=function(t){var e=a(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,o=a(t),s=o[0],l=o[1],c=new i(function(t,e,n){return 3*(e+n)/4-n}(0,s,l)),u=0,d=l>0?s-4:s;for(n=0;n<d;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;2===l&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[u++]=255&e);1===l&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e);return c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],s=16383,a=0,c=r-i;a<c;a+=s)o.push(l(t,a,a+s>c?c:a+s));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,r){for(var i,o,s=[],a=e;a<r;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},60252:(t,e,n)=>{"use strict";n.d(e,{SD:()=>le,ms:()=>je,aF:()=>mn,AM:()=>ir});var r={};n.r(r),n.d(r,{afterMain:()=>i.EP,afterRead:()=>i.v5,afterWrite:()=>i.SE,applyStyles:()=>o.A,arrow:()=>s.A,auto:()=>i.qZ,basePlacements:()=>i.OM,beforeMain:()=>i.LG,beforeRead:()=>i.ci,beforeWrite:()=>i.pA,bottom:()=>i.sQ,clippingParents:()=>i.WY,computeStyles:()=>a.A,createPopper:()=>g.n4,createPopperBase:()=>p.n4,createPopperLite:()=>b,detectOverflow:()=>m.A,end:()=>i._N,eventListeners:()=>l.A,flip:()=>c.A,hide:()=>u.A,left:()=>i.kb,main:()=>i.iW,modifierPhases:()=>i.GM,offset:()=>d.A,placements:()=>i.DD,popper:()=>i.xf,popperGenerator:()=>p.UD,popperOffsets:()=>h.A,preventOverflow:()=>f.A,read:()=>i.LF,reference:()=>i.ir,right:()=>i.pG,start:()=>i.ni,top:()=>i.Mn,variationPlacements:()=>i.Ol,viewport:()=>i.R9,write:()=>i.M9});var i=n(41574),o=n(37983),s=n(93744),a=n(34094),l=n(7196),c=n(67250),u=n(13273),d=n(68986),h=n(36227),f=n(9602),p=n(78446),m=n(94848),g=n(27736),v=[l.A,h.A,a.A,o.A],b=(0,p.UD)({defaultModifiers:v});const y=new Map,x={set(t,e,n){y.has(t)||y.set(t,new Map);const r=y.get(t);r.has(e)||0===r.size?r.set(e,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(t,e)=>y.has(t)&&y.get(t).get(e)||null,remove(t,e){if(!y.has(t))return;const n=y.get(t);n.delete(e),0===n.size&&y.delete(t)}},w="transitionend",k=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),_=t=>{t.dispatchEvent(new Event(w))},S=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),O=t=>S(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(k(t)):null,M=t=>{if(!S(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},C=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),A=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?A(t.parentNode):null},T=()=>{},E=t=>{t.offsetHeight},D=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,P=[],j=()=>"rtl"===document.documentElement.dir,L=t=>{var e;e=()=>{const e=D();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}},"loading"===document.readyState?(P.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of P)t()})),P.push(e)):e()},I=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,N=(t,e,n=!0)=>{if(!n)return void I(t);const r=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return r||i?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let i=!1;const o=({target:n})=>{n===e&&(i=!0,e.removeEventListener(w,o),I(t))};e.addEventListener(w,o),setTimeout((()=>{i||_(e)}),r)},R=(t,e,n,r)=>{const i=t.length;let o=t.indexOf(e);return-1===o?!n&&r?t[i-1]:t[0]:(o+=n?1:-1,r&&(o=(o+i)%i),t[Math.max(0,Math.min(o,i-1))])},$=/[^.]*(?=\..*)\.|.*/,B=/\..*/,F=/::\d+$/,z={};let H=1;const Y={mouseenter:"mouseover",mouseleave:"mouseout"},W=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function V(t,e){return e&&`${e}::${H++}`||t.uidEvent||H++}function U(t){const e=V(t);return t.uidEvent=e,z[e]=z[e]||{},z[e]}function G(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function X(t,e,n){const r="string"==typeof e,i=r?n:e||n;let o=Z(t);return W.has(o)||(o=t),[r,i,o]}function q(t,e,n,r,i){if("string"!=typeof e||!t)return;let[o,s,a]=X(e,n,r);if(e in Y){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s=t(s)}const l=U(t),c=l[a]||(l[a]={}),u=G(c,s,o?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const d=V(s,e.replace($,"")),h=o?function(t,e,n){return function r(i){const o=t.querySelectorAll(e);for(let{target:s}=i;s&&s!==this;s=s.parentNode)for(const a of o)if(a===s)return tt(i,{delegateTarget:s}),r.oneOff&&Q.off(t,i.type,e,n),n.apply(s,[i])}}(t,n,s):function(t,e){return function n(r){return tt(r,{delegateTarget:t}),n.oneOff&&Q.off(t,r.type,e),e.apply(t,[r])}}(t,s);h.delegationSelector=o?n:null,h.callable=s,h.oneOff=i,h.uidEvent=d,c[d]=h,t.addEventListener(a,h,o)}function K(t,e,n,r,i){const o=G(e[n],r,i);o&&(t.removeEventListener(n,o,Boolean(i)),delete e[n][o.uidEvent])}function J(t,e,n,r){const i=e[n]||{};for(const[o,s]of Object.entries(i))o.includes(r)&&K(t,e,n,s.callable,s.delegationSelector)}function Z(t){return t=t.replace(B,""),Y[t]||t}const Q={on(t,e,n,r){q(t,e,n,r,!1)},one(t,e,n,r){q(t,e,n,r,!0)},off(t,e,n,r){if("string"!=typeof e||!t)return;const[i,o,s]=X(e,n,r),a=s!==e,l=U(t),c=l[s]||{},u=e.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(l))J(t,l,n,e.slice(1));for(const[n,r]of Object.entries(c)){const i=n.replace(F,"");a&&!e.includes(i)||K(t,l,s,r.callable,r.delegationSelector)}}else{if(!Object.keys(c).length)return;K(t,l,s,o,i?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const r=D();let i=null,o=!0,s=!0,a=!1;e!==Z(e)&&r&&(i=r.Event(e,n),r(t).trigger(i),o=!i.isPropagationStopped(),s=!i.isImmediatePropagationStopped(),a=i.isDefaultPrevented());const l=tt(new Event(e,{bubbles:o,cancelable:!0}),n);return a&&l.preventDefault(),s&&t.dispatchEvent(l),l.defaultPrevented&&i&&i.preventDefault(),l}};function tt(t,e={}){for(const[n,r]of Object.entries(e))try{t[n]=r}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>r})}return t}function et(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function nt(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const rt={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${nt(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${nt(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=et(t.dataset[r])}return e},getDataAttribute:(t,e)=>et(t.getAttribute(`data-bs-${nt(e)}`))};class it{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=S(e)?rt.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...S(e)?rt.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[r,i]of Object.entries(e)){const e=t[r],o=S(e)?"element":null==(n=e)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}var n}}class ot extends it{constructor(t,e){super(),(t=O(t))&&(this._element=t,this._config=this._getConfig(e),x.set(this._element,this.constructor.DATA_KEY,this))}dispose(){x.remove(this._element,this.constructor.DATA_KEY),Q.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){N(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return x.get(O(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const st=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e?e.split(",").map((t=>k(t))).join(","):null},at={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!C(t)&&M(t)))},getSelectorFromElement(t){const e=st(t);return e&&at.findOne(e)?e:null},getElementFromSelector(t){const e=st(t);return e?at.findOne(e):null},getMultipleElementsFromSelector(t){const e=st(t);return e?at.find(e):[]}},lt=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;Q.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),C(this))return;const i=at.getElementFromSelector(this)||this.closest(`.${r}`);t.getOrCreateInstance(i)[e]()}))},ct=".bs.alert",ut=`close${ct}`,dt=`closed${ct}`;class ht extends ot{static get NAME(){return"alert"}close(){if(Q.trigger(this._element,ut).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),Q.trigger(this._element,dt),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=ht.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}lt(ht,"close"),L(ht);const ft='[data-bs-toggle="button"]';class pt extends ot{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=pt.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}Q.on(document,"click.bs.button.data-api",ft,(t=>{t.preventDefault();const e=t.target.closest(ft);pt.getOrCreateInstance(e).toggle()})),L(pt);const mt=".bs.swipe",gt=`touchstart${mt}`,vt=`touchmove${mt}`,bt=`touchend${mt}`,yt=`pointerdown${mt}`,xt=`pointerup${mt}`,wt={endCallback:null,leftCallback:null,rightCallback:null},kt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class _t extends it{constructor(t,e){super(),this._element=t,t&&_t.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return wt}static get DefaultType(){return kt}static get NAME(){return"swipe"}dispose(){Q.off(this._element,mt)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),I(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&I(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Q.on(this._element,yt,(t=>this._start(t))),Q.on(this._element,xt,(t=>this._end(t))),this._element.classList.add("pointer-event")):(Q.on(this._element,gt,(t=>this._start(t))),Q.on(this._element,vt,(t=>this._move(t))),Q.on(this._element,bt,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const St=".bs.carousel",Ot=".data-api",Mt="ArrowLeft",Ct="ArrowRight",At="next",Tt="prev",Et="left",Dt="right",Pt=`slide${St}`,jt=`slid${St}`,Lt=`keydown${St}`,It=`mouseenter${St}`,Nt=`mouseleave${St}`,Rt=`dragstart${St}`,$t=`load${St}${Ot}`,Bt=`click${St}${Ot}`,Ft="carousel",zt="active",Ht=".active",Yt=".carousel-item",Wt=Ht+Yt,Vt={[Mt]:Dt,[Ct]:Et},Ut={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Gt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Xt extends ot{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=at.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Ft&&this.cycle()}static get Default(){return Ut}static get DefaultType(){return Gt}static get NAME(){return"carousel"}next(){this._slide(At)}nextWhenVisible(){!document.hidden&&M(this._element)&&this.next()}prev(){this._slide(Tt)}pause(){this._isSliding&&_(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?Q.one(this._element,jt,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void Q.one(this._element,jt,(()=>this.to(t)));const n=this._getItemIndex(this._getActive());if(n===t)return;const r=t>n?At:Tt;this._slide(r,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Q.on(this._element,Lt,(t=>this._keydown(t))),"hover"===this._config.pause&&(Q.on(this._element,It,(()=>this.pause())),Q.on(this._element,Nt,(()=>this._maybeEnableCycle()))),this._config.touch&&_t.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of at.find(".carousel-item img",this._element))Q.on(t,Rt,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(Et)),rightCallback:()=>this._slide(this._directionToOrder(Dt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new _t(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Vt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=at.findOne(Ht,this._indicatorsElement);e.classList.remove(zt),e.removeAttribute("aria-current");const n=at.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(zt),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),r=t===At,i=e||R(this._getItems(),n,r,this._config.wrap);if(i===n)return;const o=this._getItemIndex(i),s=e=>Q.trigger(this._element,e,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(s(Pt).defaultPrevented)return;if(!n||!i)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const l=r?"carousel-item-start":"carousel-item-end",c=r?"carousel-item-next":"carousel-item-prev";i.classList.add(c),E(i),n.classList.add(l),i.classList.add(l);this._queueCallback((()=>{i.classList.remove(l,c),i.classList.add(zt),n.classList.remove(zt,c,l),this._isSliding=!1,s(jt)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return at.findOne(Wt,this._element)}_getItems(){return at.find(Yt,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return j()?t===Et?Tt:At:t===Et?At:Tt}_orderToDirection(t){return j()?t===Tt?Et:Dt:t===Tt?Dt:Et}static jQueryInterface(t){return this.each((function(){const e=Xt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}Q.on(document,Bt,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=at.getElementFromSelector(this);if(!e||!e.classList.contains(Ft))return;t.preventDefault();const n=Xt.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===rt.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),Q.on(window,$t,(()=>{const t=at.find('[data-bs-ride="carousel"]');for(const e of t)Xt.getOrCreateInstance(e)})),L(Xt);const qt=".bs.collapse",Kt=`show${qt}`,Jt=`shown${qt}`,Zt=`hide${qt}`,Qt=`hidden${qt}`,te=`click${qt}.data-api`,ee="show",ne="collapse",re="collapsing",ie=`:scope .${ne} .${ne}`,oe='[data-bs-toggle="collapse"]',se={parent:null,toggle:!0},ae={parent:"(null|element)",toggle:"boolean"};class le extends ot{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=at.find(oe);for(const t of n){const e=at.getSelectorFromElement(t),n=at.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return se}static get DefaultType(){return ae}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>le.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(Q.trigger(this._element,Kt).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(ne),this._element.classList.add(re),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(re),this._element.classList.add(ne,ee),this._element.style[e]="",Q.trigger(this._element,Jt)}),this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(Q.trigger(this._element,Zt).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,E(this._element),this._element.classList.add(re),this._element.classList.remove(ne,ee);for(const t of this._triggerArray){const e=at.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(re),this._element.classList.add(ne),Q.trigger(this._element,Qt)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(ee)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=O(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(oe);for(const e of t){const t=at.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=at.find(ie,this._config.parent);return at.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const n=le.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}Q.on(document,te,oe,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of at.getMultipleElementsFromSelector(this))le.getOrCreateInstance(t,{toggle:!1}).toggle()})),L(le);const ce="dropdown",ue=".bs.dropdown",de=".data-api",he="ArrowUp",fe="ArrowDown",pe=`hide${ue}`,me=`hidden${ue}`,ge=`show${ue}`,ve=`shown${ue}`,be=`click${ue}${de}`,ye=`keydown${ue}${de}`,xe=`keyup${ue}${de}`,we="show",ke='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',_e=`${ke}.${we}`,Se=".dropdown-menu",Oe=j()?"top-end":"top-start",Me=j()?"top-start":"top-end",Ce=j()?"bottom-end":"bottom-start",Ae=j()?"bottom-start":"bottom-end",Te=j()?"left-start":"right-start",Ee=j()?"right-start":"left-start",De={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Pe={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class je extends ot{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=at.next(this._element,Se)[0]||at.prev(this._element,Se)[0]||at.findOne(Se,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return De}static get DefaultType(){return Pe}static get NAME(){return ce}toggle(){return this._isShown()?this.hide():this.show()}show(){if(C(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Q.trigger(this._element,ge,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))Q.on(t,"mouseover",T);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(we),this._element.classList.add(we),Q.trigger(this._element,ve,t)}}hide(){if(C(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Q.trigger(this._element,pe,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Q.off(t,"mouseover",T);this._popper&&this._popper.destroy(),this._menu.classList.remove(we),this._element.classList.remove(we),this._element.setAttribute("aria-expanded","false"),rt.removeDataAttribute(this._menu,"popper"),Q.trigger(this._element,me,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!S(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${ce.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:S(this._config.reference)?t=O(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=g.n4(t,this._menu,e)}_isShown(){return this._menu.classList.contains(we)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Te;if(t.classList.contains("dropstart"))return Ee;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Me:Oe:e?Ae:Ce}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(rt.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...I(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const n=at.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>M(t)));n.length&&R(n,e,t===fe,!n.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=je.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=at.find(_e);for(const n of e){const e=je.getInstance(n);if(!e||!1===e._config.autoClose)continue;const r=t.composedPath(),i=r.includes(e._menu);if(r.includes(e._element)||"inside"===e._config.autoClose&&!i||"outside"===e._config.autoClose&&i)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,r=[he,fe].includes(t.key);if(!r&&!n)return;if(e&&!n)return;t.preventDefault();const i=this.matches(ke)?this:at.prev(this,ke)[0]||at.next(this,ke)[0]||at.findOne(ke,t.delegateTarget.parentNode),o=je.getOrCreateInstance(i);if(r)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}Q.on(document,ye,ke,je.dataApiKeydownHandler),Q.on(document,ye,Se,je.dataApiKeydownHandler),Q.on(document,be,je.clearMenus),Q.on(document,xe,je.clearMenus),Q.on(document,be,ke,(function(t){t.preventDefault(),je.getOrCreateInstance(this).toggle()})),L(je);const Le="backdrop",Ie="show",Ne=`mousedown.bs.${Le}`,Re={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},$e={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Be extends it{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Re}static get DefaultType(){return $e}static get NAME(){return Le}show(t){if(!this._config.isVisible)return void I(t);this._append();const e=this._getElement();this._config.isAnimated&&E(e),e.classList.add(Ie),this._emulateAnimation((()=>{I(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(Ie),this._emulateAnimation((()=>{this.dispose(),I(t)}))):I(t)}dispose(){this._isAppended&&(Q.off(this._element,Ne),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=O(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Q.on(t,Ne,(()=>{I(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){N(t,this._getElement(),this._config.isAnimated)}}const Fe=".bs.focustrap",ze=`focusin${Fe}`,He=`keydown.tab${Fe}`,Ye="backward",We={autofocus:!0,trapElement:null},Ve={autofocus:"boolean",trapElement:"element"};class Ue extends it{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return We}static get DefaultType(){return Ve}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Q.off(document,Fe),Q.on(document,ze,(t=>this._handleFocusin(t))),Q.on(document,He,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Q.off(document,Fe))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=at.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===Ye?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Ye:"forward")}}const Ge=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Xe=".sticky-top",qe="padding-right",Ke="margin-right";class Je{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,qe,(e=>e+t)),this._setElementAttributes(Ge,qe,(e=>e+t)),this._setElementAttributes(Xe,Ke,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qe),this._resetElementAttributes(Ge,qe),this._resetElementAttributes(Xe,Ke)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const r=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+r)return;this._saveInitialAttribute(t,e);const i=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(i))}px`)}))}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&rt.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const n=rt.getDataAttribute(t,e);null!==n?(rt.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(S(t))e(t);else for(const n of at.find(t,this._element))e(n)}}const Ze=".bs.modal",Qe=`hide${Ze}`,tn=`hidePrevented${Ze}`,en=`hidden${Ze}`,nn=`show${Ze}`,rn=`shown${Ze}`,on=`resize${Ze}`,sn=`click.dismiss${Ze}`,an=`mousedown.dismiss${Ze}`,ln=`keydown.dismiss${Ze}`,cn=`click${Ze}.data-api`,un="modal-open",dn="show",hn="modal-static",fn={backdrop:!0,focus:!0,keyboard:!0},pn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mn extends ot{constructor(t,e){super(t,e),this._dialog=at.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Je,this._addEventListeners()}static get Default(){return fn}static get DefaultType(){return pn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;Q.trigger(this._element,nn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(un),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;Q.trigger(this._element,Qe).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(dn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){Q.off(window,Ze),Q.off(this._dialog,Ze),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Be({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ue({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=at.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),E(this._element),this._element.classList.add(dn);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Q.trigger(this._element,rn,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){Q.on(this._element,ln,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),Q.on(window,on,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),Q.on(this._element,an,(t=>{Q.one(this._element,sn,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(un),this._resetAdjustments(),this._scrollBar.reset(),Q.trigger(this._element,en)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(Q.trigger(this._element,tn).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(hn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(hn),this._queueCallback((()=>{this._element.classList.remove(hn),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=j()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=j()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const n=mn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](e)}}))}}Q.on(document,cn,'[data-bs-toggle="modal"]',(function(t){const e=at.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),Q.one(e,nn,(t=>{t.defaultPrevented||Q.one(e,en,(()=>{M(this)&&this.focus()}))}));const n=at.findOne(".modal.show");n&&mn.getInstance(n).hide();mn.getOrCreateInstance(e).toggle(this)})),lt(mn),L(mn);const gn=".bs.offcanvas",vn=".data-api",bn=`load${gn}${vn}`,yn="show",xn="showing",wn="hiding",kn=".offcanvas.show",_n=`show${gn}`,Sn=`shown${gn}`,On=`hide${gn}`,Mn=`hidePrevented${gn}`,Cn=`hidden${gn}`,An=`resize${gn}`,Tn=`click${gn}${vn}`,En=`keydown.dismiss${gn}`,Dn={backdrop:!0,keyboard:!0,scroll:!1},Pn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class jn extends ot{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Dn}static get DefaultType(){return Pn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(Q.trigger(this._element,_n,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Je).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(xn);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(yn),this._element.classList.remove(xn),Q.trigger(this._element,Sn,{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(Q.trigger(this._element,On).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(wn),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(yn,wn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Je).reset(),Q.trigger(this._element,Cn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Be({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():Q.trigger(this._element,Mn)}:null})}_initializeFocusTrap(){return new Ue({trapElement:this._element})}_addEventListeners(){Q.on(this._element,En,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():Q.trigger(this._element,Mn))}))}static jQueryInterface(t){return this.each((function(){const e=jn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}Q.on(document,Tn,'[data-bs-toggle="offcanvas"]',(function(t){const e=at.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),C(this))return;Q.one(e,Cn,(()=>{M(this)&&this.focus()}));const n=at.findOne(kn);n&&n!==e&&jn.getInstance(n).hide();jn.getOrCreateInstance(e).toggle(this)})),Q.on(window,bn,(()=>{for(const t of at.find(kn))jn.getOrCreateInstance(t).show()})),Q.on(window,An,(()=>{for(const t of at.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&jn.getOrCreateInstance(t).hide()})),lt(jn),L(jn);const Ln={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},In=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Nn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Rn=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!In.has(n)||Boolean(Nn.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))};const $n={allowList:Ln,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Bn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Fn={entry:"(string|element|function|null)",selector:"(string|element)"};class zn extends it{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return $n}static get DefaultType(){return Bn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},Fn)}_setContent(t,e,n){const r=at.findOne(n,t);r&&((e=this._resolvePossibleFunction(e))?S(e)?this._putElementInTemplate(O(e),r):this._config.html?r.innerHTML=this._maybeSanitize(e):r.textContent=e:r.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const r=(new window.DOMParser).parseFromString(t,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const t of i){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const r=[].concat(...t.attributes),i=[].concat(e["*"]||[],e[n]||[]);for(const e of r)Rn(e,i)||t.removeAttribute(e.nodeName)}return r.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return I(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Hn=new Set(["sanitize","allowList","sanitizeFn"]),Yn="fade",Wn="show",Vn=".tooltip-inner",Un=".modal",Gn="hide.bs.modal",Xn="hover",qn="focus",Kn={AUTO:"auto",TOP:"top",RIGHT:j()?"left":"right",BOTTOM:"bottom",LEFT:j()?"right":"left"},Jn={allowList:Ln,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Zn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Qn extends ot{constructor(t,e){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Jn}static get DefaultType(){return Zn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),Q.off(this._element.closest(Un),Gn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=Q.trigger(this._element,this.constructor.eventName("show")),e=(A(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),Q.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(Wn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Q.on(t,"mouseover",T);this._queueCallback((()=>{Q.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(Q.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(Wn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))Q.off(t,"mouseover",T);this._activeTrigger.click=!1,this._activeTrigger[qn]=!1,this._activeTrigger[Xn]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Q.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Yn,Wn),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Yn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new zn({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Vn]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Yn)}_isShown(){return this.tip&&this.tip.classList.contains(Wn)}_createPopper(t){const e=I(this._config.placement,[this,t,this._element]),n=Kn[e.toUpperCase()];return g.n4(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return I(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...I(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)Q.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===Xn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===Xn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Q.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?qn:Xn]=!0,e._enter()})),Q.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?qn:Xn]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},Q.on(this._element.closest(Un),Gn,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=rt.getDataAttributes(this._element);for(const t of Object.keys(e))Hn.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:O(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Qn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}L(Qn);const tr=".popover-header",er=".popover-body",nr={...Qn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},rr={...Qn.DefaultType,content:"(null|string|element|function)"};class ir extends Qn{static get Default(){return nr}static get DefaultType(){return rr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[tr]:this._getTitle(),[er]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=ir.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}L(ir);const or=".bs.scrollspy",sr=`activate${or}`,ar=`click${or}`,lr=`load${or}.data-api`,cr="active",ur="[href]",dr=".nav-link",hr=`${dr}, .nav-item > ${dr}, .list-group-item`,fr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},pr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class mr extends ot{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return fr}static get DefaultType(){return pr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=O(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Q.off(this._config.target,ar),Q.on(this._config.target,ar,ur,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,r=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:"smooth"});n.scrollTop=r}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&t){if(n(o),!r)return}else i||t||n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=at.find(ur,this._config.target);for(const e of t){if(!e.hash||C(e))continue;const t=at.findOne(decodeURI(e.hash),this._element);M(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(cr),this._activateParents(t),Q.trigger(this._element,sr,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))at.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(cr);else for(const e of at.parents(t,".nav, .list-group"))for(const t of at.prev(e,hr))t.classList.add(cr)}_clearActiveClass(t){t.classList.remove(cr);const e=at.find(`${ur}.${cr}`,t);for(const t of e)t.classList.remove(cr)}static jQueryInterface(t){return this.each((function(){const e=mr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Q.on(window,lr,(()=>{for(const t of at.find('[data-bs-spy="scroll"]'))mr.getOrCreateInstance(t)})),L(mr);const gr=".bs.tab",vr=`hide${gr}`,br=`hidden${gr}`,yr=`show${gr}`,xr=`shown${gr}`,wr=`click${gr}`,kr=`keydown${gr}`,_r=`load${gr}`,Sr="ArrowLeft",Or="ArrowRight",Mr="ArrowUp",Cr="ArrowDown",Ar="Home",Tr="End",Er="active",Dr="fade",Pr="show",jr=".dropdown-toggle",Lr=`:not(${jr})`,Ir='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Nr=`${`.nav-link${Lr}, .list-group-item${Lr}, [role="tab"]${Lr}`}, ${Ir}`,Rr=`.${Er}[data-bs-toggle="tab"], .${Er}[data-bs-toggle="pill"], .${Er}[data-bs-toggle="list"]`;class $r extends ot{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Q.on(this._element,kr,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?Q.trigger(e,vr,{relatedTarget:t}):null;Q.trigger(t,yr,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(Er),this._activate(at.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Q.trigger(t,xr,{relatedTarget:e})):t.classList.add(Pr)}),t,t.classList.contains(Dr))}_deactivate(t,e){if(!t)return;t.classList.remove(Er),t.blur(),this._deactivate(at.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Q.trigger(t,br,{relatedTarget:e})):t.classList.remove(Pr)}),t,t.classList.contains(Dr))}_keydown(t){if(![Sr,Or,Mr,Cr,Ar,Tr].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!C(t)));let n;if([Ar,Tr].includes(t.key))n=e[t.key===Ar?0:e.length-1];else{const r=[Or,Cr].includes(t.key);n=R(e,t.target,r,!0)}n&&(n.focus({preventScroll:!0}),$r.getOrCreateInstance(n).show())}_getChildren(){return at.find(Nr,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=at.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const r=(t,r)=>{const i=at.findOne(t,n);i&&i.classList.toggle(r,e)};r(jr,Er),r(".dropdown-menu",Pr),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(Er)}_getInnerElement(t){return t.matches(Nr)?t:at.findOne(Nr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=$r.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Q.on(document,wr,Ir,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),C(this)||$r.getOrCreateInstance(this).show()})),Q.on(window,_r,(()=>{for(const t of at.find(Rr))$r.getOrCreateInstance(t)})),L($r);const Br=".bs.toast",Fr=`mouseover${Br}`,zr=`mouseout${Br}`,Hr=`focusin${Br}`,Yr=`focusout${Br}`,Wr=`hide${Br}`,Vr=`hidden${Br}`,Ur=`show${Br}`,Gr=`shown${Br}`,Xr="hide",qr="show",Kr="showing",Jr={animation:"boolean",autohide:"boolean",delay:"number"},Zr={animation:!0,autohide:!0,delay:5e3};class Qr extends ot{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Zr}static get DefaultType(){return Jr}static get NAME(){return"toast"}show(){if(Q.trigger(this._element,Ur).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Xr),E(this._element),this._element.classList.add(qr,Kr),this._queueCallback((()=>{this._element.classList.remove(Kr),Q.trigger(this._element,Gr),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(Q.trigger(this._element,Wr).defaultPrevented)return;this._element.classList.add(Kr),this._queueCallback((()=>{this._element.classList.add(Xr),this._element.classList.remove(Kr,qr),Q.trigger(this._element,Vr)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(qr),super.dispose()}isShown(){return this._element.classList.contains(qr)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Q.on(this._element,Fr,(t=>this._onInteraction(t,!0))),Q.on(this._element,zr,(t=>this._onInteraction(t,!1))),Q.on(this._element,Hr,(t=>this._onInteraction(t,!0))),Q.on(this._element,Yr,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Qr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}lt(Qr),L(Qr)},8515:function(t,e,n){t.exports=function(t,e,n,r){"use strict";const i="5.3.3";class o extends n{constructor(e,n){super(),(e=r.getElement(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){r.executeAfterTransition(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(e){return t.get(r.getElement(e),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return i}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}return o}(n(85445),n(29284),n(62409),n(72579))},60631:function(t,e,n){t.exports=function(t,e,n,r){"use strict";const i="collapse",o=".bs.collapse",s=`show${o}`,a=`shown${o}`,l=`hide${o}`,c=`hidden${o}`,u=`click${o}.data-api`,d="show",h="collapse",f="collapsing",p="collapsed",m=`:scope .${h} .${h}`,g="collapse-horizontal",v="width",b="height",y=".collapse.show, .collapse.collapsing",x='[data-bs-toggle="collapse"]',w={parent:null,toggle:!0},k={parent:"(null|element)",toggle:"boolean"};class _ extends t{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const r=n.find(x);for(const t of r){const e=n.getSelectorFromElement(t),r=n.find(e).filter((t=>t===this._element));null!==e&&r.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return w}static get DefaultType(){return k}static get NAME(){return i}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(y).filter((t=>t!==this._element)).map((t=>_.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(e.trigger(this._element,s).defaultPrevented)return;for(const e of t)e.hide();const n=this._getDimension();this._element.classList.remove(h),this._element.classList.add(f),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(h,d),this._element.style[n]="",e.trigger(this._element,a)},i=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[n]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(e.trigger(this._element,l).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,r.reflow(this._element),this._element.classList.add(f),this._element.classList.remove(h,d);for(const t of this._triggerArray){const e=n.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(h),e.trigger(this._element,c)};this._element.style[t]="",this._queueCallback(i,this._element,!0)}_isShown(t=this._element){return t.classList.contains(d)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r.getElement(t.parent),t}_getDimension(){return this._element.classList.contains(g)?v:b}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(x);for(const e of t){const t=n.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=n.find(m,this._config.parent);return n.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle(p,!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const n=_.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}return e.on(document,u,x,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of n.getMultipleElementsFromSelector(this))_.getOrCreateInstance(t,{toggle:!1}).toggle()})),r.defineJQueryPlugin(_),_}(n(8515),n(29284),n(43875),n(72579))},85445:function(t){t.exports=function(){"use strict";const t=new Map;return{set(e,n,r){t.has(e)||t.set(e,new Map);const i=t.get(e);i.has(n)||0===i.size?i.set(n,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(e,n)=>t.has(e)&&t.get(e).get(n)||null,remove(e,n){if(!t.has(e))return;const r=t.get(e);r.delete(n),0===r.size&&t.delete(e)}}}()},29284:function(t,e,n){t.exports=function(t){"use strict";const e=/[^.]*(?=\..*)\.|.*/,n=/\..*/,r=/::\d+$/,i={};let o=1;const s={mouseenter:"mouseover",mouseleave:"mouseout"},a=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function l(t,e){return e&&`${e}::${o++}`||t.uidEvent||o++}function c(t){const e=l(t);return t.uidEvent=e,i[e]=i[e]||{},i[e]}function u(t,e){return function n(r){return y(r,{delegateTarget:t}),n.oneOff&&b.off(t,r.type,e),e.apply(t,[r])}}function d(t,e,n){return function r(i){const o=t.querySelectorAll(e);for(let{target:s}=i;s&&s!==this;s=s.parentNode)for(const a of o)if(a===s)return y(i,{delegateTarget:s}),r.oneOff&&b.off(t,i.type,e,n),n.apply(s,[i])}}function h(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function f(t,e,n){const r="string"==typeof e,i=r?n:e||n;let o=v(t);return a.has(o)||(o=t),[r,i,o]}function p(t,n,r,i,o){if("string"!=typeof n||!t)return;let[a,p,m]=f(n,r,i);if(n in s){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};p=t(p)}const g=c(t),v=g[m]||(g[m]={}),b=h(v,p,a?r:null);if(b)return void(b.oneOff=b.oneOff&&o);const y=l(p,n.replace(e,"")),x=a?d(t,r,p):u(t,p);x.delegationSelector=a?r:null,x.callable=p,x.oneOff=o,x.uidEvent=y,v[y]=x,t.addEventListener(m,x,a)}function m(t,e,n,r,i){const o=h(e[n],r,i);o&&(t.removeEventListener(n,o,Boolean(i)),delete e[n][o.uidEvent])}function g(t,e,n,r){const i=e[n]||{};for(const[o,s]of Object.entries(i))o.includes(r)&&m(t,e,n,s.callable,s.delegationSelector)}function v(t){return t=t.replace(n,""),s[t]||t}const b={on(t,e,n,r){p(t,e,n,r,!1)},one(t,e,n,r){p(t,e,n,r,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[o,s,a]=f(e,n,i),l=a!==e,u=c(t),d=u[a]||{},h=e.startsWith(".");if(void 0===s){if(h)for(const n of Object.keys(u))g(t,u,n,e.slice(1));for(const[n,i]of Object.entries(d)){const o=n.replace(r,"");l&&!e.includes(o)||m(t,u,a,i.callable,i.delegationSelector)}}else{if(!Object.keys(d).length)return;m(t,u,a,s,o?n:null)}},trigger(e,n,r){if("string"!=typeof n||!e)return null;const i=t.getjQuery();let o=null,s=!0,a=!0,l=!1;n!==v(n)&&i&&(o=i.Event(n,r),i(e).trigger(o),s=!o.isPropagationStopped(),a=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented());const c=y(new Event(n,{bubbles:s,cancelable:!0}),r);return l&&c.preventDefault(),a&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function y(t,e={}){for(const[n,r]of Object.entries(e))try{t[n]=r}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>r})}return t}return b}(n(72579))},45437:function(t){t.exports=function(){"use strict";function t(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function e(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}return{setDataAttribute(t,n,r){t.setAttribute(`data-bs-${e(n)}`,r)},removeDataAttribute(t,n){t.removeAttribute(`data-bs-${e(n)}`)},getDataAttributes(e){if(!e)return{};const n={},r=Object.keys(e.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const i of r){let r=i.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),n[r]=t(e.dataset[i])}return n},getDataAttribute:(n,r)=>t(n.getAttribute(`data-bs-${e(r)}`))}}()},43875:function(t,e,n){t.exports=function(t){"use strict";const e=e=>{let n=e.getAttribute("data-bs-target");if(!n||"#"===n){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),n=t&&"#"!==t?t.trim():null}return n?n.split(",").map((e=>t.parseSelector(e))).join(","):null},n={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(n,e).filter((e=>!t.isDisabled(e)&&t.isVisible(e)))},getSelectorFromElement(t){const r=e(t);return r&&n.findOne(r)?r:null},getElementFromSelector(t){const r=e(t);return r?n.findOne(r):null},getMultipleElementsFromSelector(t){const r=e(t);return r?n.find(r):[]}};return n}(n(72579))},62409:function(t,e,n){t.exports=function(t,e){"use strict";class n{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(n,r){const i=e.isElement(r)?t.getDataAttribute(r,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...e.isElement(r)?t.getDataAttributes(r):{},..."object"==typeof n?n:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[r,i]of Object.entries(n)){const n=t[r],o=e.isElement(n)?"element":e.toType(n);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}}}return n}(n(45437),n(72579))},72579:function(t,e){!function(t){"use strict";const e=1e6,n=1e3,r="transitionend",i=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),o=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),s=t=>{do{t+=Math.floor(Math.random()*e)}while(document.getElementById(t));return t},a=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:r}=window.getComputedStyle(t);const i=Number.parseFloat(e),o=Number.parseFloat(r);return i||o?(e=e.split(",")[0],r=r.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(r))*n):0},l=t=>{t.dispatchEvent(new Event(r))},c=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),u=t=>c(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(i(t)):null,d=t=>{if(!c(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},h=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),f=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?f(t.parentNode):null},p=()=>{},m=t=>{t.offsetHeight},g=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],b=t=>{"loading"===document.readyState?(v.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of v)t()})),v.push(t)):t()},y=()=>"rtl"===document.documentElement.dir,x=t=>{b((()=>{const e=g();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}}))},w=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,k=(t,e,n=!0)=>{if(!n)return void w(t);const i=5,o=a(e)+i;let s=!1;const c=({target:n})=>{n===e&&(s=!0,e.removeEventListener(r,c),w(t))};e.addEventListener(r,c),setTimeout((()=>{s||l(e)}),o)},_=(t,e,n,r)=>{const i=t.length;let o=t.indexOf(e);return-1===o?!n&&r?t[i-1]:t[0]:(o+=n?1:-1,r&&(o=(o+i)%i),t[Math.max(0,Math.min(o,i-1))])};t.defineJQueryPlugin=x,t.execute=w,t.executeAfterTransition=k,t.findShadowRoot=f,t.getElement=u,t.getNextActiveElement=_,t.getTransitionDurationFromElement=a,t.getUID=s,t.getjQuery=g,t.isDisabled=h,t.isElement=c,t.isRTL=y,t.isVisible=d,t.noop=p,t.onDOMContentLoaded=b,t.parseSelector=i,t.reflow=m,t.toType=o,t.triggerTransitionEnd=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(e)},67647:(t,e,n)=>{"use strict";var r=n(30214),i=n(5275),o=n(52826);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=h(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n);t=a(t,r);var i=t.write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(l.isBuffer(e)){var n=0|f(e.length);return 0===(t=a(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?a(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(u(e),t=a(t,e<0?0:0|f(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|f(e.length);t=a(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function f(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function p(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function m(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return E(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return A(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,i);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){var o,s=1,a=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var u=-1;for(o=n;o<a;o++)if(c(t,o)===c(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(c(t,o+h)!==c(e,h)){d=!1;break}if(d)return o}return-1}function y(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function x(t,e,n,r){return Y(z(e,t.length-n),t,n,r)}function w(t,e,n,r){return Y(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function k(t,e,n,r){return w(t,e,n,r)}function _(t,e,n,r){return Y(H(e),t,n,r)}function S(t,e,n,r){return Y(function(t,e){for(var n,r,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=(n=t.charCodeAt(s))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function O(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function M(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,s,a,l,c=t[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=t[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(t){var e=t.length;if(e<=C)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=C));return n}(r)}e.hp=l,e.IS=50,l.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),s(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return c(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,r){return u(e),e<=0?a(t,e):void 0!==n?"string"==typeof r?a(t,e).fill(n,r):a(t,e).fill(n):a(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return d(null,t)},l.allocUnsafeSlow=function(t){return d(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?M(this,0,t):m.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.IS;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(o,s),c=this.slice(r,i),u=t.slice(e,n),d=0;d<a;++d)if(c[d]!==u[d]){o=c[d],s=u[d];break}return o<s?-1:s<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return k(this,t,e,n);case"base64":return _(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function E(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=F(t[o]);return i}function D(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function j(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function L(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function I(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function N(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(t,e,n,r,o){return o||N(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function $(t,e,n,r,o){return o||N(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=l.prototype;else{var i=e-t;n=new l(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||P(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||P(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||P(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||j(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||j(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):I(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);j(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);j(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):I(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return R(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return R(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return $(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return $(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},l.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=l.isBuffer(t)?t:z(new l(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function F(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}},31532:t=>{t.exports=function(t,e,n){return e<n?t<e?e:t>n?n:t:t<n?n:t>e?e:t}},55386:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<t.length;a++){var l=[].concat(t[a]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},79807:function(t,e,n){var r,i,o;i="undefined"!=typeof window?window:this,o=function(t){"use strict";var e={};function n(e,n,r,i){e.hasOwnProperty(n)||(e[n]=i.apply(null,r),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}return n(e,"Core/Globals.js",[],(function(){var e,n;return(n=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.3",n.win=void 0!==t?t:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=-1!==n.userAgent.indexOf("Chrome"),n.isFirefox=-1!==n.userAgent.indexOf("Firefox"),n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari"),n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit"),n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let t=!1;if(!n.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e})),n(e,"Core/Utilities.js",[e["Core/Globals.js"]],(function(t){let e,{charts:n,doc:r,win:i}=t;function o(e,n,r,s){let a=n?"Highcharts error":"Highcharts warning";32===e&&(e=`${a}: Deprecated member`);let l=h(e),c=l?`${a} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==s){let t="";l&&(c+="?"),k(s,(function(e,n){t+=`\n - ${n}: ${e}`,l&&(c+=encodeURI(n)+"="+encodeURI(e))})),c+=t}S(t,"displayError",{chart:r,code:e,message:c,params:s},(function(){if(n)throw Error(c);i.console&&-1===o.messages.indexOf(c)&&console.warn(c)})),o.messages.push(c)}function s(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function c(t,e){return!(!t||"object"!=typeof t||e&&l(t))}function u(t){return c(t)&&"number"==typeof t.nodeType}function d(t){let e=t&&t.constructor;return!(!c(t,!0)||u(t)||!e||!e.name||"Object"===e.name)}function h(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function f(t){return null!=t}function p(t,e,n){let r,i=a(e)&&!f(n),o=(e,n)=>{f(e)?t.setAttribute(n,e):i?(r=t.getAttribute(n))||"class"!==n||(r=t.getAttribute(n+"Name")):t.removeAttribute(n)};return a(e)?o(n,e):k(e,o),r}function m(t){return l(t)?t:[t]}function g(t,e){let n;for(n in t||(t={}),e)t[n]=e[n];return t}function v(){let t=arguments,e=t.length;for(let n=0;n<e;n++){let e=t[n];if(null!=e)return e}}function b(t,e){g(t.style,e)}function y(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function x(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}(o||(o={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let w=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let n,r=t.length;for(n=0;n<r;n++)if(e(t[n],n))return t[n]};function k(t,e,n){for(let r in t)Object.hasOwnProperty.call(t,r)&&e.call(n||t[r],t[r],r,t)}function _(t,e,n){function r(e,n){let r=t.removeEventListener;r&&r.call(t,e,n,!1)}function i(n){let i,o;t.nodeName&&(e?(i={})[e]=!0:i=n,k(i,(function(t,e){if(n[e])for(o=n[e].length;o--;)r(e,n[e][o].fn)})))}let o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){let t=o.hcEvents;if(e){let o=t[e]||[];n?(t[e]=o.filter((function(t){return n!==t.fn})),r(e,n)):(i(t),t[e]=[])}else i(t),delete o.hcEvents}}function S(e,n,i,o){if(i=i||{},r.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){let t=r.createEvent("Events");t.initEvent(n,!0,!0),i=g(t,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i)}else if(e.hcEvents){i.target||g(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:n});let t=[],r=e,o=!1;for(;r.hcEvents;)Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents[n]&&(t.length&&(o=!0),t.unshift.apply(t,r.hcEvents[n])),r=Object.getPrototypeOf(r);o&&t.sort(((t,e)=>t.order-e.order)),t.forEach((t=>{!1===t.fn.call(e,i)&&i.preventDefault()}))}o&&!i.defaultPrevented&&o.call(e,i)}k({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e,n){t[n]=function(t){return o(32,!1,void 0,{[`Highcharts.${n}`]:`use Array.${e}`}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}}));let O=function(){let t=Math.random().toString(36).substring(2,9)+"-",n=0;return function(){return"highcharts-"+(e?"":t)+n++}}();return i.jQuery&&(i.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):n[p(this[0],"data-highcharts-chart")]}),{addEvent:function(e,n,r,i={}){let o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let s=o.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,n,r,!!t.supportsPassiveEvents&&{passive:void 0===i.passive?-1!==n.indexOf("touch"):i.passive,capture:!1}),s[n]||(s[n]=[]);let l={fn:r,order:"number"==typeof i.order?i.order:1/0};return s[n].push(l),s[n].sort(((t,e)=>t.order-e.order)),function(){_(e,n,r)}},arrayMax:function(t){let e=t.length,n=t[0];for(;e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){let e=t.length,n=t[0];for(;e--;)t[e]<n&&(n=t[e]);return n},attr:p,clamp:function(t,e,n){return t>e?t<n?t:n:e},clearTimeout:function(t){f(t)&&clearTimeout(t)},correctFloat:x,createElement:function(t,e,n,i,o){let s=r.createElement(t);return e&&g(s,e),o&&b(s,{padding:"0",border:"none",margin:"0"}),n&&b(s,n),i&&i.appendChild(s),s},crisp:(t,e=0,n)=>{let r=e%2/2,i=n?-1:1;return(Math.round(t*i-r)+r)*i},css:b,defined:f,destroyObjectProperties:function(t,e,n){k(t,(function(r,i){r!==e&&r?.destroy&&r.destroy(),(r?.destroy||!n)&&delete t[i]}))},diffObjects:function(t,e,n,r){let i={};return function t(e,i,o,s){let a=n?i:e;k(e,(function(n,u){if(!s&&r&&r.indexOf(u)>-1&&i[u]){n=m(n),o[u]=[];for(let e=0;e<Math.max(n.length,i[u].length);e++)i[u][e]&&(void 0===n[e]?o[u][e]=i[u][e]:(o[u][e]={},t(n[e],i[u][e],o[u][e],s+1)))}else c(n,!0)&&!n.nodeType?(o[u]=l(n)?[]:{},t(n,i[u]||{},o[u],s+1),0!==Object.keys(o[u]).length||"colorAxis"===u&&0===s||delete o[u]):(e[u]!==i[u]||u in e&&!(u in i))&&"__proto__"!==u&&"constructor"!==u&&(o[u]=a[u])}))}(t,e,i,0),i},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){let n=t.length;for(;n--;)if(t[n]===e){t.splice(n,1);break}},error:o,extend:g,extendClass:function(t,e){let n=function(){};return g(n.prototype=new t,e),n},find:w,fireEvent:S,getClosestDistance:function(t,e){let n,r,i,o,s=!e;return t.forEach((t=>{if(t.length>1)for(o=r=t.length-1;o>0;o--)(i=t[o]-t[o-1])<0&&!s?(e?.(),e=void 0):i&&(void 0===n||i<n)&&(n=i)})),n},getMagnitude:y,getNestedProperty:function(t,e){let n=t.split(".");for(;n.length&&f(e);){let t=n.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return c(e)&&(t=e["@this"]),t??e}let r=e[t];if(!f(r)||"function"==typeof r||"number"==typeof r.nodeType||r===i)return;e=r}return e},getStyle:function t(e,n,r){let o;if("width"===n){let n=Math.min(e.offsetWidth,e.scrollWidth),r=e.getBoundingClientRect&&e.getBoundingClientRect().width;return r<n&&r>=n-1&&(n=Math.floor(r)),Math.max(0,n-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===n)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=i.getComputedStyle(e,void 0);return a&&(o=a.getPropertyValue(n),v(r,"opacity"!==n)&&(o=s(o))),o},inArray:function(t,e,n){return o(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,n)},insertItem:function(t,e){let n,r=t.options.index,i=e.length;for(n=t.options.isInternal?i:0;n<i+1;n++)if(!e[n]||h(r)&&r<v(e[n].options.index,e[n]._i)||e[n].options.isInternal){e.splice(n,0,t);break}return n},isArray:l,isClass:d,isDOMElement:u,isFunction:function(t){return"function"==typeof t},isNumber:h,isObject:c,isString:a,keys:function(t){return o(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){let t,e=arguments,n={},r=function(t,e){return"object"!=typeof t&&(t={}),k(e,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!c(n,!0)||d(n)||u(n)?t[i]=e[i]:t[i]=r(t[i]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));let i=e.length;for(t=0;t<i;t++)n=r(n,e[t]);return n},normalizeTickInterval:function(t,e,n,r,i){let o,s=t,a=t/(n=v(n,y(t)));for(!e&&(e=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===n?e=e.filter((function(t){return t%1==0})):n<=.1&&(e=[1/n]))),o=0;o<e.length&&(s=e[o],(!i||!(s*n>=t))&&(i||!(a<=(e[o]+(e[o+1]||e[o]))/2)));o++);return x(s*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:k,offset:function(t){let e=r.documentElement,n=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:n.width,height:n.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:v,pInt:s,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:_,replaceNested:function(t,...e){let n,r;do{for(r of(n=t,e))t=t.replace(r[0],r[1])}while(t!==n);return t},splat:m,stableSort:function(t,e){let n,r,i=t.length;for(r=0;r<i;r++)t[r].safeI=r;for(t.sort((function(t,r){return 0===(n=e(t,r))?t.safeI-r.safeI:n})),r=0;r<i;r++)delete t[r].safeI},syncTimeout:function(t,e,n){return e>0?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:O,useSerialIds:function(t){return e=v(t,e)},wrap:function(t,e,n){let r=t[e];t[e]=function(){let t=arguments,e=this;return n.apply(this,[function(){return r.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}})),n(e,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),n(e,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),n(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{win:n}=t,{defined:r,error:i,extend:o,isNumber:s,isObject:a,merge:l,objectEach:c,pad:u,pick:d,splat:h,timeUnits:f}=e,p=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,m=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;class g{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let n=e.getTime(),r=n-this.getTimezoneOffset(e);e.setTime(r);let i=e["getUTC"+t]();return e.setTime(n),i}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](n);let r=this.getTimezoneOffset(e),i=e.getTime()-r;e.setTime(i),e["setUTC"+t](n);let o=this.getTimezoneOffset(e);return i=e.getTime()+o,e.setTime(i)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)}update(t={}){let e=d(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,n,r,i,o){let s,a,l;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s),s+=a,a!==(l=this.getTimezoneOffset(s))?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||m||(s-=36e5)):s=new this.Date(t,e,d(n,1),d(r,0),d(i,0),d(o,0)).getTime(),s}timezoneOffsetFunction(){let t=this,e=this.options,n=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let n=`shortOffset,${e.timezone||""}`,[r,i,o,a,l=0]=(g.formatCache[n]=g.formatCache[n]||Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"})).format(t).split(/(GMT|:)/).map(Number),c=-36e5*(o+l/60);if(s(c))return c}catch(t){i(34)}return 0}:this.useUTC&&n?t=>6e4*n(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,n,i){if(!r(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=d(e,"%Y-%m-%d %H:%M:%S");let s=this,a=new this.Date(n),l=this.get("Hours",a),h=this.get("Day",a),f=this.get("Date",a),p=this.get("Month",a),m=this.get("FullYear",a),g=t.defaultOptions.lang,v=g&&g.weekdays,b=g&&g.shortWeekdays;return c(o({a:b?b[h]:v[h].substr(0,3),A:v[h],d:u(f),e:u(f,2," "),w:h,b:g.shortMonths[p],B:g.months[p],m:u(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:u(l),k:l,I:u(l%12||12),l:l%12||12,M:u(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:u(this.get("Seconds",a)),L:u(Math.floor(n%1e3),3)},t.dateFormats),(function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof t?t.call(s,n):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=h(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,n,i){let s,a,l,c,u=this,h=u.Date,p=[],m={},g=new h(e),v=t.unitRange,b=t.count||1;if(i=d(i,1),r(e)){u.set("Milliseconds",g,v>=f.second?0:b*Math.floor(u.get("Milliseconds",g)/b)),v>=f.second&&u.set("Seconds",g,v>=f.minute?0:b*Math.floor(u.get("Seconds",g)/b)),v>=f.minute&&u.set("Minutes",g,v>=f.hour?0:b*Math.floor(u.get("Minutes",g)/b)),v>=f.hour&&u.set("Hours",g,v>=f.day?0:b*Math.floor(u.get("Hours",g)/b)),v>=f.day&&u.set("Date",g,v>=f.month?1:Math.max(1,b*Math.floor(u.get("Date",g)/b))),v>=f.month&&(u.set("Month",g,v>=f.year?0:b*Math.floor(u.get("Month",g)/b)),a=u.get("FullYear",g)),v>=f.year&&(a-=a%b,u.set("FullYear",g,a)),v===f.week&&(c=u.get("Day",g),u.set("Date",g,u.get("Date",g)-c+i+(c<i?-7:0))),a=u.get("FullYear",g);let t=u.get("Month",g),o=u.get("Date",g),d=u.get("Hours",g);e=g.getTime(),(u.variableTimezone||!u.useUTC)&&r(n)&&(l=n-e>4*f.month||u.getTimezoneOffset(e)!==u.getTimezoneOffset(n));let h=g.getTime();for(s=1;h<n;)p.push(h),v===f.year?h=u.makeTime(a+s*b,0):v===f.month?h=u.makeTime(a,t+s*b):!l||v!==f.day&&v!==f.week?l&&v===f.hour&&b>1?h=u.makeTime(a,t,o,d+s*b):h+=v*b:h=u.makeTime(a,t,o+s*b*(v===f.day?1:7)),s++;p.push(h),v<=f.hour&&p.length<1e4&&p.forEach((function(t){t%18e5==0&&"000000000"===u.dateFormat("%H%M%S%L",t)&&(m[t]="day")}))}return p.info=o(t,{higherRanks:m,totalRange:v*b}),p}getDateFormat(t,e,n,r){let i=this.dateFormat("%m-%d %H:%M:%S.%L",e),o="01-01 00:00:00.000",s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in f){if(t===f.week&&+this.dateFormat("%w",e)===n&&i.substr(6)===o.substr(6)){a="week";break}if(f[a]>t){a=l;break}if(s[a]&&i.substr(s[a])!==o.substr(s[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(r[a]).main}}return g.formatCache={},g})),n(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){let{isTouchDevice:o}=e,{fireEvent:s,merge:a}=i,l={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:o?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let c=new r(l.time);return{defaultOptions:l,defaultTime:c,getOptions:function(){return l},setOptions:function(t){return s(e,"setOptions",{options:t}),a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=c),l}}})),n(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{isNumber:n,merge:r,pInt:i}=e;class o{static parse(t){return t?new o(t):o.None}constructor(e){let n,r,i,s;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==o)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map((t=>new o(t[1])));else if("string"==typeof e){if(this.input=e=o.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,n=parseInt(e.substr(1),16);7===t?r=[(16711680&n)>>16,(65280&n)>>8,255&n,1]:4===t&&(r=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!r)for(i=o.parsers.length;i--&&!r;)(n=(s=o.parsers[i]).regex.exec(e))&&(r=s.parse(n))}r&&(this.rgba=r)}get(t){let e=this.input,i=this.rgba;if("object"==typeof e&&void 0!==this.stops){let n=r(e);return n.stops=[].slice.call(n.stops),this.stops.forEach(((e,r)=>{n.stops[r]=[n.stops[r][0],e.get(t)]})),n}return i&&n(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?`${i[3]}`:"rgba("+i.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(let n=0;n<3;n++)e[n]+=i(255*t),e[n]<0&&(e[n]=0),e[n]>255&&(e[n]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let r=this.rgba,i=t.rgba;if(!n(r[0])||!n(i[0]))return t.input||"none";let o=1!==i[3]||1!==r[3];return(o?"rgba(":"rgb(")+Math.round(i[0]+(r[0]-i[0])*(1-e))+","+Math.round(i[1]+(r[1]-i[1])*(1-e))+","+Math.round(i[2]+(r[2]-i[2])*(1-e))+(o?","+(i[3]+(r[3]-i[3])*(1-e)):"")+")"}}return o.names={white:"#ffffff",black:"#000000"},o.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),1]}}],o.None=new o(""),o})),n(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{parse:r}=t,{win:i}=e,{isNumber:o,objectEach:s}=n;class a{constructor(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}dSetter(){let t=this.paths,e=t&&t[0],n=t&&t[1],r=this.now||0,i=[];if(1!==r&&e&&n)if(e.length===n.length&&r<1)for(let t=0;t<n.length;t++){let s=e[t],a=n[t],l=[];for(let t=0;t<a.length;t++){let e=s[t],n=a[t];o(e)&&o(n)&&("A"!==a[0]||4!==t&&5!==t)?l[t]=e+r*(n-e):l[t]=n}i.push(l)}else i=n;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)}update(){let t=this.elem,e=this.prop,n=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,r&&r.call(t,n,this)}run(t,e,n){let r=this,o=r.options,s=function(t){return!s.stopped&&r.step(t)},l=i.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(let t=0;t<a.timers.length;t++)a.timers[t]()||a.timers.splice(t--,1);a.timers.length&&l(c)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===a.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))}step(t){let e,n,r=+new Date,i=this.options,o=this.elem,a=i.complete,l=i.duration,c=i.curAnim;return o.attr&&!o.element?e=!1:t||r>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,n=!0,s(c,(function(t){!0!==t&&(n=!1)})),n&&a&&a.call(o),e=!1):(this.pos=i.easing((r-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,n){let r,i,s,a,l=t.startX,c=t.endX,u=n.slice(),d=t.isArea,h=d?2:1,f=e&&e.slice();if(!f)return[u,u];function p(t,e){for(;t.length<i;){let n=t[0],r=e[i-t.length];if(r&&"M"===n[0]&&("C"===r[0]?t[0]=["C",n[1],n[2],n[1],n[2],n[1],n[2]]:t[0]=["L",n[1],n[2]]),t.unshift(n),d){let e=t.pop();t.push(t[t.length-1],e)}}}function m(t){for(;t.length<i;){let e=t[Math.floor(t.length/h)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),d){let n=t[Math.floor(t.length/h)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}}if(l&&c&&c.length){for(s=0;s<l.length;s++){if(l[s]===c[0]){r=s;break}if(l[0]===c[c.length-l.length+s]){r=s,a=!0;break}if(l[l.length-1]===c[c.length-l.length+s]){r=l.length-s;break}}void 0===r&&(f=[])}return f.length&&o(r)&&(i=u.length+r*h,a?(p(f,u),m(u)):(p(u,f),m(f))),[f,u]}fillSetter(){a.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,r(this.start).tweenTo(r(this.end),this.pos),void 0,!0)}}return a.timers=[],a})),n(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,getStyle:r,isArray:i,isNumber:o,isObject:s,merge:a,objectEach:l,pick:c}=e;function u(t){return s(t)?a({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function d(e,n){let r=t.timers.length;for(;r--;)t.timers[r].elem!==e||n&&n!==t.timers[r].prop||(t.timers[r].stopped=!0)}return{animate:function(e,n,c){let u,h,f,p,m="";s(c)||(p=arguments,c={duration:p[2],easing:p[3],complete:p[4]}),o(c.duration)||(c.duration=400),c.easing="function"==typeof c.easing?c.easing:Math[c.easing]||Math.easeInOutSine,c.curAnim=a(n),l(n,(function(o,s){d(e,s),f=new t(e,c,s),h=void 0,"d"===s&&i(n.d)?(f.paths=f.initPath(e,e.pathArray,n.d),f.toD=n.d,u=0,h=1):e.attr?u=e.attr(s):(u=parseFloat(r(e,s))||0,"opacity"!==s&&(m="px")),h||(h=o),"string"==typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),f.run(u,h,m)}))},animObject:u,getDeferredAnimation:function(t,e,r){let i=u(e),o=r?[r]:t.series,a=0,l=0;return o.forEach((t=>{let r=u(t.options.animation);a=s(e)&&n(e.defer)?i.defer:Math.max(a,r.duration+r.defer),l=Math.min(i.duration,r.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)},stop:d}})),n(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{SVG_NS:n,win:r}=t,{attr:i,createElement:o,css:s,error:a,isFunction:l,isString:c,objectEach:u,splat:d}=e,{trustedTypes:h}=r,f=h&&l(h.createPolicy)&&h.createPolicy("highcharts",{createHTML:t=>t}),p=f?f.createHTML(""):"",m=function(){try{return!!(new DOMParser).parseFromString(p,"text/html")}catch(t){return!1}}();class g{static filterUserAttributes(t){return u(t,((e,n)=>{let r=!0;-1===g.allowedAttributes.indexOf(n)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(r=c(e)&&g.allowedReferences.some((t=>0===e.indexOf(t)))),r||(a(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete t[n]),c(e)&&t[n]&&(t[n]=e.replace(/</g,"&lt;"))})),t}static parseStyle(t){return t.split(";").reduce(((t,e)=>{let n=e.split(":").map((t=>t.trim())),r=n.shift();return r&&n.length&&(t[r.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]=n.join(":")),t}),{})}static setElementHTML(t,e){t.innerHTML=g.emptyHTML,e&&new g(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(r,o){let l;return d(r).forEach((function(r){let c,d=r.tagName,h=r.textContent?t.doc.createTextNode(r.textContent):void 0,f=g.bypassHTMLFiltering;if(d)if("#text"===d)c=h;else if(-1!==g.allowedTags.indexOf(d)||f){let a="svg"===d?n:o.namespaceURI||n,l=t.doc.createElementNS(a,d),p=r.attributes||{};u(r,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(p[e]=t)})),i(l,f?p:g.filterUserAttributes(p)),r.style&&s(l,r.style),h&&l.appendChild(h),e(r.children||[],l),c=l}else a(33,!1,void 0,{"Invalid tagName in config":d});c&&o.appendChild(c),l=c})),l}(this.nodes,e)}parseMarkup(t){let e,n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),m)e=(new DOMParser).parseFromString(f?f.createHTML(t):t,"text/html");else{let n=o("div");n.innerHTML=t,e={body:n}}let r=(t,e)=>{let n=t.nodeName.toLowerCase(),i={tagName:n};"#text"===n&&(i.textContent=t.textContent||"");let o=t.attributes;if(o){let t={};[].forEach.call(o,(e=>{"data-style"===e.name?i.style=g.parseStyle(e.value):t[e.name]=e.value})),i.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,(t=>{r(t,e)})),e.length&&(i.children=e)}e.push(i)};return[].forEach.call(e.body.childNodes,(t=>r(t,n))),n}}return g.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","markerHeight","markerWidth","offset","opacity","orient","padding","paddingLeft","paddingRight","patternUnits","r","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],g.allowedReferences=["https://","http://","mailto:","/","../","./","#"],g.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feDropShadow","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],g.emptyHTML=p,g.bypassHTMLFiltering=!1,g})),n(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],(function(t,e){let{defaultOptions:n,defaultTime:r}=t,{extend:i,getNestedProperty:o,isArray:s,isNumber:a,isObject:l,pick:c,pInt:u}=e,d={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!s(t)&&t.map(((n,r)=>h(e.body,i(l(n)?n:{"@this":n},{"@index":r,"@first":0===r,"@last":r===t.length-1})))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>t*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function h(t="",e,i){let s,a,l,u=/\{([a-zA-Z0-9\:\.\,;\-\/<>%_@"'= #\(\)]+)\}/g,p=/\(([a-zA-Z0-9\:\.\,;\-\/<>%_@"'= ]+)\)/g,m=[],g=/f$/,v=/\.([0-9])/,b=n.lang,y=i&&i.time||r,x=i&&i.numberFormatter||f,w=(t="")=>{let n;return"true"===t||"false"!==t&&((n=Number(t)).toString()===t?n:o(t,e))},k=0;for(;null!==(s=u.exec(t));){let n=p.exec(s[1]);n&&(s=n,l=!0),a&&a.isBlock||(a={ctx:e,expression:s[1],find:s[0],isBlock:"#"===s[1].charAt(0),start:s.index,startInner:s.index+s[0].length,length:s[0].length});let r=s[1].split(" ")[0].replace("#","");d[r]&&(a.isBlock&&r===a.fn&&k++,a.fn||(a.fn=r));let i="else"===s[1];if(a.isBlock&&a.fn&&(s[1]===`/${a.fn}`||i))if(k)!i&&k--;else{let e=a.startInner,n=t.substr(e,s.index-e);void 0===a.body?(a.body=n,a.startInner=s.index+s[0].length):a.elseBody=n,a.find+=n+s[0],i||(m.push(a),a=void 0)}else a.isBlock||m.push(a);if(n&&!a?.isBlock)break}return m.forEach((n=>{let r,o,{body:s,elseBody:a,expression:l,fn:u}=n;if(u){let t=[n],c=l.split(" ");for(o=d[u].length;o--;)t.unshift(w(c[o+1]));r=d[u].apply(e,t),n.isBlock&&"boolean"==typeof r&&(r=h(r?s:a,e,i))}else{let t=l.split(":");if(r=w(t.shift()||""),t.length&&"number"==typeof r){let e=t.join(":");if(g.test(e)){let t=parseInt((e.match(v)||["","-1"])[1],10);null!==r&&(r=x(r,t,b.decimalPoint,e.indexOf(",")>-1?b.thousandsSep:""))}else r=y.dateFormat(e,r)}}t=t.replace(n.find,c(r,""))})),l?h(t,e,i):t}function f(t,e,r,i){let o,s;t=+t||0,e=+e;let l=n.lang,d=(t.toString().split(".")[1]||"").split("e")[0].length,h=t.toString().split("e"),f=e;-1===e?e=Math.min(d,20):a(e)?e&&h[1]&&h[1]<0&&((s=e+ +h[1])>=0?(h[0]=(+h[0]).toExponential(s).split("e")[0],e=s):(h[0]=h[0].split(".")[0]||0,t=e<20?(h[0]*Math.pow(10,h[1])).toFixed(e):0,h[1]=0)):e=2;let p=(Math.abs(h[1]?h[0]:t)+Math.pow(10,-Math.max(e,d)-1)).toFixed(e),m=String(u(p)),g=m.length>3?m.length%3:0;return r=c(r,l.decimalPoint),i=c(i,l.thousandsSep),o=(t<0?"-":"")+(g?m.substr(0,g)+i:""),0>+h[1]&&!f?o="0":o+=m.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+i),e?o+=r+p.slice(-e):0==+o&&(o="0"),h[1]&&0!=+o&&(o+="e"+h[1]),o}return{dateFormat:function(t,e,n){return r.dateFormat(t,e,n)},format:h,helpers:d,numberFormat:f}})),n(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],(function(t){var e,n;let r;return(n=e||(e={})).rendererTypes={},n.getRendererType=function(t=r){return n.rendererTypes[t]||n.rendererTypes[r]},n.registerRendererType=function(e,i,o){n.rendererTypes[e]=i,(!r||o)&&(r=e,t.Renderer=i)},e})),n(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],(function(t){var e;let{clamp:n,pick:r,pushUnique:i,stableSort:o}=t;return(e||(e={})).distribute=function t(e,s,a){let l,c,u,d,h,f,p=e,m=p.reducedLen||s,g=(t,e)=>t.target-e.target,v=[],b=e.length,y=[],x=v.push,w=!0,k=0;for(l=b;l--;)k+=e[l].size;if(k>m){for(o(e,((t,e)=>(e.rank||0)-(t.rank||0))),u=(f=e[0].rank===e[e.length-1].rank)?b/2:-1,c=f?u:b-1;u&&k>m;)d=e[l=Math.floor(c)],i(y,l)&&(k-=d.size),c+=u,f&&c>=e.length&&(u/=2,c=u);y.sort(((t,e)=>e-t)).forEach((t=>x.apply(v,e.splice(t,1))))}for(o(e,g),e=e.map((t=>({size:t.size,targets:[t.target],align:r(t.align,.5)})));w;){for(l=e.length;l--;)d=e[l],h=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/2,d.pos=n(h-d.size*d.align,0,s-d.size);for(l=e.length,w=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>s&&(e[l-1].pos=s-e[l-1].size),e.splice(l,1),w=!0)}return x.apply(p,v),l=0,e.some((e=>{let n=0;return(e.targets||[]).some((()=>(p[l].pos=e.pos+n,void 0!==a&&Math.abs(p[l].pos-p[l].target)>a?(p.slice(0,l+1).forEach((t=>delete t.pos)),p.reducedLen=(p.reducedLen||s)-.1*s,p.reducedLen>.1*s&&t(p,s,a),!0):(n+=p[l].size,l++,!1))))})),o(p,g),p},e})),n(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let{animate:i,animObject:o,stop:s}=t,{deg2rad:a,doc:l,svg:c,SVG_NS:u,win:d}=n,{addEvent:h,attr:f,createElement:p,crisp:m,css:g,defined:v,erase:b,extend:y,fireEvent:x,isArray:w,isFunction:k,isObject:_,isString:S,merge:O,objectEach:M,pick:C,pInt:A,pushUnique:T,replaceNested:E,syncTimeout:D,uniqueKey:P}=r;class j{_defaultGetter(t){let e=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,n){n.setAttribute(e,t)}add(t){let e,n=this.renderer,r=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(r),this.onAdd&&this.onAdd(),this}addClass(t,e){let n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,n,r=!0){let i,o,s,a,l={},c=this.renderer,u=c.alignedObjects,d=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=n):(t=this.alignOptions||{},e=this.alignByTranslate,n=this.alignTo);let h=!n||S(n)?n||"renderer":void 0;h&&(d&&T(u,this),n=void 0);let f=C(n,c[h],c),p=t.align,m=t.verticalAlign;return i=(f.x||0)+(t.x||0),o=(f.y||0)+(t.y||0),"right"===p?s=1:"center"===p&&(s=2),s&&(i+=((f.width||0)-(t.width||0))/s),l[e?"translateX":"x"]=Math.round(i),"bottom"===m?a=1:"middle"===m&&(a=2),a&&(o+=((f.height||0)-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(o),r&&(this[this.placed?"animate":"attr"](l),this.placed=!0),this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,n){let r=o(C(e,this.renderer.globalAnimation,!0)),s=r.defer;return l.hidden&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),D((()=>{this.element&&i(this,t,r)}),s)):(this.attr(t,void 0,n||r.complete),M(t,(function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let r=t.split(" "),i=r[r.length-1],o=r[0];if(o&&"none"!==o&&n.svg){this.fakeTS=!0,o=o.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();let t=l.createElementNS(u,"tspan");f(t,{class:"highcharts-text-outline",fill:i,stroke:i,"stroke-width":o,"stroke-linejoin":"round"});let n=e.querySelector("textPath")||e;[].forEach.call(n.childNodes,(e=>{let n=e.cloneNode(!0);n.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t=>n.removeAttribute(t))),t.appendChild(n)}));let r=0;[].forEach.call(n.querySelectorAll("text tspan"),(t=>{r+=Number(t.getAttribute("dy"))}));let s=l.createElementNS(u,"tspan");s.textContent="​",f(s,{x:Number(e.getAttribute("x")),dy:-r}),t.appendChild(s),n.insertBefore(t,n.firstChild)}}attr(t,e,n,r){let i,o,a,{element:l}=this,c=j.symbolCustomAttribs,u=this;return"string"==typeof t&&void 0!==e&&(i=t,(t={})[i]=e),"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(M(t,(function(e,n){a=!1,r||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),a=!0),this.rotation&&("x"===n||"y"===n)&&(this.doTransform=!0),a||(this[n+"Setter"]||this._defaultSetter).call(this,e,n,l)}),this),this.afterSetters()),n&&n.call(this),u}clip(t){if(t&&!t.clipPath){let e=P()+"-",n=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);y(t,{clipPath:n,id:e,count:0}),t.add(n)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let n=t.x||this.x||0,r=t.y||this.y||0,i=(t.width||this.width||0)+n,o=(t.height||this.height||0)+r,s=m(n,e),a=m(r,e);return y(t,{x:s,y:a,width:m(i,e)-s,height:m(o,e)-a}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,n,r){let i,o,s,a,l,c,u,d,h,f,p,m=this.renderer,g=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(s=t[o],l=m.gradients,c=t.stops,h=r.radialReference,w(s)&&(t[o]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!v(s.gradientUnits)&&(a=s,s=O(s,m.getRadialAttr(h,a),{gradientUnits:"userSpaceOnUse"})),M(s,(function(t,e){"id"!==e&&g.push(e,t)})),M(c,(function(t){g.push(t)})),l[g=g.join(",")])f=l[g].attr("id");else{s.id=f=P();let t=l[g]=m.createElement(o).attr(s).add(m.defs);t.radAttr=a,t.stops=[],c.forEach((function(n){0===n[1].indexOf("rgba")?(u=(i=e.parse(n[1])).get("rgb"),d=i.get("a")):(u=n[1],d=1);let r=m.createElement("stop").attr({offset:n[0],"stop-color":u,"stop-opacity":d}).add(t);t.stops.push(r)}))}p="url("+m.url+"#"+f+")",r.setAttribute(n,p),r.gradient=g,t.toString=function(){return p}}}))}css(t){let e,n=this.styles,r={},i=this.element,o=!n;if(n&&M(t,(function(t,e){n&&n[e]!==t&&(r[e]=t,o=!0)})),o){n&&(t=y(n,r)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===i.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=A(t.width)),y(this.styles,t),e&&!c&&this.renderer.forExport&&delete t.width;let o=O(t);i.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t=>o&&delete o[t])),o.color&&(o.fill=o.color)),g(i,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){let r=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=r.length;e--;)r[e]=""+A(r[e])*C(n,NaN);t=r.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){let t,e,n=this,r=n.element||{},i=n.renderer,o=r.ownerSVGElement,a="SPAN"===r.nodeName&&n.parentGroup||void 0;if(r.onclick=r.onmouseout=r.onmouseover=r.onmousemove=r.point=null,s(n),n.clipPath&&o){let t=n.clipPath;[].forEach.call(o.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")})),n.clipPath=t.destroy()}if(n.connector=n.connector?.destroy(),n.stops){for(e=0;e<n.stops.length;e++)n.stops[e].destroy();n.stops.length=0,n.stops=void 0}for(n.safeRemoveChild(r);a&&a.div&&0===a.div.childNodes.length;)t=a.parentGroup,n.safeRemoveChild(a.div),delete a.div,a=t;n.alignOptions&&b(i.alignedObjects,n),M(n,(function(t,e){n[e]&&n[e].parentGroup===n&&n[e].destroy&&n[e].destroy(),delete n[e]}))}dSetter(t,e,n){w(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(((t,e,n)=>e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)}fillSetter(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)}hrefSetter(t,e,n){n.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let n,r,i,o,{alignValue:s,element:a,renderer:l,styles:c,textStr:u}=this,{cache:d,cacheKeys:h}=l,f=a.namespaceURI===this.SVG_NS,p=C(e,this.rotation,0),m=l.styledMode?a&&j.prototype.getStyle.call(a,"font-size"):c.fontSize;if(v(u)&&(-1===(o=u.toString()).indexOf("<")&&(o=o.replace(/[0-9]/g,"0")),o+=["",l.rootFontSize,m,p,this.textWidth,s,c.textOverflow,c.fontWeight].join(",")),o&&!t&&(n=d[o]),!n){if(f||l.forExport){try{i=this.fakeTS&&function(t){let e=a.querySelector(".highcharts-text-outline");e&&g(e,{display:t})},k(i)&&i("none"),n=a.getBBox?y({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},k(i)&&i("")}catch(t){}(!n||n.width<0)&&(n={x:0,y:0,width:0,height:0})}else n=this.htmlGetBBox();r=n.height,f&&(n.height=r={"11px,17":14,"13px,20":16}[`${m||""},${Math.round(r)}`]||r),p&&(n=this.getRotatedBox(n,p))}if(o&&(""===u||n.height>0)){for(;h.length>250;)delete d[h.shift()];d[o]||h.push(o),d[o]=n}return n}getRotatedBox(t,e){let{x:n,y:r,width:i,height:o}=t,{alignValue:s,translateY:l,rotationOriginX:c=0,rotationOriginY:u=0}=this,d={right:1,center:.5}[s||0]||0,h=Number(this.element.getAttribute("y")||0)-(l?0:r),f=e*a,p=(e-90)*a,m=Math.cos(f),g=Math.sin(f),v=i*m,b=i*g,y=Math.cos(p),x=Math.sin(p),[[w,k],[_,S]]=[c,u].map((t=>[t-t*m,t*g])),O=n+d*(i-v)+w+S+h*y,M=O+v,C=M-o*y,A=C-v,T=r+h-d*b-k+_+h*x,E=T+b,D=E-o*x,P=D-b,j=Math.min(O,M,C,A),L=Math.min(T,E,D,P);return{x:j,y:L,width:Math.max(O,M,C,A)-j,height:Math.max(T,E,D,P)-L}}getStyle(t){return d.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=u,this.element="span"===e||"body"===e?p(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},x(this,"afterInit")}on(t,e){let{onEvents:n}=this;return n[t]&&n[t](),n[t]=h(this.element,t,e),this}opacitySetter(t,e,n){let r=Number(Number(t).toFixed(3));this.opacity=r,n.setAttribute(e,r)}reAlign(){this.alignOptions?.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(S(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}setTextPath(t,e){e=O(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);let n=this.renderer.url,r=this.text||this,i=r.textPath,{attributes:o,enabled:s}=e;if(t=t||i&&i.path,i&&i.undo(),t&&s){let e=h(r,"afterModifyTree",(e=>{if(t&&s){let i=t.attr("id");i||t.attr("id",i=P());let s={x:0,y:0};v(o.dx)&&(s.dx=o.dx,delete o.dx),v(o.dy)&&(s.dy=o.dy,delete o.dy),r.attr(s),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:y(o,{"text-anchor":o.textAnchor,href:`${n}#${i}`}),children:a}}}));r.textPath={path:t,undo:e}}else r.attr({dx:0,dy:0}),delete r.textPath;return this.added&&(r.textCache="",this.renderer.buildText(r)),this}shadow(t){let{renderer:e}=this,n=O(90===this.parentGroup?.rotation?{offsetX:-1,offsetY:-1}:{},_(t)?t:{}),r=e.shadowDefinition(n);return this.attr({filter:t?`url(${e.url}#${r})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,n){this[e]=t,n.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),n=0;return/px$/.test(e)?n=A(e):""!==e&&(f(t=l.createElementNS(u,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),n=t.getBBox().width,t.parentNode.removeChild(t)),n}symbolAttr(t){let e=this;j.symbolCustomAttribs.forEach((function(n){e[n]=C(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=E(C(t,""),[/<[^>]*>/g,""]).replace(/&lt;/g,"<").replace(/&gt;/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){let{element:e,matrix:n,rotation:r=0,rotationOriginX:i,rotationOriginY:o,scaleX:s,scaleY:a,translateX:l=0,translateY:c=0}=this,u=["translate("+l+","+c+")"];v(n)&&u.push("matrix("+n.join(",")+")"),r&&(u.push("rotate("+r+" "+C(i,e.getAttribute("x"),0)+" "+C(o,e.getAttribute("y")||0)+")"),"SPAN"===this.text?.element.tagName&&this.text.attr({rotation:r,rotationOriginX:(i||0)-this.padding,rotationOriginY:(o||0)-this.padding})),(v(s)||v(a))&&u.push("scale("+C(s,1)+" "+C(a,1)+")"),u.length&&!(this.text||this).textPath&&e.setAttribute(t,u.join(" "))}visibilitySetter(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let n,r,i,o,s,a=this.renderer,l=this.parentGroup,c=(l||a).element||a.box,u=this.element,d=c===a.box,h=!1,f=this.added;if(v(t)?(u.setAttribute("data-z-index",t),t=+t,this[e]===t&&(f=!1)):v(this[e])&&u.removeAttribute("data-z-index"),this[e]=t,f){for((t=this.zIndex)&&l&&(l.handleZ=!0),s=(n=c.childNodes).length-1;s>=0&&!h;s--)o=!v(i=(r=n[s]).getAttribute("data-z-index")),r!==u&&(t<0&&o&&!d&&!s?(c.insertBefore(u,n[s]),h=!0):(A(i)<=t||o&&(!v(t)||t>=0))&&(c.insertBefore(u,n[s+1]),h=!0));h||(c.insertBefore(u,n[d?3:0]),h=!0)}return h}}return j.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],j.prototype.strokeSetter=j.prototype.fillSetter,j.prototype.yGetter=j.prototype.xGetter,j.prototype.matrixSetter=j.prototype.rotationOriginXSetter=j.prototype.rotationOriginYSetter=j.prototype.rotationSetter=j.prototype.scaleXSetter=j.prototype.scaleYSetter=j.prototype.translateXSetter=j.prototype.translateYSetter=j.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},j})),n(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,extend:r,isNumber:i,merge:o,pick:s,removeEvent:a}=e;class l extends t{constructor(t,e,n,r,i,o,s,a,c,u){let d;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.textStr=e,this.x=n,this.y=r,this.anchorX=o,this.anchorY=s,this.baseline=c,this.className=u,this.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&this.addClass("highcharts-"+u),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof i&&((d=/^url\((.*?)\)$/.test(i))||this.renderer.symbols[i])&&(this.symbolKey=i),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||d,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=o(e),l.textProps.forEach((n=>{void 0!==e[n]&&(t[n]=e[n],delete e[n])})),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:n,height:r=0,translateX:i=0,translateY:o=0,width:a=0}=this,l=s(this.paddingLeft,n),c=e??(this.rotation||0),u={width:a,height:r,x:i+this.bBox.x-l,y:o+this.bBox.y-n+this.baselineOffset};return c&&(u=this.getRotatedBox(u,c)),u}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t}onAdd(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){i(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t,e=this.text,o={},s=this.padding,a=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!n(e.textStr)?l.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*s;let c=this.renderer.fontMetrics(e);if(this.baselineOffset=s+Math.min((this.text.firstLineMetrics||c).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-c.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),o.x=t,o.y=(this.baseline?-this.baselineOffset:0)+t,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(r(o,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,r=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(r!==t.x||e!==t.y)&&(t.attr("x",r),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=r,t.y=e}}widthSetter(t){this.widthSetting=i(t)?t:void 0}getPaddedWidth(){let t=this.padding,e=s(this.paddingLeft,t),n=s(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+n}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l})),n(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],(function(t){let{defined:e,isNumber:n,pick:r}=t;function i(t,n,i,o,s){let a=[];if(s){let l=s.start||0,c=r(s.r,i),u=r(s.r,o||i),d=2e-4/Math.max(c,1),h=Math.abs((s.end||0)-l-2*Math.PI)<d,f=(s.end||0)-d,p=s.innerR,m=r(s.open,h),g=Math.cos(l),v=Math.sin(l),b=Math.cos(f),y=Math.sin(f),x=r(s.longArc,f-l-Math.PI<d?0:1),w=["A",c,u,0,x,r(s.clockwise,1),t+c*b,n+u*y];w.params={start:l,end:f,cx:t,cy:n},a.push(["M",t+c*g,n+u*v],w),e(p)&&((w=["A",p,p,0,x,e(s.clockwise)?1-s.clockwise:0,t+p*g,n+p*v]).params={start:f,end:l,cx:t,cy:n},a.push(m?["M",t+p*b,n+p*y]:["L",t+p*b,n+p*y],w)),m||a.push(["Z"])}return a}function o(t,e,n,r,i){return i&&i.r?s(t,e,n,r,i):[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]}function s(t,e,n,r,i){let o=i?.r||0;return[["M",t+o,e],["L",t+n-o,e],["A",o,o,0,0,1,t+n,e+o],["L",t+n,e+r-o],["A",o,o,0,0,1,t+n-o,e+r],["L",t+o,e+r],["A",o,o,0,0,1,t,e+r-o],["L",t,e+o],["A",o,o,0,0,1,t+o,e],["Z"]]}return{arc:i,callout:function(t,e,r,i,o){let a=Math.min(o&&o.r||0,r,i),l=a+6,c=o&&o.anchorX,u=o&&o.anchorY||0,d=s(t,e,r,i,{r:a});if(!n(c)||c<r&&c>0&&u<i&&u>0)return d;if(t+c>r-l)if(u>e+l&&u<e+i-l)d.splice(3,1,["L",t+r,u-6],["L",t+r+6,u],["L",t+r,u+6],["L",t+r,e+i-a]);else if(c<r){let n=u<e+l,o=n?e:e+i;d.splice(n?2:5,0,["L",c,u],["L",t+r-a,o])}else d.splice(3,1,["L",t+r,i/2],["L",c,u],["L",t+r,i/2],["L",t+r,e+i-a]);else if(t+c<l)if(u>e+l&&u<e+i-l)d.splice(7,1,["L",t,u+6],["L",t-6,u],["L",t,u-6],["L",t,e+a]);else if(c>0){let n=u<e+l,r=n?e:e+i;d.splice(n?1:6,0,["L",c,u],["L",t+a,r])}else d.splice(7,1,["L",t,i/2],["L",c,u],["L",t,i/2],["L",t,e+a]);else u>i&&c<r-l?d.splice(5,1,["L",c+6,e+i],["L",c,e+i+6],["L",c-6,e+i],["L",t+a,e+i]):u<0&&c>l&&d.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",r-a,e]);return d},circle:function(t,e,n,r){return i(t+n/2,e+r/2,n/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r/2],["L",t+n/2,e+r],["L",t,e+r/2],["Z"]]},rect:o,roundedRect:s,square:o,triangle:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r],["L",t,e+r],["Z"]]},"triangle-down":function(t,e,n,r){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+r],["Z"]]}}})),n(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{doc:r,SVG_NS:i,win:o}=e,{attr:s,extend:a,fireEvent:l,isString:c,objectEach:u,pick:d}=n;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,n=e.element,i=e.renderer,o=d(e.textStr,"").toString(),s=-1!==o.indexOf("<"),a=n.childNodes,l=!e.added&&i.box,u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(u!==e.textCache){e.textCache=u,delete e.actualWidth;for(let t=a.length;t--;)n.removeChild(a[t]);if(s||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))){if(""!==o){l&&l.appendChild(n);let r=new t(o);this.modifyTree(r.nodes),r.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),l&&l.removeChild(n)}}else n.appendChild(r.createTextNode(this.unescapeEntities(o)));c(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,n=s(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),((t,r)=>{t.nextSibling&&t.previousSibling&&(0===r&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),s(t,{dy:this.getLineHeight(t.nextSibling),x:n}))}));let a=this.width||0;if(!a)return;let l=(t,o)=>{let l=t.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),u=!this.noWrap&&(c.length>1||e.element.childNodes.length>1),d=this.getLineHeight(o),h=0,f=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*d),((t,e)=>t.substring(0,e)+"…"));else if(u){let l=[],u=[];for(;o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!this.noWrap&&h>0&&(l.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,c,0===h&&f||0,a,((t,e)=>c.slice(0,e).join(" ").replace(/- /g,"-"))),f=e.actualWidth,h++;u.forEach((e=>{o.insertBefore(e,t)})),l.forEach((e=>{o.insertBefore(r.createTextNode(e),t);let a=r.createElementNS(i,"tspan");a.textContent="​",s(a,{dy:d,x:n}),o.insertBefore(a,t)}))}},c=t=>{[].slice.call(t.childNodes).forEach((n=>{n.nodeType===o.Node.TEXT_NODE?l(n,t):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),c(n))}))};c(e.element)}getLineHeight(t){let e=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(n,r)=>{let{attributes:i={},children:o,style:s={},tagName:l}=n,c=this.renderer.styledMode;if("b"===l||"strong"===l?c?i.class="highcharts-strong":s.fontWeight="bold":("i"===l||"em"===l)&&(c?i.class="highcharts-emphasized":s.fontStyle="italic"),s&&s.color&&(s.fill=s.color),"br"===l){i.class="highcharts-br",n.textContent="​";let e=t[r+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&o&&o.some((t=>"#text"===t.tagName))&&(n.children=[{children:o,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(n.tagName="tspan"),a(n,{attributes:i,style:s}),o&&o.filter((t=>"#text"!==t.tagName)).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,n,r,i,o){let s,a,l=this.svgElement,{rotation:c}=l,u=[],d=n?1:0,h=(e||n||"").length,f=h,p=function(e,i){let o=i||e,s=t.parentNode;if(s&&void 0===u[o]&&s.getSubStringLength)try{u[o]=r+s.getSubStringLength(0,n?o+1:o)}catch(t){}return u[o]};if(l.rotation=0,r+(a=p(t.textContent.length))>i){for(;d<=h;)f=Math.ceil((d+h)/2),n&&(s=o(n,f)),a=p(f,s&&s.length-1),d===h?d=h+1:a>i?h=f-1:d=f;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=s||o(e||n,f))}n&&n.splice(0,f),l.actualWidth=a,l.rotation=c}unescapeEntities(t,e){return u(this.renderer.escapes,(function(n,r){e&&-1!==e.indexOf(n)||(t=t.toString().replace(RegExp(n,"g"),r))})),t}}})),n(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a,l,c){let u,{defaultOptions:d}=e,{charts:h,deg2rad:f,doc:p,isFirefox:m,isMS:g,isWebKit:v,noop:b,SVG_NS:y,symbolSizes:x,win:w}=r,{addEvent:k,attr:_,createElement:S,crisp:O,css:M,defined:C,destroyObjectProperties:A,extend:T,isArray:E,isNumber:D,isObject:P,isString:j,merge:L,pick:I,pInt:N,replaceNested:R,uniqueKey:$}=c;class B{constructor(t,e,n,r,i,o,s){let a,l,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;s||c.css(this.getStyle(r||{})),t.appendChild(u),_(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&_(u,"xmlns",this.SVG_NS),this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 11.4.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=c.getStyle("font-size"),this.setSize(e,n,!1),m&&t.getBoundingClientRect&&((a=function(){M(t,{left:0,top:0}),l=t.getBoundingClientRect(),M(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=k(w,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((m||v)&&p.getElementsByTagName("base").length){if(!C(u)){let e=$(),n=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body);M(n,{position:"fixed",top:0,left:0,zIndex:9e5});let r=p.elementFromPoint(6,6);u="hitme"===(r&&r.id),p.body.removeChild(n)}if(u)return R(w.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=T({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),A(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map((e=>`${e}-${t[e]}`))].join("-").toLowerCase().replace(/[^a-z0-9\-]/g,""),n=L({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:n.filterUnits},children:[{tagName:"feDropShadow",attributes:{dx:n.offsetX,dy:n.offsetY,"flood-color":n.color,"flood-opacity":Math.min(5*n.opacity,1),stdDeviation:n.width/2}}]}),e}buildText(t){new l(t).buildSVG()}getContrast(t){let e=n.parse(t).rgba.map((t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),r=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(r+.05)>(r+.05)/.05?"#FFFFFF":"#000000"}button(e,n,r,i,o={},s,a,l,c,u){let h=this.label(e,n,r,c,void 0,void 0,u,void 0,"button"),f=this.styledMode,p=arguments,m=0;o=L(d.global.buttonTheme,o),f&&(delete o.fill,delete o.stroke,delete o["stroke-width"]);let v=o.states||{},b=o.style||{};delete o.states,delete o.style;let y=[t.filterUserAttributes(o)],x=[b];return f||["hover","select","disabled"].forEach(((e,n)=>{y.push(L(y[0],t.filterUserAttributes(p[n+5]||v[e]||{}))),x.push(y[n+1].style),delete y[n+1].style})),k(h.element,g?"mouseover":"mouseenter",(function(){3!==m&&h.setState(1)})),k(h.element,g?"mouseout":"mouseleave",(function(){3!==m&&h.setState(m)})),h.setState=(t=0)=>{if(1!==t&&(h.state=m=t),h.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!f){h.attr(y[t]);let e=x[t];P(e)&&h.css(e)}},h.attr(y[0]),!f&&(h.css(T({cursor:"default"},b)),u&&h.text.css({pointerEvents:"none"})),h.on("touchstart",(t=>t.stopPropagation())).on("click",(function(t){3!==m&&i.call(h,t)}))}crispLine(t,e){let[n,r]=t;return C(n[1])&&n[1]===r[1]&&(n[1]=r[1]=O(n[1],e)),C(n[2])&&n[2]===r[2]&&(n[2]=r[2]=O(n[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return E(t)?e.d=t:P(t)&&T(e,t),this.createElement("path").attr(e)}circle(t,e,n){let r=P(t)?t:void 0===t?{}:{x:t,y:e,r:n},i=this.createElement("circle");return i.xSetter=i.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},i.attr(r)}arc(t,e,n,r,i,o){let s;P(t)?(e=(s=t).y,n=s.r,r=s.innerR,i=s.start,o=s.end,t=s.x):s={innerR:r,start:i,end:o};let a=this.symbol("arc",t,e,n,n,s);return a.r=n,a}rect(t,e,n,r,i,o){let s=P(t)?t:void 0===t?{}:{x:t,y:e,r:i,width:Math.max(n||0,0),height:Math.max(r||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==o&&(s["stroke-width"]=o,T(s,a.crisp(s))),s.fill="none"),a.rSetter=function(t,e,n){a.r=t,_(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(s)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:I(n,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,n,r,i,o){let s={preserveAspectRatio:"none"};D(e)&&(s.x=e),D(n)&&(s.y=n),D(r)&&(s.width=r),D(i)&&(s.height=i);let a=this.createElement("image").attr(s),l=function(e){a.attr({href:t}),o.call(a,e)};if(o){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new w.Image;k(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,n,r,i,o){let s,a,l,c,u=this,d=/^url\((.*?)\)$/,f=d.test(t),m=!f&&(this.symbols[t]?t:"circle"),g=m&&this.symbols[m];if(g)"number"==typeof e&&(a=g.call(this.symbols,e||0,n||0,r||0,i||0,o)),s=this.path(a),u.styledMode||s.attr("fill","none"),T(s,{symbolName:m||void 0,x:e,y:n,width:r,height:i}),o&&T(s,o);else if(f){l=t.match(d)[1];let r=s=this.image(l);r.imgwidth=I(o&&o.width,x[l]&&x[l].width),r.imgheight=I(o&&o.height,x[l]&&x[l].height),c=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach((t=>{r[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:n,element:r,width:i,height:s,imgwidth:a,imgheight:l}=this,c="width"===e?a:l,u=1;o&&"within"===o.backgroundSize&&i&&s&&a&&l?(u=Math.min(i/a,s/l),_(r,{width:Math.round(a*u),height:Math.round(l*u)})):r&&c&&r.setAttribute(e,c),!n&&a&&l&&this.translate(((i||0)-a*u)/2,((s||0)-l*u)/2)}})),C(e)&&r.attr({x:e,y:n}),r.isImg=!0,C(r.imgwidth)&&C(r.imgheight)?c(r):(r.attr({width:0,height:0}),S("img",{onload:function(){let t=h[u.chartIndex];0===this.width&&(M(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),x[l]={width:this.width,height:this.height},r.imgwidth=this.width,r.imgheight=this.height,r.element&&c(r),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,u.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return s}clipRect(t,e,n,r){return this.rect(t,e,n,r,0)}text(t,e,n,r){let i={};if(r&&(this.allowHTML||!this.forExport))return this.html(t,e,n);i.x=Math.round(e||0),n&&(i.y=Math.round(n)),C(t)&&(i.text=t);let o=this.createElement("text").attr(i);return r&&(!this.forExport||this.allowHTML)||(o.xSetter=function(t,e,n){let r=n.getElementsByTagName("tspan"),i=n.getAttribute(e);for(let n,o=0;o<r.length;o++)(n=r[o]).getAttribute(e)===i&&n.setAttribute(e,t);n.setAttribute(e,t)}),o}fontMetrics(t){let e=N(o.prototype.getStyle.call(t,"font-size")||0),n=e<24?e+3:Math.round(1.2*e);return{h:n,b:Math.round(.8*n),f:e}}rotCorr(t,e,n){let r=t;return e&&n&&(r=Math.max(r*Math.cos(e*f),4)),{x:-t/3*Math.sin(e*f),y:r}}pathToSegments(t){let e=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let i=0;i<t.length;i++)j(n[0])&&D(t[i])&&n.length===r[n[0].toUpperCase()]&&t.splice(i,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[i]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[i]);return e.push(n.slice(0)),e}label(t,e,n,r,i,o,a,l,c){return new s(this,t,e,n,r,i,o,a,l,c)}alignElements(){this.alignedObjects.forEach((t=>t.align()))}}return T(B.prototype,{Element:o,SVG_NS:y,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:b}),i.registerRendererType("svg",B,!0),B})),n(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let{composed:i}=e,{attr:o,css:s,createElement:a,defined:l,extend:c,pInt:u,pushUnique:d}=r;function h(t,e,r){let i=this.div?.style||r.style;n.prototype[`${e}Setter`].call(this,t,e,r),i&&(i[e]=t)}let f=(t,e)=>{if(!t.div){let r=o(t.element,"class"),i=t.css,s=a("div",r?{className:r}:void 0,{position:"absolute",left:`${t.translateX||0}px`,top:`${t.translateY||0}px`,...t.styles,display:t.display,opacity:t.opacity,visibility:t.visibility},t.parentGroup?.div||e);t.classSetter=(t,e,n)=>{n.setAttribute("class",t),s.className=t},t.translateXSetter=t.translateYSetter=(e,n)=>{t[n]=e,s.style["translateX"===n?"left":"top"]=`${e}px`,t.doTransform=!0},t.opacitySetter=t.visibilitySetter=h,t.css=e=>(i.call(t,e),e.cursor&&(s.style.cursor=e.cursor),e.pointerEvents&&(s.style.pointerEvents=e.pointerEvents),t),t.on=function(){return n.prototype.on.apply({element:s,onEvents:t.onEvents},arguments),t},t.div=s}return t.div};class p extends n{static compose(t){d(i,this.compose)&&(t.prototype.html=function(t,e,n){return new p(this,"span").attr({text:t,x:Math.round(e),y:Math.round(n)})})}constructor(t,e){super(t,e),this.css({position:"absolute",...t.styledMode?{}:{fontFamily:t.style.fontFamily,fontSize:t.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,n){this.xCorr=-t*n,this.yCorr=-e}css(t){let e,{element:n}=this,r="SPAN"===n.tagName&&t&&"width"in t,i=r&&t.width;return r&&(delete t.width,this.textWidth=u(i)||void 0,e=!0),"ellipsis"===t?.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),c(this.styles,t),s(n,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){if(!this.added)return void(this.alignOnAdd=!0);let{element:t,renderer:e,rotation:n,rotationOriginX:r,rotationOriginY:i,styles:o,textAlign:a="left",textWidth:c,translateX:u=0,translateY:d=0,x:h=0,y:f=0}=this,p=o.whiteSpace;if(s(t,{marginLeft:`${u}px`,marginTop:`${d}px`}),"SPAN"===t.tagName){let o,u=[n,a,t.innerHTML,c,this.textAlign].join(","),d=-1*this.parentGroup?.padding||0,m=!1;if(c!==this.oldTextWidth){let e=this.textPxLength?this.textPxLength:(s(t,{width:"",whiteSpace:p||"nowrap"}),t.offsetWidth),r=c||0;(r>this.oldTextWidth||e>r)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(s(t,{width:e>r||n?c+"px":"auto",display:"block",whiteSpace:p||"normal"}),this.oldTextWidth=c,m=!0)}this.hasBoxWidthChanged=m,u!==this.cTT&&(o=e.fontMetrics(t).b,l(n)&&(n!==(this.oldRotation||0)||a!==this.oldAlign)&&this.setSpanRotation(n,d,d),this.getSpanCorrection(!l(n)&&this.textPxLength||t.offsetWidth,o,{left:0,center:.5,right:1}[a]));let{xCorr:g=0,yCorr:v=0}=this;s(t,{left:`${h+g}px`,top:`${f+v}px`,transformOrigin:`${(r??h)-g-h-d}px ${(i??f)-v-f-d}px`}),this.cTT=u,this.oldRotation=n,this.oldAlign=a}}setSpanRotation(t,e,n){s(this.element,{transform:`rotate(${t}deg)`,transformOrigin:`${e}% ${n}px`})}add(t){let e,n=this.renderer.box.parentNode,r=[];if(this.parentGroup=t,t&&!(e=t.div)){let i=t;for(;i;)r.push(i),i=i.parentGroup;for(let t of r.reverse())e=f(t,n)}return(e||n).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let m=p.prototype;return m.visibilitySetter=m.opacitySetter=h,m.ySetter=m.rotationSetter=m.rotationOriginXSetter=m.rotationOriginYSetter=m.xSetter,p})),n(e,"Core/Axis/AxisDefaults.js",[],(function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t})),n(e,"Core/Foundation.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,isFunction:r,objectEach:i,removeEvent:o}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},i(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(o(t,i,t.eventOptions[i]),delete t.eventOptions[i]),r(e)&&(t.eventOptions[i]=e,n(t,i,e,{order:0})))}))},e})),n(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{deg2rad:r}=e,{clamp:i,correctFloat:o,defined:s,destroyObjectProperties:a,extend:l,fireEvent:c,isNumber:u,merge:d,objectEach:h,pick:f}=n;return class{constructor(t,e,n,r,i){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||r||this.addLabel()}addLabel(){let e,n,r,i=this,a=i.axis,d=a.options,h=a.chart,p=a.categories,m=a.logarithmic,g=a.names,v=i.pos,b=f(i.options&&i.options.labels,d.labels),y=a.tickPositions,x=v===y[0],w=v===y[y.length-1],k=(!b.step||1===b.step)&&1===a.tickInterval,_=y.info,S=i.label,O=this.parameters.category||(p?f(p[v],g[v],v):v);m&&u(O)&&(O=o(m.lin2log(O))),a.dateTime&&(_?e=(n=h.time.resolveDTLFormat(d.dateTimeLabelFormats[!d.grid&&_.higherRanks[v]||_.unitName])).main:u(O)&&(e=a.dateTime.getXDateFormat(O,d.dateTimeLabelFormats||{}))),i.isFirst=x,i.isLast=w;let M={axis:a,chart:h,dateTimeLabelFormat:e,isFirst:x,isLast:w,pos:v,tick:i,tickPositionInfo:_,value:O};c(this,"labelFormat",M);let C=e=>b.formatter?b.formatter.call(e,e):b.format?(e.text=a.defaultLabelFormatter.call(e),t.format(b.format,e,h)):a.defaultLabelFormatter.call(e),A=C.call(M,M),T=n&&n.list;i.shortenLabel=T?function(){for(r=0;r<T.length;r++)if(l(M,{dateTimeLabelFormat:T[r]}),S.attr({text:C.call(M,M)}),S.getBBox().width<a.getSlotWidth(i)-2*(b.padding||0))return;S.attr({text:""})}:void 0,k&&a._addedPlotLB&&i.moveLabel(A,b),s(S)||i.movedLabel?S&&S.textStr!==A&&!k&&(!S.textWidth||b.style.width||S.styles.width||S.css({width:null}),S.attr({text:A}),S.textPxLength=S.getBBox().width):(i.label=S=i.createLabel(A,b),i.rotation=0)}createLabel(t,e,n){let r=this.axis,i=r.chart,o=s(t)&&e.enabled?i.renderer.text(t,n?.x,n?.y,e.useHTML).add(r.labelGroup):void 0;return o&&(i.styledMode||o.css(d(e.style)),o.textPxLength=o.getBBox().width),o}destroy(){a(this,this.axis)}getPosition(t,e,n,r){let s=this.axis,a=s.chart,l=r&&a.oldChartHeight||a.chartHeight,u={x:t?o(s.translate(e+n,void 0,void 0,r)+s.transB):s.left+s.offset+(s.opposite?(r&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+n,void 0,void 0,r)-s.transB)};return u.y=i(u.y,-1e5,1e5),c(this,"afterGetPosition",{pos:u}),u}getLabelPosition(t,e,n,i,o,a,l,u){let d,h,p=this.axis,m=p.transA,g=p.isLinked&&p.linkedParent?p.linkedParent.reversed:p.reversed,v=p.staggerLines,b=p.tickRotCorr||{x:0,y:0},y=i||p.reserveSpaceDefault?0:-p.labelOffset*("center"===p.labelAlign?.5:1),x=o.distance,w={};return d=0===p.side?n.rotation?-x:-n.getBBox().height:2===p.side?b.y+x:Math.cos(n.rotation*r)*(b.y-n.getBBox(!1,0).height/2),s(o.y)&&(d=0===p.side&&p.horiz?o.y+d:o.y),t=t+f(o.x,[0,1,0,-1][p.side]*x)+y+b.x-(a&&i?a*m*(g?-1:1):0),e=e+d-(a&&!i?a*m*(g?1:-1):0),v&&(h=l/(u||1)%v,p.opposite&&(h=v-h-1),e+=p.labelOffset/v*h),w.x=t,w.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:w,tickmarkOffset:a,index:l}),w}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,n,r,i=!1,o){return o.crispLine([["M",t,e],["L",t+(i?0:-n),e+(i?n:0)]],r)}handleOverflow(t){let e,n,i,o=this.axis,s=o.options.labels,a=t.x,l=o.chart.chartWidth,c=o.chart.spacing,u=f(o.labelLeft,Math.min(o.pos,c[3])),d=f(o.labelRight,Math.max(o.isRadial?0:o.pos+o.len,l-c[1])),h=this.label,p=this.rotation,m={left:0,center:.5,right:1}[o.labelAlign||h.attr("align")],g=h.getBBox().width,v=o.getSlotWidth(this),b={},y=v,x=1;p||"justify"!==s.overflow?p<0&&a-m*g<u?i=Math.round(a/Math.cos(p*r)-u):p>0&&a+m*g>d&&(i=Math.round((l-a)/Math.cos(p*r))):(e=a-m*g,n=a+(1-m)*g,e<u?y=t.x+y*(1-m)-u:n>d&&(y=d-t.x+y*m,x=-1),(y=Math.min(v,y))<v&&"center"===o.labelAlign&&(t.x+=x*(v-y-m*(v-Math.min(g,y)))),(g>y||o.autoRotation&&(h.styles||{}).width)&&(i=y)),i&&(this.shortenLabel?this.shortenLabel():(b.width=Math.floor(i)+"px",(s.style||{}).textOverflow||(b.textOverflow="ellipsis"),h.css(b)))}moveLabel(t,e){let n,r=this,i=r.label,o=r.axis,s=!1;i&&i.textStr===t?(r.movedLabel=i,s=!0,delete r.label):h(o.ticks,(function(e){s||e.isNew||e===r||!e.label||e.label.textStr!==t||(r.movedLabel=e.label,s=!0,e.labelPos=r.movedLabel.xy,delete e.label)})),!s&&(r.labelPos||i)&&(n=r.labelPos||i.xy,r.movedLabel=r.createLabel(t,e,n),r.movedLabel&&r.movedLabel.attr({opacity:0}))}render(t,e,n){let r=this.axis,i=r.horiz,s=this.pos,a=f(this.tickmarkOffset,r.tickmarkOffset),l=this.getPosition(i,s,a,e),u=l.x,d=l.y,h=r.pos,p=h+r.len,m=i?u:d;!r.chart.polar&&this.isNew&&(o(m)<h||m>p)&&(n=0);let g=f(n,this.label&&this.label.newOpacity,1);n=f(n,1),this.isActive=!0,this.renderGridLine(e,n),this.renderMark(l,n),this.renderLabel(l,e,g,t),this.isNew=!1,c(this,"afterRender")}renderGridLine(t,e){let n,r=this.axis,i=r.options,o={},s=this.pos,a=this.type,l=f(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer,u=this.gridLine,d=i.gridLineWidth,h=i.gridLineColor,p=i.gridLineDashStyle;"minor"===this.type&&(d=i.minorGridLineWidth,h=i.minorGridLineColor,p=i.minorGridLineDashStyle),u||(r.chart.styledMode||(o.stroke=h,o["stroke-width"]=d||0,o.dashstyle=p),a||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(r.gridGroup)),u&&(n=r.getPlotLinePath({value:s+l,lineWidth:u.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})}renderMark(t,e){let n=this.axis,r=n.options,i=n.chart.renderer,o=this.type,s=n.tickSize(o?o+"Tick":"tick"),a=t.x,l=t.y,c=f(r["minor"!==o?"tickWidth":"minorTickWidth"],!o&&n.isXAxis?1:0),u=r["minor"!==o?"tickColor":"minorTickColor"],d=this.mark,h=!d;s&&(n.opposite&&(s[0]=-s[0]),d||(this.mark=d=i.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||d.attr({stroke:u,"stroke-width":c})),d[h?"attr":"animate"]({d:this.getMarkPath(a,l,s[0],d.strokeWidth(),n.horiz,i),opacity:e}))}renderLabel(t,e,n,r){let i=this.axis,o=i.horiz,s=i.options,a=this.label,l=s.labels,c=l.step,d=f(this.tickmarkOffset,i.tickmarkOffset),h=t.x,p=t.y,m=!0;a&&u(h)&&(a.xy=t=this.getLabelPosition(h,p,a,o,l,d,r,c),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?m=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&r%c&&(m=!1),m&&u(t.y)?(t.opacity=n,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}})),n(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a){let{animObject:l}=t,{xAxis:c,yAxis:u}=e,{defaultOptions:d}=r,{registerEventOptions:h}=i,{deg2rad:f}=o,{arrayMax:p,arrayMin:m,clamp:g,correctFloat:v,defined:b,destroyObjectProperties:y,erase:x,error:w,extend:k,fireEvent:_,getClosestDistance:S,insertItem:O,isArray:M,isNumber:C,isString:A,merge:T,normalizeTickInterval:E,objectEach:D,pick:P,relativeLength:j,removeEvent:L,splat:I,syncTimeout:N}=a,R=(t,e)=>E(e,void 0,void 0,P(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);k(d,{xAxis:c,yAxis:T(c,u)});class ${constructor(t,e,n){this.init(t,e,n)}init(t,e,n=this.coll){let r="xAxis"===n,i=this.isZAxis||(t.inverted?!r:r);this.chart=t,this.horiz=i,this.isXAxis=r,this.coll=n,_(this,"init",{userOptions:e}),this.opposite=P(e.opposite,this.opposite),this.side=P(e.side,this.side,i?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let o=this.options,s=o.labels,a=o.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===a||!0===o.categories,this.categories=M(o.categories)&&o.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.max=void 0,this.min=void 0;let l=P(o.crosshair,I(t.options.tooltip.crosshairs)[r?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(r?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),O(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&r&&!b(this.reversed)&&(this.reversed=!0),this.labelRotation=C(s.rotation)?s.rotation:void 0,h(this,o),_(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=T(e,d[this.coll],t),_(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,n=this.axis,{numberFormatter:r}=this.chart,i=C(this.value)?this.value:NaN,o=n.chart.time,s=n.categories,a=this.dateTimeLabelFormat,l=d.lang,c=l.numericSymbols,u=l.numericSymbolMagnitude||1e3,h=n.logarithmic?Math.abs(i):n.tickInterval,f=c&&c.length;if(s)e=`${this.value}`;else if(a)e=o.dateFormat(a,i);else if(f&&c&&h>=1e3)for(;f--&&void 0===e;)h>=(t=Math.pow(u,f+1))&&10*i%t==0&&null!==c[f]&&0!==i&&(e=r(i/t,-1)+c[f]);return void 0===e&&(e=Math.abs(i)>=1e4?r(i,-1):r(i,-1,void 0,"")),e}getSeriesExtremes(){let t,e=this;_(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach((n=>{if(n.reserveSpace()){let r,i,o,s=n.options,a=s.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(r=n.xData)&&r.length&&(r=e.logarithmic?r.filter((t=>t>0)):r,i=(t=n.getXExtremes(r)).min,o=t.max,C(i)||i instanceof Date||(r=r.filter(C),i=(t=n.getXExtremes(r)).min,o=t.max),r.length&&(e.dataMin=Math.min(P(e.dataMin,i),i),e.dataMax=Math.max(P(e.dataMax,o),o)));else{let t=n.applyExtremes();C(t.dataMin)&&(i=t.dataMin,e.dataMin=Math.min(P(e.dataMin,i),i)),C(t.dataMax)&&(o=t.dataMax,e.dataMax=Math.max(P(e.dataMax,o),o)),b(a)&&(e.threshold=a),(!s.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}}))})),_(this,"afterGetSeriesExtremes")}translate(t,e,n,r,i,o){let s=this.linkedParent||this,a=r&&s.old?s.old.min:s.min;if(!C(a))return NaN;let l=s.minPixelPadding,c=(s.isOrdinal||s.brokenAxis?.hasBreaks||s.logarithmic&&i)&&s.lin2val,u=1,d=0,h=r&&s.old?s.old.transA:s.transA,f=0;return h||(h=s.transA),n&&(u*=-1,d=s.len),s.reversed&&(u*=-1,d-=u*(s.sector||s.len)),e?(f=(t=t*u+d-l)/h+a,c&&(f=s.lin2val(f))):(c&&(t=s.val2lin(t)),f=u*(t-a)*h+d+u*l+(C(o)?h*o:0),s.isRadial||(f=v(f))),f}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,n,r,i,o,s=this,a=s.chart,l=s.left,c=s.top,u=t.old,d=t.value,h=t.lineWidth,f=u&&a.oldChartHeight||a.chartHeight,p=u&&a.oldChartWidth||a.chartWidth,m=s.transB,v=t.translatedValue,b=t.force;function y(t,e,n){return"pass"!==b&&(t<e||t>n)&&(b?t=g(t,e,n):o=!0),t}let x={value:d,lineWidth:h,old:u,force:b,acrossPanes:t.acrossPanes,translatedValue:v};return _(this,"getPlotLinePath",x,(function(t){e=r=(v=g(v=P(v,s.translate(d,void 0,void 0,u)),-1e5,1e5))+m,n=i=f-v-m,C(v)?s.horiz?(n=c,i=f-s.bottom+(a.scrollablePixelsY||0),e=r=y(e,l,l+s.width)):(e=l,r=p-s.right+(a.scrollablePixelsX||0),n=i=y(n,c,c+s.height)):(o=!0,b=!1),t.path=o&&!b?void 0:a.renderer.crispLine([["M",e,n],["L",r,i]],h||1)})),x.path}getLinearTickPositions(t,e,n){let r,i,o,s=v(Math.floor(e/t)*t),a=v(Math.ceil(n/t)*t),l=[];if(v(s+t)===s&&(o=20),this.single)return[e];for(r=s;r<=a&&(l.push(r),(r=v(r+t,o))!==i);)i=r;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?P(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,n=this.tickPositions,r=this.minorTickInterval,i=this.pointRangePadding||0,o=(this.min||0)-i,s=(this.max||0)+i,a=s-o,l=[];if(a&&a/r<this.len/3){let i=this.logarithmic;if(i)this.paddedTicks.forEach((function(t,e,n){e&&l.push.apply(l,i.getLogTickPositions(r,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(r),o,s,e.startOfWeek));else for(t=o+(n[0]-o)%r;t<=s&&t!==l[0];t+=r)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,n,r,i=this.options,o=this.logarithmic,{max:s,min:a,minRange:l}=this;this.isXAxis&&void 0===l&&!o&&(l=b(i.min)||b(i.max)||b(i.floor)||b(i.ceiling)?null:Math.min(5*(S(this.series.map((t=>(t.xIncrement?t.xData?.slice(0,2):t.xData)||[])))||0),this.dataMax-this.dataMin)),C(s)&&C(a)&&C(l)&&s-a<l&&(e=this.dataMax-this.dataMin>=l,t=(l-s+a)/2,n=[a-t,P(i.min,a-t)],e&&(n[2]=o?o.log2lin(this.dataMin):this.dataMin),r=[(a=p(n))+l,P(i.max,a+l)],e&&(r[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=m(r))-a<l&&(n[0]=s-l,n[1]=P(i.min,s-l),a=p(n))),this.minRange=l,this.min=a,this.max=s}getClosest(){let t,e;if(this.categories)e=1;else{let n=[];this.series.forEach((function(t){let r=t.closestPointRange;1===t.xData?.length?n.push(t.xData[0]):!t.noSharedTooltip&&b(r)&&t.reserveSpace()&&(e=b(e)?Math.min(e,r):r)})),n.length&&(n.sort(((t,e)=>t-e)),t=S([n]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,n=M(this.options.categories),r=n?this.categories:this.names,i=t.options.x;return t.series.requireSorting=!1,b(i)||(i=this.options.uniqueNames&&r?n?r.indexOf(t.name):P(r.keys[t.name],-1):t.series.autoIncrement()),-1===i?!n&&r&&(e=r.length):e=i,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,r){let i;n?.options&&void 0!==n.name&&void 0!==(i=t.nameToX(n))&&i!==n.x&&(n.x=i,e.xData[r]=i)}))})))}setAxisTranslation(){let t,e,n=this,r=n.max-n.min,i=n.linkedParent,o=!!n.categories,s=n.isXAxis,a=n.axisPointRange||0,l=0,c=0,u=n.transA;(s||o||a)&&(t=n.getClosest(),i?(l=i.minPointOffset,c=i.pointRangePadding):n.series.forEach((function(e){let r=o?1:s?P(e.options.pointRange,t,0):n.axisPointRange||0,i=e.options.pointPlacement;if(a=Math.max(a,r),!n.single||o){let t=e.is("xrange")?!s:s;l=Math.max(l,t&&A(i)?0:r/2),c=Math.max(c,t&&"on"===i?0:r)}})),e=n.ordinal&&n.ordinal.slope&&t?n.ordinal.slope/t:1,n.minPointOffset=l*=e,n.pointRangePadding=c*=e,n.pointRange=Math.min(a,n.single&&o?1:r),s&&t&&(n.closestPointRange=t)),n.translationSlope=n.transA=u=n.staticScale||n.len/(r+c||1),n.transB=n.horiz?n.left:n.bottom,n.minPixelPadding=u*l,_(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return C(t)&&C(e)&&t-e||void 0}setTickInterval(t){let e,n,r,i,o,{categories:s,chart:a,dataMax:l,dataMin:c,dateTime:u,isXAxis:d,logarithmic:h,options:f,softThreshold:p}=this,m=C(this.threshold)?this.threshold:void 0,g=this.minRange||0,{ceiling:y,floor:x,linkedTo:k,softMax:S,softMin:O}=f,M=C(k)&&a[this.coll]?.[k],A=f.tickPixelInterval,T=f.maxPadding,E=f.minPadding,D=0,j=C(f.tickInterval)&&f.tickInterval>=0?f.tickInterval:void 0;if(u||s||M||this.getTickAmount(),i=P(this.userMin,f.min),o=P(this.userMax,f.max),M?(this.linkedParent=M,e=M.getExtremes(),this.min=P(e.min,e.dataMin),this.max=P(e.max,e.dataMax),f.type!==M.options.type&&w(11,!0,a)):(p&&b(m)&&C(l)&&C(c)&&(c>=m?(n=m,E=0):l<=m&&(r=m,T=0)),this.min=P(i,n,c),this.max=P(o,r,l)),C(this.max)&&C(this.min)&&(h&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,P(c,this.min))&&w(10,!0,a),this.min=v(h.log2lin(this.min),16),this.max=v(h.log2lin(this.max),16)),this.range&&C(c)&&(this.userMin=this.min=i=Math.max(c,this.minFromRange()||0),this.userMax=o=this.max,this.range=void 0)),_(this,"foundExtremes"),this.adjustForMinRange(),C(this.min)&&C(this.max)){if(!C(this.userMin)&&C(O)&&O<this.min&&(this.min=i=O),!C(this.userMax)&&C(S)&&S>this.max&&(this.max=o=S),s||this.axisPointRange||this.stacking?.usePercentage||M||!(D=this.max-this.min)||(!b(i)&&E&&(this.min-=D*E),b(o)||!T||(this.max+=D*T)),!C(this.userMin)&&C(x)&&(this.min=Math.max(this.min,x)),!C(this.userMax)&&C(y)&&(this.max=Math.min(this.max,y)),p&&C(c)&&C(l)){let t=m||0;!b(i)&&this.min<t&&c>=t?this.min=f.minRange?Math.min(t,this.max-g):t:!b(o)&&this.max>t&&l<=t&&(this.max=f.minRange?Math.max(t,this.min+g):t)}!a.polar&&this.min>this.max&&(b(f.min)?this.max=this.min:b(f.max)&&(this.min=this.max)),D=this.max-this.min}if(this.min!==this.max&&C(this.min)&&C(this.max)?M&&!j&&A===M.options.tickPixelInterval?this.tickInterval=j=M.tickInterval:this.tickInterval=P(j,this.tickAmount?D/Math.max(this.tickAmount-1,1):void 0,s?1:D*A/Math.max(this.len,A)):this.tickInterval=1,d&&!t){let t=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach((function(e){e.forceCrop=e.forceCropping?.(),e.processData(t)})),_(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),_(this,"initialAxisTranslation"),this.pointRange&&!j&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let L=P(f.minTickInterval,u&&!this.series.some((t=>t.noSharedTooltip))?this.closestPointRange:0);!j&&this.tickInterval<L&&(this.tickInterval=L),u||h||j||(this.tickInterval=R(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let t,e=this.options,n=e.tickPositions,r=e.tickPositioner,i=this.getMinorTickInterval(),o=!this.isPanning,s=o&&e.startOnTick,a=o&&e.endOnTick,l=[];if(this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/e.minorTicksPerMajor:i,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==e.allowDecimals),n)l=n.slice();else if(C(this.min)&&C(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))l=[this.min,this.max],w(19,!1,this.chart);else if(this.dateTime)l=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)l=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(l=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&l.length>this.tickAmount);)this.tickInterval=R(this,e*=1.1)}l.length>this.len&&(l=[l[0],l[l.length-1]])[0]===l[1]&&(l.length=1),r&&(this.tickPositions=l,(t=r.apply(this,[this.min,this.max]))&&(l=t))}this.tickPositions=l,this.paddedTicks=l.slice(0),this.trimTicks(l,s,a),!this.isLinked&&C(this.min)&&C(this.max)&&(this.single&&l.length<2&&!this.categories&&!this.series.some((t=>t.is("heatmap")&&"between"===t.options.pointPlacement))&&(this.min-=.5,this.max+=.5),n||t||this.adjustTickAmount()),_(this,"afterSetTickPositions")}trimTicks(t,e,n){let r=t[0],i=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(_(this,"trimTicks"),!this.isLinked){if(e&&r!==-1/0)this.min=r;else for(;this.min-o>t[0];)t.shift();if(n)this.max=i;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&b(r)&&!this.options.tickPositions&&t.push((i+r)/2)}}alignToOthers(){let t,e=this,n=e.chart,r=[this],i=e.options,o=n.options.chart,s="yAxis"===this.coll&&o.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==o.alignTicks&&i.alignTicks||s)&&!1!==i.startOnTick&&!1!==i.endOnTick&&!e.logarithmic){let i=t=>{let{horiz:e,options:n}=t;return[e?n.left:n.top,n.width,n.height,n.pane].join(",")},o=i(this);n[this.coll].forEach((function(n){let{series:s}=n;s.length&&s.some((t=>t.visible))&&n!==e&&i(n)===o&&(t=!0,r.push(n))}))}if(t&&s){r.forEach((t=>{let n=t.getThresholdAlignment(e);C(n)&&a.push(n)}));let t=a.length>1?a.reduce(((t,e)=>t+e),0)/a.length:void 0;r.forEach((e=>{e.thresholdAlignment=t}))}return t}getThresholdAlignment(t){if((!C(this.dataMin)||this!==t&&this.series.some((t=>t.isDirty||t.isDirtyData)))&&this.getSeriesExtremes(),C(this.threshold)){let t=g((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,n=t.tickAmount;b(t.tickInterval)||n||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),n<4&&(this.finalTickAmt=n,n=5),this.tickAmount=n}adjustTickAmount(){let t,e,n,r=this,{finalTickAmt:i,max:o,min:s,options:a,tickPositions:l,tickAmount:c,thresholdAlignment:u}=r,d=l?.length,h=P(r.threshold,r.softThreshold?0:null),f=r.tickInterval,p=()=>l.push(v(l[l.length-1]+f)),m=()=>l.unshift(v(l[0]-f));if(C(u)&&(n=u<.5?Math.ceil(u*(c-1)):Math.floor(u*(c-1)),a.reversed&&(n=c-1-n)),r.hasData()&&C(s)&&C(o)){let u=()=>{r.transA*=(d-1)/(c-1),r.min=a.startOnTick?l[0]:Math.min(s,l[0]),r.max=a.endOnTick?l[l.length-1]:Math.max(o,l[l.length-1])};if(C(n)&&C(r.threshold)){for(;l[n]!==h||l.length!==c||l[0]>s||l[l.length-1]<o;){for(l.length=0,l.push(r.threshold);l.length<c;)void 0===l[n]||l[n]>r.threshold?m():p();if(f>8*r.tickInterval)break;f*=2}u()}else if(d<c){for(;l.length<c;)l.length%2||s===h?p():m();u()}if(b(i)){for(e=t=l.length;e--;)(3===i&&e%2==1||i<=2&&e>0&&e<t-1)&&l.splice(e,1);r.finalTickAmt=void 0}}}setScale(){let{coll:t,stacking:e}=this,n=!1,r=!1;this.series.forEach((t=>{n=n||t.isDirtyData||t.isDirty,r=r||t.xAxis&&t.xAxis.isDirty||!1})),this.setAxisSize();let i=this.len!==(this.old&&this.old.len);i||n||r||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(e&&"yAxis"===t&&e.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),e&&"xAxis"===t&&e.buildStacks(),this.isDirty||(this.isDirty=i||this.min!==this.old?.min||this.max!==this.old?.max)):e&&e.cleanStacks(),n&&delete this.allExtremes,_(this,"afterSetScale")}setExtremes(t,e,n=!0,r,i){this.series.forEach((t=>{delete t.kdTree})),_(this,"setExtremes",i=k(i,{min:t,max:e}),(t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,n&&this.chart.redraw(r)}))}setAxisSize(){let t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],r=this.horiz,i=this.width=Math.round(j(P(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(j(P(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),s=this.top=Math.round(j(P(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(j(P(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-i-a,this.len=Math.max(r?i:o,0),this.pos=r?a:s}getExtremes(){let t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,n=e?e.lin2log(this.min):this.min,r=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=n:t===1/0?t=r:n>t?t=n:r<t&&(t=r),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=(P(t,0)-90*this.side+720)%360,n={align:"center"};return _(this,"autoLabelAlign",n,(function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")})),n.align}tickSize(t){let e,n=this.options,r=P(n["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),i=n["tick"===t?"tickLength":"minorTickLength"];r&&i&&("inside"===n[t+"Position"]&&(i=-i),e=[i,r]);let o={tickSize:e};return _(this,"afterTickSize",o),o.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,n=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(n.label||n.movedLabel||t.box)}unsquish(){let t,e,n=this.options.labels,r=n.padding||0,i=this.horiz,o=this.tickInterval,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,l=v(.8*this.labelMetrics().h),c=Math.max(this.max-this.min,0),u=function(t){let e=(t+2*r)/(s||1);return(e=e>1?Math.ceil(e):1)*o>c&&t!==1/0&&s!==1/0&&c&&(e=Math.ceil(c/o)),v(e*o)},d=o,h=Number.MAX_VALUE;if(i){if(!n.staggerLines&&(C(a)?e=[a]:s<n.autoRotationLimit&&(e=n.autoRotation)),e){let n,r;for(let i of e)(i===a||i&&i>=-90&&i<=90)&&(r=(n=u(Math.abs(l/Math.sin(f*i))))+Math.abs(i/360))<h&&(h=r,t=i,d=n)}}else d=u(.75*l);return this.autoRotation=e,this.labelRotation=P(t,C(a)?a:0),n.step?o:d}getSlotWidth(t){let e=this.chart,n=this.horiz,r=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&C(t.slotWidth))return t.slotWidth;if(n&&r.step<2)return r.rotation?0:(this.staggerLines||1)*this.len/i;if(!n){let t=r.style.width;if(void 0!==t)return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e,n,r,i=this.chart,o=i.renderer,s=this.tickPositions,a=this.ticks,l=this.options.labels,c=l.style,u=this.horiz,d=this.getSlotWidth(),h=Math.max(1,Math.round(d-(u?2*(l.padding||0):l.distance||0))),f={},p=this.labelMetrics(),m=c.textOverflow,g=0;if(A(l.rotation)||(f.rotation=l.rotation||0),s.forEach((function(t){let e=a[t];e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>g&&(g=e.label.textPxLength)})),this.maxLabelLength=g,this.autoRotation)g>h&&g>p.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(d&&(t=h,!m))for(e="clip",r=s.length;!u&&r--;)(n=a[s[r]].label)&&("ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>d&&n.css({width:d+"px"}),n.getBBox().height>this.len/s.length-(p.h-p.f)&&(n.specificTextOverflow="ellipsis"));f.rotation&&(t=g>.5*i.chartHeight?.33*i.chartHeight:g,m||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(f.align=this.labelAlign),s.forEach((function(n){let r=a[n],i=r&&r.label,o=c.width,s={};i&&(i.attr(f),r.shortenLabel?r.shortenLabel():t&&!o&&"nowrap"!==c.whiteSpace&&(t<i.textPxLength||"SPAN"===i.element.tagName)?(s.width=t+"px",m||(s.textOverflow=i.specificTextOverflow||e),i.css(s)):!i.styles.width||s.width||o||i.css({width:null}),delete i.specificTextOverflow,r.rotation=f.rotation)}),this),this.tickRotCorr=o.rotCorr(p.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&b(this.min)&&b(this.max)}addTitle(t){let e,n=this.chart.renderer,r=this.horiz,i=this.opposite,o=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(T(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)}createGroups(){let{axisParent:t,chart:e,coll:n,options:r}=this,i=e.renderer,o=(e,o,s)=>i.g(e).attr({zIndex:s}).addClass(`highcharts-${n.toLowerCase()}${o} `+(this.isRadial?`highcharts-radial-axis${o} `:"")+(r.className||"")).add(t);this.axisGroup||(this.gridGroup=o("grid","-grid",r.gridZIndex),this.axisGroup=o("axis","",r.zIndex),this.labelGroup=o("axis-labels","-labels",r.labels.zIndex))}getOffset(){let t,e,n,r,i=this,{chart:o,horiz:s,options:a,side:l,ticks:c,tickPositions:u,coll:d}=i,h=o.inverted&&!i.isZAxis?[1,0,3,2][l]:l,f=i.hasData(),p=a.title,m=a.labels,g=C(a.crossing),v=o.axisOffset,y=o.clipOffset,x=[-1,1,1,-1][l],w=0,k=0,S=0;if(i.showAxis=t=f||a.showEmpty,i.staggerLines=i.horiz&&m.staggerLines||void 0,i.createGroups(),f||i.isLinked?(u.forEach((function(t){i.generateTick(t)})),i.renderUnsquish(),i.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===i.labelAlign,P(m.reserveSpace,!g&&null,"center"===i.labelAlign||null,i.reserveSpaceDefault)&&u.forEach((function(t){S=Math.max(c[t].getLabelSize(),S)})),i.staggerLines&&(S*=i.staggerLines),i.labelOffset=S*(i.opposite?-1:1)):D(c,(function(t,e){t.destroy(),delete c[e]})),p?.text&&!1!==p.enabled&&(i.addTitle(t),t&&!g&&!1!==p.reserveSpace&&(i.titleOffset=w=i.axisTitle.getBBox()[s?"height":"width"],k=b(e=p.offset)?0:P(p.margin,s?5:10))),i.renderLine(),i.offset=x*P(a.offset,v[l]?v[l]+(a.margin||0):0),i.tickRotCorr=i.tickRotCorr||{x:0,y:0},r=0===l?-i.labelMetrics().h:2===l?i.tickRotCorr.y:0,n=Math.abs(S)+k,S&&(n-=r,n+=x*(s?P(m.y,i.tickRotCorr.y+x*m.distance):P(m.x,x*m.distance))),i.axisTitleMargin=P(e,n),i.getMaxLabelDimensions&&(i.maxLabelDimensions=i.getMaxLabelDimensions(c,u)),"colorAxis"!==d&&y){let t=this.tickSize("tick");v[l]=Math.max(v[l],(i.axisTitleMargin||0)+w+x*i.offset,n,u&&u.length&&t?t[0]+x*i.offset:0);let e=!i.axisLine||a.offset?0:i.axisLine.strokeWidth()/2;y[h]=Math.max(y[h],e)}_(this,"afterGetOffset")}getLinePath(t){let e=this.chart,n=this.opposite,r=this.offset,i=this.horiz,o=this.left+(n?this.width:0)+r,s=e.chartHeight-this.bottom-(n?this.height:0)+r;return n&&(t*=-1),e.renderer.crispLine([["M",i?this.left:o,i?s:this.top],["L",i?e.chartWidth-this.right:o,i?s:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,n=this.left,r=this.top,i=this.len,o=this.options.title,s=e?n:r,a=this.opposite,l=this.offset,c=o.x,u=o.y,d=this.chart.renderer.fontMetrics(t),h=t?Math.max(t.getBBox(!1,0).height-d.h-1,0):0,f={low:s+(e?0:i),middle:s+i/2,high:s+(e?i:0)}[o.align],p=(e?r+this.height:n)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-h,h,d.f,-h][this.side],m={x:e?f+c:p+(a?this.width:0)+l+c,y:e?p+u-(a?this.height:0)+l:f+u};return _(this,"afterGetTitlePosition",{titlePosition:m}),m}renderMinorTick(t,e){let n=this.minorTicks;n[t]||(n[t]=new s(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)}renderTick(t,e,n){let r=this.isLinked,i=this.ticks;(!r||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new s(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))}render(){let t,e,n=this,r=n.chart,i=n.logarithmic,a=r.renderer,c=n.options,u=n.isLinked,d=n.tickPositions,h=n.axisTitle,f=n.ticks,p=n.minorTicks,m=n.alternateBands,g=c.stackLabels,v=c.alternateGridColor,b=c.crossing,y=n.tickmarkOffset,x=n.axisLine,w=n.showAxis,k=l(a.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[f,p,m].forEach((function(t){D(t,(function(t){t.isActive=!1}))})),C(b)){let t=this.isXAxis?r.yAxis[0]:r.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let r=t.toPixels(b,!0);n.horiz&&(r=t.len-r),n.offset=e*r}}if(n.hasData()||u){let a=n.chart.hasRendered&&n.old&&C(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,a)})),d.length&&(d.forEach((function(t,e){n.renderTick(t,e,a)})),y&&(0===n.min||n.single)&&(f[-1]||(f[-1]=new s(n,-1,null,!0)),f[-1].render(-1))),v&&d.forEach((function(s,a){e=void 0!==d[a+1]?d[a+1]+y:n.max-y,a%2==0&&s<n.max&&e<=n.max+(r.polar?-y:y)&&(m[s]||(m[s]=new o.PlotLineOrBand(n,{})),t=s+y,m[s].options={from:i?i.lin2log(t):t,to:i?i.lin2log(e):e,color:v,className:"highcharts-alternate-grid"},m[s].render(),m[s].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(c.plotLines||[]).concat(c.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[f,p,m].forEach((function(t){let e=[],n=k.duration;D(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),N((function(){let n=e.length;for(;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==m&&r.hasRendered&&n?n:0)})),x&&(x[x.isPlaced?"animate":"attr"]({d:this.getLinePath(x.strokeWidth())}),x.isPlaced=!0,x[w?"show":"hide"](w)),h&&w&&(h[h.isNew?"attr":"animate"](n.getTitlePosition(h)),h.isNew=!1),g&&g.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,_(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))}getKeepProps(){return this.keepProps||$.keepProps}destroy(t){let e=this,n=e.plotLinesAndBands,r=this.eventOptions;if(_(this,"destroy",{keepEvents:t}),t||L(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){y(t)})),n){let t=n.length;for(;t--;)n[t].destroy()}for(let t in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[t]=e.plotLinesAndBandsGroups[t].destroy();D(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=r}drawCrosshair(t,e){let r,i,o,s,a=this.crosshair,l=P(a&&a.snap,!0),c=this.chart,u=this.cross;if(_(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),a&&!1!==(b(e)||!l)){if(l?b(e)&&(i=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),b(i)&&(s={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:i},c.polar&&k(s,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),r=this.getPlotLinePath(s)||null),!b(r))return void this.hideCrosshair();o=this.categories&&!this.isRadial,u||(this.cross=u=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(a.className||"")).attr({zIndex:P(a.zIndex,2)}).add(),!c.styledMode&&(u.attr({stroke:a.color||(o?n.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":P(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&u.attr({dashstyle:a.dashStyle}))),u.show().attr({d:r}),o&&!a.width&&u.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();_(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){this.cross&&this.cross.hide(),_(this,"afterHideCrosshair")}update(t,e){let n=this.chart;t=T(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,P(e,!0)&&n.redraw()}remove(t){let e=this.chart,n=this.coll,r=this.series,i=r.length;for(;i--;)r[i]&&r[i].remove(!1);x(e.axes,this),x(e[n]||[],this),e.orderItems(n),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}return $.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],$})),n(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,getMagnitude:r,normalizeTickInterval:i,timeUnits:o}=t;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(){"datetime"===this.options.type?this.dateTime||(this.dateTime=new a(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"afterSetOptions",s)),t};class a{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let n,s=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],a=s[s.length-1],l=o[a[0]],c=a[1];for(n=0;n<s.length&&(l=o[(a=s[n])[0]],c=a[1],!(s[n+1]&&t<=(l*c[c.length-1]+o[s[n+1][0]])/2));n++);return l===o.year&&t<5*l&&(c=[1,2,5]),{unitRange:l,count:i(t/l,c,"year"===a[0]?Math.max(r(t/l),1):1),unitName:a[0]}}getXDateFormat(t,e){let{axis:n}=this,r=n.chart.time;return n.closestPointRange?r.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||r.resolveDTLFormat(e.year).main:r.resolveDTLFormat(e.day).main}}t.Additions=a}(e||(e={})),e})),n(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,normalizeTickInterval:r,pick:i}=t;return function(t){function e(t){let e=t.userOptions,n=this.logarithmic;"logarithmic"!==e.type?this.logarithmic=void 0:n||(n=this.logarithmic=new s(this))}function o(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};class s{constructor(t){this.axis=t}getLogTickPositions(t,e,n,o){let s=this.axis,a=s.len,l=s.options,c=[];if(o||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),c=s.getLinearTickPositions(t,e,n);else if(t>=.08){let r,i,s,a,l,u,d;for(r=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],i=Math.floor(e);i<n+1&&!d;i++)for(s=0,a=r.length;s<a&&!d;s++)(l=this.log2lin(this.lin2log(i)*r[s]))>e&&(!o||u<=n)&&void 0!==u&&c.push(u),u>n&&(d=!0),u=l}else{let u=this.lin2log(e),d=this.lin2log(n),h=o?s.getMinorTickInterval():l.tickInterval,f=l.tickPixelInterval/(o?5:1),p=o?a/s.tickPositions.length:a;t=r(t=i("auto"===h?null:h,this.minorAutoInterval,(d-u)*f/(p||1))),c=s.getLinearTickPositions(t,u,d).map(this.log2lin),o||(this.minorAutoInterval=t/5)}return o||(s.tickInterval=t),c}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=s}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{erase:n,extend:r,isNumber:i}=t;return function(t){let e;function o(t){return this.addPlotBandOrLine(t,"plotBands")}function s(t,n){let r=this.userOptions,i=new e(this,t);if(this.visible&&(i=i.render()),i){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((t=>{this.addPlotBandOrLine(t)}))),n){let e=r[n]||[];e.push(t),r[n]=e}this.plotLinesAndBands.push(i)}return i}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function l(t,e,n){n=n||this.options;let r,o,s=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),a=[],l=this.horiz,c=!i(this.min)||!i(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,u=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),d=1;if(u&&s)for(c&&(o=u.toString()===s.toString(),d=0),r=0;r<u.length;r+=2){let t=u[r],e=u[r+1],n=s[r],i=s[r+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===n[0]||"L"===n[0])&&("M"===i[0]||"L"===i[0])&&(l&&n[1]===t[1]?(n[1]+=d,i[1]+=d):l||n[2]!==t[2]||(n[2]+=d,i[2]+=d),a.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",i[1],i[2]],["L",n[1],n[2]],["Z"])),a.isFlat=o}return a}function c(t){this.removePlotBandOrLine(t)}function u(t){let e=this.plotLinesAndBands,r=this.options,i=this.userOptions;if(e){let o=e.length;for(;o--;)e[o].id===t&&e[o].destroy();[r.plotLines||[],i.plotLines||[],r.plotBands||[],i.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}}function d(t){this.removePlotBandOrLine(t)}t.compose=function(t,n){let i=n.prototype;return i.addPlotBand||(e=t,r(i,{addPlotBand:o,addPlotLine:a,addPlotBandOrLine:s,getPlotBandPath:l,removePlotBand:c,removePlotLine:d,removePlotBandOrLine:u})),n}}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],(function(t,e){let{arrayMax:n,arrayMin:r,defined:i,destroyObjectProperties:o,erase:s,fireEvent:a,merge:l,objectEach:c,pick:u}=e;class d{static compose(e){return t.compose(d,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){a(this,"render");let t,{axis:e,options:n}=this,{horiz:r,logarithmic:o}=e,{color:s,events:d,zIndex:h=0}=n,f={},p=e.chart.renderer,m=n.to,g=n.from,v=n.value,b=n.borderWidth,y=n.label,{label:x,svgElem:w}=this,k=[],_=i(g)&&i(m),S=i(v),O=!w,M={class:"highcharts-plot-"+(_?"band ":"line ")+(n.className||"")},C=_?"bands":"lines";if(!e.chart.styledMode&&(S?(M.stroke=s||"#999999",M["stroke-width"]=u(n.width,1),n.dashStyle&&(M.dashstyle=n.dashStyle)):_&&(M.fill=s||"#e6e9ff",b&&(M.stroke=n.borderColor,M["stroke-width"]=b))),f.zIndex=h,C+="-"+h,(t=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=t=p.g("plot-"+C).attr(f).add()),w||(this.svgElem=w=p.path().attr(M).add(t)),i(v))k=e.getPlotLinePath({value:o?.log2lin(v)??v,lineWidth:w.strokeWidth(),acrossPanes:n.acrossPanes});else{if(!i(g)||!i(m))return;k=e.getPlotBandPath(o?.log2lin(g)??g,o?.log2lin(m)??m,n)}return!this.eventsAdded&&d&&(c(d,((t,e)=>{w?.on(e,(t=>{d[e].apply(this,[t])}))})),this.eventsAdded=!0),!O&&w.d||!k?.length?w&&(k?(w.show(),w.animate({d:k})):w.d&&(w.hide(),x&&(this.label=x=x.destroy()))):w.attr({d:k}),y&&(i(y.text)||i(y.formatter))&&k?.length&&e.width>0&&e.height>0&&!k.isFlat?(y=l({align:r&&_?"center":void 0,x:r?!_&&4:10,verticalAlign:!r&&_?"middle":void 0,y:r?_?16:10:_?6:-4,rotation:r&&!_?90:0},y),this.renderLabel(y,k,_,h)):x&&x.hide(),this}renderLabel(t,e,i,o){let s=this.axis,a=s.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||""),zIndex:o}),s.chart.styledMode||c.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),c.add());let u=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],d=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],h=r(u),f=r(d);if(c.align(t,!1,{x:h,y:f,width:n(u)-h,height:n(d)-f}),!c.alignValue||"left"===c.alignValue){let e=t.clip?s.width:s.chart.chartWidth;c.css({width:(90===c.rotation?s.height-(c.alignAttr.y-s.top):e-(c.alignAttr.x-s.left))+"px"})}c.show(!0)}getLabelText(t){return i(t.formatter)?t.formatter.call(this):t.text}destroy(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)}}return d})),n(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o){var s;let{animObject:a}=t,{format:l}=e,{composed:c,doc:u,isSafari:d}=n,{distribute:h}=r,{addEvent:f,clamp:p,css:m,discardElement:g,extend:v,fireEvent:b,isArray:y,isNumber:x,isString:w,merge:k,pick:_,pushUnique:S,splat:O,syncTimeout:M}=o;class C{constructor(t,e,n){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=n}bodyFormatter(t){return t.map((function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t){this.chart.series.forEach((function(e){let n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))}defaultFormatter(t){let e,n=this.points||O(this);return(e=(e=[t.tooltipFooterHeaderFormatter(n[0])]).concat(t.bodyFormatter(n))).push(t.tooltipFooterHeaderFormatter(n[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),g(this.container)),o.clearTimeout(this.hideTimer)}getAnchor(t,e){let n,{chart:r,pointer:i}=this,o=r.inverted,s=r.plotTop,a=r.plotLeft;if((t=O(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=i.normalize(e)),n=[e.chartX-a,e.chartY-s];else if(t[0].tooltipPos)n=t[0].tooltipPos;else{let r=0,i=0;t.forEach((function(t){let e=t.pos(!0);e&&(r+=e[0],i+=e[1])})),r/=t.length,i/=t.length,this.shared&&t.length>1&&e&&(o?r=e.chartX:i=e.chartY),n=[r-a,i-s]}return n.map(Math.round)}getClassName(t,e,n){let r=this.options,i=t.series,o=i.options;return[r.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+_(t.colorIndex,i.colorIndex),o&&o.className].filter(w).join(" ")}getLabel(){let t=this,e=this.chart.styledMode,r=this.options,o=this.split&&this.allowShared,s=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!o&&t||o&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,e=i.getRendererType();this.container=s=n.doc.createElement("div"),s.className="highcharts-tooltip-container",m(s,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new e(s,0,0,t,void 0,void 0,a.styledMode)}if(o?this.label=a.g("tooltip"):(this.label=a.label("",0,0,r.shape,void 0,void 0,r.useHTML,void 0,"tooltip").attr({padding:r.padding,r:r.borderRadius}),e||this.label.attr({fill:r.backgroundColor,"stroke-width":r.borderWidth||0}).css(r.style).css({pointerEvents:r.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label;[e.xSetter,e.ySetter].forEach(((n,r)=>{e[r?"ySetter":"xSetter"]=i=>{n.call(e,t.distance),e[r?"y":"x"]=i,s&&(s.style[r?"top":"left"]=`${i}px`)}}))}this.label.attr({zIndex:8}).shadow(r.shadow).add()}return s&&!s.parentElement&&n.doc.body.appendChild(s),this.label}getPlayingField(){let{body:t,documentElement:e}=u,{chart:n,distance:r,outside:i}=this;return{width:i?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*r:n.chartWidth,height:i?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):n.chartHeight}}getPosition(t,e,n){let r,{distance:i,chart:o,outside:s,pointer:a}=this,{inverted:l,plotLeft:c,plotTop:u,polar:d}=o,{plotX:h=0,plotY:f=0}=n,p={},m=l&&n.h||0,{height:g,width:v}=this.getPlayingField(),b=a.getChartPosition(),y=t=>t*b.scaleX,x=t=>t*b.scaleY,w=n=>{let r="x"===n;return[n,r?v:g,r?t:e].concat(s?[r?y(t):x(e),r?b.left-i+y(h+c):b.top-i+x(f+u),0,r?v:g]:[r?t:e,r?h+c:f+u,r?c:u,r?c+o.plotWidth:u+o.plotHeight])},k=w("y"),S=w("x"),O=!!n.negative;!d&&o.hoverSeries?.yAxis?.reversed&&(O=!O);let M=!this.followPointer&&_(n.ttBelow,!d&&!l===O),C=function(t,e,n,r,o,a,l){let c=s?"y"===t?x(i):y(i):i,u=(n-r)/2,d=r<o-i,h=o+i+r<e,f=o-c-n+u,g=o+c-u;if(M&&h)p[t]=g;else if(!M&&d)p[t]=f;else if(d)p[t]=Math.min(l-r,f-m<0?f:f-m);else{if(!h)return!1;p[t]=Math.max(a,g+m+n>e?g:g+m)}},A=function(t,e,n,r,o){if(o<i||o>e-i)return!1;p[t]=o<n/2?1:o>e-r/2?e-r-2:o-n/2},T=function(t){[k,S]=[S,k],r=t},E=()=>{!1!==C.apply(0,k)?!1!==A.apply(0,S)||r||(T(!0),E()):r?p.x=p.y=0:(T(!0),E())};return(l&&!d||this.len>1)&&T(),E(),p}hide(t){let e=this;o.clearTimeout(this.hideTimer),t=_(t,this.options.hideDelay),this.isHidden||(this.hideTimer=M((function(){let n=e.getLabel();e.getLabel().animate({opacity:0},{duration:t?150:t,complete:()=>{n.hide(),e.container&&e.container.remove()}}),e.isHidden=!0}),t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=_(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,n,r){let i=this,o=a(!i.isHidden&&i.options.animation),s={x:t,y:e};i.followPointer||(i.len||0)>1||(s.anchorX=n,s.anchorY=r),o.step=()=>i.drawTracker(),i.getLabel().animate(s,o)}refresh(t,e){let{chart:n,options:r,pointer:i,shared:s}=this,a=O(t),c=a[0],u=[],d=r.format,h=r.formatter||this.defaultFormatter,f=n.styledMode,p={};if(!r.enabled||!c.series)return;o.clearTimeout(this.hideTimer),this.allowShared=!(!y(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&c.series.tooltipOptions.followPointer;let m=this.getAnchor(t,e),g=m[0],v=m[1];s&&this.allowShared?(i.applyInactiveState(a),a.forEach((function(t){t.setState("hover"),u.push(t.getLabelConfig())})),(p=c.getLabelConfig()).points=u):p=c.getLabelConfig(),this.len=u.length;let x=w(d)?l(d,p,n):h.call(p,this),k=c.series;if(this.distance=_(k.tooltipOptions.distance,16),!1===x)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(x,a);else{let t=g,o=v;if(e&&i.isDirectTouch&&(t=e.chartX-n.plotLeft,o=e.chartY-n.plotTop),!n.polar&&!1!==k.options.clip&&!a.some((e=>i.isDirectTouch||e.series.shouldShowTooltip(t,o))))return void this.hide();{let t=this.getLabel();(!r.style.width||f)&&t.css({width:(this.outside?this.getPlayingField():n.spacingBox).width+"px"}),t.attr({text:x&&x.join?x.join(""):x}),t.addClass(this.getClassName(c),!0),f||t.attr({stroke:r.borderColor||c.color||k.color||"#666666"}),this.updatePosition({plotX:g,plotY:v,negative:c.negative,ttBelow:c.ttBelow,h:m[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}b(this,"refresh")}renderSplit(t,e){let n=this,{chart:r,chart:{chartWidth:i,chartHeight:o,plotHeight:s,plotLeft:a,plotTop:l,scrollablePixelsY:c=0,scrollablePixelsX:f,styledMode:m},distance:g,options:b,options:{positioner:y},pointer:x}=n,{scrollLeft:k=0,scrollTop:S=0}=r.scrollablePlotArea?.scrollingContainer||{},O=n.outside&&"number"!=typeof f?u.documentElement.getBoundingClientRect():{left:k,right:k+i,top:S,bottom:S+o},M=n.getLabel(),C=this.renderer||r.renderer,A=!(!r.xAxis[0]||!r.xAxis[0].opposite),{left:T,top:E}=x.getChartPosition(),D=l+S,P=0,j=s-c;function L(t,e,r,i,o=!0){let s,a;return r?(s=A?0:j,a=p(t-i/2,O.left,O.right-i-(n.outside?T:0))):(s=e-D,a=p(a=o?t-i-g:t+g,o?a:O.left,O.right)),{x:a,y:s}}w(t)&&(t=[!1,t]);let I=t.slice(0,e.length+1).reduce((function(t,r,i){if(!1!==r&&""!==r){let o=e[i-1]||{isHeader:!0,plotX:e[0].plotX,plotY:s,series:{}},c=o.isHeader,u=c?n:o.series,d=u.tt=function(t,e,r){let i=t,{isHeader:o,series:s}=e;if(!i){let t={padding:b.padding,r:b.borderRadius};m||(t.fill=b.backgroundColor,t["stroke-width"]=b.borderWidth??1),i=C.label("",0,0,b[o?"headerShape":"shape"],void 0,void 0,b.useHTML).addClass(n.getClassName(e,!0,o)).attr(t).add(M)}return i.isActive=!0,i.attr({text:r}),m||i.css(b.style).attr({stroke:b.borderColor||e.color||s.color||"#333333"}),i}(u.tt,o,r.toString()),h=d.getBBox(),f=h.width+d.strokeWidth();c&&(P=h.height,j+=P,A&&(D-=P));let{anchorX:v,anchorY:x}=function(t){let e,n,{isHeader:r,plotX:i=0,plotY:o=0,series:c}=t;if(r)e=Math.max(a+i,a),n=l+s/2;else{let{xAxis:t,yAxis:r}=c;e=t.pos+p(i,-g,t.len+g),c.shouldShowTooltip(0,r.pos-l+o,{ignoreX:!0})&&(n=r.pos+o)}return{anchorX:e=p(e,O.left-g,O.right+g),anchorY:n}}(o);if("number"==typeof x){let e=h.height+1,r=y?y.call(n,f,e,o):L(v,x,c,f);t.push({align:y?0:void 0,anchorX:v,anchorY:x,boxWidth:f,point:o,rank:_(r.rank,c?1:0),size:e,target:r.y,tt:d,x:r.x})}else d.isActive=!1}return t}),[]);!y&&I.some((t=>{let{outside:e}=n,r=(e?T:0)+t.anchorX;return r<O.left&&r+t.boxWidth<O.right||r<T-O.left+t.boxWidth&&O.right-r>r}))&&(I=I.map((t=>{let{x:e,y:n}=L(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return v(t,{target:n,x:e})}))),n.cleanSplit(),h(I,j);let N={left:T,right:T};I.forEach((function(t){let{x:e,boxWidth:r,isHeader:i}=t;!i&&(n.outside&&T+e<N.left&&(N.left=T+e),!i&&n.outside&&N.left+r>N.right&&(N.right=T+e))})),I.forEach((function(t){let{x:e,anchorX:r,anchorY:i,pos:o,point:{isHeader:s}}=t,a={visibility:void 0===o?"hidden":"inherit",x:e,y:(o||0)+D,anchorX:r,anchorY:i};if(n.outside&&e<r){let t=T-N.left;t>0&&(s||(a.x=e+t,a.anchorX=r+t),s&&(a.x=(N.right-N.left)/2,a.anchorX=r+t))}t.tt.attr(a)}));let{container:R,outside:$,renderer:B}=n;if($&&R&&B){let{width:t,height:e,x:n,y:r}=M.getBBox();B.setSize(t+n,e+r,!1),R.style.left=N.left+"px",R.style.top=E+"px"}d&&M.attr({opacity:1===M.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!n)return;let r={x:0,y:0,width:0,height:0},i=this.getAnchor(n),o=e.getBBox();i[0]+=t.plotLeft-(e.translateX||0),i[1]+=t.plotTop-(e.translateY||0),r.x=Math.min(0,i[0]),r.y=Math.min(0,i[1]),r.width=i[0]<0?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),r.height=i[1]<0?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(r):(this.tracker=e.renderer.rect(r).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let n=t.series,r=n.tooltipOptions,i=n.xAxis,o=i&&i.dateTime,s={isFooter:e,labelConfig:t},a=r.xDateFormat,c=r[e?"footerFormat":"headerFormat"];return b(this,"headerFormatter",s,(function(e){o&&!a&&x(t.key)&&(a=o.getXDateFormat(t.key,r.dateTimeLabelFormats)),o&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+a+"}")})),n.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=l(c,{point:t,series:n},this.chart)})),s.text}update(t){this.destroy(),this.init(this.chart,k(!0,this.options,t))}updatePosition(t){let e,{chart:n,container:r,distance:i,options:o,pointer:s,renderer:a}=this,{height:l=0,width:c=0}=this.getLabel(),{left:u,top:d,scaleX:h,scaleY:f}=s.getChartPosition(),p=(o.positioner||this.getPosition).call(this,c,l,t),g=(t.plotX||0)+n.plotLeft,v=(t.plotY||0)+n.plotTop;a&&r&&(o.positioner&&(p.x+=u-i,p.y+=d-i),e=(o.borderWidth||0)+2*i+2,a.setSize(c+e,l+e,!1),(1!==h||1!==f)&&(m(r,{transform:`scale(${h}, ${f})`}),g*=h,v*=f),g+=u-p.x,v+=d-p.y),this.move(Math.round(p.x),Math.round(p.y||0),g,v)}}return(s=C||(C={})).compose=function(t){S(c,"Core.Tooltip")&&f(t,"afterInit",(function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new s(t,t.options.tooltip,this))}))},C})),n(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){let{animObject:o}=e,{defaultOptions:s}=n,{format:a}=r,{addEvent:l,crisp:c,erase:u,extend:d,fireEvent:h,getNestedProperty:f,isArray:p,isFunction:m,isNumber:g,isObject:v,merge:b,pick:y,syncTimeout:x,removeEvent:w,uniqueKey:k}=i;class _{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))}applyOptions(t,e){let n=this.series,r=n.options.pointValKey||n.pointValKey;return d(this,t=_.prototype.optionsToObject.call(this,t)),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=_.prototype.getNestedProperty.call(this,r)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=void 0===e?n.autoIncrement():e:g(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,n=e.chart,r=e.options.dataSorting,i=n.hoverPoints,s=o(t.series.chart.renderer.globalAnimation),a=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(w(t),t.destroyElements()),t)delete t[e]};t.legendItem&&n.legend.destroyItem(t),i&&(t.setState(),u(i,t),i.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),x(a,s.duration)):a(),n.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,n=e.getGraphicalProps(t);n.singular.forEach((function(t){e[t]=e[t].destroy()})),n.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))}firePointEvent(t,e,n){let r=this,i=this.series.options;r.manageEvent(t),"click"===t&&i.allowPointSelect&&(n=function(t){!r.destroyed&&r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(r,t,e,n)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,n,r=this,i=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","connector"),t.dataLabel&&i.push("dataLabel","dataLabelPath","dataLabelUpper"),n=i.length;n--;)r[e=i[n]]&&o.singular.push(e);return["graphic","dataLabel"].forEach((function(e){let n=e+"s";t[e]&&r[n]&&o.plural.push(n)})),o}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?f(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,n=e.zones,r=e.zoneAxis||"y",i=0;for(t=n[0];this[r]>=t.value;)t=n[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,n){this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,n),this.id??(this.id=k()),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit")}isValid(){return(g(this.x)||this.x instanceof Date)&&g(this.y)}optionsToObject(t){let e,n=this.series,r=n.options.keys,i=r||n.pointArrayMap||["y"],o=i.length,s={},a=0,l=0;if(g(t)||null===t)s[i[0]]=t;else if(p(t))for(!r&&t.length>o&&("string"==(e=typeof t[0])?s.name=t[0]:"number"===e&&(s.x=t[0]),a++);l<o;)r&&void 0===t[a]||(i[l].indexOf(".")>0?_.prototype.setNestedProperty(s,t[a],i[l]):s[i[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(n.hasDataLabels=()=>!0),t.marker&&(n._hasPointMarkers=!0));return s}pos(t,e=this.plotY){if(!this.destroyed){let{plotX:n,series:r}=this,{chart:i,xAxis:o,yAxis:s}=r,a=0,l=0;if(g(n)&&g(e))return t&&(a=o?o.pos:i.plotLeft,l=s?s.pos:i.plotTop),i.inverted&&o&&s?[s.len-e+l,o.len-n+a]:[n+a,e+l]}}resolveColor(){let t,e,n,r=this.series,i=r.chart.options.chart,o=r.chart.styledMode,s=i.colorCount;delete this.nonZonedColor,r.options.colorByPoint?(o||(t=(e=r.options.colors||r.chart.options.colors)[r.colorCounter],s=e.length),n=r.colorCounter,r.colorCounter++,r.colorCounter===s&&(r.colorCounter=0)):(o||(t=r.color),n=r.colorIndex),this.colorIndex=y(this.options.colorIndex,n),this.color=y(this.options.color,t)}setNestedProperty(t,e,n){return n.split(".").reduce((function(t,n,r,i){let o=i.length-1===r;return t[n]=o?e:v(t[n],!0)?t[n]:{},t[n]}),t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,n=e.tooltipOptions,r=y(n.valueDecimals,""),i=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(i||o)&&(t=t.replace(RegExp(e+"}","g"),i+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+r+"f}")})),a(t,{point:this,series:this.series},e.chart)}update(t,e,n,r){let i,o=this,s=o.series,a=o.graphic,l=s.chart,c=s.options;function u(){o.applyOptions(t);let r=a&&o.hasMockGraphic,u=null===o.y?!r:r;a&&u&&(o.graphic=a.destroy(),delete o.hasMockGraphic),v(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(o.graphic=a.destroy()),t?.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy())),i=o.index,s.updateParallelArrays(o,i),c.data[i]=v(c.data[i],!0)||v(t,!0)?o.options:y(t,c.data[i]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(n)}e=y(e,!0),!1===r?u():o.firePointEvent("update",{options:t},u)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let n=this,r=n.series,i=r.chart;t=y(t,!n.selected),this.selectedStaging=t,n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,r.options.data[r.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||i.getSelectedPoints().forEach((function(t){let e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(i.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:n}=this.series.chart;n&&(t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e),n.runPointActions(t,this))}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null}manageEvent(t){let e=b(this.series.options.point,this.options),n=e.events?.[t];!m(n)||this.hcEvents?.[t]&&-1!==this.hcEvents?.[t]?.map((t=>t.fn)).indexOf(n)?this.hasImportedEvents&&!n&&this.hcEvents?.[t]&&(w(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||(this.hasImportedEvents=!1)):(l(this,t,n),this.hasImportedEvents=!0)}setState(e,n){let r,i,o,a,l=this.series,c=this.state,u=l.options.states[e||"normal"]||{},f=s.plotOptions[l.type].marker&&l.options.marker,p=f&&!1===f.enabled,m=f&&f.states&&f.states[e||"normal"]||{},v=!1===m.enabled,b=this.marker||{},x=l.chart,w=f&&l.markerAttribs,k=l.halo,_=l.stateMarkerGraphic;if((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===u.enabled||e&&(v||p&&!1===m.enabled)||e&&b.states&&b.states[e]&&!1===b.states[e].enabled)return;if(this.state=e,w&&(r=l.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(c&&this.graphic.removeClass("highcharts-point-"+c),e&&this.graphic.addClass("highcharts-point-"+e),!x.styledMode){i=l.pointAttribs(this,e),o=y(x.options.chart.animation,u.animation);let t=i.opacity;l.options.inactiveOtherPoints&&g(t)&&(this.dataLabels||[]).forEach((function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},o),e.connector&&e.connector.animate({opacity:t},o))})),this.graphic.animate(i,o)}r&&this.graphic.animate(r,y(x.options.chart.animation,m.animation,f.animation)),_&&_.hide()}else e&&m&&(a=b.symbol||l.symbol,_&&_.currentSymbol!==a&&(_=_.destroy()),r&&(_?_[n?"animate":"attr"]({x:r.x,y:r.y}):a&&(l.stateMarkerGraphic=_=x.renderer.symbol(a,r.x,r.y,r.width,r.height).add(l.markerGroup),_.currentSymbol=a)),!x.styledMode&&_&&"inactive"!==this.state&&_.attr(l.pointAttribs(this,e))),_&&(_[e&&this.isInside?"show":"hide"](),_.element.point=this,_.addClass(this.getClassName(),!0));let S=u.halo,O=this.graphic||_,M=O&&O.visibility||"inherit";S&&S.size&&O&&"hidden"!==M&&!this.isCluster?(k||(l.halo=k=x.renderer.path().add(O.parentGroup)),k.show()[n?"animate":"attr"]({d:this.haloPath(S.size)}),k.attr({class:"highcharts-halo highcharts-color-"+y(this.colorIndex,l.colorIndex)+(this.className?" "+this.className:""),visibility:M,zIndex:-1}),k.point=this,x.styledMode||k.attr(d({fill:this.color||l.color,"fill-opacity":S.opacity},t.filterUserAttributes(S.attributes||{})))):k?.point?.haloPath&&!k.point.destroyed&&k.animate({d:k.point.haloPath(0)},null,k.hide),h(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(c(e[0],1)-t,e[1]-t,2*t,2*t):[]}}return _})),n(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){var r;let{parse:i}=t,{charts:o,composed:s,isTouchDevice:a}=e,{addEvent:l,attr:c,css:u,extend:d,find:h,fireEvent:f,isNumber:p,isObject:m,objectEach:g,offset:v,pick:b,pushUnique:y,splat:x}=n;class w{applyInactiveState(t){let e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))}destroy(){let t=this;this.eventsToUnbind.forEach((t=>t())),this.eventsToUnbind=[],!e.chartCount&&(w.unbindDocumentMouseUp&&(w.unbindDocumentMouseUp=w.unbindDocumentMouseUp()),w.unbindDocumentTouchEnd&&(w.unbindDocumentTouchEnd=w.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),g(t,(function(e,n){t[n]=void 0}))}getSelectionMarkerAttrs(t,e){let n={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return f(this,"getSelectionMarkerAttrs",n,(n=>{let r,{chart:i,zoomHor:o,zoomVert:s}=this,{mouseDownX:a=0,mouseDownY:l=0}=i,c=n.attrs;c.x=i.plotLeft,c.y=i.plotTop,c.width=o?1:i.plotWidth,c.height=s?1:i.plotHeight,o&&(r=t-a,c.width=Math.max(1,Math.abs(r)),c.x=(r>0?0:r)+a),s&&(r=e-l,c.height=Math.max(1,Math.abs(r)),c.y=(r>0?0:r)+l)})),n}drag(t){let e,{chart:n}=this,{mouseDownX:r=0,mouseDownY:o=0}=n,{panning:s,panKey:a,selectionMarkerFill:l}=n.options.chart,c=n.plotLeft,u=n.plotTop,d=n.plotWidth,h=n.plotHeight,f=m(s)?s.enabled:s,p=a&&t[`${a}Key`],g=t.chartX,v=t.chartY,b=this.selectionMarker;if((!b||!b.touch)&&(g<c?g=c:g>c+d&&(g=c+d),v<u?v=u:v>u+h&&(v=u+h),this.hasDragged=Math.sqrt(Math.pow(r-g,2)+Math.pow(o-v,2)),this.hasDragged>10)){e=n.isInsidePlot(r-c,o-u,{visiblePlotOnly:!0});let{shapeType:a,attrs:d}=this.getSelectionMarkerAttrs(g,v);(n.hasCartesianSeries||n.mapView)&&this.hasZoom&&e&&!p&&!b&&(this.selectionMarker=b=n.renderer[a](),b.attr({class:"highcharts-selection-marker",zIndex:7}).add(),n.styledMode||b.attr({fill:l||i("#334eff").setOpacity(.25).get()})),b&&b.attr(d),e&&!b&&f&&n.pan(t,s)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return f(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:n,selectionMarker:r}=this;for(let t of n.axes)t.isPanning&&(t.isPanning=!1,(t.options.startOnTick||t.options.endOnTick||t.series.some((t=>t.boosted)))&&(t.forceRedraw=!0,t.setExtremes(t.userMin,t.userMax,!1),e=!0));if(e&&n.redraw(),r&&t){if(this.hasDragged){let e=this.getSelectionBox(r);n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY))),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}p(n.index)&&(this.selectionMarker=r.destroy())}n&&p(n.index)&&(u(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t,e,n){let r;return t.forEach((function(t){let i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),o=t.searchPoint(n,i);m(o,!0)&&o.series&&(!m(r,!0)||function(t,n){let r=t.distX-n.distX,i=t.dist-n.dist,o=n.series.group?.zIndex-t.series.group?.zIndex;return 0!==r&&e?r:0!==i?i:0!==o?o:t.series.index>n.series.index?-1:1}(r,o)>0)&&(r=o)})),r}getChartCoordinatesFromPoint(t,e){let{xAxis:n,yAxis:r}=t.series,i=t.shapeArgs;if(n&&r){let o=t.clientX??t.plotX??0,s=t.plotY||0;return t.isNode&&i&&p(i.x)&&p(i.y)&&(o=i.x,s=i.y),e?{chartX:r.len+r.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+r.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:n,offsetWidth:r}=t;return r>2&&n>2&&(this.chartPosition.scaleX=e.width/r,this.chartPosition.scaleY=e.height/n),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let n of this.chart.axes)e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,n,r,i,o){let s,a=[],l=function(t){return t.visible&&!(!i&&t.directTouch)&&b(t.options.enableMouseTracking,!0)},c=e,u={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:i};f(this,"beforeGetHoverData",u),s=c&&!c.stickyTracking?[c]:n.filter((t=>t.stickyTracking&&(u.filter||l)(t)));let d=r&&t||!o?t:this.findNearestKDPoint(s,i,o);return c=d&&d.series,d&&(i&&!c.noSharedTooltip?(s=n.filter((function(t){return u.filter?u.filter(t):l(t)&&!t.noSharedTooltip}))).forEach((function(t){let e=h(t.points,(function(t){return t.x===d.x&&!t.isNull}));m(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))})):a.push(d)),f(this,"afterGetHoverData",u={hoverPoint:d}),{hoverPoint:u.hoverPoint,hoverSeries:c,hoverPoints:a}}getPointFromEvent(t){let e,n=t.target;for(;n&&!e;)e=n.point,n=n.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,n=t.relatedTarget,r=e.hoverSeries;this.isDirectTouch=!1,!r||!n||r.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+r.index)&&this.inClass(n,"highcharts-tracker")||r.onMouseOut()}inClass(t,e){let n,r=t;for(;r;){if(n=c(r,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}r=r.parentElement}}constructor(t,e){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!!e.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),f(this,"afterInit")}normalize(t,e){let n=t.touches,r=n?n.length?n.item(0):b(n.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let i=r.pageX-e.left,o=r.pageY-e.top;return d(t,{chartX:Math.round(i/=e.scaleX),chartY:Math.round(o/=e.scaleY)})}onContainerClick(t){let e=this.chart,n=e.hoverPoint,r=this.normalize(t),i=e.plotLeft,o=e.plotTop;!e.cancelClick&&(n&&this.inClass(r.target,"highcharts-tracker")?(f(n.series,"click",d(r,{point:n})),e.hoverPoint&&n.firePointEvent("click",r)):(d(r,this.getCoordinates(r)),e.isInsidePlot(r.chartX-i,r.chartY-o,{visiblePlotOnly:!0})&&f(e,"click",r)))}onContainerMouseDown(t){let n=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||n)&&(this.zoomOption(t),n&&t.preventDefault?.(),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=o[b(w.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&t.relatedTarget&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,n=e.tooltip,r=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(r))&&this.drag(r),!e.openMenu&&(this.inClass(r.target,"highcharts-tracker")||e.isInsidePlot(r.chartX-e.plotLeft,r.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!n||!n.shouldStickOnContact(r))&&(this.inClass(r.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(r))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,n=e.tooltip,r=this.chartPosition,i=this.normalize(t,r);!r||e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(i)||this.inClass(i.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){o[b(w.hoverChartIndex,-1)]?.pointer?.drop(t)}pinch(t){let e=this,{chart:n,hasZoom:r,lastTouches:i}=e,o=[].map.call(t.touches||[],(t=>e.normalize(t))),s=o.length,a=1===s&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),l=n.tooltip,c=1===s&&b(l?.options.followTouchMove,!0);s>1?e.initiated=!0:c&&(e.initiated=!1),r&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=o,e.res=!0):c?this.runPointActions(e.normalize(t)):i&&(f(n,"touchpan",{originalEvent:t,touches:o},(()=>{let e=t=>{let e=t[0],n=t[1]||e;return{x:e.chartX,y:e.chartY,width:n.chartX-e.chartX,height:n.chartY-e.chartY}};n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz))),to:e(o),from:e(i),trigger:t.type})})),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=o}reset(t,e){let n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,s=n.tooltip,a=s&&s.shared?o:i;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&x(a).length&&(s.refresh(a),s.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):i&&(i.setState(i.state,!0),n.axes.forEach((function(t){t.crosshair&&i.series[t.coll]===t&&t.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(t){t.setState()})),r&&r.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),n.hoverPoints=n.hoverPoint=void 0)}runPointActions(t,e,n){let r=this.chart,i=r.series,s=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,a=!!s&&s.shared,c=e||r.hoverPoint,u=c&&c.series||r.hoverSeries,d=(!t||"touchmove"!==t.type)&&(!!e||u&&u.directTouch&&this.isDirectTouch),f=this.getHoverData(c,u,i,d,a,t);c=f.hoverPoint,u=f.hoverSeries;let p=f.hoverPoints,m=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,g=a&&u&&!u.noSharedTooltip;if(c&&(n||c!==r.hoverPoint||s&&s.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===p.indexOf(t)&&t.setState()})),r.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(p),(p||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!c.series)return;r.hoverPoints=p,r.hoverPoint=c,c.firePointEvent("mouseOver",void 0,(()=>{s&&c&&s.refresh(g?p:c,t)}))}else if(m&&s&&!s.isHidden){let e=s.getAnchor([{}],t);r.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(r.container.ownerDocument,"mousemove",(t=>o[w.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(t))),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(e){let n,i=b((e.crosshair||{}).snap,!0);!i||(n=r.hoverPoint)&&n.series[e.coll]===e||(n=h(p,(t=>t.series&&t.series[e.coll]===e))),n||!i?e.drawCrosshair(t,n):e.hideCrosshair()}))}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this)),l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),w.unbindDocumentMouseUp||(w.unbindDocumentMouseUp=l(e,"mouseup",this.onDocumentMouseUp.bind(this)));let n=this.chart.renderTo.parentElement;for(;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(l(n,"scroll",(()=>{delete this.chartPosition}))),n=n.parentElement;this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),w.unbindDocumentTouchEnd||(w.unbindDocumentTouchEnd=l(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),l(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!a)return;let t=this.pointerCaptureEventsToUnbind,e=this.chart,n=e.container,r=b(e.options.tooltip?.followTouchMove,!0)&&e.series.some((t=>t.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&r?(t.push(l(n,"pointerdown",(t=>{t.target?.hasPointerCapture(t.pointerId)&&t.target?.releasePointerCapture(t.pointerId)})),l(n,"pointermove",(t=>{e.pointer?.getPointFromEvent(t)?.onMouseOver(t)}))),e.styledMode||u(n,{"touch-action":"none"}),n.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!r&&(t.forEach((t=>t())),t.length=0,e.styledMode||u(n,{"touch-action":b(e.options.chart.style?.["touch-action"],"manipulation")}),n.className=n.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(t){let n=this.chart,r=e.charts[b(w.hoverChartIndex,-1)];r&&r!==n&&r.pointer?.onContainerMouseLeave(t||{relatedTarget:n.container}),r&&r.mouseIsDown||(w.hoverChartIndex=n.index)}touch(t,e){let n,{chart:r,pinchDown:i=[]}=this;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),r.isInsidePlot(t.chartX-r.plotLeft,t.chartY-r.plotTop,{visiblePlotOnly:!0})&&!r.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!i[0]&&Math.pow(i[0].chartX-t.chartX,2)+Math.pow(i[0].chartY-t.chartY,2)>=16),b(n,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,n,r=this.chart,i=r.inverted,o=r.zooming.type||"";/touch/.test(t.type)&&(o=b(r.zooming.pinchType,o)),this.zoomX=e=/x/.test(o),this.zoomY=n=/y/.test(o),this.zoomHor=e&&!i||n&&i,this.zoomVert=n&&!i||e&&i,this.hasZoom=e||n}}return(r=w||(w={})).compose=function(t){y(s,"Core.Pointer")&&l(t,"beforeRender",(function(){this.pointer=new r(this,this.options)}))},w})),n(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o){var s;let{animObject:a,setAnimation:l}=t,{format:c}=e,{composed:u,marginNames:d}=n,{distribute:h}=i,{addEvent:f,createElement:p,css:m,defined:g,discardElement:v,find:b,fireEvent:y,isNumber:x,merge:w,pick:k,pushUnique:_,relativeLength:S,stableSort:O,syncTimeout:M}=o;class C{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),f(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),f(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t){let e=k(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=w(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=k(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let n=this.chart;this.setOptions(w(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,k(e,!0)&&n.redraw(),y(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:n,group:r,label:i,line:o,symbol:s}=t.legendItem||{};if(r?.[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:r={}}=this,a=r.color,{fillColor:l,fillOpacity:c,lineColor:u,marker:d}=t.options,h=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);i?.css(w(e?this.itemStyle:r)),o?.attr(h({stroke:u||t.color})),s&&s.attr(h(d&&s.isMarker?t.pointAttribs():{fill:t.color})),n?.attr(h({fill:l||t.color,"fill-opacity":l?1:c??.75}))}y(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:n=0,y:r=0}=t.legendItem||{},i=this.options,o=i.symbolPadding,s=!i.rtl,a=t.checkbox;if(e&&e.element){let i={translateX:s?n:this.legendWidth-n-2*o-4,translateY:r};e[g(e.translateY)?"animate":"attr"](i,void 0,(()=>{y(this,"afterPositionItem",{item:t})}))}a&&(a.x=n,a.y=r)}destroyItem(t){let e=t.checkbox,n=t.legendItem||{};for(let t of["group","label","line","symbol"])n[t]&&(n[t]=n[t].destroy());e&&v(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,n=this.clipHeight||this.legendHeight,r=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach((function(i){let o,s=i.checkbox;s&&(o=t+r+s.y+(this.scrollOffset||0)+3,m(s,{left:e.translateX+i.checkboxOffset+s.x-20+"px",top:o+"px",display:this.proximate||o>t-6&&o<t+n-6?"":"none"}))}),this))}renderTitle(){let t,e=this.options,n=this.padding,r=e.title,i=0;r.text&&(this.title||(this.title=this.chart.renderer.label(r.text,n-3,n-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(r.style),this.title.add(this.group)),r.width||this.title.css({width:this.maxLegendWidth+"px"}),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?c(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},n=this.chart,r=n.renderer,i=this.options,o="horizontal"===i.layout,s=this.symbolWidth,a=i.symbolPadding||0,l=this.itemStyle,c=this.itemHiddenStyle,u=o?k(i.itemDistance,20):0,d=!i.rtl,h=!t.series,f=!h&&t.series.drawLegendSymbol?t.series:t,p=f.options,m=!!this.createCheckboxForItem&&p&&p.showCheckbox,g=i.useHTML,v=t.options.className,b=e.label,y=s+a+u+(m?20:0);!b&&(e.group=r.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(h?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=b=r.text("",d?s+a:-a,this.baseline||0,g),n.styledMode||b.css(w(t.visible?l:c)),b.attr({align:d?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=r.fontMetrics(b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=k(i.symbolHeight,this.fontMetrics.f),i.squareSymbol&&(this.symbolWidth=k(i.symbolWidth,Math.max(this.symbolHeight,16)),y=this.symbolWidth+a+u+(m?20:0),d&&b.attr("x",this.symbolWidth+a))),f.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,b,g)),m&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(n.styledMode||!l.width)&&b.css({width:(i.itemWidth||this.widthOption||n.spacingBox.width)-y+"px"}),this.setText(t);let x=b.getBBox(),_=this.fontMetrics&&this.fontMetrics.h||0;t.itemWidth=t.checkboxOffset=i.itemWidth||e.labelWidth||x.width+y,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(x.height>1.5*_?x.height:_))}layoutItem(t){let e=this.options,n=this.padding,r="horizontal"===e.layout,i=t.itemHeight,o=this.itemMarginBottom,s=this.itemMarginTop,a=r?k(e.itemDistance,20):0,l=this.maxLegendWidth,c=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,u=t.legendItem||{};r&&this.itemX-n+c>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),u.x=this.itemX,u.y=this.itemY,r?this.itemX+=c:(this.itemY+=s+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(t.checkbox?0:a):c)+n,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach((function(e){let n=e&&e.options;e&&k(n.showInLegend,!g(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))})),y(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let n=this.chart,r=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,s){o.test(i)&&!g(t[s])&&(n[d[s]]=Math.max(n[d[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*r[s%2?"x":"y"]+k(r.margin,12)+e[s]+(n.titleOffset[s]||0)))}))}proximatePositions(){let t,e=this.chart,n=[],r="left"===this.options.align;for(let i of(this.allItems.forEach((function(t){let i,o,s,a,l=r;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(i=b(l?t.points:t.points.slice(0).reverse(),(function(t){return x(t.plotY)}))),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,s=t.visible?(i?i.plotY:t.yAxis.height)+(a-.3*o):a+t.yAxis.height,n.push({target:s,size:o,item:t}))}),this),h(n,e.plotHeight)))t=i.item.legendItem||{},x(i.pos)&&(t.y=e.plotTop-e.spacing[0]+i.pos)}render(){let t,e,n,r,i=this.chart,o=i.renderer,s=this.options,a=this.padding,l=this.getAllItems(),c=this.group,u=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=S(s.width,i.spacingBox.width-a),r=i.spacingBox.width-2*a-s.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(r/=2),this.maxLegendWidth=this.widthOption||r,c||(this.group=c=o.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(c),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),O(l,((t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0))),s.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,n=this.lastItemY+this.lastLineHeight+this.titleHeight,n=this.handleOverflow(n)+a,u||(this.box=u=o.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(c)),i.styledMode||u.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),e>0&&n>0&&u[u.placed?"animate":"attr"](u.crisp.call({},{x:0,y:0,width:e,height:n},u.strokeWidth())),c[t?"show":"hide"](),i.styledMode&&"none"===c.getStyle("display")&&(e=n=0),this.legendWidth=e,this.legendHeight=n,t&&this.align(),this.proximate||this.positionItems(),y(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,n=this.options,r=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?r+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(r-=e.titleOffset[2]),r!==t.y&&(t=w(t,{y:r})),e.hasRendered||(this.group.placed=!1),this.group.align(w(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)}handleOverflow(t){let e,n,r,i=this,o=this.chart,s=o.renderer,a=this.options,l=a.y,c="top"===a.verticalAlign,u=this.padding,d=a.maxHeight,h=a.navigation,f=k(h.animation,!0),p=h.arrowSize||12,m=this.pages,g=this.allItems,v=function(t){"number"==typeof t?w.attr({height:t}):w&&(i.clipRect=w.destroy(),i.contentGroup.clip()),i.contentGroup.div&&(i.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},b=function(t){return i[t]=s.circle(0,0,1.3*p).translate(p/2,p/2).add(x),o.styledMode||i[t].attr("fill","rgba(0,0,0,0.0001)"),i[t]},y=o.spacingBox.height+(c?-l:l)-u,x=this.nav,w=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(y/=2),d&&(y=Math.min(y,d)),m.length=0,t&&y>0&&t>y&&!1!==h.enabled?(this.clipHeight=e=Math.max(y-20-this.titleHeight-u,0),this.currentPage=k(this.currentPage,1),this.fullHeight=t,g.forEach(((t,i)=>{let o=(r=t.legendItem||{}).y||0,s=Math.round(r.label.getBBox().height),a=m.length;(!a||o-m[a-1]>e&&(n||o)!==m[a-1])&&(m.push(n||o),a++),r.pageIx=a-1,n&&((g[i-1].legendItem||{}).pageIx=a-1),i===g.length-1&&o+s-m[a-1]>e&&o>m[a-1]&&(m.push(o),r.pageIx=a),o!==n&&(n=o)})),w||(w=i.clipRect=s.clipRect(0,u-2,9999,0),i.contentGroup.clip(w)),v(e),x||(this.nav=x=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,p,p).add(x),b("upTracker").on("click",(function(){i.scroll(-1,f)})),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&h.style&&this.pager.css(h.style),this.pager.add(x),this.down=s.symbol("triangle-down",0,0,p,p).add(x),b("downTracker").on("click",(function(){i.scroll(1,f)}))),i.scroll(0),t=y):x&&(v(),this.nav=x.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let n=this.chart,r=this.pages,i=r.length,o=this.clipHeight,s=this.options.navigation,c=this.pager,u=this.padding,d=this.currentPage+t;d>i&&(d=i),d>0&&(void 0!==e&&l(e,n),this.nav.attr({translateX:u,translateY:o+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===d?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),c.attr({text:d+"/"+i}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:d===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===d?s.inactiveColor:s.activeColor}),this.upTracker.css({cursor:1===d?"default":"pointer"}),this.down.attr({fill:d===i?s.inactiveColor:s.activeColor}),this.downTracker.css({cursor:d===i?"default":"pointer"})),this.scrollOffset=-r[d-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=d,this.positionCheckboxes(),M((()=>{y(this,"afterScroll",{currentPage:d})}),a(k(e,n.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,n){let i=this,o=t.legendItem||{},s=i.chart.renderer.boxWrapper,a=t instanceof r,l="highcharts-legend-"+(a?"point":"series")+"-active",c=i.chart.styledMode,u=n?[e,o.symbol]:[o.group],d=e=>{i.allItems.forEach((n=>{t!==n&&[n].concat(n.linkedSeries||[]).forEach((t=>{t.setState(e,!a)}))}))};for(let n of u)n&&n.on("mouseover",(function(){t.visible&&d("inactive"),t.setState("hover"),t.visible&&s.addClass(l),c||e.css(i.options.itemHoverStyle)})).on("mouseout",(function(){i.chart.styledMode||e.css(w(t.visible?i.itemStyle:i.itemHiddenStyle)),d(""),s.removeClass(l),t.setState()})).on("click",(function(e){let n="legendItemClick",r=function(){t.setVisible&&t.setVisible(),d(t.visible?"inactive":"")};s.removeClass(l),e={browserEvent:e},t.firePointEvent?t.firePointEvent(n,e,r):y(t,n,e,r)}))}createCheckboxForItem(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),f(t.checkbox,"click",(function(e){let n=e.target;y(t.series||t,"checkboxClick",{checked:n.checked,item:t},(function(){t.select()}))}))}}return(s=C||(C={})).compose=function(t){_(u,"Core.Legend")&&f(t,"beforeMargins",(function(){this.legend=new s(this,this.options.legend)}))},C})),n(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],(function(t){var e;let{extend:n,merge:r,pick:i}=t;return function(t){function e(t,e,o){let s,a=this.legendItem=this.legendItem||{},{chart:l,options:c}=this,{baseline:u=0,symbolWidth:d,symbolHeight:h}=t,f=this.symbol||"circle",p=h/2,m=l.renderer,g=a.group,v=u-Math.round(h*(o?.4:.3)),b={},y=c.marker,x=0;if(l.styledMode||(b["stroke-width"]=Math.min(c.lineWidth||0,24),c.dashStyle?b.dashstyle=c.dashStyle:"square"===c.linecap||(b["stroke-linecap"]="round")),a.line=m.path().addClass("highcharts-graph").attr(b).add(g),o&&(a.area=m.path().addClass("highcharts-area").add(g)),b["stroke-linecap"]&&(x=Math.min(a.line.strokeWidth(),d)/2),d){let t=[["M",x,v],["L",d-x,v]];a.line.attr({d:t}),a.area?.attr({d:[...t,["L",d-x,u],["L",x,u]]})}if(y&&!1!==y.enabled&&d){let t=Math.min(i(y.radius,p),p);0===f.indexOf("url")&&(y=r(y,{width:h,height:h}),t=0),a.symbol=s=m.symbol(f,d/2-t,v-t,2*t,2*t,n({context:"legend"},y)).addClass("highcharts-point").add(g),s.isMarker=!0}}t.areaMarker=function(t,n){e.call(this,t,n,!0)},t.lineMarker=e,t.rectangle=function(t,e){let n=e.legendItem||{},r=t.options,o=t.symbolHeight,s=r.squareSymbol,a=s?o:t.symbolWidth;n.symbol=this.chart.renderer.rect(s?(t.symbolWidth-o)/2:0,t.baseline-o+1,a,o,i(t.options.symbolRadius,o/2)).addClass("highcharts-point").attr({zIndex:3}).add(n.group)}}(e||(e={})),e})),n(e,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),n(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n,r){var i;let{defaultOptions:o}=e,{extend:s,extendClass:a,merge:l}=r;return function(e){function r(t,r){let i=o.plotOptions||{},s=r.defaultOptions,a=r.prototype;return a.type=t,a.pointClass||(a.pointClass=n),!e.seriesTypes[t]&&(s&&(i[t]=s),e.seriesTypes[t]=r,!0)}e.seriesTypes=t.seriesTypes,e.registerSeriesType=r,e.seriesType=function(t,i,c,u,d){let h=o.plotOptions||{};if(i=i||"",h[t]=l(h[i],c),delete e.seriesTypes[t],r(t,a(e.seriesTypes[i]||function(){},u)),e.seriesTypes[t].prototype.type=t,d){class r extends n{}s(r.prototype,d),e.seriesTypes[t].prototype.pointClass=r}return e.seriesTypes[t]}}(i||(i={})),i})),n(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a,l,c){let{animObject:u,setAnimation:d}=t,{defaultOptions:h}=e,{registerEventOptions:f}=n,{svg:p,win:m}=r,{seriesTypes:g}=a,{arrayMax:v,arrayMin:b,clamp:y,correctFloat:x,crisp:w,defined:k,destroyObjectProperties:_,diffObjects:S,erase:O,error:M,extend:C,find:A,fireEvent:T,getClosestDistance:E,getNestedProperty:D,insertItem:P,isArray:j,isNumber:L,isString:I,merge:N,objectEach:R,pick:$,removeEvent:B,splat:F,syncTimeout:z}=c;class H{constructor(){this.zoneAxis="y"}init(t,e){let n;T(this,"init",{options:e});let r=this,i=t.series;this.eventsToUnbind=[],r.chart=t,r.options=r.setOptions(e);let o=r.options,s=!1!==o.visible;r.linkedSeries=[],r.bindAxes(),C(r,{name:o.name,state:"",visible:s,selected:!0===o.selected}),f(this,o);let a=o.events;(a&&a.click||o.point&&o.point.events&&o.point.events.click||o.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),i.length&&(n=i[i.length-1]),r._i=$(n&&n._i,-1)+1,r.opacity=r.options.opacity,t.orderItems("series",P(this,i)),o.dataSorting&&o.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(o.data,!1),T(this,"afterInit")}is(t){return g[t]&&this instanceof g[t]}bindAxes(){let t,e=this,n=e.options,r=e.chart;T(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(i){(r[i]||[]).forEach((function(r){t=r.options,($(n[i],0)===r.index||void 0!==n[i]&&n[i]===t.id)&&(P(e,r.series),e[i]=r,r.isDirty=!0)})),e[i]||e.optionalAxis===i||M(18,!0,r)}))})),T(this,"afterBindAxes")}updateParallelArrays(t,e,n){let r=t.series,i=L(e)?function(n){let i="y"===n&&r.toYData?r.toYData(t):t[n];r[n+"Data"][e]=i}:function(t){Array.prototype[e].apply(r[t+"Data"],n)};r.parallelArrays.forEach(i)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let n=t.marker,r=e.marker||{};return n&&(r.enabled&&!n.enabled||r.symbol!==n.symbol||r.height!==n.height||r.width!==n.width)}autoIncrement(t){let e,n,r=this.options,i=r.pointIntervalUnit,o=r.relativeXValue,s=this.chart.time,a=this.xIncrement;return a=$(a,r.pointStart,0),this.pointInterval=n=$(this.pointInterval,r.pointInterval,1),o&&L(t)&&(n*=t),i&&(e=new s.Date(a),"day"===i?s.set("Date",e,s.get("Date",e)+n):"month"===i?s.set("Month",e,s.get("Month",e)+n):"year"===i&&s.set("FullYear",e,s.get("FullYear",e)+n),n=e.getTime()-a),o&&L(t)?a+n:(this.xIncrement=a+n,a)}setDataSortingOptions(){let t=this.options;C(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(t.pointRange)||(t.pointRange=1)}setOptions(t){let e,n=this.chart,r=n.options.plotOptions,i=n.userOptions||{},o=N(t),s=n.styledMode,a={plotOptions:r,userOptions:o};T(this,"setOptions",a);let l=a.plotOptions[this.type],c=i.plotOptions||{},u=c.series||{},d=h.plotOptions[this.type]||{},f=c[this.type]||{};this.userOptions=a.userOptions;let p=N(l,r.series,f,o);this.tooltipOptions=N(h.tooltip,h.plotOptions.series?.tooltip,d?.tooltip,n.userOptions.tooltip,c.series?.tooltip,f.tooltip,o.tooltip),this.stickyTracking=$(o.stickyTracking,f.stickyTracking,u.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||p.stickyTracking),null===l.marker&&delete p.marker,this.zoneAxis=p.zoneAxis||"y";let m=this.zones=(p.zones||[]).map((t=>({...t})));return(p.negativeColor||p.negativeFillColor)&&!p.zones&&(e={value:p[this.zoneAxis+"Threshold"]||p.threshold||0,className:"highcharts-negative"},s||(e.color=p.negativeColor,e.fillColor=p.negativeFillColor),m.push(e)),m.length&&k(m[m.length-1].value)&&m.push(s?{}:{color:this.color,fillColor:this.fillColor}),T(this,"afterSetOptions",{options:p}),p}getName(){return $(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,n){let r,i,o=this.chart,s=`${t}Index`,a=`${t}Counter`,l=n?.length||o.options.chart.colorCount;!e&&(k(i=$("color"===t?this.options.colorIndex:void 0,this[s]))?r=i:(o.series.length||(o[a]=0),r=o[a]%l,o[a]+=1),n&&(e=n[r])),void 0!==r&&(this[s]=r),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let n,r,i,s=t.id,a=t.x,l=this.points,c=this.options.dataSorting;if(s){let t=this.chart.get(s);t instanceof o&&(n=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(c&&c.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(n=A(l,e)))return}return n&&void 0!==(i=n&&n.index)&&(r=!0),void 0===i&&L(a)&&(i=this.xData.indexOf(a,e)),-1!==i&&void 0!==i&&this.cropped&&(i=i>=this.cropStart?i-this.cropStart:i),!r&&L(i)&&l[i]&&l[i].touched&&(i=void 0),i}updateData(t,e){let n,r,i,o,s=this.options,a=s.dataSorting,l=this.points,c=[],u=this.requireSorting,d=t.length===l.length,h=!0;if(this.xIncrement=null,t.forEach((function(t,e){let r,i=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},h=i.x;i.id||L(h)?(-1===(r=this.findPointIndex(i,o))||void 0===r?c.push(t):l[r]&&t!==s.data[r]?(l[r].update(t,!1,null,!1),l[r].touched=!0,u&&(o=r+1)):l[r]&&(l[r].touched=!0),(!d||e!==r||a&&a.enabled||this.hasDerivedData)&&(n=!0)):c.push(t)}),this),n)for(r=l.length;r--;)(i=l[r])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?h=!1:(t.forEach((function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)})),c.length=0);return l.forEach((function(t){t&&(t.touched=!1)})),!!h&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(t,e=!0,n,r){let i,o,s,a,l=this,c=l.points,u=c&&c.length||0,d=l.options,h=l.chart,f=d.dataSorting,p=l.xAxis,m=d.turboThreshold,g=this.xData,v=this.yData,b=l.pointArrayMap,y=b&&b.length,x=d.keys,w=0,k=1,_=null;h.options.chart.allowMutatingData||(d.data&&delete l.options.data,l.userOptions.data&&delete l.userOptions.data,a=N(!0,t));let S=(t=a||t||[]).length;if(f&&f.enabled&&(t=this.sortData(t)),h.options.chart.allowMutatingData&&!1!==r&&S&&u&&!l.cropped&&!l.hasGroupedData&&l.visible&&!l.boosted&&(s=this.updateData(t,n)),!s){if(l.xIncrement=null,l.colorCounter=0,this.parallelArrays.forEach((function(t){l[t+"Data"].length=0})),m&&S>m)if(L(_=l.getFirstValidPoint(t)))for(i=0;i<S;i++)g[i]=this.autoIncrement(),v[i]=t[i];else if(j(_))if(y)if(_.length===y)for(i=0;i<S;i++)g[i]=this.autoIncrement(),v[i]=t[i];else for(i=0;i<S;i++)o=t[i],g[i]=o[0],v[i]=o.slice(1,y+1);else if(x&&(w=x.indexOf("x"),k=x.indexOf("y"),w=w>=0?w:0,k=k>=0?k:1),1===_.length&&(k=0),w===k)for(i=0;i<S;i++)g[i]=this.autoIncrement(),v[i]=t[i][k];else for(i=0;i<S;i++)o=t[i],g[i]=o[w],v[i]=o[k];else M(12,!1,h);else for(i=0;i<S;i++)o={series:l},l.pointClass.prototype.applyOptions.apply(o,[t[i]]),l.updateParallelArrays(o,i);for(v&&I(v[0])&&M(14,!0,h),l.data=[],l.options.data=l.userOptions.data=t,i=u;i--;)c[i]?.destroy();p&&(p.minRange=p.userMinRange),l.isDirty=h.isDirtyBox=!0,l.isDirtyData=!!c,n=!1}"point"===d.legendType&&(this.processData(),this.generatePoints()),e&&h.redraw(n)}sortData(t){let e=this,n=e.options.dataSorting.sortKey||"y",r=function(t,e){return k(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,i){t[i]=r(e,n),t[i].index=i}),this),t.concat().sort(((t,e)=>{let r=D(n,t),i=D(n,e);return i<r?-1:i>r?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){let n=e.options,i=n.data;n.dataSorting&&n.dataSorting.enabled||!i||(i.forEach((function(n,o){i[o]=r(e,n),t[o]&&(i[o].x=t[o].x,i[o].index=o)})),e.setData(i,!1))})),t}getProcessedData(t){let e,n,r,i,o,s=this,a=s.xAxis,l=s.options.cropThreshold,c=a?.logarithmic,u=s.isCartesian,d=0,h=s.xData,f=s.yData,p=!1,m=h.length;a&&(i=(r=a.getExtremes()).min,o=r.max,p=!(!a.categories||a.names.length)),u&&s.sorted&&!t&&(!l||m>l||s.forceCrop)&&(h[m-1]<i||h[0]>o?(h=[],f=[]):s.yData&&(h[0]<i||h[m-1]>o)&&(h=(e=this.cropData(s.xData,s.yData,i,o)).xData,f=e.yData,d=e.start,n=!0));let g=E([c?h.map(c.log2lin):h],(()=>s.requireSorting&&!p&&M(15,!1,s.chart)));return{xData:h,yData:f,cropped:n,cropStart:d,closestPointRange:g}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let n=this.getProcessedData();this.cropped=n.cropped,this.cropStart=n.cropStart,this.processedXData=n.xData,this.processedYData=n.yData,this.closestPointRange=this.basePointRange=n.closestPointRange,T(this,"afterProcessData")}cropData(t,e,n,r){let i,o,s=t.length,a=0,l=s;for(i=0;i<s;i++)if(t[i]>=n){a=Math.max(0,i-1);break}for(o=i;o<s;o++)if(t[o]>r){l=o+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,n,r,i=this.options,o=this.processedData||i.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,c=s.length,u=this.cropStart||0,d=this.hasGroupedData,h=i.keys,f=[],p=i.dataGrouping&&i.dataGrouping.groupAll?u:0,m=this.data;if(!m&&!d){let t=[];t.length=o.length,m=this.data=t}for(h&&d&&(this.options.keys=!1),r=0;r<c;r++)e=u+r,d?((n=new l(this,[s[r]].concat(F(a[r])))).dataGroup=this.groupMap[p+r],n.dataGroup.options&&(n.options=n.dataGroup.options,C(n,n.dataGroup.options),delete n.dataLabels)):(n=m[e])||void 0===o[e]||(m[e]=n=new l(this,o[e],s[r])),n&&(n.index=d?p+r:e,f[r]=n);if(this.options.keys=h,m&&(c!==(t=m.length)||d))for(r=0;r<t;r++)r!==u||d||(r+=c),m[r]&&(m[r].destroyElements(),m[r].plotX=void 0);this.data=m,this.points=f,T(this,"afterGeneratePoints")}getXExtremes(t){return{min:b(t),max:v(t)}}getExtremes(t,e){let n,r,i,o,s,a,l,c=this.xAxis,u=this.yAxis,d=[],h=this.requireSorting&&!this.is("column")?1:0,f=!!u&&u.positiveValuesOnly,p=e||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:m,processedYData:g}=this,y=0,x=0,w=0;if(this.cropped&&p){let t=this.getProcessedData(!0);m=t.xData,g=t.yData}let k=(t=t||this.stackedYData||g||[]).length,_=m||this.xData;for(c&&(y=(n=c.getExtremes()).min,x=n.max),a=0;a<k;a++)if(o=_[a],r=(L(s=t[a])||j(s))&&((L(s)?s>0:s.length)||!f),i=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(_[a+h]||o)>=y&&(_[a-h]||o)<=x,r&&i)if(l=s.length)for(;l--;)L(s[l])&&(d[w++]=s[l]);else d[w++]=s;let S={activeYData:d,dataMin:b(d),dataMax:v(d)};return T(this,"afterGetExtremes",{dataExtremes:S}),S}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t){let e=t.length,n=0,r=null;for(;null===r&&n<e;)r=t[n],n++;return r}translate(){this.processedXData||this.processData(),this.generatePoints();let t,e,n,r,i=this.options,o=i.stacking,s=this.xAxis,a=s.categories,l=this.enabledDataSorting,c=this.yAxis,u=this.points,d=u.length,h=this.pointPlacementToXValue(),f=!!h,p=i.threshold,m=i.startFromThreshold?p:0,g=Number.MAX_VALUE;function v(t){return y(t,-1e5,1e5)}for(t=0;t<d;t++){let i,d,b,y=u[t],w=y.x,_=y.y,S=y.low,O=o&&c.stacking?.stacks[(this.negStacks&&_<(m?0:p)?"-":"")+this.stackKey];e=s.translate(w,!1,!1,!1,!0,h),y.plotX=L(e)?x(v(e)):void 0,o&&this.visible&&O&&O[w]&&(r=this.getStackIndicator(r,w,this.index),!y.isNull&&r.key&&(b=(d=O[w]).points[r.key]),d&&j(b)&&(S=b[0],_=b[1],S===m&&r.key===O[w].base&&(S=$(L(p)?p:c.min)),c.positiveValuesOnly&&k(S)&&S<=0&&(S=void 0),y.total=y.stackTotal=$(d.total),y.percentage=k(y.y)&&d.total?y.y/d.total*100:void 0,y.stackY=_,this.irregularWidths||d.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),y.yBottom=k(S)?v(c.translate(S,!1,!0,!1,!0)):void 0,this.dataModify&&(_=this.dataModify.modifyValue(_,t)),L(_)&&void 0!==y.plotX&&(i=L(i=c.translate(_,!1,!0,!1,!0))?v(i):void 0),y.plotY=i,y.isInside=this.isPointInside(y),y.clientX=f?x(s.translate(w,!1,!1,!1,!0,h)):e,y.negative=(y.y||0)<(p||0),y.category=$(a&&a[y.x],y.x),y.isNull||!1===y.visible||(void 0!==n&&(g=Math.min(g,Math.abs(e-n))),n=e),y.zone=this.zones.length?y.getZone():void 0,!y.graphic&&this.group&&l&&(y.isNew=!0)}this.closestPointRangePx=g,T(this,"afterTranslate")}getValidPoints(t,e,n){let r=this.chart;return(t||this.points||[]).filter((function(t){let{plotX:i,plotY:o}=t;return!(!(n||!t.isNull&&L(o))||e&&!r.isInsidePlot(i,o,{inverted:r.inverted}))&&!1!==t.visible}))}getClipBox(){let{chart:t,xAxis:e,yAxis:n}=this,{x:r,y:i,width:o,height:s}=N(t.clipBox);return e&&e.len!==t.plotSizeX&&(o=e.len),n&&n.len!==t.plotSizeY&&(s=n.len),t.inverted&&!this.invertible&&([o,s]=[s,o]),{x:r,y:i,width:o,height:s}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t,group:e,markerGroup:n}=this,r=t.sharedClips,i=t.renderer,o=this.getClipBox(),s=this.getSharedClipKey(),a=r[s];a?a.animate(o):r[s]=a=i.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()}animate(t){let{chart:e,group:n,markerGroup:r}=this,i=e.inverted,o=u(this.options.animation),s=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(","),a=e.sharedClips[s],l=e.sharedClips[s+"m"];if(t&&n){let t=this.getClipBox();if(a)a.attr("height",t.height);else{t.width=0,i&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[s]=a;let n={x:-99,y:-99,width:i?e.plotWidth+199:99,height:i?99:e.plotHeight+199};l=e.renderer.clipRect(n),e.sharedClips[s+"m"]=l}n.clip(a),r?.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox(),n=o.step;(r?.element.childNodes.length||e.series.length>1)&&(o.step=function(t,e){n&&n.apply(e,arguments),"width"===e.prop&&l?.element&&l.attr(i?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,o)}}afterAnimate(){this.setClip(),R(this.chart.sharedClips,((t,e,n)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete n[e])})),this.finishedAnimating=!0,T(this,"afterAnimate")}drawPoints(t=this.points){let e,n,r,i,o,s,a,l=this.chart,c=l.styledMode,{colorAxis:u,options:d}=this,h=d.marker,f=this[this.specialGroup||"markerGroup"],p=this.xAxis,m=$(h.enabled,!p||!!p.isRadial||null,this.closestPointRangePx>=h.enabledThreshold*h.radius);if(!1!==h.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++)if(i=(r=(n=t[e]).graphic)?"animate":"attr",o=n.marker||{},s=!!n.marker,(m&&void 0===o.enabled||o.enabled)&&!n.isNull&&!1!==n.visible){let t=$(o.symbol,this.symbol,"rect");a=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=p.reversed?-(a.width||0):p.width);let e=!1!==n.isInside;if(!r&&e&&((a.width||0)>0||n.hasImage)&&(n.graphic=r=l.renderer.symbol(t,a.x,a.y,a.width,a.height,s?o:h).add(f),this.enabledDataSorting&&l.hasRendered&&(r.attr({x:n.startXPos}),i="animate")),r&&"animate"===i&&r[e?"show":"hide"](e).animate(a),r){let t=this.pointAttribs(n,c||!n.selected?void 0:"select");c?u&&r.css({fill:t.fill}):r[i](t)}r&&r.addClass(n.getClassName(),!0)}else r&&(n.graphic=r.destroy())}markerAttribs(t,e){let n,r,i=this.options,o=i.marker,s=t.marker||{},a=s.symbol||o.symbol,l={},c=$(s.radius,o&&o.radius);e&&(n=o.states[e],c=$((r=s.states&&s.states[e])&&r.radius,n&&n.radius,c&&c+(n&&n.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(c=0);let u=t.pos();return L(c)&&u&&(i.crisp&&(u[0]=w(u[0],t.hasImage?0:"rect"===a?o?.lineWidth||0:1)),l.x=u[0]-c,l.y=u[1]-c),c&&(l.width=l.height=2*c),l}pointAttribs(t,e){let n,r,i,o,s=this.options.marker,a=t&&t.options,l=a&&a.marker||{},c=a&&a.color,u=t&&t.color,d=t&&t.zone&&t.zone.color,h=this.color,f=$(l.lineWidth,s.lineWidth),p=1;return h=c||d||u||h,i=l.fillColor||s.fillColor||h,o=l.lineColor||s.lineColor||h,e=e||"normal",n=s.states[e]||{},f=$((r=l.states&&l.states[e]||{}).lineWidth,n.lineWidth,f+$(r.lineWidthPlus,n.lineWidthPlus,0)),i=r.fillColor||n.fillColor||i,{stroke:o=r.lineColor||n.lineColor||o,"stroke-width":f,fill:i,opacity:p=$(r.opacity,n.opacity,p)}}destroy(t){let e,n,r,i=this,o=i.chart,s=/AppleWebKit\/533/.test(m.navigator.userAgent),a=i.data||[];for(T(i,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(i.axisTypes||[]).forEach((function(t){(r=i[t])&&r.series&&(O(r.series,i),r.isDirty=r.forceRedraw=!0)})),i.legendItem&&i.chart.legend.destroyItem(i),e=a.length;e--;)(n=a[e])&&n.destroy&&n.destroy();for(let t of i.zones)_(t,void 0,!0);c.clearTimeout(i.animationTimeout),R(i,(function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===i&&(o.hoverSeries=void 0),O(o.series,i),o.orderItems("series"),R(i,(function(e,n){t&&"hcEvents"===n||delete i[n]}))}applyZones(){let{area:t,chart:e,graph:n,zones:r,points:i,xAxis:o,yAxis:s,zoneAxis:a}=this,{inverted:l,renderer:c}=e,u=this[`${a}Axis`],{isXAxis:d,len:h=0}=u||{},f=(n?.strokeWidth()||0)/2+1,p=(t,e=0,n=0)=>{l&&(n=h-n);let{translated:r=0,lineClip:i}=t,o=n-r;i?.push(["L",e,Math.abs(o)<f?n-f*(o<=0?-1:1):r])};if(r.length&&(n||t)&&u&&L(u.min)){let e=u.getExtremes().max,f=t=>{t.forEach(((e,n)=>{("M"===e[0]||"L"===e[0])&&(t[n]=[e[0],d?h-e[1]:e[1],d?e[2]:h-e[2]])}))};if(r.forEach((t=>{t.lineClip=[],t.translated=y(u.toPixels($(t.value,e),!0)||0,0,h)})),n&&!this.showLine&&n.hide(),t&&t.hide(),"y"===a&&i.length<o.len)for(let t of i){let{plotX:e,plotY:n,zone:i}=t,o=i&&r[r.indexOf(i)-1];i&&p(i,e,n),o&&p(o,e,n)}let m=[],g=u.toPixels(u.getExtremes().min,!0);r.forEach((e=>{let r=e.lineClip||[],i=Math.round(e.translated||0);o.reversed&&r.reverse();let{clip:a,simpleClip:u}=e,h=0,p=0,v=o.len,b=s.len;d?(h=i,v=g):(p=i,b=g);let y=[["M",h,p],["L",v,p],["L",v,b],["L",h,b],["Z"]],x=[y[0],...r,y[1],y[2],...m,y[3],y[4]];m=r.reverse(),g=i,l&&(f(x),t&&f(y)),a?(a.animate({d:x}),u?.animate({d:y})):(a=e.clip=c.path(x),t&&(u=e.simpleClip=c.path(y))),n&&e.graph?.clip(a),t&&e.area?.clip(u)}))}else this.visible&&(n&&n.show(),t&&t.show())}plotGroup(t,e,n,r,i){let o=this[t],s=!o,a={visibility:n,zIndex:r||.1};return k(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),o||(this[t]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(a)[s?"attr":"animate"](this.getPlotBox(e)),o}getPlotBox(t){let e=this.xAxis,n=this.yAxis,r=this.chart,i=r.inverted&&!r.polar&&e&&this.invertible&&"series"===t;return r.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:r.plotLeft,translateY:n?n.top:r.plotTop,rotation:i?90:0,rotationOriginX:i?(e.len-n.len)/2:0,rotationOriginY:i?(e.len+n.len)/2:0,scaleX:i?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||B(this),e.length&&(e.forEach((t=>{t()})),e.length=0)}render(){let t=this,{chart:e,options:n,hasRendered:r}=t,i=u(n.animation),o=t.visible?"inherit":"hidden",s=n.zIndex,a=e.seriesGroup,l=t.finishedAnimating?0:i.duration;T(this,"render"),t.plotGroup("group","series",o,s,a),t.markerGroup=t.plotGroup("markerGroup","markers",o,s,a),!1!==n.clip&&t.setClip(),l&&t.animate?.(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels?.(),t.redrawPoints?.(),n.enableMouseTracking&&t.drawTracker?.(),l&&t.animate?.(),r||(l&&i.defer&&(l+=i.defer),t.animationTimeout=z((()=>{t.afterAnimate()}),l||0)),t.isDirty=!1,t.hasRendered=!0,T(t,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:n,yAxis:r}=this,i=this.chart.inverted;return this.searchKDTree({clientX:i?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:i?r.len-t.chartX+r.pos:t.chartY-r.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,n=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,z((function(){e.kdTree=function t(n,r,i){let o,s,a=n?.length;if(a)return o=e.kdAxisArray[r%i],n.sort(((t,e)=>(t[o]||0)-(e[o]||0))),{point:n[s=Math.floor(a/2)],left:t(n.slice(0,s),r+1,i),right:t(n.slice(s+1),r+1,i)}}(e.getValidPoints(void 0,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||"touchstart"===t?.type?0:1)}searchKDTree(t,e,n){let r=this,[i,o]=this.kdAxisArray,s=e?"distX":"dist",a=(r.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!r.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,a,c){let u,d,h=n.point,f=r.kdAxisArray[a%c],p=h;!function(t,e){let n=t[i],r=e[i],s=k(n)&&k(r)?n-r:null,a=t[o],c=e[o],u=k(a)&&k(c)?a-c:0,d=l&&e.marker?.radius||0;e.dist=Math.sqrt((s&&s*s||0)+u*u)-d,e.distX=k(s)?Math.abs(s)-d:Number.MAX_VALUE}(e,h);let m=(e[f]||0)-(h[f]||0)+(l&&h.marker?.radius||0),g=m<0?"left":"right",v=m<0?"right":"left";return n[g]&&(p=(u=t(e,n[g],a+1,c))[s]<p[s]?u:h),n[v]&&Math.sqrt(m*m)<p[s]&&(p=(d=t(e,n[v],a+1,c))[s]<p[s]?d:p),p}(t,this.kdTree,a,a)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,n=t.pointPlacement;return"between"===n&&(n=e.reversed?-.5:.5),L(n)?n*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:n,yAxis:r}=this,{plotX:i=-1,plotY:o=-1}=t;return o>=0&&o<=(r?r.len:e.plotHeight)&&i>=0&&i<=(n?n.len:e.plotWidth)}drawTracker(){let t=this,e=t.options,n=e.trackByArea,r=[].concat((n?t.areaPath:t.graphPath)||[]),i=t.chart,o=i.pointer,s=i.renderer,a=i.options.tooltip?.snap||0,l=()=>{e.enableMouseTracking&&i.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(p?1e-4:.002)+")",u=t.tracker;u?u.attr({d:r}):t.graph&&(t.tracker=u=s.path(r).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),i.styledMode||u.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:n?c:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*a)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",l).on("mouseout",(t=>{o?.onTrackerMouseOut(t)})),e.cursor&&!i.styledMode&&t.css({cursor:e.cursor}),t.on("touchstart",l))}))),T(this,"afterDrawTracker")}addPoint(t,e,n,r,i){let o,s,a=this.options,l=this.data,c=this.chart,u=this.xAxis,d=u&&u.hasNames&&u.names,h=a.data,f=this.xData;e=$(e,!0);let p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);let m=p.x;if(s=f.length,this.requireSorting&&m<f[s-1])for(o=!0;s&&f[s-1]>m;)s--;this.updateParallelArrays(p,"splice",[s,0,0]),this.updateParallelArrays(p,s),d&&p.name&&(d[m]=p.name),h.splice(s,0,t),(o||this.processedData)&&(this.data.splice(s,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),n&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(p,"shift"),h.shift())),!1!==i&&T(this,"addPoint",{point:p}),this.isDirty=!0,this.isDirtyData=!0,e&&c.redraw(r)}removePoint(t,e,n){let r=this,i=r.data,o=i[t],s=r.points,a=r.chart,l=function(){s&&s.length===i.length&&s.splice(t,1),i.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(o||{series:r},"splice",[t,1]),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&a.redraw()};d(n,a),e=$(e,!0),o?o.firePointEvent("remove",null,l):l()}remove(t,e,n,r){let i=this,o=i.chart;function s(){i.destroy(r),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(r),$(t,!0)&&o.redraw(e)}!1!==n?T(i,"remove",null,s):s()}update(t,e){T(this,"update",{options:t=S(t,this.userOptions)});let n,r,i=this,o=i.chart,s=i.userOptions,a=i.initialType||i.type,l=o.options.plotOptions,c=g[a].prototype,u=i.finishedAnimating&&{animation:!1},d={},h=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],f=t.type||s.type||o.options.chart.type,p=!(this.hasDerivedData||f&&f!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t=>i.hasOptionChanged(t))));f=f||a,p&&(h.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),!1!==t.visible&&h.push("area","graph"),i.parallelArrays.forEach((function(t){h.push(t+"Data")})),t.data&&(t.dataSorting&&C(i.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=N(s,{index:void 0===s.index?i.index:s.index,pointStart:l?.series?.pointStart??s.pointStart??i.xData?.[0]},!p&&{data:i.options.data},t,u),p&&t.data&&(t.data=i.options.data),(h=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(h)).forEach((function(t){h[t]=i[t],delete i[t]}));let m=!1;if(g[f]){if(m=f!==i.type,i.remove(!1,!1,!1,!0),m)if(o.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(i,g[f].prototype);else{let t=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents;for(r in c)i[r]=void 0;C(i,g[f].prototype),t?i.hcEvents=t:delete i.hcEvents}}else M(17,!0,o,{missingModuleFor:f});if(h.forEach((function(t){i[t]=h[t]})),i.init(o,t),p&&this.points)for(let t of(!1===(n=i.options).visible?(d.graphic=1,d.dataLabel=1):(this.hasMarkerChanged(n,s)&&(d.graphic=1),i.hasDataLabels?.()||(d.dataLabel=1)),this.points))t&&t.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===n.showInLegend&&t.legendItem&&o.legend.destroyItem(t));i.initialType=a,o.linkSeries(),o.setSortedData(),m&&i.linkedSeries.length&&(i.isDirtyData=!0),T(this,"afterUpdate"),$(e,!0)&&o.redraw(!!p&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){let e=this.chart,n=this.options[t],r=e.options.plotOptions,i=this.userOptions[t],o=$(r?.[this.type]?.[t],r?.series?.[t]);return i&&!k(o)?n!==i:n!==$(o,n)}onMouseOver(){let t=this.chart,e=t.hoverSeries,n=t.pointer;n?.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&T(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,n=e.tooltip,r=e.hoverPoint;e.hoverSeries=null,r&&r.onMouseOut(),this&&t.events.mouseOut&&T(this,"mouseOut"),n&&!this.stickyTracking&&(!n.shared||this.noSharedTooltip)&&n.hide(),e.series.forEach((function(t){t.setState("",!0)}))}setState(t,e){let n=this,r=n.options,i=n.graph,o=r.inactiveOtherPoints,s=r.states,a=$(s[t||"normal"]&&s[t||"normal"].animation,n.chart.options.chart.animation),l=r.lineWidth,c=r.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=$(s[t].opacity,c)),i&&!i.dashstyle&&L(l))for(let t of[i,...this.zones.map((t=>t.graph))])t?.animate({"stroke-width":l},a);o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},a)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))}setVisible(t,e){let n=this,r=n.chart,i=r.options.chart.ignoreHiddenSeries,o=n.visible;n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!o:t;let s=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t=>{n[t]?.[s]()})),(r.hoverSeries===n||r.hoverPoint?.series===n)&&n.onMouseOut(),n.legendItem&&r.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&r.series.forEach((t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((e=>{e.setVisible(t,!1)})),i&&(r.isDirtyBox=!0),T(n,s),!1!==e&&r.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),T(this,t?"select":"unselect")}shouldShowTooltip(t,e,n={}){return n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)}drawLegendSymbol(t,e){i[this.options.legendSymbol||"rectangle"]?.call(this,t,e)}}return H.defaultOptions=s,H.types=a.seriesTypes,H.registerType=a.registerSeriesType,C(H.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),a.series=H,H})),n(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],(function(t,e,n,r,i,o,s,a,l,c,u,d,h,f){let{animate:p,animObject:m,setAnimation:g}=t,{defaultOptions:v,defaultTime:b}=n,{numberFormat:y}=r,{registerEventOptions:x}=i,{charts:w,doc:k,marginNames:_,svg:S,win:O}=o,{seriesTypes:M}=l,{addEvent:C,attr:A,createElement:T,css:E,defined:D,diffObjects:P,discardElement:j,erase:L,error:I,extend:N,find:R,fireEvent:$,getStyle:B,isArray:F,isNumber:z,isObject:H,isString:Y,merge:W,objectEach:V,pick:U,pInt:G,relativeLength:X,removeEvent:q,splat:K,syncTimeout:J,uniqueKey:Z}=d;class Q{static chart(t,e,n){return new Q(t,e,n)}constructor(t,e,n){this.sharedClips={};let r=[...arguments];(Y(t)||t.nodeName)&&(this.renderTo=r.shift()),this.init(r[0],r[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:U(t.zoomType,e.type),key:U(t.zoomKey,e.key),pinchType:U(t.pinchType,e.pinchType),singleTouch:U(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:W(e.resetButton,t.resetZoomButton)}}init(t,e){$(this,"init",{args:arguments},(function(){let n=W(v,t),r=n.chart;this.userOptions=N({},t),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):o.time,this.numberFormatter=r.numberFormatter||y,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=w.length,w.push(this),o.chartCount++,x(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),$(this,"afterInit"),this.firstRender()}))}initSeries(t){let e=this.options.chart,n=t.type||e.type,r=M[n];r||I(17,!0,this,{missingModuleFor:n});let i=new r;return"function"==typeof i.init&&i.init(this,t),i}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))}orderItems(t,e=0){let n=this[t],r=this.options[t]=K(this.options[t]).slice(),i=this.userOptions[t]=this.userOptions[t]?K(this.userOptions[t]).slice():[];if(this.hasRendered&&(r.splice(e),i.splice(e)),n)for(let t=e,o=n.length;t<o;++t){let e=n[t];e&&(e.index=t,e instanceof a&&(e.name=e.getName()),e.options.isInternal||(r[t]=e.options,i[t]=e.userOptions))}}isInsidePlot(t,e,n={}){let{inverted:r,plotBox:i,plotLeft:o,plotTop:s,scrollablePlotBox:a}=this,{scrollLeft:l=0,scrollTop:c=0}=n.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},u=n.series,d=n.visiblePlotOnly&&a||i,h=n.inverted?e:t,f=n.inverted?t:e,p={x:h,y:f,isInsidePlot:!0,options:n};if(!n.ignoreX){let t=u&&(r&&!this.polar?u.yAxis:u.xAxis)||{pos:o,len:1/0},e=n.paneCoordinates?t.pos+h:o+h;e>=Math.max(l+o,t.pos)&&e<=Math.min(l+o+d.width,t.pos+t.len)||(p.isInsidePlot=!1)}if(!n.ignoreY&&p.isInsidePlot){let t=!r&&n.axis&&!n.axis.isXAxis&&n.axis||u&&(r?u.xAxis:u.yAxis)||{pos:s,len:1/0},e=n.paneCoordinates?t.pos+f:s+f;e>=Math.max(c+s,t.pos)&&e<=Math.min(c+s+d.height,t.pos+t.len)||(p.isInsidePlot=!1)}return $(this,"afterIsInsidePlot",p),p.isInsidePlot}redraw(t){$(this,"beforeRedraw");let e,n,r,i,o=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,a=this.pointer,l=this.legend,c=this.userOptions.legend,u=this.renderer,d=u.isHidden(),h=[],f=this.isDirtyBox,p=this.isDirtyLegend;for(u.rootFontSize=u.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),g(!!this.hasRendered&&t,this),d&&this.temporaryDisplay(),this.layOutTitles(!1),r=s.length;r--;)if(((i=s[r]).options.stacking||i.options.centerInCategory)&&(n=!0,i.isDirty)){e=!0;break}if(e)for(r=s.length;r--;)(i=s[r]).options.stacking&&(i.isDirty=!0);s.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),p=!0):c&&(c.labelFormatter||c.labelFormat)&&(p=!0)),t.isDirtyData&&$(t,"updatedData")})),p&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),n&&this.getStacks(),o.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),o.forEach((function(t){t.isDirty&&(f=!0)})),o.forEach((function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push((function(){$(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(f||n)&&t.redraw()})),f&&this.drawChartBox(),$(this,"predraw"),s.forEach((function(t){(f||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),a&&a.reset(!0),u.draw(),$(this,"redraw"),$(this,"render"),d&&this.temporaryDisplay(!0),h.forEach((function(t){t.call()}))}get(t){let e=this.series;function n(e){return e.id===t||e.options&&e.options.id===t}let r=R(this.axes,n)||R(this.series,n);for(let t=0;!r&&t<e.length;t++)r=R(e[t].points||[],n);return r}getAxes(){let t=this.userOptions;for(let n of($(this,"getAxes"),["xAxis","yAxis"]))for(let r of t[n]=K(t[n]||{}))new e(this,r,n);$(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce(((t,e)=>(e.getPointsCollection().forEach((e=>{U(e.selectedStaging,e.selected)&&t.push(e)})),t)),[])}getSelectedSeries(){return this.series.filter((function(t){return t.selected}))}setTitle(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)}applyDescription(t,e){let n=this,r=this.options[t]=W(this.options[t],e),i=this[t];i&&e&&(this[t]=i=i.destroy()),r&&!i&&((i=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+t,zIndex:r.zIndex||4}).add()).update=function(e,r){n.applyDescription(t,e),n.layOutTitles(r)},this.styledMode||i.css(N("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},r.style)),this[t]=i)}layOutTitles(t=!0){let e=[0,0,0],n=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach((function(t){let i=this[t],o=this.options[t],s=o.verticalAlign||"top",a="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0;if(i){i.css({width:(o.width||r.width+(o.widthAdjust||0))+"px"});let t=n.fontMetrics(i).b,l=Math.round(i.getBBox(o.useHTML).height);i.align(N({y:"bottom"===s?t:a+t,height:l},o),!1,"spacingBox"),o.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let i=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,$(this,"afterLayOutTitles"),!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:B(this.renderTo,"width",!0)||0,height:B(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,n=t.height,r=this.getContainerBox();this.chartWidth=Math.max(0,e||r.width||600),this.chartHeight=Math.max(0,X(n,this.chartWidth)||(r.height>1?r.height:400)),this.containerBox=r}temporaryDisplay(t){let e,n=this.renderTo;if(t)for(;n&&n.style;)n.hcOrigStyle&&(E(n,n.hcOrigStyle),delete n.hcOrigStyle),n.hcOrigDetached&&(k.body.removeChild(n),n.hcOrigDetached=!1),n=n.parentNode;else for(;n&&n.style&&(k.body.contains(n)||n.parentNode||(n.hcOrigDetached=!0,k.body.appendChild(n)),("none"===B(n,"display",!1)||n.hcOricDetached)&&(n.hcOrigStyle={display:n.style.display,height:n.style.height,overflow:n.style.overflow},e={display:"block",overflow:"hidden"},n!==this.renderTo&&(e.height=0),E(n,e),n.offsetWidth||n.style.setProperty("display","block","important")),(n=n.parentNode)!==k.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){let t,e=this.options,n=e.chart,r="data-highcharts-chart",i=Z(),o=this.renderTo;o||(this.renderTo=o=n.renderTo),Y(o)&&(this.renderTo=o=k.getElementById(o)),o||I(13,!0,this);let a=G(A(o,r));z(a)&&w[a]&&w[a].hasRendered&&w[a].destroy(),A(o,r,this.index),o.innerHTML=h.emptyHTML,n.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize();let l=this.chartHeight,u=this.chartWidth;E(o,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:u+"px",height:l+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{}));let d=T("div",{id:i},t,o);this.container=d,this.getChartSize(),u===this.chartWidth||(u=this.chartWidth,this.styledMode||E(d,{width:U(n.style?.width,u+"px")})),this.containerBox=this.getContainerBox(),this._cursor=d.style.cursor;let f=n.renderer||!S?s.getRendererType(n.renderer):c;if(this.renderer=new f(d,u,l,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),g(void 0,this),this.setClassName(n.className),this.styledMode)for(let t in e.defs)this.renderer.definition(e.defs[t]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,$(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:n,titleOffset:r}=this;this.resetMargins(),r[0]&&!D(n[0])&&(this.plotTop=Math.max(this.plotTop,r[0]+e[0])),r[2]&&!D(n[2])&&(this.marginBottom=Math.max(this.marginBottom,r[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),$(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,r=t.margin,i=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?i(t.axes):n&&n.length&&i(n),_.forEach((function(n,i){D(r[i])||(t[n]+=e[i])})),t.setChartSize()}getOptions(){return P(this.userOptions,v)}reflow(t){let e=this,n=e.containerBox,r=e.getContainerBox();delete e.pointer?.chartPosition,!e.isPrinting&&!e.isResizing&&n&&r.width&&((r.width!==n.width||r.height!==n.height)&&(d.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerBox=r)}setReflow(){let t=this,e=e=>{t.options?.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=C(O,"resize",e);C(this,"destroy",t)}}setSize(t,e,n){let r=this,i=r.renderer;r.isResizing+=1,g(n,r);let o=i.globalAnimation;r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,void 0!==t&&(r.options.chart.width=t),void 0!==e&&(r.options.chart.height=e),r.getChartSize();let{chartWidth:s,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:c=0}=r;(r.isDirtyBox||s!==r.oldChartWidth||a!==r.oldChartHeight)&&(r.styledMode||(o?p:E)(r.container,{width:`${s+l}px`,height:`${a+c}px`},o),r.setChartSize(!0),i.setSize(s,a,o),r.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(o),r.oldChartHeight=void 0,$(r,"resize"),setTimeout((()=>{r&&$(r,"endResize")}),m(o).duration)),r.isResizing-=1}setChartSize(t){let e,n,r,i,{chartHeight:o,chartWidth:s,inverted:a,spacing:l,renderer:c}=this,u=this.clipOffset,d=Math[a?"floor":"round"];this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=i=Math.max(0,Math.round(o-n-this.marginBottom)),this.plotSizeX=a?i:r,this.plotSizeY=a?r:i,this.spacingBox=c.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:o-l[0]-l[2]},this.plotBox=c.plotBox={x:e,y:n,width:r,height:i},u&&(this.clipBox={x:d(u[3]),y:d(u[0]),width:d(this.plotSizeX-u[1]-u[3]),height:d(this.plotSizeY-u[0]-u[2])}),t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),c.alignElements()),$(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){$(this,"resetMargins");let t=this,e=t.options.chart,n=e.plotBorderWidth||0,r=n/2;["margin","spacing"].forEach((function(n){let r=e[n],i=H(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach((function(r,o){t[n][o]=U(e[n+r],i[o])}))})),_.forEach((function(e,n){t[e]=U(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[r,r,r,r],t.plotBorderWidth=n}drawChartBox(){let t,e,n,r=this.options.chart,i=this.renderer,o=this.chartWidth,s=this.chartHeight,a=this.styledMode,l=this.plotBGImage,c=r.backgroundColor,u=r.plotBackgroundColor,d=r.plotBackgroundImage,h=this.plotLeft,f=this.plotTop,p=this.plotWidth,m=this.plotHeight,g=this.plotBox,v=this.clipRect,b=this.clipBox,y=this.chartBackground,x=this.plotBackground,w=this.plotBorder,k="animate";y||(this.chartBackground=y=i.rect().addClass("highcharts-background").add(),k="attr"),a?t=e=y.strokeWidth():(e=(t=r.borderWidth||0)+(r.shadow?8:0),n={fill:c||"none"},(t||y["stroke-width"])&&(n.stroke=r.borderColor,n["stroke-width"]=t),y.attr(n).shadow(r.shadow)),y[k]({x:e/2,y:e/2,width:o-e-t%2,height:s-e-t%2,r:r.borderRadius}),k="animate",x||(k="attr",this.plotBackground=x=i.rect().addClass("highcharts-plot-background").add()),x[k](g),!a&&(x.attr({fill:u||"none"}).shadow(r.plotShadow),d&&(l?(d!==l.attr("href")&&l.attr("href",d),l.animate(g)):this.plotBGImage=i.image(d,h,f,p,m).add())),v?v.animate({width:b.width,height:b.height}):this.clipRect=i.clipRect(b),k="animate",w||(k="attr",this.plotBorder=w=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||w.attr({stroke:r.plotBorderColor,"stroke-width":r.plotBorderWidth||0,fill:"none"}),w[k](w.crisp({x:h,y:f,width:p,height:m},-w.strokeWidth())),this.isDirtyBox=!1,$(this,"afterDrawChartBox")}propFromSeries(){let t,e,n,r=this,i=r.options.chart,o=r.options.series;["inverted","angular","polar"].forEach((function(s){for(e=M[i.type],n=i[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)(e=M[o[t].type])&&e.prototype[s]&&(n=!0);r[s]=n}))}linkSeries(t){let e=this,n=e.series;n.forEach((function(t){t.linkedSeries.length=0})),n.forEach((function(t){let{linkedTo:n}=t.options;if(Y(n)){let r;(r=":previous"===n?e.series[t.index-1]:e.get(n))&&r.linkedParent!==t&&(r.linkedSeries.push(t),t.linkedParent=r,r.enabledDataSorting&&t.setDataSortingOptions(),t.visible=U(t.options.visible,r.options.visible,t.visible))}})),$(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach((function(t){t.translate(),t.render()}))}render(){let t,e=this.axes,n=this.colorAxis,r=this.renderer,i=this.options.chart.axisLayoutRuns||2,o=t=>{t.forEach((t=>{t.visible&&t.render()}))},s=0,a=!0,l=0;for(let t of(this.setTitle(),$(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),e)){let{options:e}=t,{labels:n}=e;if(this.hasCartesianSeries&&t.horiz&&t.visible&&n.enabled&&t.series.length&&"colorAxis"!==t.coll&&!this.polar){s=e.tickLength,t.createGroups();let r=new f(t,0,"",!0),i=r.createLabel("x",n);if(r.destroy(),i&&U(n.reserveSpace,!z(e.crossing))&&(s=i.getBBox().height+n.distance+Math.max(e.offset||0,0)),s){i?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-s,0);(a||t||i>1)&&l<i;){let n=this.plotWidth,r=this.plotHeight;for(let n of e)0===l?n.setScale():(n.horiz&&a||!n.horiz&&t)&&n.setTickInterval(!0);0===l?this.getAxisMargins():this.getMargins(),a=n/this.plotWidth>(l?1:1.1),t=r/this.plotHeight>(l?1:1.05),l++}this.drawChartBox(),this.hasCartesianSeries?o(e):n&&n.length&&o(n),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,n=W(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(O.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,n=e.axes,r=e.series,i=e.container,s=i&&i.parentNode;for($(e,"destroy"),e.renderer.forExport?L(w,e):w[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),q(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=r.length;t--;)r[t]=r[t].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t){let n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),i&&(i.innerHTML=h.emptyHTML,q(i),s&&j(i)),V(e,(function(t,n){delete e[n]}))}firstRender(){let t=this,e=t.options;t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes();let n=F(e.series)?e.series:[];e.series=[],n.forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSortedData(),$(t,"beforeRender"),t.render(),t.pointer?.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),$(this,"load"),$(this,"render"),D(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"&lt;")}),t.accessibility&&!1===t.accessibility.enabled||I('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(t,e,n){let r,i=this;return t&&(e=U(e,!0),$(i,"addSeries",{options:t},(function(){r=i.initSeries(t),i.isDirtyLegend=!0,i.linkSeries(),r.enabledDataSorting&&r.setData(t.data,!1),$(i,"afterAddSeries",{series:r}),e&&i.redraw(n)}))),r}addAxis(t,e,n,r){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:r})}addColorAxis(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})}createAxis(t,n){let r=new e(this,n.axis,t);return U(n.redraw,!0)&&this.redraw(n.animation),r}showLoading(t){let e=this,n=e.options,r=n.loading,i=function(){o&&E(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,s=e.loadingSpan;o||(e.loadingDiv=o=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=T("span",{className:"highcharts-loading-inner"},null,o),C(e,"redraw",i)),o.className="highcharts-loading",h.setElementHTML(s,U(t,n.lang.loading,"")),e.styledMode||(E(o,N(r.style,{zIndex:10})),E(s,r.labelStyle),e.loadingShown||(E(o,{opacity:0,display:""}),p(o,{opacity:r.style.opacity||.5},{duration:r.showDuration||0}))),e.loadingShown=!0,i()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||p(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){E(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,n,r){let i,o,s,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,d=[];$(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=P(t,a.options),a.userOptions=W(a.userOptions,t);let h=t.chart;h&&(W(!0,a.options.chart,h),this.setZoomOptions(),"className"in h&&a.setClassName(h.className),("inverted"in h||"polar"in h||"type"in h)&&(a.propFromSeries(),i=!0),"alignTicks"in h&&(i=!0),"events"in h&&x(this,h),V(h,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1===a.propsRequireReflow.indexOf(e)||(a.isDirtyBox=!0,c||(s=!0))})),!a.styledMode&&h.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===b&&(this.time=new u(t.time)),W(!0,a.options.time,t.time)),V(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[l[n]]?a[l[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&W(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){t[e]&&(K(t[e]).forEach((function(t,r){let i,o=D(t.id);o&&(i=a.get(t.id)),!i&&a[e]&&(i=a[e][U(t.index,r)])&&(o&&D(i.options.id)||i.options.isInternal)&&(i=void 0),i&&i.coll===e&&(i.update(t,!1),n&&(i.touched=!0)),!i&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:d.push(t)})))})),d.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),i&&a.axes.forEach((function(t){t.update({},!1)})),o&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this);let f=h&&h.width,p=h&&(Y(h.height)?X(h.height,f||a.chartWidth):h.height);s||z(f)&&f!==a.chartWidth||z(p)&&p!==a.chartHeight?a.setSize(f,p,r):U(e,!0)&&a.redraw(r),$(a,"afterUpdate",{options:t,redraw:e,animation:r})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=v.lang,n=t.zooming.resetButton,r=n.theme,i="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"plotBox";function o(){t.zoomOut()}$(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,o,r).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,i)})),$(this,"afterShowResetZoom")}zoomOut(){$(this,"selection",{resetSelection:!0},(()=>this.transform({reset:!0,trigger:"zoom"})))}pan(t,e){let n=this,r="object"==typeof e?e:{enabled:e,type:"x"},i=r.type,o=i&&n[{x:"xAxis",xy:"axes",y:"yAxis"}[i]].filter((t=>t.options.panningEnabled&&!t.options.isInternal)),s=n.options.chart;s?.panning&&(s.panning=r),$(this,"pan",{originalEvent:t},(()=>{n.transform({axes:o,event:t,to:{x:t.chartX-(n.mouseDownX||0),y:t.chartY-(n.mouseDownY||0)},trigger:"pan"}),E(n.container,{cursor:"move"})}))}transform(t){let e,{axes:n=this.axes,event:r,from:i={},reset:o,selection:s,to:a={},trigger:l}=t,{inverted:c}=this,u=!1;for(let t of(this.hoverPoints?.forEach((t=>t.setState())),n)){let{horiz:n,len:d,minPointOffset:h=0,options:f,reversed:p}=t,m=n?"width":"height",g=n?"x":"y",v=U(a[m],t.len),b=U(i[m],t.len),y=10>Math.abs(v)?1:v/b,x=(i[g]||0)+b/2-t.pos,w=x-((a[g]??t.pos)+v/2-t.pos)/y,k=p&&!c||!p&&c?-1:1;if(!o&&(x<0||x>t.len))continue;let _=t.toValue(w,!0)+(s?0:h*k),S=t.toValue(w+d/y,!0)-(s?0:h*k||0),O=t.allExtremes;if(_>S&&([_,S]=[S,_]),1===y&&!o&&"yAxis"===t.coll&&!O){for(let e of t.series){let t=e.getExtremes(e.getProcessedData(!0).yData,!0);O??(O={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),z(t.dataMin)&&z(t.dataMax)&&(O.dataMin=Math.min(t.dataMin,O.dataMin),O.dataMax=Math.max(t.dataMax,O.dataMax))}t.allExtremes=O}let{dataMin:M,dataMax:C,min:A,max:T}=N(t.getExtremes(),O||{}),E=M??f.min,P=C??f.max,j=S-_,L=t.categories?0:Math.min(j,P-E),I=E-L*(D(f.min)?0:f.minPadding),R=P+L*(D(f.max)?0:f.maxPadding),$=t.allowZoomOutside||1===y||"zoom"!==l&&y>1,B=Math.min(f.min??I,I,$?A:I),F=Math.max(f.max??R,R,$?T:R);(!t.isOrdinal||1!==y||o)&&(_<B&&(_=B,y>=1&&(S=_+j)),S>F&&(S=F,y>=1&&(_=S-j)),(o||t.series.length&&(_!==A||S!==T)&&_>=B&&S<=F)&&(s?s[t.coll].push({axis:t,min:_,max:S}):(t.isPanning="zoom"!==l,t.setExtremes(o?void 0:_,o?void 0:S,!1,!1,{move:w,trigger:l,scale:y}),!o&&(_>B||S<F)&&"mousewheel"!==l&&(e=!0)),u=!0),r&&(this[n?"mouseDownX":"mouseDownY"]=r[n?"chartX":"chartY"]))}return u&&(s?$(this,"selection",s,(()=>{delete t.selection,t.trigger="zoom",this.transform(t)})):(e&&!this.resetZoomButton?this.showResetZoom():!e&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()),this.redraw("zoom"===l&&(this.options.chart.animation??this.pointCount<100)))),u}}return N(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[!0]],yAxis:[Q.prototype.addAxis,[!1]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q})),n(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let{stop:i}=t,{composed:o}=e,{addEvent:s,createElement:a,css:l,defined:c,merge:u,pushUnique:d}=r;function h(){let t=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t&&(this.scrollablePlotArea=t=new p(this)),t?.applyFixed()}function f(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class p{static compose(t,e,n){d(o,this.compose)&&(s(t,"afterInit",f),s(e,"afterSetChartSize",(t=>this.afterSetSize(t.target,t))),s(e,"render",h),s(n,"show",f))}static afterSetSize(t,e){let n,r,i,{minWidth:o,minHeight:s}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:d,renderer:h}=t;if(!h.forExport&&(o?(t.scrollablePixelsX=n=Math.max(0,o-t.chartWidth),n&&(t.scrollablePlotBox=u(t.plotBox),l.width=t.plotWidth+=n,a[d?"height":"width"]+=n,i=!0)):s&&(t.scrollablePixelsY=r=Math.max(0,s-t.chartHeight),c(r)&&(t.scrollablePlotBox=u(t.plotBox),l.height=t.plotHeight+=r,a[d?"width":"height"]+=r,i=!1)),c(i)&&!e.skipAxes))for(let e of t.axes)e.horiz===i&&(e.setAxisSize(),e.setAxisTranslation())}constructor(t){let e,r=t.options.chart,i=n.getRendererType(),o=r.scrollablePlotArea||{},c=this.moveFixedElements.bind(this),u={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(u.overflowX="auto"),t.scrollablePixelsY&&(u.overflowY="auto"),this.chart=t;let d=this.parentDiv=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),h=this.scrollingContainer=a("div",{className:"highcharts-scrolling"},u,d),f=this.innerContainer=a("div",{className:"highcharts-inner-container"},void 0,h),p=this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(r.style?.zIndex||0)+2,top:0},void 0,!0),m=this.fixedRenderer=new i(p,t.chartWidth,t.chartHeight,r.style);this.mask=m.path().attr({fill:r.backgroundColor||"#fff","fill-opacity":o.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),h.parentNode.insertBefore(p,h),l(t.renderTo,{overflow:"visible"}),s(t,"afterShowResetZoom",c),s(t,"afterApplyDrilldown",c),s(t,"afterLayOutTitles",c),s(h,"scroll",(()=>{let{pointer:n,hoverPoint:r}=t;n&&(delete n.chartPosition,r&&(e=r),n.runPointActions(void 0,e,!0))})),f.appendChild(t.container)}applyFixed(){let{chart:t,fixedRenderer:e,isDirty:n,scrollingContainer:r}=this,{axisOffset:o,chartWidth:s,chartHeight:a,container:u,plotHeight:d,plotLeft:h,plotTop:f,plotWidth:p,scrollablePixelsX:m=0,scrollablePixelsY:g=0}=t,{scrollPositionX:v=0,scrollPositionY:b=0}=t.options.chart.scrollablePlotArea||{},y=s+m,x=a+g;e.setSize(s,a),(n??!0)&&(this.isDirty=!1,this.moveFixedElements()),i(t.container),l(u,{width:`${y}px`,height:`${x}px`}),t.renderer.boxWrapper.attr({width:y,height:x,viewBox:[0,0,y,x].join(" ")}),t.chartBackground?.attr({width:y,height:x}),l(r,{width:`${s}px`,height:`${a}px`}),c(n)||(r.scrollLeft=m*v,r.scrollTop=g*b);let w=f-o[0]-1,k=h-o[3]-1,_=f+d+o[2]+1,S=h+p+o[1]+1,O=h+p-m,M=f+d-g,C=[["M",0,0]];m?C=[["M",0,w],["L",h-1,w],["L",h-1,_],["L",0,_],["Z"],["M",O,w],["L",s,w],["L",s,_],["L",O,_],["Z"]]:g&&(C=[["M",k,0],["L",k,f-1],["L",S,f-1],["L",S,0],["Z"],["M",k,M],["L",k,a],["L",S,a],["L",S,M],["Z"]]),"adjustHeight"!==t.redrawTrigger&&this.mask.attr({d:C})}moveFixedElements(){let t,{container:e,inverted:n,scrollablePixelsX:r,scrollablePixelsY:i}=this.chart,o=this.fixedRenderer,s=p.fixedSelectors;for(let a of(r&&!n?t=".highcharts-yaxis":r&&n||i&&!n?t=".highcharts-xaxis":i&&n&&(t=".highcharts-yaxis"),t&&s.push(`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`),s))[].forEach.call(e.querySelectorAll(a),(t=>{(t.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}}return p.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],p})),n(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{format:r}=t,{series:i}=e,{destroyObjectProperties:o,fireEvent:s,isNumber:a,pick:l}=n;return class{constructor(t,e,n,r,i){let o=t.chart.inverted,s=t.reversed;this.axis=t;let a=this.isNegative=!!n!=!!s;this.options=e=e||{},this.x=r,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=i,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(o?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?a?"right":"left":"center")}destroy(){o(this,this.axis)}render(t){let e=this.axis.chart,n=this.options,i=n.format,o=i?r(i,this,e):n.formatter.call(this);if(this.label)this.label.attr({text:o,visibility:"hidden"});else{this.label=e.renderer.label(o,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels");let r={r:n.borderRadius||0,text:o,padding:l(n.padding,5),visibility:"hidden"};e.styledMode||(r.fill=n.backgroundColor,r.stroke=n.borderColor,r["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(r),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,s(this,"afterRender")}setOffset(t,e,n,r,o,c){let{alignOptions:u,axis:d,label:h,options:f,textAlign:p}=this,m=d.chart,g=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:r,defaultX:o,xAxis:c}),{verticalAlign:v}=u;if(h&&g){let t,e=h.getBBox(void 0,0),n=h.padding,r="justify"===l(f.overflow,"justify");u.x=f.x||0,u.y=f.y||0;let{x:o,y:s}=this.adjustStackPosition({labelBox:e,verticalAlign:v,textAlign:p});g.x-=o,g.y-=s,h.align(u,!1,g),(t=m.isInsidePlot(h.alignAttr.x+u.x+o,h.alignAttr.y+u.y+s))||(r=!1),r&&i.prototype.justifyDataLabel.call(d,h,u,h.alignAttr,e,g),h.attr({x:h.alignAttr.x,y:h.alignAttr.y,rotation:f.rotation,rotationOriginX:e.width*{left:0,center:.5,right:1}[f.textAlign||"center"],rotationOriginY:e.height/2}),l(!r&&f.crop,!0)&&(t=a(h.x)&&a(h.y)&&m.isInsidePlot(h.x-n+(h.width||0),h.y)&&m.isInsidePlot(h.x+n,h.y)),h[t?"show":"hide"]()}s(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:n}){let r={bottom:0,middle:1,top:2,right:1,center:0,left:-1},i=r[e],o=r[n];return{x:t.width/2+t.width/2*o,y:t.height/2*i}}getStackBox(t){let e=this.axis,n=e.chart,{boxTop:r,defaultX:i,xOffset:o,width:s,boxBottom:c}=t,u=e.stacking.usePercentage?100:l(r,this.total,0),d=e.toPixels(u),h=t.xAxis||n.xAxis[0],f=l(i,h.translate(this.x))+o,p=Math.abs(d-e.toPixels(c||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),m=n.inverted,g=this.isNegative;return m?{x:(g?d:d-p)-n.plotLeft,y:h.height-f-s,width:p,height:s}:{x:f+h.transB-n.plotLeft,y:(g?d-p:d)-n.plotTop,width:s,height:p}}}})),n(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){var o;let{getDeferredAnimation:s}=t,{series:{prototype:a}}=n,{addEvent:l,correctFloat:c,defined:u,destroyObjectProperties:d,fireEvent:h,isArray:f,isNumber:p,objectEach:m,pick:g}=i;function v(){let t=this.inverted;this.axes.forEach((t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),this.series.forEach((e=>{let n=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,g(e.options.stack,""),t?n.top:n.left,t?n.height:n.width].join(","))}))}function b(){let t=this.stacking;if(t){let e=t.stacks;m(e,((t,n)=>{d(t),delete e[n]})),t.stackTotalGroup?.destroy()}}function y(){this.stacking||(this.stacking=new O(this))}function x(t,e,n,r){return!u(t)||t.x!==e||r&&t.stackKey!==r?t={x:e,index:0,key:r,stackKey:r}:t.index++,t.key=[n,e,t.index].join(","),t}function w(){let t,e=this,n=e.yAxis,r=e.stackKey||"",i=n.stacking.stacks,o=e.processedXData,s=e.options.stacking,a=e[s+"Stacker"];a&&[r,"-"+r].forEach((n=>{let r,s,l,c=o.length;for(;c--;)r=o[c],t=e.getStackIndicator(t,r,e.index,n),s=i[n]?.[r],(l=s?.points[t.key||""])&&a.call(e,l,s,c)}))}function k(t,e,n){let r=e.total?100/e.total:0;t[0]=c(t[0]*r),t[1]=c(t[1]*r),this.stackedYData[n]=t[1]}function _(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function S(t,e){let n,i,o,s,a,l,d,h,p,m=e||this.options.stacking;if(!m||!this.reserveSpace()||({group:"xAxis"}[m]||"yAxis")!==t.coll)return;let v=this.processedXData,b=this.processedYData,y=[],x=b.length,w=this.options,k=w.threshold||0,_=w.startFromThreshold?k:0,S=w.stack,O=e?`${this.type},${m}`:this.stackKey||"",M="-"+O,C=this.negStacks,A=t.stacking,T=A.stacks,E=A.oldStacks;for(A.stacksTouched+=1,d=0;d<x;d++){h=v[d],p=b[d],l=(n=this.getStackIndicator(n,h,this.index)).key||"",T[a=(i=C&&p<(_?0:k))?M:O]||(T[a]={}),T[a][h]||(E[a]?.[h]?(T[a][h]=E[a][h],T[a][h].total=null):T[a][h]=new r(t,t.options.stackLabels,!!i,h,S)),o=T[a][h],null!==p?(o.points[l]=o.points[this.index]=[g(o.cumulative,_)],u(o.cumulative)||(o.base=l),o.touched=A.stacksTouched,n.index>0&&!1===this.singleStacks&&(o.points[l][0]=o.points[this.index+","+h+",0"][0])):(delete o.points[l],delete o.points[this.index]);let e=o.total||0;"percent"===m?(s=i?O:M,e=C&&T[s]?.[h]?(s=T[s][h]).total=Math.max(s.total||0,e)+Math.abs(p)||0:c(e+(Math.abs(p)||0))):"group"===m?(f(p)&&(p=p[0]),null!==p&&e++):e=c(e+(p||0)),o.cumulative="group"===m?(e||1)-1:c(g(o.cumulative,_)+(p||0)),o.total=e,null!==p&&(o.points[l].push(o.cumulative),y[d]=o.cumulative,o.hasValidPoints=!0)}"percent"===m&&(A.usePercentage=!0),"group"!==m&&(this.stackedYData=y),A.oldStacks={}}class O{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,n=this.axis,r=n.series,i="xAxis"===n.coll,o=n.options.reversedStacks,s=r.length;for(this.resetStacks(),this.usePercentage=!1,e=s;e--;)t=r[o?e:s-e-1],i&&t.setGroupedPoints(n),t.setStackedPoints(n);if(!i)for(e=0;e<s;e++)r[e].modifyStacks();h(n,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,m(this.stacks,(t=>{m(t,(t=>{t.cumulative=t.total}))})))}resetStacks(){m(this.stacks,(t=>{m(t,((e,n)=>{p(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[n]):(e.total=null,e.cumulative=null)}))}))}renderStackTotals(){let t=this.axis,e=t.chart,n=e.renderer,r=this.stacks,i=s(e,t.options.stackLabels?.animation||!1),o=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),m(r,(t=>{m(t,(t=>{t.render(o)}))})),o.animate({opacity:1},i)}}return(o||(o={})).compose=function(t,e,n){let r=e.prototype,i=n.prototype;r.getStacks||(l(t,"init",y),l(t,"destroy",b),r.getStacks=v,i.getStackIndicator=x,i.modifyStacks=w,i.percentStacker=k,i.setGroupedPoints=_,i.setStackedPoints=S)},o})),n(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defined:r,merge:i,isObject:o}=n;class s extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode;[this,...this.zones].forEach(((r,s)=>{let a,l=r.graph,c=l?"animate":"attr",u=r.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(r.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(s?` highcharts-zone-graph-${s-1} `:" ")+(s&&r.className||"")).attr({zIndex:1}).add(this.group)),l&&!n&&(a={stroke:!s&&t.lineColor||r.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},u?a.dashstyle=u:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[c](a).shadow(s<2&&t.shadow&&i({filterUnits:"userSpaceOnUse"},o(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)}))}getGraphPath(t,e,n){let i,o=this,s=o.options,a=[],l=[],c=s.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!n))).forEach((function(u,d){let h,f=u.plotX,p=u.plotY,m=t[d-1],g=u.isNull||"number"!=typeof p;(u.leftCliff||m&&m.rightCliff)&&!n&&(i=!0),g&&!r(e)&&d>0?i=!s.connectNulls:g&&!e?i=!0:(0===d||i?h=[["M",u.plotX,u.plotY]]:o.getPointSpline?h=[o.getPointSpline(t,u,d)]:c?(h=1===c?[["L",m.plotX,p]]:2===c?[["L",(m.plotX+f)/2,m.plotY],["L",(m.plotX+f)/2,p]]:[["L",f,m.plotY]]).push(["L",f,p]):h=[["L",f,p]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),a.push.apply(a,h),i=!1)})),a.xMap=l,o.graphPath=a,a}}return s.defaultOptions=i(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",s),s})),n(e,"Series/Area/AreaSeriesDefaults.js",[],(function(){return{threshold:0,legendSymbol:"areaMarker"}})),n(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{seriesTypes:{line:r}}=e,{extend:i,merge:o,objectEach:s,pick:a}=n;class l extends r{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach(((n,r)=>{let i={},o=n.fillColor||e.fillColor,s=n.area,a=s?"animate":"attr";s?(s.endX=this.preventGraphAnimation?null:t.xMap,s.animate({d:t})):(i.zIndex=0,(s=n.area=this.chart.renderer.path(t).addClass("highcharts-area"+(r?` highcharts-zone-area-${r-1} `:" ")+(r&&n.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(i.fill=o||n.color||this.color,i["fill-opacity"]=o?1:e.fillOpacity??.75,s.css({pointerEvents:this.stickyTracking?"none":"auto"})),s[a](i),s.startX=t.xMap,s.shiftUnit=e.step?2:1}))}getGraphPath(t){let e,n,i,o=r.prototype.getGraphPath,s=this.options,l=s.stacking,c=this.yAxis,u=[],d=[],h=this.index,f=c.stacking.stacks[this.stackKey],p=s.threshold,m=Math.round(c.getThreshold(s.threshold)),g=a(s.connectNulls,"percent"===l),v=function(n,r,i){let o,s,a=t[n],g=l&&f[a.x].points[h],v=a[i+"Null"]||0,b=a[i+"Cliff"]||0,y=!0;b||v?(o=(v?g[0]:g[1])+b,s=g[0]+b,y=!!v):!l&&t[r]&&t[r].isNull&&(o=s=p),void 0!==o&&(d.push({plotX:e,plotY:null===o?m:c.getThreshold(o),isNull:y,isCliff:!0}),u.push({plotX:e,plotY:null===s?m:c.getThreshold(s),doCurve:!1}))};t=t||this.points,l&&(t=this.getStackPoints(t));for(let r=0,o=t.length;r<o;++r)l||(t[r].leftCliff=t[r].rightCliff=t[r].leftNull=t[r].rightNull=void 0),n=t[r].isNull,e=a(t[r].rectPlotX,t[r].plotX),i=l?a(t[r].yBottom,m):m,n&&!g||(g||v(r,r-1,"left"),n&&!l&&g||(d.push(t[r]),u.push({x:r,plotX:e,plotY:i})),g||v(r,r+1,"right"));let b=o.call(this,d,!0,!0);u.reversed=!0;let y=o.call(this,u,!0,!0),x=y[0];x&&"M"===x[0]&&(y[0]=["L",x[1],x[2]]);let w=b.concat(y);w.length&&w.push(["Z"]);let k=o.call(this,d,!1,g);return w.xMap=b.xMap,this.areaPath=w,k}getStackPoints(t){let e=this,n=[],r=[],i=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],c={},u=o.series,d=u.length,h=o.options.reversedStacks?1:-1,f=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,c[t[e].x]=t[e];s(l,(function(t,e){null!==t.total&&r.push(e)})),r.sort((function(t,e){return t-e}));let p=u.map((t=>t.visible));r.forEach((function(t,s){let m,g,v=0;if(c[t]&&!c[t].isNull)n.push(c[t]),[-1,1].forEach((function(n){let i=1===n?"rightNull":"leftNull",o=l[r[s+n]],a=0;if(o){let n=f;for(;n>=0&&n<d;){let r=u[n].index;!(m=o.points[r])&&(r===e.index?c[t][i]=!0:p[n]&&(g=l[t].points[r])&&(a-=g[1]-g[0])),n+=h}}c[t][1===n?"rightCliff":"leftCliff"]=a}));else{let e=f;for(;e>=0&&e<d;){let n=u[e].index;if(m=l[t].points[n]){v=m[1];break}e+=h}v=a(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:i.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return n}}return l.defaultOptions=o(r.defaultOptions,t),i(l.prototype,{singleStacks:!1}),e.registerSeriesType("area",l),l})),n(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e){let{line:n}=t.seriesTypes,{merge:r,pick:i}=e;class o extends n{getPointSpline(t,e,n){let r,o,s,a,l=e.plotX||0,c=e.plotY||0,u=t[n-1],d=t[n+1];function h(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(h(u)&&h(d)){let t=u.plotX||0,n=u.plotY||0,i=d.plotX||0,h=d.plotY||0,f=0;r=(1.5*l+t)/2.5,o=(1.5*c+n)/2.5,s=(1.5*l+i)/2.5,a=(1.5*c+h)/2.5,s!==r&&(f=(a-o)*(s-l)/(s-r)+c-a),o+=f,a+=f,o>n&&o>c?(o=Math.max(n,c),a=2*c-o):o<n&&o<c&&(o=Math.min(n,c),a=2*c-o),a>h&&a>c?(a=Math.max(h,c),o=2*c-a):a<h&&a<c&&(a=Math.min(h,c),o=2*c-a),e.rightContX=s,e.rightContY=a,e.controlPoints={low:[r,o],high:[s,a]}}let f=["C",i(u.rightContX,u.plotX,0),i(u.rightContY,u.plotY,0),i(r,l,0),i(o,c,0),l,c];return u.rightContX=u.rightContY=void 0,f}}return o.defaultOptions=r(n.defaultOptions),t.registerSeriesType("spline",o),o})),n(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{area:r,area:{prototype:i}}=e.seriesTypes,{extend:o,merge:s}=n;class a extends t{}return a.defaultOptions=s(t.defaultOptions,r.defaultOptions),o(a.prototype,{getGraphPath:i.getGraphPath,getStackPoints:i.getStackPoints,drawGraph:i.drawGraph}),e.registerSeriesType("areaspline",a),a})),n(e,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),n(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s){let{animObject:a}=t,{parse:l}=e,{noop:c}=r,{clamp:u,crisp:d,defined:h,extend:f,fireEvent:p,isArray:m,isNumber:g,merge:v,pick:b,objectEach:y}=s;class x extends i{animate(t){let e,n,r=this,i=this.yAxis,o=i.pos,s=i.reversed,l=r.options,{clipOffset:c,inverted:d}=this.chart,h={},p=d?"translateX":"translateY";t&&c?(h.scaleY=.001,n=u(i.toPixels(l.threshold),o,o+i.len),d?(n+=s?-Math.floor(c[0]):Math.ceil(c[2]),h.translateX=n-i.len):(n+=s?Math.ceil(c[0]):-Math.floor(c[2]),h.translateY=n),r.clipBox&&r.setClip(),r.group.attr(h)):(e=Number(r.group.attr(p)),r.group.animate({scaleY:1},f(a(r.options.animation),{step:function(t,n){r.group&&(h[p]=e+n.pos*(o-e),r.group.attr(h))}})))}init(t,e){super.init.apply(this,arguments);let n=this;(t=n.chart).hasRendered&&t.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))}getColumnMetrics(){let t,e=this,n=e.options,r=e.xAxis,i=e.yAxis,o=r.options.reversedStacks,s=r.reversed&&!o||!r.reversed&&o,a={},l=0;!1===n.grouping?l=1:e.chart.series.forEach((function(n){let r,o=n.yAxis,s=n.options;n.type===e.type&&n.reserveSpace()&&i.len===o.len&&i.pos===o.pos&&(s.stacking&&"group"!==s.stacking?(void 0===a[t=n.stackKey]&&(a[t]=l++),r=a[t]):!1!==s.grouping&&(r=l++),n.columnIndex=r)}));let c=Math.min(Math.abs(r.transA)*(!r.brokenAxis?.hasBreaks&&r.ordinal?.slope||n.pointRange||r.closestPointRange||r.tickInterval||1),r.len),u=c*n.groupPadding,d=(c-2*u)/(l||1),h=Math.min(n.maxPointWidth||r.len,b(n.pointWidth,d*(1-2*n.pointPadding))),f=(e.columnIndex||0)+(s?1:0);return e.columnMetrics={width:h,offset:(d-h)/2+(u+f*d-c/2)*(s?-1:1),paddedWidth:d,columnCount:l},e.columnMetrics}crispCol(t,e,n,r){let i=this.borderWidth,o=this.chart.inverted;return r=d(e+r,i,o)-(e=d(e,i,o)),this.options.crisp&&(n=d(t+n,i)-(t=d(t,i))),{x:t,y:e,width:n,height:r}}adjustForMissingColumns(t,e,n,r){if(!n.isNull&&r.columnCount>1){let i=this.xAxis.series.filter((t=>t.visible)).map((t=>t.index)),o=0,s=0;y(this.xAxis.stacking?.stacks,(t=>{if("number"==typeof n.x){let e=t[n.x.toString()];if(e&&m(e.points[this.index])){let t=Object.keys(e.points).filter((t=>!t.match(",")&&e.points[t]&&e.points[t].length>1)).map(parseFloat).filter((t=>-1!==i.indexOf(t))).sort(((t,e)=>e-t));o=t.indexOf(this.index),s=t.length}}})),o=this.xAxis.reversed?s-1-o:o;let a=(s-1)*r.paddedWidth+e;t=(n.plotX||0)+a/2-e-o*r.paddedWidth}return t}translate(){let t=this,e=t.chart,n=t.options,r=t.dense=t.closestPointRange*t.xAxis.transA<2,o=t.borderWidth=b(n.borderWidth,r?0:1),s=t.xAxis,a=t.yAxis,l=n.threshold,c=b(n.minPointLength,5),d=t.getColumnMetrics(),f=d.width,m=t.pointXOffset=d.offset,v=t.dataMin,y=t.dataMax,x=t.translatedThreshold=a.getThreshold(l),w=t.barW=Math.max(f,1+2*o);n.pointPadding&&(w=Math.ceil(w)),i.prototype.translate.apply(t),t.points.forEach((function(r){let i,o=b(r.yBottom,x),p=999+Math.abs(o),k=r.plotX||0,_=u(r.plotY,-p,a.len+p),S=Math.min(_,o),O=Math.max(_,o)-S,M=f,C=k+m,A=w;c&&Math.abs(O)<c&&(O=c,i=!a.reversed&&!r.negative||a.reversed&&r.negative,g(l)&&g(y)&&r.y===l&&y<=l&&(a.min||0)<l&&(v!==y||(a.max||0)<=l)&&(i=!i,r.negative=!r.negative),S=Math.abs(S-x)>c?o-c:x-(i?c:0)),h(r.options.pointWidth)&&(C-=Math.round(((M=A=Math.ceil(r.options.pointWidth))-f)/2)),n.centerInCategory&&!n.stacking&&(C=t.adjustForMissingColumns(C,M,r,d)),r.barX=C,r.pointWidth=M,r.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-_,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),s.len+s.pos-e.plotTop-C-A/2,O]:[s.left-e.plotLeft+C+A/2,u(_+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),O],r.shapeType=t.pointClass.prototype.shapeType||"roundedRect",r.shapeArgs=t.crispCol(C,r.isNull?x:S,A,r.isNull?0:O)})),p(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let n,r,i,o=this.options,s=this.pointAttrToOptions||{},a=s.stroke||"borderColor",c=s["stroke-width"]||"borderWidth",u=t&&t.color||this.color,d=t&&t[a]||o[a]||u,h=t&&t.options.dashStyle||o.dashStyle,f=t&&t[c]||o[c]||this[c]||0,p=b(t&&t.opacity,o.opacity,1);t&&this.zones.length&&(r=t.getZone(),u=t.options.color||r&&(r.color||t.nonZonedColor)||this.color,r&&(d=r.borderColor||d,h=r.dashStyle||h,f=r.borderWidth||f)),e&&t&&(i=(n=v(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,u=n.color||void 0!==i&&l(u).brighten(n.brightness).get()||u,d=n[a]||d,f=n[c]||f,h=n.dashStyle||h,p=b(n.opacity,p));let m={fill:u,stroke:d,"stroke-width":f,opacity:p};return h&&(m.dashstyle=h),m}drawPoints(t=this.points){let e,n=this,r=this.chart,i=n.options,o=r.renderer,s=i.animationLimit||250;t.forEach((function(t){let a=t.plotY,l=t.graphic,c=!!l,u=l&&r.pointCount<s?"animate":"attr";g(a)&&null!==t.y?(e=t.shapeArgs,l&&t.hasNewShapeType()&&(l=l.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),!l&&(t.graphic=l=o[t.shapeType](e).add(t.group||n.group),l&&n.enabledDataSorting&&r.hasRendered&&r.pointCount<s&&(l.attr({x:t.startXPos}),c=!0,u="animate")),l&&c&&l[u](v(e)),r.styledMode||l[u](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&i.shadow),l&&(l.addClass(t.getClassName(),!0),l.attr({visibility:t.visible?"inherit":"hidden"}))):l&&(t.graphic=l.destroy())}))}drawTracker(t=this.points){let e,n=this,r=n.chart,i=r.pointer,o=function(t){let e=i?.getPointFromEvent(t);i&&e&&n.options.enableMouseTracking&&(i.isDirectTouch=!0,e.onMouseOver(t))};t.forEach((function(t){e=m(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){(e.div||e.element).point=t}))})),n._hasTracking||(n.trackerGroups.forEach((function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){i?.onTrackerMouseOut(t)})).on("touchstart",o),!r.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))})),n._hasTracking=!0),p(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),i.prototype.remove.apply(t,arguments)}}return x.defaultOptions=v(i.defaultOptions,n),f(x.prototype,{directTouch:!0,getSymbol:c,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",x),x})),n(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n){var r;let{getDeferredAnimation:i}=t,{format:o}=e,{defined:s,extend:a,fireEvent:l,isArray:c,isString:u,merge:d,objectEach:h,pick:f,pInt:p,splat:m}=n;return function(t){function e(){return x(this).some((t=>t?.enabled))}function n(t,e,n,r,i){let{chart:o,enabledDataSorting:l}=this,c=this.isCartesian&&o.inverted,u=t.plotX,h=t.plotY,p=n.rotation||0,m=s(u)&&s(h)&&o.isInsidePlot(u,Math.round(h),{inverted:c,paneCoordinates:!0,series:this}),g=0===p&&"justify"===f(n.overflow,l?"none":"justify"),v=this.visible&&!1!==t.visible&&s(u)&&(t.series.forceDL||l&&!g||m||f(n.inside,!!this.options.stacking)&&r&&o.isInsidePlot(u,c?r.x+1:r.y+r.height-1,{inverted:c,paneCoordinates:!0,series:this})),b=t.pos();if(v&&b){var y;let s=e.getBBox(),u=e.getBBox(void 0,0),h={right:1,center:.5}[n.align||0]||0,x={bottom:1,middle:.5}[n.verticalAlign||0]||0;if(r=a({x:b[0],y:Math.round(b[1]),width:0,height:0},r||{}),"plotEdges"===n.alignTo&&this.isCartesian&&(r[c?"x":"y"]=0,r[c?"width":"height"]=this.yAxis?.len||0),a(n,{width:s.width,height:s.height}),y=r,l&&this.xAxis&&!g&&this.setDataLabelStartPos(t,e,i,m,y),e.align(d(n,{width:u.width,height:u.height}),!1,r,!1),e.alignAttr.x+=h*(u.width-s.width),e.alignAttr.y+=x*(u.height-s.height),e[e.placed?"animate":"attr"]({x:e.alignAttr.x+(s.width-u.width)/2,y:e.alignAttr.y+(s.height-u.height)/2,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2}),g&&r.height>=0)this.justifyDataLabel(e,n,e.alignAttr,s,r,i);else if(f(n.crop,!0)){let{x:t,y:n}=e.alignAttr;v=o.isInsidePlot(t,n,{paneCoordinates:!0,series:this})&&o.isInsidePlot(t+s.width-1,n+s.height-1,{paneCoordinates:!0,series:this})}n.shape&&!p&&e[i?"attr":"animate"]({anchorX:b[0],anchorY:b[1]})}i&&l&&(e.placed=!1),v||l&&!g?(e.show(),e.placed=!0):(e.hide(),e.placed=!1)}function r(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function g(t){let e=this.hasRendered||0,n=this.initDataLabelsGroup().attr({opacity:+e});return!e&&n&&(this.visible&&n.show(),this.options.animation?n.animate({opacity:1},t):n.attr({opacity:1})),n}function v(t){let e;t=t||this.points;let n=this,r=n.chart,a=n.options,c=r.renderer,{backgroundColor:d,plotBackgroundColor:g}=r.options.chart,v=c.getContrast(u(g)&&g||u(d)&&d||"#000000"),b=x(n),{animation:w,defer:k}=b[0],_=k?i(r,w,n):{defer:0,duration:0};l(this,"drawDataLabels"),n.hasDataLabels?.()&&(e=this.initDataLabels(_),t.forEach((t=>{let i=t.dataLabels||[];m(y(b,t.dlOptions||t.options?.dataLabels)).forEach(((l,d)=>{let m,g,b,y,x,w=l.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let n=e.filter;if(n){let e=n.operator,r=t[n.property],i=n.value;return">"===e&&r>i||"<"===e&&r<i||">="===e&&r>=i||"<="===e&&r<=i||"=="===e&&r==i||"==="===e&&r===i||"!="===e&&r!=i||"!=="===e&&r!==i}return!0}(t,l),{backgroundColor:k,borderColor:_,distance:S,style:O={}}=l,M={},C=i[d],A=!C;if(w&&(g=f(l[t.formatPrefix+"Format"],l.format),m=t.getLabelConfig(),b=s(g)?o(g,m,r):(l[t.formatPrefix+"Formatter"]||l.formatter).call(m,l),y=l.rotation,!r.styledMode&&(O.color=f(l.color,O.color,u(n.color)?n.color:void 0,"#000000"),"contrast"===O.color?("none"!==k&&(x=k),t.contrastColor=c.getContrast("auto"!==x&&x||t.color||n.color),O.color=x||!s(S)&&l.inside||0>p(S||0)||a.stacking?t.contrastColor:v):delete t.contrastColor,a.cursor&&(O.cursor=a.cursor)),M={r:l.borderRadius||0,rotation:y,padding:l.padding,zIndex:1},r.styledMode||(M.fill="auto"===k?t.color:k,M.stroke="auto"===_?t.color:_,M["stroke-width"]=l.borderWidth),h(M,((t,e)=>{void 0===t&&delete M[e]}))),!C||w&&s(b)&&!!C.div==!!l.useHTML&&(C.rotation&&l.rotation||C.rotation===l.rotation)||(C=void 0,A=!0),w&&s(b)&&(C?M.text=b:(C=c.label(b,0,0,l.shape,void 0,void 0,l.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(l.className||"")+(l.useHTML?" highcharts-tracker":"")),C)){C.options=l,C.attr(M),r.styledMode||C.css(O).shadow(l.shadow);let o=l[t.formatPrefix+"TextPath"]||l.textPath;o&&!l.useHTML&&(C.setTextPath(t.getDataLabelPath?.(C)||t.graphic,o),t.dataLabelPath&&!o.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),C.added||C.add(e),n.alignDataLabel(t,C,l,void 0,A),C.isActive=!0,i[d]&&i[d]!==C&&i[d].destroy(),i[d]=C}}));let l=i.length;for(;l--;)i[l]&&i[l].isActive?i[l].isActive=!1:(i[l]?.destroy(),i.splice(l,1));t.dataLabel=i[0],t.dataLabels=i}))),l(this,"afterDrawDataLabels")}function b(t,e,n,r,i,o){let s,a,l=this.chart,c=e.align,u=e.verticalAlign,d=t.box?0:t.padding||0,h=l.inverted?this.yAxis:this.xAxis,f=h?h.left-l.plotLeft:0,p=l.inverted?this.xAxis:this.yAxis,m=p?p.top-l.plotTop:0,{x:g=0,y:v=0}=e;return(s=(n.x||0)+d+f)<0&&("right"===c&&g>=0?(e.align="left",e.inside=!0):g-=s,a=!0),(s=(n.x||0)+r.width-d+f)>l.plotWidth&&("left"===c&&g<=0?(e.align="right",e.inside=!0):g+=l.plotWidth-s,a=!0),(s=n.y+d+m)<0&&("bottom"===u&&v>=0?(e.verticalAlign="top",e.inside=!0):v-=s,a=!0),(s=(n.y||0)+r.height-d+m)>l.plotHeight&&("top"===u&&v<=0?(e.verticalAlign="bottom",e.inside=!0):v+=l.plotHeight-s,a=!0),a&&(e.x=g,e.y=v,t.placed=!o,t.align(e,void 0,i)),a}function y(t,e){let n,r=[];if(c(t)&&!c(e))r=t.map((function(t){return d(t,e)}));else if(c(e)&&!c(t))r=e.map((function(e){return d(t,e)}));else if(c(t)||c(e)){if(c(t)&&c(e))for(n=Math.max(t.length,e.length);n--;)r[n]=d(t[n],e[n])}else r=d(t,e);return r}function x(t){let e=t.chart.options.plotOptions;return m(y(y(e?.series?.dataLabels,e?.[t.type]?.dataLabels),t.options.dataLabels))}function w(t,e,n,r,i){let o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,c=((s?e.height:e.width)||0)/2,u=t.pointWidth,d=u?u/2:0;e.startXPos=s?i.x:l?-c-d:a.width-c+d,e.startYPos=s?l?this.yAxis.height-c+d:-c-d:i.y,r?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function(t){let i=t.prototype;i.initDataLabels||(i.initDataLabels=g,i.initDataLabelsGroup=r,i.alignDataLabel=n,i.drawDataLabels=v,i.justifyDataLabel=b,i.setDataLabelStartPos=w,i.hasDataLabels=e)}}(r||(r={})),r})),n(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r){var i;let{composed:o}=e,{series:s}=n,{merge:a,pick:l,pushUnique:c}=r;return function(e){function n(t,e,n,r,i){let o=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,d=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,f=l(t.below,t.plotY>l(this.translatedThreshold,d)),p=l(n.inside,!!this.options.stacking);if(h){if(r=a(h),"allow"!==n.overflow||!1!==n.crop){r.y<0&&(r.height+=r.y,r.y=0);let t=r.y+r.height-d;t>0&&t<r.height-1&&(r.height-=t)}o&&(r={x:d-r.y-r.height,y:u-r.x-r.width,width:r.height,height:r.width}),p||(o?(r.x+=f?0:r.width,r.width=0):(r.y+=f?r.height:0,r.height=0))}n.align=l(n.align,!o||p?"center":f?"right":"left"),n.verticalAlign=l(n.verticalAlign,o||p?"middle":f?"top":"bottom"),s.prototype.alignDataLabel.call(this,t,e,n,r,i),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}e.compose=function(e){t.compose(s),c(o,"ColumnDataLabel")&&(e.prototype.alignDataLabel=n)}}(i||(i={})),i})),n(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{extend:r,merge:i}=n;class o extends t{}return o.defaultOptions=i(t.defaultOptions,{}),r(o.prototype,{inverted:!0}),e.registerSeriesType("bar",o),o})),n(e,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),n(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{column:r,line:i}=e.seriesTypes,{addEvent:o,extend:s,merge:a}=n;class l extends i{applyJitter(){let t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(r,i){["x","y"].forEach((function(o,s){if(e[o]&&!r.isNull){let a=`plot${o.toUpperCase()}`,l=t[`${o}Axis`],c=e[o]*l.transA;if(l&&!l.logarithmic){let t=Math.max(0,(r[a]||0)-c),e=Math.min(l.len,(r[a]||0)+c);r[a]=t+(e-t)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(i+s*n),"x"===o&&(r.clientX=r.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(i.defaultOptions,t),s(l.prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o(l,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",l),l})),n(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,n){var r,i;let{deg2rad:o}=t,{fireEvent:s,isNumber:a,pick:l,relativeLength:c}=n;return(i=r||(r={})).getCenter=function(){let t,n,r,i=this.options,o=this.chart,u=2*(i.slicedOffset||0),d=o.plotWidth-2*u,h=o.plotHeight-2*u,f=i.center,p=Math.min(d,h),m=i.thickness,g=i.size,v=i.innerSize||0;"string"==typeof g&&(g=parseFloat(g)),"string"==typeof v&&(v=parseFloat(v));let b=[l(f[0],"50%"),l(f[1],"50%"),l(g&&g<0?void 0:i.size,"100%"),l(v&&v<0?void 0:i.innerSize||0,"0%")];for(!o.angular||this instanceof e||(b[3]=0),n=0;n<4;++n)r=b[n],t=n<2||2===n&&/%$/.test(r),b[n]=c(r,[d,h,p,b[2]][n])+(t?u:0);return b[3]>b[2]&&(b[3]=b[2]),a(m)&&2*m<b[2]&&m>0&&(b[3]=b[2]-2*m),s(this,"afterGetCenter",{positions:b}),b},i.getStartAndEndRadians=function(t,e){let n=a(t)?t:0,r=a(e)&&e>n&&e-n<360?e:n+360;return{start:o*(n+-90),end:o*(r+-90)}},r})),n(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n){let{setAnimation:r}=t,{addEvent:i,defined:o,extend:s,isNumber:a,pick:l,relativeLength:c}=n;class u extends e{getConnectorPath(t){let e=t.dataLabelPosition,n=t.options||{},r=n.connectorShape,i=this.connectorShapes[r]||r;return e&&i.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,n)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,n){super(t,e,n),this.half=0,this.name??(this.name="Slice");let r=t=>{this.slice("select"===t.type)};i(this,"select",r),i(this,"unselect",r)}isValid(){return a(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,n){let i=this.series;r(n,i.chart),e=l(e,!0),this.sliced=this.options.sliced=t=o(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return s(u.prototype,{connectorShapes:{fixedOffset:function(t,e,n){let r=e.breakAt,i=e.touchingSliceAt,o=n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*r.x-i.x,2*r.y-i.y,r.x,r.y]:["L",r.x,r.y];return[["M",t.x,t.y],o,["L",i.x,i.y]]},straight:function(t,e){let n=e.touchingSliceAt;return[["M",t.x,t.y],["L",n.x,n.y]]},crookedLine:function(t,e,n){let{breakAt:r,touchingSliceAt:i}=e,{series:o}=this,[s,a,l]=o.center,u=l/2,{plotLeft:d,plotWidth:h}=o.chart,f="left"===t.alignment,{x:p,y:m}=t,g=r.x;if(n.crookDistance){let t=c(n.crookDistance,1);g=f?s+u+(h+d-s-u)*(1-t):d+(s-u)*t}else g=s+(a-m)*Math.tan((this.angle||0)-Math.PI/2);let v=[["M",p,m]];return(f?g<=p&&g>=r.x:g>=p&&g<=r.x)&&v.push(["L",g,m]),v.push(["L",r.x,r.y],["L",i.x,i.y]),v}}}),u})),n(e,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),n(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a,l){let{getStartAndEndRadians:c}=t,{noop:u}=n,{clamp:d,extend:h,fireEvent:f,merge:p,pick:m}=l;class g extends o{animate(t){let e=this,n=e.points,r=e.startAngleRad;t||n.forEach((function(t){let n=t.graphic,i=t.shapeArgs;n&&i&&(n.attr({r:m(t.startR,e.center&&e.center[3]/2),start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}))}drawEmpty(){let t,e,n=this.startAngleRad,r=this.endAngleRad,i=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,n,r).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:n,end:r,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,n,r){let i=this.center,o=this.radii?this.radii[n.index]||0:i[2]/2,s=r.dataLabelPosition,a=s?.distance||0,l=Math.asin(d((t-i[1])/(o+a),-1,1));return i[0]+Math.cos(l)*(o+a)*(e?-1:1)+(a>0?(e?-1:1)*(r.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,n,r,i=this,o=i.chart;this.drawEmpty(),i.group&&!o.styledMode&&i.group.shadow(i.options.shadow),i.points.forEach((function(s){let a={};e=s.graphic,!s.isNull&&e?(r=s.shapeArgs,t=s.getTranslate(),o.styledMode||(n=i.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(e.setRadialReference(i.center).attr(r).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}),s.delayedRendering=!1):(e.setRadialReference(i.center),o.styledMode||p(!0,a,n),p(!0,a,r,t),e.animate(a)),e.attr({visibility:s.visible?"inherit":"hidden"}),e.addClass(s.getClassName(),!0)):e&&(s.graphic=e.destroy())}))}sortByAngle(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))}translate(t){f(this,"translate"),this.generatePoints();let e,n,r,i,o,s,a,l=this.options,u=l.slicedOffset,d=c(l.startAngle,l.endAngle),h=this.startAngleRad=d.start,p=(this.endAngleRad=d.end)-h,m=this.points,g=l.ignoreHiddenPoint,v=m.length,b=0;for(t||(this.center=t=this.getCenter()),s=0;s<v;s++){a=m[s],e=h+b*p,a.isValid()&&(!g||a.visible)&&(b+=a.percentage/100),n=h+b*p;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*n)/1e3};a.shapeType="arc",a.shapeArgs=l,(r=(n+e)/2)>1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(r)*u),translateY:Math.round(Math.sin(r)*u)},i=Math.cos(r)*t[2]/2,o=Math.sin(r)*t[2]/2,a.tooltipPos=[t[0]+.7*i,t[1]+.7*o],a.half=r<-Math.PI/2||r>Math.PI/2?1:0,a.angle=r}f(this,"afterTranslate")}updateTotals(){let t,e,n=this.points,r=n.length,i=this.options.ignoreHiddenPoint,o=0;for(t=0;t<r;t++)(e=n[t]).isValid()&&(!i||e.visible)&&(o+=e.y);for(t=0,this.total=o;t<r;t++)(e=n[t]).percentage=o>0&&(e.visible||!i)?e.y/o*100:0,e.total=o}}return g.defaultOptions=p(o.defaultOptions,i),h(g.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:u,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:u,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",g),g})),n(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){var o;let{composed:s,noop:a}=e,{distribute:l}=n,{series:c}=r,{arrayMax:u,clamp:d,defined:h,pick:f,pushUnique:p,relativeLength:m}=i;return function(e){let n={radialDistributionY:function(t,e){return(e.dataLabelPosition?.top||0)+t.distributeBox.pos},radialDistributionX:function(t,e,n,r,i){let o=i.dataLabelPosition;return t.getX(n<(o?.top||0)+2||n>(o?.bottom||0)-2?r:n,e.half,e,i)},justify:function(t,e,n,r){return r[0]+(t.half?-1:1)*(n+(e.dataLabelPosition?.distance||0))},alignToPlotEdges:function(t,e,n,r){let i=t.getBBox().width;return e?i+r:n-i-r},alignToConnectors:function(t,e,n,r){let i,o=0;return t.forEach((function(t){(i=t.dataLabel.getBBox().width)>o&&(o=i)})),e?o+r:n-o-r}};function r(t,e){let{center:n,options:r}=this,i=n[2]/2,o=t.angle||0,s=Math.cos(o),a=Math.sin(o),l=n[0]+s*i,c=n[1]+a*i,u=Math.min((r.slicedOffset||0)+(r.borderWidth||0),e/5);return{natural:{x:l+s*e,y:c+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+s*u,y:c+a*u},touchingSliceAt:{x:l,y:c}},distance:e}}function i(){let t,e,n,r=this,i=r.points,o=r.chart,s=o.plotWidth,a=o.plotHeight,d=o.plotLeft,p=Math.round(o.chartWidth/3),g=r.center,v=g[2]/2,b=g[1],y=[[],[]],x=[0,0,0,0],w=r.dataLabelPositioners,k=0;r.visible&&r.hasDataLabels?.()&&(i.forEach((t=>{(t.dataLabels||[]).forEach((t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)}))})),c.prototype.drawDataLabels.apply(r),i.forEach((t=>{(t.dataLabels||[]).forEach(((e,n)=>{let r=g[2]/2,i=e.options,o=m(i?.distance||0,r);0===n&&y[t.half].push(t),!h(i?.style?.width)&&e.getBBox().width>p&&(e.css({width:Math.round(.7*p)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,o),k=Math.max(k,o)}))})),y.forEach(((t,i)=>{let c,u,p,m=t.length,y=[],_=0;m&&(r.sortByAngle(t,i-.5),k>0&&(c=Math.max(0,b-v-k),u=Math.min(b+v+k,o.plotHeight),t.forEach((t=>{(t.dataLabels||[]).forEach((e=>{let n=e.dataLabelPosition;n&&n.distance>0&&(n.top=Math.max(0,b-v-n.distance),n.bottom=Math.min(b+v+n.distance,o.plotHeight),_=e.getBBox().height||21,t.distributeBox={target:(e.dataLabelPosition?.natural.y||0)-n.top+_/2,size:_,rank:t.y},y.push(t.distributeBox))}))})),l(y,p=u+_-c,p/5)),t.forEach((o=>{(o.dataLabels||[]).forEach((l=>{let c=l.options||{},u=o.distributeBox,p=l.dataLabelPosition,m=p?.natural.y||0,b=c.connectorPadding||0,k=0,_=m,S="inherit";if(p){if(y&&h(u)&&p.distance>0&&(void 0===u.pos?S="hidden":(n=u.size,_=w.radialDistributionY(o,l))),c.justify)k=w.justify(o,l,v,g);else switch(c.alignTo){case"connectors":k=w.alignToConnectors(t,i,s,d);break;case"plotEdges":k=w.alignToPlotEdges(l,i,s,d);break;default:k=w.radialDistributionX(r,o,_,m,l)}if(p.attribs={visibility:S,align:p.alignment},p.posAttribs={x:k+(c.x||0)+({left:b,right:-b}[p.alignment]||0),y:_+(c.y||0)-l.getBBox().height/2},p.computed.x=k,p.computed.y=_,f(c.crop,!0)){let t;k-(e=l.getBBox().width)<b&&1===i?(t=Math.round(e-k+b),x[3]=Math.max(t,x[3])):k+e>s-b&&0===i&&(t=Math.round(k+e-s+b),x[1]=Math.max(t,x[1])),_-n/2<0?x[0]=Math.max(Math.round(n/2-_),x[0]):_+n/2>a&&(x[2]=Math.max(Math.round(_+n/2-a),x[2])),p.sideOverflow=t}}}))})))})),(0===u(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),this.points.forEach((e=>{(e.dataLabels||[]).forEach((n=>{let{connectorColor:i,connectorWidth:s=1}=n.options||{},a=n.dataLabelPosition;if(s){let l;t=n.connector,a&&a.distance>0?(l=!t,t||(n.connector=t=o.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(r.dataLabelsGroup)),o.styledMode||t.attr({"stroke-width":s,stroke:i||e.color||"#666666"}),t[l?"attr":"animate"]({d:e.getConnectorPath(n)}),t.attr({visibility:a.attribs?.visibility})):t&&(n.connector=t.destroy())}}))}))))}function o(){this.points.forEach((t=>{(t.dataLabels||[]).forEach((t=>{let e=t.dataLabelPosition;e?(e.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-e.sideOverflow,0)+"px",textOverflow:(t.options?.style||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(e.attribs),t[t.moved?"animate":"attr"](e.posAttribs),t.moved=!0):t&&t.attr({y:-9999})})),delete t.distributeBox}),this)}function g(t){let e=this.center,n=this.options,r=n.center,i=n.minSize||80,o=i,s=null!==n.size;return!s&&(null!==r[0]?o=Math.max(e[2]-Math.max(t[1],t[3]),i):(o=Math.max(e[2]-t[1]-t[3],i),e[0]+=(t[3]-t[1])/2),null!==r[1]?o=d(o,i,e[2]-Math.max(t[0],t[2])):(o=d(o,i,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),o<e[2]?(e[2]=o,e[3]=Math.min(n.thickness?Math.max(0,o-2*n.thickness):Math.max(0,m(n.innerSize||0,o)),o),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0),s}e.compose=function(e){if(t.compose(c),p(s,"PieDataLabel")){let t=e.prototype;t.dataLabelPositioners=n,t.alignDataLabel=a,t.drawDataLabels=i,t.getDataLabelPosition=r,t.placeDataLabels=o,t.verifyDataLabelOverflow=g}}}(o||(o={})),o})),n(e,"Extensions/OverlappingDataLabels.js",[e["Core/Utilities.js"]],(function(t){let{addEvent:e,fireEvent:n,objectEach:r,pick:i}=t;function o(t){let e,r,i,o,a,l=t.length,c=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),u=!1;for(let n=0;n<l;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){if(t&&(!t.alignAttr||t.placed)){let e=t.box?0:t.padding||0,n=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},r=t.getBBox();return t.width=r.width,t.height=r.height,{x:n.x+(t.parentGroup?.translateX||0)+e,y:n.y+(t.parentGroup?.translateY||0)+e,width:(t.width||0)-2*e,height:(t.height||0)-2*e}}}(e));t.sort(((t,e)=>(e.labelrank||0)-(t.labelrank||0)));for(let e=0;e<l;++e){o=(r=t[e])&&r.absoluteBox;for(let n=e+1;n<l;++n)a=(i=t[n])&&i.absoluteBox,o&&a&&r!==i&&0!==r.newOpacity&&0!==i.newOpacity&&"hidden"!==r.visibility&&"hidden"!==i.visibility&&c(o,a)&&((r.labelrank<i.labelrank?r:i).newOpacity=0)}for(let e of t)s(e,this)&&(u=!0);u&&n(this,"afterHideAllOverlappingLabels")}function s(t,e){let r,i,o=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.hasClass("highcharts-data-label")?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})},o=!0,t[t.isOld?"animate":"attr"]({opacity:i},void 0,r),n(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),o}function a(){let t=this,e=[];for(let n of t.labelCollectors||[])e=e.concat(n());for(let n of t.yAxis||[])n.stacking&&n.options.stackLabels&&!n.options.stackLabels.allowOverlap&&r(n.stacking.stacks,(t=>{r(t,(t=>{t.label&&e.push(t.label)}))}));for(let n of t.series||[])if(n.visible&&n.hasDataLabels?.()){let r=n=>{for(let r of n)r.visible&&(r.dataLabels||[]).forEach((n=>{let o=n.options||{};n.labelrank=i(o.labelrank,r.labelrank,r.shapeArgs?.height),o.allowOverlap??Number(o.distance)>0?(n.oldOpacity=n.opacity,n.newOpacity=1,s(n,t)):e.push(n)}))};r(n.nodes||[]),r(n.points)}this.hideOverlappingLabels(e)}return{compose:function(t){let n=t.prototype;n.hideOverlappingLabels||(n.hideOverlappingLabels=o,e(t,"render",a))}}})),n(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defaultOptions:r}=t,{noop:i}=e,{addEvent:o,extend:s,isObject:a,merge:l,relativeLength:c}=n,u={radius:0,scope:"stack",where:void 0},d=i,h=i;function f(t,e,n,r,i={}){let o=d(t,e,n,r,i),{innerR:s=0,r:a=n,start:l=0,end:u=0}=i;if(i.open||!i.borderRadius)return o;let h=u-l,f=Math.sin(h/2),p=Math.max(Math.min(c(i.borderRadius||0,a-s),(a-s)/2,a*f/(1+f)),0),m=Math.min(p,h/Math.PI*2*s),g=o.length-1;for(;g--;)!function(t,e,n){let r,i,o,s=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==s[0]&&"L"!==s[0]||"A"!==a[0]?"A"===s[0]&&("M"===a[0]||"L"===a[0])&&(r=a,i=s):(r=s,i=a,o=!0),r&&i&&i.params){let s=i[1],a=i[5],l=i.params,{start:c,end:u,cx:d,cy:h}=l,f=a?s-n:s+n,p=f?Math.asin(n/f):0,m=a?p:-p,g=Math.cos(p)*f;o?(l.start=c+m,r[1]=d+g*Math.cos(c),r[2]=h+g*Math.sin(c),t.splice(e+1,0,["A",n,n,0,0,1,d+s*Math.cos(l.start),h+s*Math.sin(l.start)])):(l.end=u-m,i[6]=d+s*Math.cos(l.end),i[7]=h+s*Math.sin(l.end),t.splice(e+1,0,["A",n,n,0,0,1,d+g*Math.cos(u),h+g*Math.sin(u)])),i[4]=Math.abs(l.end-l.start)<Math.PI?0:1}}(o,g,g>1?m:p);return o}function p(){if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:t,yAxis:e}=this,n="percent"===t.stacking,i=r.plotOptions?.[this.type]?.borderRadius,o=m(t.borderRadius,a(i)?i:{}),l=e.options.reversed;for(let r of this.points){let{shapeArgs:i}=r;if("roundedRect"===r.shapeType&&i){let{width:a=0,height:u=0,y:d=0}=i,h=d,f=u;if("stack"===o.scope&&r.stackTotal){let i=e.translate(n?100:r.stackTotal,!1,!0,!1,!0),o=e.translate(t.threshold||0,!1,!0,!1,!0),s=this.crispCol(0,Math.min(i,o),0,Math.abs(i-o));h=s.y,f=s.height}let p=(r.negative?-1:1)*(l?-1:1)==-1,m=o.where;!m&&this.is("waterfall")&&Math.abs((r.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(m="all"),m||(m="end");let g=Math.min(c(o.radius,a),a/2,"all"===m?u/2:1/0)||0;"end"===m&&(p&&(h-=g),f+=g),s(i,{brBoxHeight:f,brBoxY:h,r:g})}}}}function m(t,e){return a(t)||(t={radius:t||0}),l(u,e,t)}function g(){let t=m(this.options.borderRadius);for(let e of this.points){let n=e.shapeArgs;n&&(n.borderRadius=c(t.radius,(n.r||0)-(n.innerR||0)))}}function v(t,e,n,r,i={}){let o=h(t,e,n,r,i),{r:s=0,brBoxHeight:a=r,brBoxY:l=e}=i,c=e-l,u=l+a-(e+r),d=c-s>-.1?0:s,f=u-s>-.1?0:s,p=Math.max(d&&c,0),m=Math.max(f&&u,0),g=[t+d,e],v=[t+n-d,e],b=[t+n,e+d],y=[t+n,e+r-f],x=[t+n-f,e+r],w=[t+f,e+r],k=[t,e+r-f],_=[t,e+d],S=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(p){let t=S(d,d-p);g[0]-=t,v[0]+=t,b[1]=_[1]=e+d-p}if(r<d-p){let i=S(d,d-p-r);b[0]=y[0]=t+n-d+i,x[0]=Math.min(b[0],x[0]),w[0]=Math.max(y[0],w[0]),k[0]=_[0]=t+d-i,b[1]=_[1]=e+r}if(m){let t=S(f,f-m);x[0]+=t,w[0]-=t,y[1]=k[1]=e+r-f+m}if(r<f-m){let i=S(f,f-m-r);b[0]=y[0]=t+n-f+i,v[0]=Math.min(b[0],v[0]),g[0]=Math.max(y[0],g[0]),k[0]=_[0]=t+f-i,y[1]=k[1]=e}return o.length=0,o.push(["M",...g],["L",...v],["A",d,d,0,0,1,...b],["L",...y],["A",f,f,0,0,1,...x],["L",...w],["A",f,f,0,0,1,...k],["L",..._],["A",d,d,0,0,1,...g],["Z"]),o}return{compose:function(t,e,n){let r=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let i=n.prototype.symbols;o(t,"afterColumnTranslate",p,{order:9}),o(r,"afterTranslate",g),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),d=i.arc,h=i.roundedRect,i.arc=f,i.roundedRect=v}},optionsToObject:m}})),n(e,"Core/Responsive.js",[e["Core/Utilities.js"]],(function(t){var e;let{diffObjects:n,extend:r,find:i,merge:o,pick:s,uniqueKey:a}=t;return function(t){function e(t,e){let n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){let r,s=this.options.responsive,l=this.currentResponsive,c=[];!e&&s&&s.rules&&s.rules.forEach((t=>{void 0===t._id&&(t._id=a()),this.matchResponsiveRule(t,c)}),this);let u=o(...c.map((t=>i((s||{}).rules||[],(e=>e._id===t)))).map((t=>t&&t.chartOptions)));u.isResponsiveOptions=!0,c=c.toString()||void 0;let d=l&&l.ruleIds;c!==d&&(l&&this.update(l.undoOptions,t,!0),c?((r=n(u,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:c,mergedOptions:u,undoOptions:r},this.update(u,t,!0)):this.currentResponsive=void 0)}t.compose=function(t){let n=t.prototype;return n.matchResponsiveRule||r(n,{matchResponsiveRule:e,setResponsive:l}),t}}(e||(e={})),e})),n(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],(function(t,e,n,r,i,o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A,T,E,D,P,j,L,I){return t.AST=o,t.Axis=h,t.Chart=k,t.Color=L,t.DataLabel=E,t.Fx=r,t.HTMLElement=d,t.Legend=x,t.LegendSymbol=w,t.OverlappingDataLabels=t.OverlappingDataLabels||D,t.PlotLineOrBand=m,t.Point=b,t.Pointer=y,t.RendererRegistry=a,t.Series=M,t.SeriesRegistry=C,t.StackItem=O,t.SVGElement=c,t.SVGRenderer=u,t.Templating=s,t.Tick=g,t.Time=I,t.Tooltip=v,t.animate=i.animate,t.animObject=i.animObject,t.chart=k.chart,t.color=L.parse,t.dateFormat=s.dateFormat,t.defaultOptions=n.defaultOptions,t.distribute=l.distribute,t.format=s.format,t.getDeferredAnimation=i.getDeferredAnimation,t.getOptions=n.getOptions,t.numberFormat=s.numberFormat,t.seriesType=C.seriesType,t.setAnimation=i.setAnimation,t.setOptions=n.setOptions,t.stop=i.stop,t.time=n.defaultTime,t.timers=r.timers,P.compose(t.Series,t.SVGElement,t.SVGRenderer),A.compose(t.Series.types.column),E.compose(t.Series),f.compose(t.Axis),d.compose(t.SVGRenderer),x.compose(t.Chart),p.compose(t.Axis),D.compose(t.Chart),T.compose(t.Series.types.pie),m.compose(t.Axis),y.compose(t.Chart),j.compose(t.Chart),_.compose(t.Axis,t.Chart,t.Series),S.compose(t.Axis,t.Chart,t.Series),v.compose(t.Pointer),e.extend(t,e),t})),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]},t.exports?(o.default=o,t.exports=i&&i.document?o(i):o):void 0===(r=function(){return o(i)}.call(e,n,e,t))||(t.exports=r)},19182:function(t,e,n){var r,i,o;i="undefined"!=typeof window?window:this,o=function(t){"use strict";var e={};function n(e,n,r,i){e.hasOwnProperty(n)||(e[n]=i.apply(null,r),"function"==typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}return n(e,"Core/Globals.js",[],(function(){var e,n;return(n=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.3",n.win=void 0!==t?t:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=-1!==n.userAgent.indexOf("Chrome"),n.isFirefox=-1!==n.userAgent.indexOf("Firefox"),n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari"),n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit"),n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let t=!1;if(!n.isMS){let e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e})),n(e,"Core/Utilities.js",[e["Core/Globals.js"]],(function(t){let e,{charts:n,doc:r,win:i}=t;function o(e,n,r,s){let a=n?"Highcharts error":"Highcharts warning";32===e&&(e=`${a}: Deprecated member`);let l=h(e),c=l?`${a} #${e}: www.highcharts.com/errors/${e}/`:e.toString();if(void 0!==s){let t="";l&&(c+="?"),k(s,(function(e,n){t+=`\n - ${n}: ${e}`,l&&(c+=encodeURI(n)+"="+encodeURI(e))})),c+=t}S(t,"displayError",{chart:r,code:e,message:c,params:s},(function(){if(n)throw Error(c);i.console&&-1===o.messages.indexOf(c)&&console.warn(c)})),o.messages.push(c)}function s(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function l(t){let e=Object.prototype.toString.call(t);return"[object Array]"===e||"[object Array Iterator]"===e}function c(t,e){return!(!t||"object"!=typeof t||e&&l(t))}function u(t){return c(t)&&"number"==typeof t.nodeType}function d(t){let e=t&&t.constructor;return!(!c(t,!0)||u(t)||!e||!e.name||"Object"===e.name)}function h(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&t>-1/0}function f(t){return null!=t}function p(t,e,n){let r,i=a(e)&&!f(n),o=(e,n)=>{f(e)?t.setAttribute(n,e):i?(r=t.getAttribute(n))||"class"!==n||(r=t.getAttribute(n+"Name")):t.removeAttribute(n)};return a(e)?o(n,e):k(e,o),r}function m(t){return l(t)?t:[t]}function g(t,e){let n;for(n in t||(t={}),e)t[n]=e[n];return t}function v(){let t=arguments,e=t.length;for(let n=0;n<e;n++){let e=t[n];if(null!=e)return e}}function b(t,e){g(t.style,e)}function y(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function x(t,e){return t>1e14?t:parseFloat(t.toPrecision(e||14))}(o||(o={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};let w=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){let n,r=t.length;for(n=0;n<r;n++)if(e(t[n],n))return t[n]};function k(t,e,n){for(let r in t)Object.hasOwnProperty.call(t,r)&&e.call(n||t[r],t[r],r,t)}function _(t,e,n){function r(e,n){let r=t.removeEventListener;r&&r.call(t,e,n,!1)}function i(n){let i,o;t.nodeName&&(e?(i={})[e]=!0:i=n,k(i,(function(t,e){if(n[e])for(o=n[e].length;o--;)r(e,n[e][o].fn)})))}let o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){let t=o.hcEvents;if(e){let o=t[e]||[];n?(t[e]=o.filter((function(t){return n!==t.fn})),r(e,n)):(i(t),t[e]=[])}else i(t),delete o.hcEvents}}function S(e,n,i,o){if(i=i||{},r.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){let t=r.createEvent("Events");t.initEvent(n,!0,!0),i=g(t,i),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(n,i)}else if(e.hcEvents){i.target||g(i,{preventDefault:function(){i.defaultPrevented=!0},target:e,type:n});let t=[],r=e,o=!1;for(;r.hcEvents;)Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents[n]&&(t.length&&(o=!0),t.unshift.apply(t,r.hcEvents[n])),r=Object.getPrototypeOf(r);o&&t.sort(((t,e)=>t.order-e.order)),t.forEach((t=>{!1===t.fn.call(e,i)&&i.preventDefault()}))}o&&!i.defaultPrevented&&o.call(e,i)}k({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(e,n){t[n]=function(t){return o(32,!1,void 0,{[`Highcharts.${n}`]:`use Array.${e}`}),Array.prototype[e].apply(t,[].slice.call(arguments,1))}}));let O=function(){let t=Math.random().toString(36).substring(2,9)+"-",n=0;return function(){return"highcharts-"+(e?"":t)+n++}}();return i.jQuery&&(i.jQuery.fn.highcharts=function(){let e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[a(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):n[p(this[0],"data-highcharts-chart")]}),{addEvent:function(e,n,r,i={}){let o="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={});let s=o.hcEvents;t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let a=e.addEventListener;a&&a.call(e,n,r,!!t.supportsPassiveEvents&&{passive:void 0===i.passive?-1!==n.indexOf("touch"):i.passive,capture:!1}),s[n]||(s[n]=[]);let l={fn:r,order:"number"==typeof i.order?i.order:1/0};return s[n].push(l),s[n].sort(((t,e)=>t.order-e.order)),function(){_(e,n,r)}},arrayMax:function(t){let e=t.length,n=t[0];for(;e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){let e=t.length,n=t[0];for(;e--;)t[e]<n&&(n=t[e]);return n},attr:p,clamp:function(t,e,n){return t>e?t<n?t:n:e},clearTimeout:function(t){f(t)&&clearTimeout(t)},correctFloat:x,createElement:function(t,e,n,i,o){let s=r.createElement(t);return e&&g(s,e),o&&b(s,{padding:"0",border:"none",margin:"0"}),n&&b(s,n),i&&i.appendChild(s),s},crisp:(t,e=0,n)=>{let r=e%2/2,i=n?-1:1;return(Math.round(t*i-r)+r)*i},css:b,defined:f,destroyObjectProperties:function(t,e,n){k(t,(function(r,i){r!==e&&r?.destroy&&r.destroy(),(r?.destroy||!n)&&delete t[i]}))},diffObjects:function(t,e,n,r){let i={};return function t(e,i,o,s){let a=n?i:e;k(e,(function(n,u){if(!s&&r&&r.indexOf(u)>-1&&i[u]){n=m(n),o[u]=[];for(let e=0;e<Math.max(n.length,i[u].length);e++)i[u][e]&&(void 0===n[e]?o[u][e]=i[u][e]:(o[u][e]={},t(n[e],i[u][e],o[u][e],s+1)))}else c(n,!0)&&!n.nodeType?(o[u]=l(n)?[]:{},t(n,i[u]||{},o[u],s+1),0!==Object.keys(o[u]).length||"colorAxis"===u&&0===s||delete o[u]):(e[u]!==i[u]||u in e&&!(u in i))&&"__proto__"!==u&&"constructor"!==u&&(o[u]=a[u])}))}(t,e,i,0),i},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){let n=t.length;for(;n--;)if(t[n]===e){t.splice(n,1);break}},error:o,extend:g,extendClass:function(t,e){let n=function(){};return g(n.prototype=new t,e),n},find:w,fireEvent:S,getClosestDistance:function(t,e){let n,r,i,o,s=!e;return t.forEach((t=>{if(t.length>1)for(o=r=t.length-1;o>0;o--)(i=t[o]-t[o-1])<0&&!s?(e?.(),e=void 0):i&&(void 0===n||i<n)&&(n=i)})),n},getMagnitude:y,getNestedProperty:function(t,e){let n=t.split(".");for(;n.length&&f(e);){let t=n.shift();if(void 0===t||"__proto__"===t)return;if("this"===t){let t;return c(e)&&(t=e["@this"]),t??e}let r=e[t];if(!f(r)||"function"==typeof r||"number"==typeof r.nodeType||r===i)return;e=r}return e},getStyle:function t(e,n,r){let o;if("width"===n){let n=Math.min(e.offsetWidth,e.scrollWidth),r=e.getBoundingClientRect&&e.getBoundingClientRect().width;return r<n&&r>=n-1&&(n=Math.floor(r)),Math.max(0,n-(t(e,"padding-left",!0)||0)-(t(e,"padding-right",!0)||0))}if("height"===n)return Math.max(0,Math.min(e.offsetHeight,e.scrollHeight)-(t(e,"padding-top",!0)||0)-(t(e,"padding-bottom",!0)||0));let a=i.getComputedStyle(e,void 0);return a&&(o=a.getPropertyValue(n),v(r,"opacity"!==n)&&(o=s(o))),o},inArray:function(t,e,n){return o(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),e.indexOf(t,n)},insertItem:function(t,e){let n,r=t.options.index,i=e.length;for(n=t.options.isInternal?i:0;n<i+1;n++)if(!e[n]||h(r)&&r<v(e[n].options.index,e[n]._i)||e[n].options.isInternal){e.splice(n,0,t);break}return n},isArray:l,isClass:d,isDOMElement:u,isFunction:function(t){return"function"==typeof t},isNumber:h,isObject:c,isString:a,keys:function(t){return o(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){let t,e=arguments,n={},r=function(t,e){return"object"!=typeof t&&(t={}),k(e,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!c(n,!0)||d(n)||u(n)?t[i]=e[i]:t[i]=r(t[i]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));let i=e.length;for(t=0;t<i;t++)n=r(n,e[t]);return n},normalizeTickInterval:function(t,e,n,r,i){let o,s=t,a=t/(n=v(n,y(t)));for(!e&&(e=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===n?e=e.filter((function(t){return t%1==0})):n<=.1&&(e=[1/n]))),o=0;o<e.length&&(s=e[o],(!i||!(s*n>=t))&&(i||!(a<=(e[o]+(e[o+1]||e[o]))/2)));o++);return x(s*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:k,offset:function(t){let e=r.documentElement,n=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:n.width,height:n.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:v,pInt:s,pushUnique:function(t,e){return 0>t.indexOf(e)&&!!t.push(e)},relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:_,replaceNested:function(t,...e){let n,r;do{for(r of(n=t,e))t=t.replace(r[0],r[1])}while(t!==n);return t},splat:m,stableSort:function(t,e){let n,r,i=t.length;for(r=0;r<i;r++)t[r].safeI=r;for(t.sort((function(t,r){return 0===(n=e(t,r))?t.safeI-r.safeI:n})),r=0;r<i;r++)delete t[r].safeI},syncTimeout:function(t,e,n){return e>0?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:O,useSerialIds:function(t){return e=v(t,e)},wrap:function(t,e,n){let r=t[e];t[e]=function(){let t=arguments,e=this;return n.apply(this,[function(){return r.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))}}}})),n(e,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),n(e,"Core/Color/Palettes.js",[],(function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}})),n(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{win:n}=t,{defined:r,error:i,extend:o,isNumber:s,isObject:a,merge:l,objectEach:c,pad:u,pick:d,splat:h,timeUnits:f}=e,p=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,m=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;class g{constructor(t){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}get(t,e){if(this.variableTimezone||this.timezoneOffset){let n=e.getTime(),r=n-this.getTimezoneOffset(e);e.setTime(r);let i=e["getUTC"+t]();return e.setTime(n),i}return this.useUTC?e["getUTC"+t]():e["get"+t]()}set(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&this.getTimezoneOffset(e)%36e5==0)return e["setUTC"+t](n);let r=this.getTimezoneOffset(e),i=e.getTime()-r;e.setTime(i),e["setUTC"+t](n);let o=this.getTimezoneOffset(e);return i=e.getTime()+o,e.setTime(i)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)}update(t={}){let e=d(t.useUTC,!0);this.options=t=l(!0,this.options,t),this.Date=t.Date||n.Date||Date,this.useUTC=e,this.timezoneOffset=e&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)}makeTime(t,e,n,r,i,o){let s,a,l;return this.useUTC?(s=this.Date.UTC.apply(0,arguments),a=this.getTimezoneOffset(s),s+=a,a!==(l=this.getTimezoneOffset(s))?s+=l-a:a-36e5!==this.getTimezoneOffset(s-36e5)||m||(s-=36e5)):s=new this.Date(t,e,d(n,1),d(r,0),d(i,0),d(o,0)).getTime(),s}timezoneOffsetFunction(){let t=this,e=this.options,n=e.getTimezoneOffset;return this.useUTC?e.timezone?t=>{try{let n=`shortOffset,${e.timezone||""}`,[r,i,o,a,l=0]=(g.formatCache[n]=g.formatCache[n]||Intl.DateTimeFormat("en",{timeZone:e.timezone,timeZoneName:"shortOffset"})).format(t).split(/(GMT|:)/).map(Number),c=-36e5*(o+l/60);if(s(c))return c}catch(t){i(34)}return 0}:this.useUTC&&n?t=>6e4*n(t.valueOf()):()=>6e4*(t.timezoneOffset||0):t=>6e4*new Date(t.toString()).getTimezoneOffset()}dateFormat(e,n,i){if(!r(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=d(e,"%Y-%m-%d %H:%M:%S");let s=this,a=new this.Date(n),l=this.get("Hours",a),h=this.get("Day",a),f=this.get("Date",a),p=this.get("Month",a),m=this.get("FullYear",a),g=t.defaultOptions.lang,v=g&&g.weekdays,b=g&&g.shortWeekdays;return c(o({a:b?b[h]:v[h].substr(0,3),A:v[h],d:u(f),e:u(f,2," "),w:h,b:g.shortMonths[p],B:g.months[p],m:u(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:u(l),k:l,I:u(l%12||12),l:l%12||12,M:u(this.get("Minutes",a)),p:l<12?"AM":"PM",P:l<12?"am":"pm",S:u(this.get("Seconds",a)),L:u(Math.floor(n%1e3),3)},t.dateFormats),(function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof t?t.call(s,n):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e}resolveDTLFormat(t){return a(t,!0)?t:{main:(t=h(t))[0],from:t[1],to:t[2]}}getTimeTicks(t,e,n,i){let s,a,l,c,u=this,h=u.Date,p=[],m={},g=new h(e),v=t.unitRange,b=t.count||1;if(i=d(i,1),r(e)){u.set("Milliseconds",g,v>=f.second?0:b*Math.floor(u.get("Milliseconds",g)/b)),v>=f.second&&u.set("Seconds",g,v>=f.minute?0:b*Math.floor(u.get("Seconds",g)/b)),v>=f.minute&&u.set("Minutes",g,v>=f.hour?0:b*Math.floor(u.get("Minutes",g)/b)),v>=f.hour&&u.set("Hours",g,v>=f.day?0:b*Math.floor(u.get("Hours",g)/b)),v>=f.day&&u.set("Date",g,v>=f.month?1:Math.max(1,b*Math.floor(u.get("Date",g)/b))),v>=f.month&&(u.set("Month",g,v>=f.year?0:b*Math.floor(u.get("Month",g)/b)),a=u.get("FullYear",g)),v>=f.year&&(a-=a%b,u.set("FullYear",g,a)),v===f.week&&(c=u.get("Day",g),u.set("Date",g,u.get("Date",g)-c+i+(c<i?-7:0))),a=u.get("FullYear",g);let t=u.get("Month",g),o=u.get("Date",g),d=u.get("Hours",g);e=g.getTime(),(u.variableTimezone||!u.useUTC)&&r(n)&&(l=n-e>4*f.month||u.getTimezoneOffset(e)!==u.getTimezoneOffset(n));let h=g.getTime();for(s=1;h<n;)p.push(h),v===f.year?h=u.makeTime(a+s*b,0):v===f.month?h=u.makeTime(a,t+s*b):!l||v!==f.day&&v!==f.week?l&&v===f.hour&&b>1?h=u.makeTime(a,t,o,d+s*b):h+=v*b:h=u.makeTime(a,t,o+s*b*(v===f.day?1:7)),s++;p.push(h),v<=f.hour&&p.length<1e4&&p.forEach((function(t){t%18e5==0&&"000000000"===u.dateFormat("%H%M%S%L",t)&&(m[t]="day")}))}return p.info=o(t,{higherRanks:m,totalRange:v*b}),p}getDateFormat(t,e,n,r){let i=this.dateFormat("%m-%d %H:%M:%S.%L",e),o="01-01 00:00:00.000",s={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond",l=a;for(a in f){if(t===f.week&&+this.dateFormat("%w",e)===n&&i.substr(6)===o.substr(6)){a="week";break}if(f[a]>t){a=l;break}if(s[a]&&i.substr(s[a])!==o.substr(s[a]))break;"week"!==a&&(l=a)}return this.resolveDTLFormat(r[a]).main}}return g.formatCache={},g})),n(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){let{isTouchDevice:o}=e,{fireEvent:s,merge:a}=i,l={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:t=>Math.sqrt(1-Math.pow(t-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:o?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};l.chart.styledMode=!1;let c=new r(l.time);return{defaultOptions:l,defaultTime:c,getOptions:function(){return l},setOptions:function(t){return s(e,"setOptions",{options:t}),a(!0,l,t),(t.time||t.global)&&(e.time?e.time.update(a(l.global,l.time,t.global,t.time)):e.time=c),l}}})),n(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{isNumber:n,merge:r,pInt:i}=e;class o{static parse(t){return t?new o(t):o.None}constructor(e){let n,r,i,s;this.rgba=[NaN,NaN,NaN,NaN],this.input=e;let a=t.Color;if(a&&a!==o)return new a(e);if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map((t=>new o(t[1])));else if("string"==typeof e){if(this.input=e=o.names[e.toLowerCase()]||e,"#"===e.charAt(0)){let t=e.length,n=parseInt(e.substr(1),16);7===t?r=[(16711680&n)>>16,(65280&n)>>8,255&n,1]:4===t&&(r=[(3840&n)>>4|(3840&n)>>8,(240&n)>>4|240&n,(15&n)<<4|15&n,1])}if(!r)for(i=o.parsers.length;i--&&!r;)(n=(s=o.parsers[i]).regex.exec(e))&&(r=s.parse(n))}r&&(this.rgba=r)}get(t){let e=this.input,i=this.rgba;if("object"==typeof e&&void 0!==this.stops){let n=r(e);return n.stops=[].slice.call(n.stops),this.stops.forEach(((e,r)=>{n.stops[r]=[n.stops[r][0],e.get(t)]})),n}return i&&n(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?`${i[3]}`:"rgba("+i.join(",")+")":e}brighten(t){let e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(let n=0;n<3;n++)e[n]+=i(255*t),e[n]<0&&(e[n]=0),e[n]>255&&(e[n]=255);return this}setOpacity(t){return this.rgba[3]=t,this}tweenTo(t,e){let r=this.rgba,i=t.rgba;if(!n(r[0])||!n(i[0]))return t.input||"none";let o=1!==i[3]||1!==r[3];return(o?"rgba(":"rgb(")+Math.round(i[0]+(r[0]-i[0])*(1-e))+","+Math.round(i[1]+(r[1]-i[1])*(1-e))+","+Math.round(i[2]+(r[2]-i[2])*(1-e))+(o?","+(i[3]+(r[3]-i[3])*(1-e)):"")+")"}}return o.names={white:"#ffffff",black:"#000000"},o.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),1]}}],o.None=new o(""),o})),n(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{parse:r}=t,{win:i}=e,{isNumber:o,objectEach:s}=n;class a{constructor(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}dSetter(){let t=this.paths,e=t&&t[0],n=t&&t[1],r=this.now||0,i=[];if(1!==r&&e&&n)if(e.length===n.length&&r<1)for(let t=0;t<n.length;t++){let s=e[t],a=n[t],l=[];for(let t=0;t<a.length;t++){let e=s[t],n=a[t];o(e)&&o(n)&&("A"!==a[0]||4!==t&&5!==t)?l[t]=e+r*(n-e):l[t]=n}i.push(l)}else i=n;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)}update(){let t=this.elem,e=this.prop,n=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,r&&r.call(t,n,this)}run(t,e,n){let r=this,o=r.options,s=function(t){return!s.stopped&&r.step(t)},l=i.requestAnimationFrame||function(t){setTimeout(t,13)},c=function(){for(let t=0;t<a.timers.length;t++)a.timers[t]()||a.timers.splice(t--,1);a.timers.length&&l(c)};t!==e||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===a.timers.push(s)&&l(c)):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))}step(t){let e,n,r=+new Date,i=this.options,o=this.elem,a=i.complete,l=i.duration,c=i.curAnim;return o.attr&&!o.element?e=!1:t||r>=l+this.startTime?(this.now=this.end,this.pos=1,this.update(),c[this.prop]=!0,n=!0,s(c,(function(t){!0!==t&&(n=!1)})),n&&a&&a.call(o),e=!1):(this.pos=i.easing((r-this.startTime)/l),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(t,e,n){let r,i,s,a,l=t.startX,c=t.endX,u=n.slice(),d=t.isArea,h=d?2:1,f=e&&e.slice();if(!f)return[u,u];function p(t,e){for(;t.length<i;){let n=t[0],r=e[i-t.length];if(r&&"M"===n[0]&&("C"===r[0]?t[0]=["C",n[1],n[2],n[1],n[2],n[1],n[2]]:t[0]=["L",n[1],n[2]]),t.unshift(n),d){let e=t.pop();t.push(t[t.length-1],e)}}}function m(t){for(;t.length<i;){let e=t[Math.floor(t.length/h)-1].slice();if("C"===e[0]&&(e[1]=e[5],e[2]=e[6]),d){let n=t[Math.floor(t.length/h)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}}if(l&&c&&c.length){for(s=0;s<l.length;s++){if(l[s]===c[0]){r=s;break}if(l[0]===c[c.length-l.length+s]){r=s,a=!0;break}if(l[l.length-1]===c[c.length-l.length+s]){r=l.length-s;break}}void 0===r&&(f=[])}return f.length&&o(r)&&(i=u.length+r*h,a?(p(f,u),m(u)):(p(u,f),m(f))),[f,u]}fillSetter(){a.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,r(this.start).tweenTo(r(this.end),this.pos),void 0,!0)}}return a.timers=[],a})),n(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,getStyle:r,isArray:i,isNumber:o,isObject:s,merge:a,objectEach:l,pick:c}=e;function u(t){return s(t)?a({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function d(e,n){let r=t.timers.length;for(;r--;)t.timers[r].elem!==e||n&&n!==t.timers[r].prop||(t.timers[r].stopped=!0)}return{animate:function(e,n,c){let u,h,f,p,m="";s(c)||(p=arguments,c={duration:p[2],easing:p[3],complete:p[4]}),o(c.duration)||(c.duration=400),c.easing="function"==typeof c.easing?c.easing:Math[c.easing]||Math.easeInOutSine,c.curAnim=a(n),l(n,(function(o,s){d(e,s),f=new t(e,c,s),h=void 0,"d"===s&&i(n.d)?(f.paths=f.initPath(e,e.pathArray,n.d),f.toD=n.d,u=0,h=1):e.attr?u=e.attr(s):(u=parseFloat(r(e,s))||0,"opacity"!==s&&(m="px")),h||(h=o),"string"==typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),f.run(u,h,m)}))},animObject:u,getDeferredAnimation:function(t,e,r){let i=u(e),o=r?[r]:t.series,a=0,l=0;return o.forEach((t=>{let r=u(t.options.animation);a=s(e)&&n(e.defer)?i.defer:Math.max(a,r.duration+r.defer),l=Math.min(i.duration,r.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-l),duration:Math.min(a,l)}},setAnimation:function(t,e){e.renderer.globalAnimation=c(t,e.options.chart.animation,!0)},stop:d}})),n(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{SVG_NS:n,win:r}=t,{attr:i,createElement:o,css:s,error:a,isFunction:l,isString:c,objectEach:u,splat:d}=e,{trustedTypes:h}=r,f=h&&l(h.createPolicy)&&h.createPolicy("highcharts",{createHTML:t=>t}),p=f?f.createHTML(""):"",m=function(){try{return!!(new DOMParser).parseFromString(p,"text/html")}catch(t){return!1}}();class g{static filterUserAttributes(t){return u(t,((e,n)=>{let r=!0;-1===g.allowedAttributes.indexOf(n)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(r=c(e)&&g.allowedReferences.some((t=>0===e.indexOf(t)))),r||(a(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete t[n]),c(e)&&t[n]&&(t[n]=e.replace(/</g,"&lt;"))})),t}static parseStyle(t){return t.split(";").reduce(((t,e)=>{let n=e.split(":").map((t=>t.trim())),r=n.shift();return r&&n.length&&(t[r.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]=n.join(":")),t}),{})}static setElementHTML(t,e){t.innerHTML=g.emptyHTML,e&&new g(e).addToDOM(t)}constructor(t){this.nodes="string"==typeof t?this.parseMarkup(t):t}addToDOM(e){return function e(r,o){let l;return d(r).forEach((function(r){let c,d=r.tagName,h=r.textContent?t.doc.createTextNode(r.textContent):void 0,f=g.bypassHTMLFiltering;if(d)if("#text"===d)c=h;else if(-1!==g.allowedTags.indexOf(d)||f){let a="svg"===d?n:o.namespaceURI||n,l=t.doc.createElementNS(a,d),p=r.attributes||{};u(r,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(p[e]=t)})),i(l,f?p:g.filterUserAttributes(p)),r.style&&s(l,r.style),h&&l.appendChild(h),e(r.children||[],l),c=l}else a(33,!1,void 0,{"Invalid tagName in config":d});c&&o.appendChild(c),l=c})),l}(this.nodes,e)}parseMarkup(t){let e,n=[];if(t=t.trim().replace(/ style=(["'])/g," data-style=$1"),m)e=(new DOMParser).parseFromString(f?f.createHTML(t):t,"text/html");else{let n=o("div");n.innerHTML=t,e={body:n}}let r=(t,e)=>{let n=t.nodeName.toLowerCase(),i={tagName:n};"#text"===n&&(i.textContent=t.textContent||"");let o=t.attributes;if(o){let t={};[].forEach.call(o,(e=>{"data-style"===e.name?i.style=g.parseStyle(e.value):t[e.name]=e.value})),i.attributes=t}if(t.childNodes.length){let e=[];[].forEach.call(t.childNodes,(t=>{r(t,e)})),e.length&&(i.children=e)}e.push(i)};return[].forEach.call(e.body.childNodes,(t=>r(t,n))),n}}return g.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","markerHeight","markerWidth","offset","opacity","orient","padding","paddingLeft","paddingRight","patternUnits","r","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],g.allowedReferences=["https://","http://","mailto:","/","../","./","#"],g.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feDropShadow","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],g.emptyHTML=p,g.bypassHTMLFiltering=!1,g})),n(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],(function(t,e){let{defaultOptions:n,defaultTime:r}=t,{extend:i,getNestedProperty:o,isArray:s,isNumber:a,isObject:l,pick:c,pInt:u}=e,d={add:(t,e)=>t+e,divide:(t,e)=>0!==e?t/e:"",eq:(t,e)=>t==e,each:function(t){let e=arguments[arguments.length-1];return!!s(t)&&t.map(((n,r)=>h(e.body,i(l(n)?n:{"@this":n},{"@index":r,"@first":0===r,"@last":r===t.length-1})))).join("")},ge:(t,e)=>t>=e,gt:(t,e)=>t>e,if:t=>!!t,le:(t,e)=>t<=e,lt:(t,e)=>t<e,multiply:(t,e)=>t*e,ne:(t,e)=>t!=e,subtract:(t,e)=>t-e,unless:t=>!t};function h(t="",e,i){let s,a,l,u=/\{([a-zA-Z0-9\:\.\,;\-\/<>%_@"'= #\(\)]+)\}/g,p=/\(([a-zA-Z0-9\:\.\,;\-\/<>%_@"'= ]+)\)/g,m=[],g=/f$/,v=/\.([0-9])/,b=n.lang,y=i&&i.time||r,x=i&&i.numberFormatter||f,w=(t="")=>{let n;return"true"===t||"false"!==t&&((n=Number(t)).toString()===t?n:o(t,e))},k=0;for(;null!==(s=u.exec(t));){let n=p.exec(s[1]);n&&(s=n,l=!0),a&&a.isBlock||(a={ctx:e,expression:s[1],find:s[0],isBlock:"#"===s[1].charAt(0),start:s.index,startInner:s.index+s[0].length,length:s[0].length});let r=s[1].split(" ")[0].replace("#","");d[r]&&(a.isBlock&&r===a.fn&&k++,a.fn||(a.fn=r));let i="else"===s[1];if(a.isBlock&&a.fn&&(s[1]===`/${a.fn}`||i))if(k)!i&&k--;else{let e=a.startInner,n=t.substr(e,s.index-e);void 0===a.body?(a.body=n,a.startInner=s.index+s[0].length):a.elseBody=n,a.find+=n+s[0],i||(m.push(a),a=void 0)}else a.isBlock||m.push(a);if(n&&!a?.isBlock)break}return m.forEach((n=>{let r,o,{body:s,elseBody:a,expression:l,fn:u}=n;if(u){let t=[n],c=l.split(" ");for(o=d[u].length;o--;)t.unshift(w(c[o+1]));r=d[u].apply(e,t),n.isBlock&&"boolean"==typeof r&&(r=h(r?s:a,e,i))}else{let t=l.split(":");if(r=w(t.shift()||""),t.length&&"number"==typeof r){let e=t.join(":");if(g.test(e)){let t=parseInt((e.match(v)||["","-1"])[1],10);null!==r&&(r=x(r,t,b.decimalPoint,e.indexOf(",")>-1?b.thousandsSep:""))}else r=y.dateFormat(e,r)}}t=t.replace(n.find,c(r,""))})),l?h(t,e,i):t}function f(t,e,r,i){let o,s;t=+t||0,e=+e;let l=n.lang,d=(t.toString().split(".")[1]||"").split("e")[0].length,h=t.toString().split("e"),f=e;-1===e?e=Math.min(d,20):a(e)?e&&h[1]&&h[1]<0&&((s=e+ +h[1])>=0?(h[0]=(+h[0]).toExponential(s).split("e")[0],e=s):(h[0]=h[0].split(".")[0]||0,t=e<20?(h[0]*Math.pow(10,h[1])).toFixed(e):0,h[1]=0)):e=2;let p=(Math.abs(h[1]?h[0]:t)+Math.pow(10,-Math.max(e,d)-1)).toFixed(e),m=String(u(p)),g=m.length>3?m.length%3:0;return r=c(r,l.decimalPoint),i=c(i,l.thousandsSep),o=(t<0?"-":"")+(g?m.substr(0,g)+i:""),0>+h[1]&&!f?o="0":o+=m.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+i),e?o+=r+p.slice(-e):0==+o&&(o="0"),h[1]&&0!=+o&&(o+="e"+h[1]),o}return{dateFormat:function(t,e,n){return r.dateFormat(t,e,n)},format:h,helpers:d,numberFormat:f}})),n(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],(function(t){var e,n;let r;return(n=e||(e={})).rendererTypes={},n.getRendererType=function(t=r){return n.rendererTypes[t]||n.rendererTypes[r]},n.registerRendererType=function(e,i,o){n.rendererTypes[e]=i,(!r||o)&&(r=e,t.Renderer=i)},e})),n(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],(function(t){var e;let{clamp:n,pick:r,pushUnique:i,stableSort:o}=t;return(e||(e={})).distribute=function t(e,s,a){let l,c,u,d,h,f,p=e,m=p.reducedLen||s,g=(t,e)=>t.target-e.target,v=[],b=e.length,y=[],x=v.push,w=!0,k=0;for(l=b;l--;)k+=e[l].size;if(k>m){for(o(e,((t,e)=>(e.rank||0)-(t.rank||0))),u=(f=e[0].rank===e[e.length-1].rank)?b/2:-1,c=f?u:b-1;u&&k>m;)d=e[l=Math.floor(c)],i(y,l)&&(k-=d.size),c+=u,f&&c>=e.length&&(u/=2,c=u);y.sort(((t,e)=>e-t)).forEach((t=>x.apply(v,e.splice(t,1))))}for(o(e,g),e=e.map((t=>({size:t.size,targets:[t.target],align:r(t.align,.5)})));w;){for(l=e.length;l--;)d=e[l],h=(Math.min.apply(0,d.targets)+Math.max.apply(0,d.targets))/2,d.pos=n(h-d.size*d.align,0,s-d.size);for(l=e.length,w=!1;l--;)l>0&&e[l-1].pos+e[l-1].size>e[l].pos&&(e[l-1].size+=e[l].size,e[l-1].targets=e[l-1].targets.concat(e[l].targets),e[l-1].align=.5,e[l-1].pos+e[l-1].size>s&&(e[l-1].pos=s-e[l-1].size),e.splice(l,1),w=!0)}return x.apply(p,v),l=0,e.some((e=>{let n=0;return(e.targets||[]).some((()=>(p[l].pos=e.pos+n,void 0!==a&&Math.abs(p[l].pos-p[l].target)>a?(p.slice(0,l+1).forEach((t=>delete t.pos)),p.reducedLen=(p.reducedLen||s)-.1*s,p.reducedLen>.1*s&&t(p,s,a),!0):(n+=p[l].size,l++,!1))))})),o(p,g),p},e})),n(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let{animate:i,animObject:o,stop:s}=t,{deg2rad:a,doc:l,svg:c,SVG_NS:u,win:d}=n,{addEvent:h,attr:f,createElement:p,crisp:m,css:g,defined:v,erase:b,extend:y,fireEvent:x,isArray:w,isFunction:k,isObject:_,isString:S,merge:O,objectEach:M,pick:C,pInt:A,pushUnique:T,replaceNested:E,syncTimeout:D,uniqueKey:P}=r;class j{_defaultGetter(t){let e=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0);return/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(t,e,n){n.setAttribute(e,t)}add(t){let e,n=this.renderer,r=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(r),this.onAdd&&this.onAdd(),this}addClass(t,e){let n=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "))!==n&&this.attr("class",t),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(t,e,n,r=!0){let i,o,s,a,l={},c=this.renderer,u=c.alignedObjects,d=!!t;t?(this.alignOptions=t,this.alignByTranslate=e,this.alignTo=n):(t=this.alignOptions||{},e=this.alignByTranslate,n=this.alignTo);let h=!n||S(n)?n||"renderer":void 0;h&&(d&&T(u,this),n=void 0);let f=C(n,c[h],c),p=t.align,m=t.verticalAlign;return i=(f.x||0)+(t.x||0),o=(f.y||0)+(t.y||0),"right"===p?s=1:"center"===p&&(s=2),s&&(i+=((f.width||0)-(t.width||0))/s),l[e?"translateX":"x"]=Math.round(i),"bottom"===m?a=1:"middle"===m&&(a=2),a&&(o+=((f.height||0)-(t.height||0))/a),l[e?"translateY":"y"]=Math.round(o),r&&(this[this.placed?"animate":"attr"](l),this.placed=!0),this.alignAttr=l,this}alignSetter(t){let e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))}animate(t,e,n){let r=o(C(e,this.renderer.globalAnimation,!0)),s=r.defer;return l.hidden&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),D((()=>{this.element&&i(this,t,r)}),s)):(this.attr(t,void 0,n||r.complete),M(t,(function(t,e){r.step&&r.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this}applyTextOutline(t){let e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));let r=t.split(" "),i=r[r.length-1],o=r[0];if(o&&"none"!==o&&n.svg){this.fakeTS=!0,o=o.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();let t=l.createElementNS(u,"tspan");f(t,{class:"highcharts-text-outline",fill:i,stroke:i,"stroke-width":o,"stroke-linejoin":"round"});let n=e.querySelector("textPath")||e;[].forEach.call(n.childNodes,(e=>{let n=e.cloneNode(!0);n.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((t=>n.removeAttribute(t))),t.appendChild(n)}));let r=0;[].forEach.call(n.querySelectorAll("text tspan"),(t=>{r+=Number(t.getAttribute("dy"))}));let s=l.createElementNS(u,"tspan");s.textContent="​",f(s,{x:Number(e.getAttribute("x")),dy:-r}),t.appendChild(s),n.insertBefore(t,n.firstChild)}}attr(t,e,n,r){let i,o,a,{element:l}=this,c=j.symbolCustomAttribs,u=this;return"string"==typeof t&&void 0!==e&&(i=t,(t={})[i]=e),"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(M(t,(function(e,n){a=!1,r||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),a=!0),this.rotation&&("x"===n||"y"===n)&&(this.doTransform=!0),a||(this[n+"Setter"]||this._defaultSetter).call(this,e,n,l)}),this),this.afterSetters()),n&&n.call(this),u}clip(t){if(t&&!t.clipPath){let e=P()+"-",n=this.renderer.createElement("clipPath").attr({id:e}).add(this.renderer.defs);y(t,{clipPath:n,id:e,count:0}),t.add(n)}return this.attr("clip-path",t?`url(${this.renderer.url}#${t.id})`:"none")}crisp(t,e){e=Math.round(e||t.strokeWidth||0);let n=t.x||this.x||0,r=t.y||this.y||0,i=(t.width||this.width||0)+n,o=(t.height||this.height||0)+r,s=m(n,e),a=m(r,e);return y(t,{x:s,y:a,width:m(i,e)-s,height:m(o,e)-a}),v(t.strokeWidth)&&(t.strokeWidth=e),t}complexColor(t,n,r){let i,o,s,a,l,c,u,d,h,f,p,m=this.renderer,g=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(s=t[o],l=m.gradients,c=t.stops,h=r.radialReference,w(s)&&(t[o]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!v(s.gradientUnits)&&(a=s,s=O(s,m.getRadialAttr(h,a),{gradientUnits:"userSpaceOnUse"})),M(s,(function(t,e){"id"!==e&&g.push(e,t)})),M(c,(function(t){g.push(t)})),l[g=g.join(",")])f=l[g].attr("id");else{s.id=f=P();let t=l[g]=m.createElement(o).attr(s).add(m.defs);t.radAttr=a,t.stops=[],c.forEach((function(n){0===n[1].indexOf("rgba")?(u=(i=e.parse(n[1])).get("rgb"),d=i.get("a")):(u=n[1],d=1);let r=m.createElement("stop").attr({offset:n[0],"stop-color":u,"stop-opacity":d}).add(t);t.stops.push(r)}))}p="url("+m.url+"#"+f+")",r.setAttribute(n,p),r.gradient=g,t.toString=function(){return p}}}))}css(t){let e,n=this.styles,r={},i=this.element,o=!n;if(n&&M(t,(function(t,e){n&&n[e]!==t&&(r[e]=t,o=!0)})),o){n&&(t=y(n,r)),null===t.width||"auto"===t.width?delete this.textWidth:"text"===i.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=A(t.width)),y(this.styles,t),e&&!c&&this.renderer.forExport&&delete t.width;let o=O(t);i.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach((t=>o&&delete o[t])),o.color&&(o.fill=o.color)),g(i,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline)),this}dashstyleSetter(t){let e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){let r=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=r.length;e--;)r[e]=""+A(r[e])*C(n,NaN);t=r.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}}destroy(){let t,e,n=this,r=n.element||{},i=n.renderer,o=r.ownerSVGElement,a="SPAN"===r.nodeName&&n.parentGroup||void 0;if(r.onclick=r.onmouseout=r.onmouseover=r.onmousemove=r.point=null,s(n),n.clipPath&&o){let t=n.clipPath;[].forEach.call(o.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){e.getAttribute("clip-path").indexOf(t.element.id)>-1&&e.removeAttribute("clip-path")})),n.clipPath=t.destroy()}if(n.connector=n.connector?.destroy(),n.stops){for(e=0;e<n.stops.length;e++)n.stops[e].destroy();n.stops.length=0,n.stops=void 0}for(n.safeRemoveChild(r);a&&a.div&&0===a.div.childNodes.length;)t=a.parentGroup,n.safeRemoveChild(a.div),delete a.div,a=t;n.alignOptions&&b(i.alignedObjects,n),M(n,(function(t,e){n[e]&&n[e].parentGroup===n&&n[e].destroy&&n[e].destroy(),delete n[e]}))}dSetter(t,e,n){w(t)&&("string"==typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce(((t,e,n)=>e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)}fillSetter(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)}hrefSetter(t,e,n){n.setAttributeNS("http://www.w3.org/1999/xlink",e,t)}getBBox(t,e){let n,r,i,o,{alignValue:s,element:a,renderer:l,styles:c,textStr:u}=this,{cache:d,cacheKeys:h}=l,f=a.namespaceURI===this.SVG_NS,p=C(e,this.rotation,0),m=l.styledMode?a&&j.prototype.getStyle.call(a,"font-size"):c.fontSize;if(v(u)&&(-1===(o=u.toString()).indexOf("<")&&(o=o.replace(/[0-9]/g,"0")),o+=["",l.rootFontSize,m,p,this.textWidth,s,c.textOverflow,c.fontWeight].join(",")),o&&!t&&(n=d[o]),!n){if(f||l.forExport){try{i=this.fakeTS&&function(t){let e=a.querySelector(".highcharts-text-outline");e&&g(e,{display:t})},k(i)&&i("none"),n=a.getBBox?y({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},k(i)&&i("")}catch(t){}(!n||n.width<0)&&(n={x:0,y:0,width:0,height:0})}else n=this.htmlGetBBox();r=n.height,f&&(n.height=r={"11px,17":14,"13px,20":16}[`${m||""},${Math.round(r)}`]||r),p&&(n=this.getRotatedBox(n,p))}if(o&&(""===u||n.height>0)){for(;h.length>250;)delete d[h.shift()];d[o]||h.push(o),d[o]=n}return n}getRotatedBox(t,e){let{x:n,y:r,width:i,height:o}=t,{alignValue:s,translateY:l,rotationOriginX:c=0,rotationOriginY:u=0}=this,d={right:1,center:.5}[s||0]||0,h=Number(this.element.getAttribute("y")||0)-(l?0:r),f=e*a,p=(e-90)*a,m=Math.cos(f),g=Math.sin(f),v=i*m,b=i*g,y=Math.cos(p),x=Math.sin(p),[[w,k],[_,S]]=[c,u].map((t=>[t-t*m,t*g])),O=n+d*(i-v)+w+S+h*y,M=O+v,C=M-o*y,A=C-v,T=r+h-d*b-k+_+h*x,E=T+b,D=E-o*x,P=D-b,j=Math.min(O,M,C,A),L=Math.min(T,E,D,P);return{x:j,y:L,width:Math.max(O,M,C,A)-j,height:Math.max(T,E,D,P)-L}}getStyle(t){return d.getComputedStyle(this.element||this,"").getPropertyValue(t)}hasClass(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(t,e){this.onEvents={},this.opacity=1,this.SVG_NS=u,this.element="span"===e||"body"===e?p(e):l.createElementNS(this.SVG_NS,e),this.renderer=t,this.styles={},x(this,"afterInit")}on(t,e){let{onEvents:n}=this;return n[t]&&n[t](),n[t]=h(this.element,t,e),this}opacitySetter(t,e,n){let r=Number(Number(t).toFixed(3));this.opacity=r,n.setAttribute(e,r)}reAlign(){this.alignOptions?.width&&"left"!==this.alignOptions.align&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(t){return this.attr("class",(""+this.attr("class")).replace(S(t)?RegExp(`(^| )${t}( |$)`):t," ").replace(/ +/g," ").trim())}removeTextOutline(){let t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)}safeRemoveChild(t){let e=t.parentNode;e&&e.removeChild(t)}setRadialReference(t){let e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this}setTextPath(t,e){e=O(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);let n=this.renderer.url,r=this.text||this,i=r.textPath,{attributes:o,enabled:s}=e;if(t=t||i&&i.path,i&&i.undo(),t&&s){let e=h(r,"afterModifyTree",(e=>{if(t&&s){let i=t.attr("id");i||t.attr("id",i=P());let s={x:0,y:0};v(o.dx)&&(s.dx=o.dx,delete o.dx),v(o.dy)&&(s.dy=o.dy,delete o.dy),r.attr(s),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:y(o,{"text-anchor":o.textAnchor,href:`${n}#${i}`}),children:a}}}));r.textPath={path:t,undo:e}}else r.attr({dx:0,dy:0}),delete r.textPath;return this.added&&(r.textCache="",this.renderer.buildText(r)),this}shadow(t){let{renderer:e}=this,n=O(90===this.parentGroup?.rotation?{offsetX:-1,offsetY:-1}:{},_(t)?t:{}),r=e.shadowDefinition(n);return this.attr({filter:t?`url(${e.url}#${r})`:"none"})}show(t=!0){return this.attr({visibility:t?"inherit":"visible"})}"stroke-widthSetter"(t,e,n){this[e]=t,n.setAttribute(e,t)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let t,e=this.getStyle("stroke-width"),n=0;return/px$/.test(e)?n=A(e):""!==e&&(f(t=l.createElementNS(u,"rect"),{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),n=t.getBBox().width,t.parentNode.removeChild(t)),n}symbolAttr(t){let e=this;j.symbolCustomAttribs.forEach((function(n){e[n]=C(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})}textSetter(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(t){let e=this.element,n=e.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=E(C(t,""),[/<[^>]*>/g,""]).replace(/&lt;/g,"<").replace(/&gt;/g,">")}toFront(){let t=this.element;return t.parentNode.appendChild(t),this}translate(t,e){return this.attr({translateX:t,translateY:e})}updateTransform(t="transform"){let{element:e,matrix:n,rotation:r=0,rotationOriginX:i,rotationOriginY:o,scaleX:s,scaleY:a,translateX:l=0,translateY:c=0}=this,u=["translate("+l+","+c+")"];v(n)&&u.push("matrix("+n.join(",")+")"),r&&(u.push("rotate("+r+" "+C(i,e.getAttribute("x"),0)+" "+C(o,e.getAttribute("y")||0)+")"),"SPAN"===this.text?.element.tagName&&this.text.attr({rotation:r,rotationOriginX:(i||0)-this.padding,rotationOriginY:(o||0)-this.padding})),(v(s)||v(a))&&u.push("scale("+C(s,1)+" "+C(a,1)+")"),u.length&&!(this.text||this).textPath&&e.setAttribute(t,u.join(" "))}visibilitySetter(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t}xGetter(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)}zIndexSetter(t,e){let n,r,i,o,s,a=this.renderer,l=this.parentGroup,c=(l||a).element||a.box,u=this.element,d=c===a.box,h=!1,f=this.added;if(v(t)?(u.setAttribute("data-z-index",t),t=+t,this[e]===t&&(f=!1)):v(this[e])&&u.removeAttribute("data-z-index"),this[e]=t,f){for((t=this.zIndex)&&l&&(l.handleZ=!0),s=(n=c.childNodes).length-1;s>=0&&!h;s--)o=!v(i=(r=n[s]).getAttribute("data-z-index")),r!==u&&(t<0&&o&&!d&&!s?(c.insertBefore(u,n[s]),h=!0):(A(i)<=t||o&&(!v(t)||t>=0))&&(c.insertBefore(u,n[s+1]),h=!0));h||(c.insertBefore(u,n[d?3:0]),h=!0)}return h}}return j.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],j.prototype.strokeSetter=j.prototype.fillSetter,j.prototype.yGetter=j.prototype.xGetter,j.prototype.matrixSetter=j.prototype.rotationOriginXSetter=j.prototype.rotationOriginYSetter=j.prototype.rotationSetter=j.prototype.scaleXSetter=j.prototype.scaleYSetter=j.prototype.translateXSetter=j.prototype.translateYSetter=j.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},j})),n(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e){let{defined:n,extend:r,isNumber:i,merge:o,pick:s,removeEvent:a}=e;class l extends t{constructor(t,e,n,r,i,o,s,a,c,u){let d;super(t,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.textStr=e,this.x=n,this.y=r,this.anchorX=o,this.anchorY=s,this.baseline=c,this.className=u,this.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&this.addClass("highcharts-"+u),this.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof i&&((d=/^url\((.*?)\)$/.test(i))||this.renderer.symbols[i])&&(this.symbolKey=i),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=t.styledMode||d,this.deferredAttr={},this.alignFactor=0}alignSetter(t){let e={left:0,center:.5,right:1}[t];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)}boxAttr(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e}css(e){if(e){let t={};e=o(e),l.textProps.forEach((n=>{void 0!==e[n]&&(t[n]=e[n],delete e[n])})),this.text.css(t),"fontSize"in t||"fontWeight"in t?this.updateTextPadding():("width"in t||"textOverflow"in t)&&this.updateBoxSize()}return t.prototype.css.call(this,e)}destroy(){a(this.element,"mouseenter"),a(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)}getBBox(t,e){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();let{padding:n,height:r=0,translateX:i=0,translateY:o=0,width:a=0}=this,l=s(this.paddingLeft,n),c=e??(this.rotation||0),u={width:a,height:r,x:i+this.bBox.x-l,y:o+this.bBox.y-n+this.baselineOffset};return c&&(u=this.getRotatedBox(u,c)),u}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(t){this.heightSetting=t}onAdd(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(t,e){i(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0}rSetter(t,e){this.boxAttr(e,t)}strokeSetter(t,e){this.stroke=t,this.boxAttr(e,t)}"stroke-widthSetter"(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)}"text-alignSetter"(t){this.textAlign=t}textSetter(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let t,e=this.text,o={},s=this.padding,a=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!n(e.textStr)?l.emptyBBox:e.getBBox(void 0,0);this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*s;let c=this.renderer.fontMetrics(e);if(this.baselineOffset=s+Math.min((this.text.firstLineMetrics||c).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-c.h)/2),this.needsBox&&!e.textPath){if(!this.box){let t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();t.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)}t=this.getCrispAdjust(),o.x=t,o.y=(this.baseline?-this.baselineOffset:0)+t,o.width=Math.round(this.width),o.height=Math.round(this.height),this.box.attr(r(o,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let t=this.text;if(!t.textPath){this.updateBoxSize();let e=this.baseline?0:this.baselineOffset,r=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(r!==t.x||e!==t.y)&&(t.attr("x",r),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=r,t.y=e}}widthSetter(t){this.widthSetting=i(t)?t:void 0}getPaddedWidth(){let t=this.padding,e=s(this.paddingLeft,t),n=s(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+n}xSetter(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)}ySetter(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],l})),n(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],(function(t){let{defined:e,isNumber:n,pick:r}=t;function i(t,n,i,o,s){let a=[];if(s){let l=s.start||0,c=r(s.r,i),u=r(s.r,o||i),d=2e-4/Math.max(c,1),h=Math.abs((s.end||0)-l-2*Math.PI)<d,f=(s.end||0)-d,p=s.innerR,m=r(s.open,h),g=Math.cos(l),v=Math.sin(l),b=Math.cos(f),y=Math.sin(f),x=r(s.longArc,f-l-Math.PI<d?0:1),w=["A",c,u,0,x,r(s.clockwise,1),t+c*b,n+u*y];w.params={start:l,end:f,cx:t,cy:n},a.push(["M",t+c*g,n+u*v],w),e(p)&&((w=["A",p,p,0,x,e(s.clockwise)?1-s.clockwise:0,t+p*g,n+p*v]).params={start:f,end:l,cx:t,cy:n},a.push(m?["M",t+p*b,n+p*y]:["L",t+p*b,n+p*y],w)),m||a.push(["Z"])}return a}function o(t,e,n,r,i){return i&&i.r?s(t,e,n,r,i):[["M",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]]}function s(t,e,n,r,i){let o=i?.r||0;return[["M",t+o,e],["L",t+n-o,e],["A",o,o,0,0,1,t+n,e+o],["L",t+n,e+r-o],["A",o,o,0,0,1,t+n-o,e+r],["L",t+o,e+r],["A",o,o,0,0,1,t,e+r-o],["L",t,e+o],["A",o,o,0,0,1,t+o,e],["Z"]]}return{arc:i,callout:function(t,e,r,i,o){let a=Math.min(o&&o.r||0,r,i),l=a+6,c=o&&o.anchorX,u=o&&o.anchorY||0,d=s(t,e,r,i,{r:a});if(!n(c)||c<r&&c>0&&u<i&&u>0)return d;if(t+c>r-l)if(u>e+l&&u<e+i-l)d.splice(3,1,["L",t+r,u-6],["L",t+r+6,u],["L",t+r,u+6],["L",t+r,e+i-a]);else if(c<r){let n=u<e+l,o=n?e:e+i;d.splice(n?2:5,0,["L",c,u],["L",t+r-a,o])}else d.splice(3,1,["L",t+r,i/2],["L",c,u],["L",t+r,i/2],["L",t+r,e+i-a]);else if(t+c<l)if(u>e+l&&u<e+i-l)d.splice(7,1,["L",t,u+6],["L",t-6,u],["L",t,u-6],["L",t,e+a]);else if(c>0){let n=u<e+l,r=n?e:e+i;d.splice(n?1:6,0,["L",c,u],["L",t+a,r])}else d.splice(7,1,["L",t,i/2],["L",c,u],["L",t,i/2],["L",t,e+a]);else u>i&&c<r-l?d.splice(5,1,["L",c+6,e+i],["L",c,e+i+6],["L",c-6,e+i],["L",t+a,e+i]):u<0&&c>l&&d.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",r-a,e]);return d},circle:function(t,e,n,r){return i(t+n/2,e+r/2,n/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r/2],["L",t+n/2,e+r],["L",t,e+r/2],["Z"]]},rect:o,roundedRect:s,square:o,triangle:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r],["L",t,e+r],["Z"]]},"triangle-down":function(t,e,n,r){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+r],["Z"]]}}})),n(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{doc:r,SVG_NS:i,win:o}=e,{attr:s,extend:a,fireEvent:l,isString:c,objectEach:u,pick:d}=n;return class{constructor(t){let e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace)}buildSVG(){let e=this.svgElement,n=e.element,i=e.renderer,o=d(e.textStr,"").toString(),s=-1!==o.indexOf("<"),a=n.childNodes,l=!e.added&&i.box,u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,e.getStyle("font-size"),this.width].join(",");if(u!==e.textCache){e.textCache=u,delete e.actualWidth;for(let t=a.length;t--;)n.removeChild(a[t]);if(s||this.ellipsis||this.width||e.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))){if(""!==o){l&&l.appendChild(n);let r=new t(o);this.modifyTree(r.nodes),r.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),l&&l.removeChild(n)}}else n.appendChild(r.createTextNode(this.unescapeEntities(o)));c(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}}modifyDOM(){let t,e=this.svgElement,n=s(e.element,"x");for(e.firstLineMetrics=void 0;(t=e.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)e.element.removeChild(t);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),((t,r)=>{t.nextSibling&&t.previousSibling&&(0===r&&1===t.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(t.previousSibling)),s(t,{dy:this.getLineHeight(t.nextSibling),x:n}))}));let a=this.width||0;if(!a)return;let l=(t,o)=>{let l=t.textContent||"",c=l.replace(/([^\^])-/g,"$1- ").split(" "),u=!this.noWrap&&(c.length>1||e.element.childNodes.length>1),d=this.getLineHeight(o),h=0,f=e.actualWidth;if(this.ellipsis)l&&this.truncate(t,l,void 0,0,Math.max(0,a-.8*d),((t,e)=>t.substring(0,e)+"…"));else if(u){let l=[],u=[];for(;o.firstChild&&o.firstChild!==t;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!this.noWrap&&h>0&&(l.push(t.textContent||""),t.textContent=c.join(" ").replace(/- /g,"-")),this.truncate(t,void 0,c,0===h&&f||0,a,((t,e)=>c.slice(0,e).join(" ").replace(/- /g,"-"))),f=e.actualWidth,h++;u.forEach((e=>{o.insertBefore(e,t)})),l.forEach((e=>{o.insertBefore(r.createTextNode(e),t);let a=r.createElementNS(i,"tspan");a.textContent="​",s(a,{dy:d,x:n}),o.insertBefore(a,t)}))}},c=t=>{[].slice.call(t.childNodes).forEach((n=>{n.nodeType===o.Node.TEXT_NODE?l(n,t):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),c(n))}))};c(e.element)}getLineHeight(t){let e=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(t){let e=(n,r)=>{let{attributes:i={},children:o,style:s={},tagName:l}=n,c=this.renderer.styledMode;if("b"===l||"strong"===l?c?i.class="highcharts-strong":s.fontWeight="bold":("i"===l||"em"===l)&&(c?i.class="highcharts-emphasized":s.fontStyle="italic"),s&&s.color&&(s.fill=s.color),"br"===l){i.class="highcharts-br",n.textContent="​";let e=t[r+1];e&&e.textContent&&(e.textContent=e.textContent.replace(/^ +/gm,""))}else"a"===l&&o&&o.some((t=>"#text"===t.tagName))&&(n.children=[{children:o,tagName:"tspan"}]);"#text"!==l&&"a"!==l&&(n.tagName="tspan"),a(n,{attributes:i,style:s}),o&&o.filter((t=>"#text"!==t.tagName)).forEach(e)};t.forEach(e),l(this.svgElement,"afterModifyTree",{nodes:t})}truncate(t,e,n,r,i,o){let s,a,l=this.svgElement,{rotation:c}=l,u=[],d=n?1:0,h=(e||n||"").length,f=h,p=function(e,i){let o=i||e,s=t.parentNode;if(s&&void 0===u[o]&&s.getSubStringLength)try{u[o]=r+s.getSubStringLength(0,n?o+1:o)}catch(t){}return u[o]};if(l.rotation=0,r+(a=p(t.textContent.length))>i){for(;d<=h;)f=Math.ceil((d+h)/2),n&&(s=o(n,f)),a=p(f,s&&s.length-1),d===h?d=h+1:a>i?h=f-1:d=f;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=s||o(e||n,f))}n&&n.splice(0,f),l.actualWidth=a,l.rotation=c}unescapeEntities(t,e){return u(this.renderer.escapes,(function(n,r){e&&-1!==e.indexOf(n)||(t=t.toString().replace(RegExp(n,"g"),r))})),t}}})),n(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a,l,c){let u,{defaultOptions:d}=e,{charts:h,deg2rad:f,doc:p,isFirefox:m,isMS:g,isWebKit:v,noop:b,SVG_NS:y,symbolSizes:x,win:w}=r,{addEvent:k,attr:_,createElement:S,crisp:O,css:M,defined:C,destroyObjectProperties:A,extend:T,isArray:E,isNumber:D,isObject:P,isString:j,merge:L,pick:I,pInt:N,replaceNested:R,uniqueKey:$}=c;class B{constructor(t,e,n,r,i,o,s){let a,l,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;s||c.css(this.getStyle(r||{})),t.appendChild(u),_(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&_(u,"xmlns",this.SVG_NS),this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 11.4.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=c.getStyle("font-size"),this.setSize(e,n,!1),m&&t.getBoundingClientRect&&((a=function(){M(t,{left:0,top:0}),l=t.getBoundingClientRect(),M(t,{left:Math.ceil(l.left)-l.left+"px",top:Math.ceil(l.top)-l.top+"px"})})(),this.unSubPixelFix=k(w,"resize",a))}definition(e){return new t([e]).addToDOM(this.defs.element)}getReferenceURL(){if((m||v)&&p.getElementsByTagName("base").length){if(!C(u)){let e=$(),n=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${e})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body);M(n,{position:"fixed",top:0,left:0,zIndex:9e5});let r=p.elementFromPoint(6,6);u="hitme"===(r&&r.id),p.body.removeChild(n)}if(u)return R(w.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(t){return this.style=T({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},t),this.style}setStyle(t){this.boxWrapper.css(this.getStyle(t))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),A(this.gradients||{}),this.gradients=null,this.defs=t.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(t){return new this.Element(this,t)}getRadialAttr(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}}shadowDefinition(t){let e=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(t).map((e=>`${e}-${t[e]}`))].join("-").toLowerCase().replace(/[^a-z0-9\-]/g,""),n=L({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},t);return this.defs.element.querySelector(`#${e}`)||this.definition({tagName:"filter",attributes:{id:e,filterUnits:n.filterUnits},children:[{tagName:"feDropShadow",attributes:{dx:n.offsetX,dy:n.offsetY,"flood-color":n.color,"flood-opacity":Math.min(5*n.opacity,1),stdDeviation:n.width/2}}]}),e}buildText(t){new l(t).buildSVG()}getContrast(t){let e=n.parse(t).rgba.map((t=>{let e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),r=.2126*e[0]+.7152*e[1]+.0722*e[2];return 1.05/(r+.05)>(r+.05)/.05?"#FFFFFF":"#000000"}button(e,n,r,i,o={},s,a,l,c,u){let h=this.label(e,n,r,c,void 0,void 0,u,void 0,"button"),f=this.styledMode,p=arguments,m=0;o=L(d.global.buttonTheme,o),f&&(delete o.fill,delete o.stroke,delete o["stroke-width"]);let v=o.states||{},b=o.style||{};delete o.states,delete o.style;let y=[t.filterUserAttributes(o)],x=[b];return f||["hover","select","disabled"].forEach(((e,n)=>{y.push(L(y[0],t.filterUserAttributes(p[n+5]||v[e]||{}))),x.push(y[n+1].style),delete y[n+1].style})),k(h.element,g?"mouseover":"mouseenter",(function(){3!==m&&h.setState(1)})),k(h.element,g?"mouseout":"mouseleave",(function(){3!==m&&h.setState(m)})),h.setState=(t=0)=>{if(1!==t&&(h.state=m=t),h.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t]),!f){h.attr(y[t]);let e=x[t];P(e)&&h.css(e)}},h.attr(y[0]),!f&&(h.css(T({cursor:"default"},b)),u&&h.text.css({pointerEvents:"none"})),h.on("touchstart",(t=>t.stopPropagation())).on("click",(function(t){3!==m&&i.call(h,t)}))}crispLine(t,e){let[n,r]=t;return C(n[1])&&n[1]===r[1]&&(n[1]=r[1]=O(n[1],e)),C(n[2])&&n[2]===r[2]&&(n[2]=r[2]=O(n[2],e)),t}path(t){let e=this.styledMode?{}:{fill:"none"};return E(t)?e.d=t:P(t)&&T(e,t),this.createElement("path").attr(e)}circle(t,e,n){let r=P(t)?t:void 0===t?{}:{x:t,y:e,r:n},i=this.createElement("circle");return i.xSetter=i.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},i.attr(r)}arc(t,e,n,r,i,o){let s;P(t)?(e=(s=t).y,n=s.r,r=s.innerR,i=s.start,o=s.end,t=s.x):s={innerR:r,start:i,end:o};let a=this.symbol("arc",t,e,n,n,s);return a.r=n,a}rect(t,e,n,r,i,o){let s=P(t)?t:void 0===t?{}:{x:t,y:e,r:i,width:Math.max(n||0,0),height:Math.max(r||0,0)},a=this.createElement("rect");return this.styledMode||(void 0!==o&&(s["stroke-width"]=o,T(s,a.crisp(s))),s.fill="none"),a.rSetter=function(t,e,n){a.r=t,_(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(s)}roundedRect(t){return this.symbol("roundedRect").attr(t)}setSize(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:I(n,!0)?void 0:0}),this.alignElements()}g(t){let e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e}image(t,e,n,r,i,o){let s={preserveAspectRatio:"none"};D(e)&&(s.x=e),D(n)&&(s.y=n),D(r)&&(s.width=r),D(i)&&(s.height=i);let a=this.createElement("image").attr(s),l=function(e){a.attr({href:t}),o.call(a,e)};if(o){a.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let e=new w.Image;k(e,"load",l),e.src=t,e.complete&&l({})}else a.attr({href:t});return a}symbol(t,e,n,r,i,o){let s,a,l,c,u=this,d=/^url\((.*?)\)$/,f=d.test(t),m=!f&&(this.symbols[t]?t:"circle"),g=m&&this.symbols[m];if(g)"number"==typeof e&&(a=g.call(this.symbols,e||0,n||0,r||0,i||0,o)),s=this.path(a),u.styledMode||s.attr("fill","none"),T(s,{symbolName:m||void 0,x:e,y:n,width:r,height:i}),o&&T(s,o);else if(f){l=t.match(d)[1];let r=s=this.image(l);r.imgwidth=I(o&&o.width,x[l]&&x[l].width),r.imgheight=I(o&&o.height,x[l]&&x[l].height),c=t=>t.attr({width:t.width,height:t.height}),["width","height"].forEach((t=>{r[`${t}Setter`]=function(t,e){this[e]=t;let{alignByTranslate:n,element:r,width:i,height:s,imgwidth:a,imgheight:l}=this,c="width"===e?a:l,u=1;o&&"within"===o.backgroundSize&&i&&s&&a&&l?(u=Math.min(i/a,s/l),_(r,{width:Math.round(a*u),height:Math.round(l*u)})):r&&c&&r.setAttribute(e,c),!n&&a&&l&&this.translate(((i||0)-a*u)/2,((s||0)-l*u)/2)}})),C(e)&&r.attr({x:e,y:n}),r.isImg=!0,C(r.imgwidth)&&C(r.imgheight)?c(r):(r.attr({width:0,height:0}),S("img",{onload:function(){let t=h[u.chartIndex];0===this.width&&(M(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),x[l]={width:this.width,height:this.height},r.imgwidth=this.width,r.imgheight=this.height,r.element&&c(r),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,u.imgCount||!t||t.hasLoaded||t.onload()},src:l}),this.imgCount++)}return s}clipRect(t,e,n,r){return this.rect(t,e,n,r,0)}text(t,e,n,r){let i={};if(r&&(this.allowHTML||!this.forExport))return this.html(t,e,n);i.x=Math.round(e||0),n&&(i.y=Math.round(n)),C(t)&&(i.text=t);let o=this.createElement("text").attr(i);return r&&(!this.forExport||this.allowHTML)||(o.xSetter=function(t,e,n){let r=n.getElementsByTagName("tspan"),i=n.getAttribute(e);for(let n,o=0;o<r.length;o++)(n=r[o]).getAttribute(e)===i&&n.setAttribute(e,t);n.setAttribute(e,t)}),o}fontMetrics(t){let e=N(o.prototype.getStyle.call(t,"font-size")||0),n=e<24?e+3:Math.round(1.2*e);return{h:n,b:Math.round(.8*n),f:e}}rotCorr(t,e,n){let r=t;return e&&n&&(r=Math.max(r*Math.cos(e*f),4)),{x:-t/3*Math.sin(e*f),y:r}}pathToSegments(t){let e=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let i=0;i<t.length;i++)j(n[0])&&D(t[i])&&n.length===r[n[0].toUpperCase()]&&t.splice(i,0,n[0].replace("M","L").replace("m","l")),"string"==typeof t[i]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[i]);return e.push(n.slice(0)),e}label(t,e,n,r,i,o,a,l,c){return new s(this,t,e,n,r,i,o,a,l,c)}alignElements(){this.alignedObjects.forEach((t=>t.align()))}}return T(B.prototype,{Element:o,SVG_NS:y,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:b}),i.registerRendererType("svg",B,!0),B})),n(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let{composed:i}=e,{attr:o,css:s,createElement:a,defined:l,extend:c,pInt:u,pushUnique:d}=r;function h(t,e,r){let i=this.div?.style||r.style;n.prototype[`${e}Setter`].call(this,t,e,r),i&&(i[e]=t)}let f=(t,e)=>{if(!t.div){let r=o(t.element,"class"),i=t.css,s=a("div",r?{className:r}:void 0,{position:"absolute",left:`${t.translateX||0}px`,top:`${t.translateY||0}px`,...t.styles,display:t.display,opacity:t.opacity,visibility:t.visibility},t.parentGroup?.div||e);t.classSetter=(t,e,n)=>{n.setAttribute("class",t),s.className=t},t.translateXSetter=t.translateYSetter=(e,n)=>{t[n]=e,s.style["translateX"===n?"left":"top"]=`${e}px`,t.doTransform=!0},t.opacitySetter=t.visibilitySetter=h,t.css=e=>(i.call(t,e),e.cursor&&(s.style.cursor=e.cursor),e.pointerEvents&&(s.style.pointerEvents=e.pointerEvents),t),t.on=function(){return n.prototype.on.apply({element:s,onEvents:t.onEvents},arguments),t},t.div=s}return t.div};class p extends n{static compose(t){d(i,this.compose)&&(t.prototype.html=function(t,e,n){return new p(this,"span").attr({text:t,x:Math.round(e),y:Math.round(n)})})}constructor(t,e){super(t,e),this.css({position:"absolute",...t.styledMode?{}:{fontFamily:t.style.fontFamily,fontSize:t.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(t,e,n){this.xCorr=-t*n,this.yCorr=-e}css(t){let e,{element:n}=this,r="SPAN"===n.tagName&&t&&"width"in t,i=r&&t.width;return r&&(delete t.width,this.textWidth=u(i)||void 0,e=!0),"ellipsis"===t?.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),c(this.styles,t),s(n,t),e&&this.updateTransform(),this}htmlGetBBox(){let{element:t}=this;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}updateTransform(){if(!this.added)return void(this.alignOnAdd=!0);let{element:t,renderer:e,rotation:n,rotationOriginX:r,rotationOriginY:i,styles:o,textAlign:a="left",textWidth:c,translateX:u=0,translateY:d=0,x:h=0,y:f=0}=this,p=o.whiteSpace;if(s(t,{marginLeft:`${u}px`,marginTop:`${d}px`}),"SPAN"===t.tagName){let o,u=[n,a,t.innerHTML,c,this.textAlign].join(","),d=-1*this.parentGroup?.padding||0,m=!1;if(c!==this.oldTextWidth){let e=this.textPxLength?this.textPxLength:(s(t,{width:"",whiteSpace:p||"nowrap"}),t.offsetWidth),r=c||0;(r>this.oldTextWidth||e>r)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(s(t,{width:e>r||n?c+"px":"auto",display:"block",whiteSpace:p||"normal"}),this.oldTextWidth=c,m=!0)}this.hasBoxWidthChanged=m,u!==this.cTT&&(o=e.fontMetrics(t).b,l(n)&&(n!==(this.oldRotation||0)||a!==this.oldAlign)&&this.setSpanRotation(n,d,d),this.getSpanCorrection(!l(n)&&this.textPxLength||t.offsetWidth,o,{left:0,center:.5,right:1}[a]));let{xCorr:g=0,yCorr:v=0}=this;s(t,{left:`${h+g}px`,top:`${f+v}px`,transformOrigin:`${(r??h)-g-h-d}px ${(i??f)-v-f-d}px`}),this.cTT=u,this.oldRotation=n,this.oldAlign=a}}setSpanRotation(t,e,n){s(this.element,{transform:`rotate(${t}deg)`,transformOrigin:`${e}% ${n}px`})}add(t){let e,n=this.renderer.box.parentNode,r=[];if(this.parentGroup=t,t&&!(e=t.div)){let i=t;for(;i;)r.push(i),i=i.parentGroup;for(let t of r.reverse())e=f(t,n)}return(e||n).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,e??""),this.textStr=e,this.doTransform=!0)}alignSetter(t){this.alignValue=this.textAlign=t,this.doTransform=!0}xSetter(t,e){this[e]=t,this.doTransform=!0}}let m=p.prototype;return m.visibilitySetter=m.opacitySetter=h,m.ySetter=m.rotationSetter=m.rotationOriginXSetter=m.rotationOriginYSetter=m.xSetter,p})),n(e,"Core/Axis/AxisDefaults.js",[],(function(){var t,e;return(e=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:t}=this.axis.chart;return t(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t})),n(e,"Core/Foundation.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,isFunction:r,objectEach:i,removeEvent:o}=t;return(e||(e={})).registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},i(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(o(t,i,t.eventOptions[i]),delete t.eventOptions[i]),r(e)&&(t.eventOptions[i]=e,n(t,i,e,{order:0})))}))},e})),n(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{deg2rad:r}=e,{clamp:i,correctFloat:o,defined:s,destroyObjectProperties:a,extend:l,fireEvent:c,isNumber:u,merge:d,objectEach:h,pick:f}=n;return class{constructor(t,e,n,r,i){this.isNew=!0,this.isNewLabel=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||r||this.addLabel()}addLabel(){let e,n,r,i=this,a=i.axis,d=a.options,h=a.chart,p=a.categories,m=a.logarithmic,g=a.names,v=i.pos,b=f(i.options&&i.options.labels,d.labels),y=a.tickPositions,x=v===y[0],w=v===y[y.length-1],k=(!b.step||1===b.step)&&1===a.tickInterval,_=y.info,S=i.label,O=this.parameters.category||(p?f(p[v],g[v],v):v);m&&u(O)&&(O=o(m.lin2log(O))),a.dateTime&&(_?e=(n=h.time.resolveDTLFormat(d.dateTimeLabelFormats[!d.grid&&_.higherRanks[v]||_.unitName])).main:u(O)&&(e=a.dateTime.getXDateFormat(O,d.dateTimeLabelFormats||{}))),i.isFirst=x,i.isLast=w;let M={axis:a,chart:h,dateTimeLabelFormat:e,isFirst:x,isLast:w,pos:v,tick:i,tickPositionInfo:_,value:O};c(this,"labelFormat",M);let C=e=>b.formatter?b.formatter.call(e,e):b.format?(e.text=a.defaultLabelFormatter.call(e),t.format(b.format,e,h)):a.defaultLabelFormatter.call(e),A=C.call(M,M),T=n&&n.list;i.shortenLabel=T?function(){for(r=0;r<T.length;r++)if(l(M,{dateTimeLabelFormat:T[r]}),S.attr({text:C.call(M,M)}),S.getBBox().width<a.getSlotWidth(i)-2*(b.padding||0))return;S.attr({text:""})}:void 0,k&&a._addedPlotLB&&i.moveLabel(A,b),s(S)||i.movedLabel?S&&S.textStr!==A&&!k&&(!S.textWidth||b.style.width||S.styles.width||S.css({width:null}),S.attr({text:A}),S.textPxLength=S.getBBox().width):(i.label=S=i.createLabel(A,b),i.rotation=0)}createLabel(t,e,n){let r=this.axis,i=r.chart,o=s(t)&&e.enabled?i.renderer.text(t,n?.x,n?.y,e.useHTML).add(r.labelGroup):void 0;return o&&(i.styledMode||o.css(d(e.style)),o.textPxLength=o.getBBox().width),o}destroy(){a(this,this.axis)}getPosition(t,e,n,r){let s=this.axis,a=s.chart,l=r&&a.oldChartHeight||a.chartHeight,u={x:t?o(s.translate(e+n,void 0,void 0,r)+s.transB):s.left+s.offset+(s.opposite?(r&&a.oldChartWidth||a.chartWidth)-s.right-s.left:0),y:t?l-s.bottom+s.offset-(s.opposite?s.height:0):o(l-s.translate(e+n,void 0,void 0,r)-s.transB)};return u.y=i(u.y,-1e5,1e5),c(this,"afterGetPosition",{pos:u}),u}getLabelPosition(t,e,n,i,o,a,l,u){let d,h,p=this.axis,m=p.transA,g=p.isLinked&&p.linkedParent?p.linkedParent.reversed:p.reversed,v=p.staggerLines,b=p.tickRotCorr||{x:0,y:0},y=i||p.reserveSpaceDefault?0:-p.labelOffset*("center"===p.labelAlign?.5:1),x=o.distance,w={};return d=0===p.side?n.rotation?-x:-n.getBBox().height:2===p.side?b.y+x:Math.cos(n.rotation*r)*(b.y-n.getBBox(!1,0).height/2),s(o.y)&&(d=0===p.side&&p.horiz?o.y+d:o.y),t=t+f(o.x,[0,1,0,-1][p.side]*x)+y+b.x-(a&&i?a*m*(g?-1:1):0),e=e+d-(a&&!i?a*m*(g?1:-1):0),v&&(h=l/(u||1)%v,p.opposite&&(h=v-h-1),e+=p.labelOffset/v*h),w.x=t,w.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:w,tickmarkOffset:a,index:l}),w}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(t,e,n,r,i=!1,o){return o.crispLine([["M",t,e],["L",t+(i?0:-n),e+(i?n:0)]],r)}handleOverflow(t){let e,n,i,o=this.axis,s=o.options.labels,a=t.x,l=o.chart.chartWidth,c=o.chart.spacing,u=f(o.labelLeft,Math.min(o.pos,c[3])),d=f(o.labelRight,Math.max(o.isRadial?0:o.pos+o.len,l-c[1])),h=this.label,p=this.rotation,m={left:0,center:.5,right:1}[o.labelAlign||h.attr("align")],g=h.getBBox().width,v=o.getSlotWidth(this),b={},y=v,x=1;p||"justify"!==s.overflow?p<0&&a-m*g<u?i=Math.round(a/Math.cos(p*r)-u):p>0&&a+m*g>d&&(i=Math.round((l-a)/Math.cos(p*r))):(e=a-m*g,n=a+(1-m)*g,e<u?y=t.x+y*(1-m)-u:n>d&&(y=d-t.x+y*m,x=-1),(y=Math.min(v,y))<v&&"center"===o.labelAlign&&(t.x+=x*(v-y-m*(v-Math.min(g,y)))),(g>y||o.autoRotation&&(h.styles||{}).width)&&(i=y)),i&&(this.shortenLabel?this.shortenLabel():(b.width=Math.floor(i)+"px",(s.style||{}).textOverflow||(b.textOverflow="ellipsis"),h.css(b)))}moveLabel(t,e){let n,r=this,i=r.label,o=r.axis,s=!1;i&&i.textStr===t?(r.movedLabel=i,s=!0,delete r.label):h(o.ticks,(function(e){s||e.isNew||e===r||!e.label||e.label.textStr!==t||(r.movedLabel=e.label,s=!0,e.labelPos=r.movedLabel.xy,delete e.label)})),!s&&(r.labelPos||i)&&(n=r.labelPos||i.xy,r.movedLabel=r.createLabel(t,e,n),r.movedLabel&&r.movedLabel.attr({opacity:0}))}render(t,e,n){let r=this.axis,i=r.horiz,s=this.pos,a=f(this.tickmarkOffset,r.tickmarkOffset),l=this.getPosition(i,s,a,e),u=l.x,d=l.y,h=r.pos,p=h+r.len,m=i?u:d;!r.chart.polar&&this.isNew&&(o(m)<h||m>p)&&(n=0);let g=f(n,this.label&&this.label.newOpacity,1);n=f(n,1),this.isActive=!0,this.renderGridLine(e,n),this.renderMark(l,n),this.renderLabel(l,e,g,t),this.isNew=!1,c(this,"afterRender")}renderGridLine(t,e){let n,r=this.axis,i=r.options,o={},s=this.pos,a=this.type,l=f(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer,u=this.gridLine,d=i.gridLineWidth,h=i.gridLineColor,p=i.gridLineDashStyle;"minor"===this.type&&(d=i.minorGridLineWidth,h=i.minorGridLineColor,p=i.minorGridLineDashStyle),u||(r.chart.styledMode||(o.stroke=h,o["stroke-width"]=d||0,o.dashstyle=p),a||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(r.gridGroup)),u&&(n=r.getPlotLinePath({value:s+l,lineWidth:u.strokeWidth(),force:"pass",old:t,acrossPanes:!1}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})}renderMark(t,e){let n=this.axis,r=n.options,i=n.chart.renderer,o=this.type,s=n.tickSize(o?o+"Tick":"tick"),a=t.x,l=t.y,c=f(r["minor"!==o?"tickWidth":"minorTickWidth"],!o&&n.isXAxis?1:0),u=r["minor"!==o?"tickColor":"minorTickColor"],d=this.mark,h=!d;s&&(n.opposite&&(s[0]=-s[0]),d||(this.mark=d=i.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||d.attr({stroke:u,"stroke-width":c})),d[h?"attr":"animate"]({d:this.getMarkPath(a,l,s[0],d.strokeWidth(),n.horiz,i),opacity:e}))}renderLabel(t,e,n,r){let i=this.axis,o=i.horiz,s=i.options,a=this.label,l=s.labels,c=l.step,d=f(this.tickmarkOffset,i.tickmarkOffset),h=t.x,p=t.y,m=!0;a&&u(h)&&(a.xy=t=this.getLabelPosition(h,p,a,o,l,d,r,c),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?m=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&r%c&&(m=!1),m&&u(t.y)?(t.opacity=n,a[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(a.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let t=this.label,e=this.axis;t&&!this.isNew&&(t.animate({opacity:0},void 0,t.destroy),delete this.label),e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}})),n(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a){let{animObject:l}=t,{xAxis:c,yAxis:u}=e,{defaultOptions:d}=r,{registerEventOptions:h}=i,{deg2rad:f}=o,{arrayMax:p,arrayMin:m,clamp:g,correctFloat:v,defined:b,destroyObjectProperties:y,erase:x,error:w,extend:k,fireEvent:_,getClosestDistance:S,insertItem:O,isArray:M,isNumber:C,isString:A,merge:T,normalizeTickInterval:E,objectEach:D,pick:P,relativeLength:j,removeEvent:L,splat:I,syncTimeout:N}=a,R=(t,e)=>E(e,void 0,void 0,P(t.options.allowDecimals,e<.5||void 0!==t.tickAmount),!!t.tickAmount);k(d,{xAxis:c,yAxis:T(c,u)});class ${constructor(t,e,n){this.init(t,e,n)}init(t,e,n=this.coll){let r="xAxis"===n,i=this.isZAxis||(t.inverted?!r:r);this.chart=t,this.horiz=i,this.isXAxis=r,this.coll=n,_(this,"init",{userOptions:e}),this.opposite=P(e.opposite,this.opposite),this.side=P(e.side,this.side,i?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);let o=this.options,s=o.labels,a=o.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(o.reversed,this.reversed),this.visible=o.visible,this.zoomEnabled=o.zoomEnabled,this.hasNames="category"===a||!0===o.categories,this.categories=M(o.categories)&&o.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(o.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=o.minRange||o.maxZoom,this.range=o.range,this.offset=o.offset||0,this.max=void 0,this.min=void 0;let l=P(o.crosshair,I(t.options.tooltip.crosshairs)[r?0:1]);this.crosshair=!0===l?{}:l,-1===t.axes.indexOf(this)&&(r?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),O(this,t[this.coll])),t.orderItems(this.coll),this.series=this.series||[],t.inverted&&!this.isZAxis&&r&&!b(this.reversed)&&(this.reversed=!0),this.labelRotation=C(s.rotation)?s.rotation:void 0,h(this,o),_(this,"afterInit")}setOptions(t){let e=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=T(e,d[this.coll],t),_(this,"afterSetOptions",{userOptions:t})}defaultLabelFormatter(){let t,e,n=this.axis,{numberFormatter:r}=this.chart,i=C(this.value)?this.value:NaN,o=n.chart.time,s=n.categories,a=this.dateTimeLabelFormat,l=d.lang,c=l.numericSymbols,u=l.numericSymbolMagnitude||1e3,h=n.logarithmic?Math.abs(i):n.tickInterval,f=c&&c.length;if(s)e=`${this.value}`;else if(a)e=o.dateFormat(a,i);else if(f&&c&&h>=1e3)for(;f--&&void 0===e;)h>=(t=Math.pow(u,f+1))&&10*i%t==0&&null!==c[f]&&0!==i&&(e=r(i/t,-1)+c[f]);return void 0===e&&(e=Math.abs(i)>=1e4?r(i,-1):r(i,-1,void 0,"")),e}getSeriesExtremes(){let t,e=this;_(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=void 0,e.softThreshold=!e.isXAxis,e.series.forEach((n=>{if(n.reserveSpace()){let r,i,o,s=n.options,a=s.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=(a||0)&&(a=void 0),e.isXAxis)(r=n.xData)&&r.length&&(r=e.logarithmic?r.filter((t=>t>0)):r,i=(t=n.getXExtremes(r)).min,o=t.max,C(i)||i instanceof Date||(r=r.filter(C),i=(t=n.getXExtremes(r)).min,o=t.max),r.length&&(e.dataMin=Math.min(P(e.dataMin,i),i),e.dataMax=Math.max(P(e.dataMax,o),o)));else{let t=n.applyExtremes();C(t.dataMin)&&(i=t.dataMin,e.dataMin=Math.min(P(e.dataMin,i),i)),C(t.dataMax)&&(o=t.dataMax,e.dataMax=Math.max(P(e.dataMax,o),o)),b(a)&&(e.threshold=a),(!s.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}}))})),_(this,"afterGetSeriesExtremes")}translate(t,e,n,r,i,o){let s=this.linkedParent||this,a=r&&s.old?s.old.min:s.min;if(!C(a))return NaN;let l=s.minPixelPadding,c=(s.isOrdinal||s.brokenAxis?.hasBreaks||s.logarithmic&&i)&&s.lin2val,u=1,d=0,h=r&&s.old?s.old.transA:s.transA,f=0;return h||(h=s.transA),n&&(u*=-1,d=s.len),s.reversed&&(u*=-1,d-=u*(s.sector||s.len)),e?(f=(t=t*u+d-l)/h+a,c&&(f=s.lin2val(f))):(c&&(t=s.val2lin(t)),f=u*(t-a)*h+d+u*l+(C(o)?h*o:0),s.isRadial||(f=v(f))),f}toPixels(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)}toValue(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(t){let e,n,r,i,o,s=this,a=s.chart,l=s.left,c=s.top,u=t.old,d=t.value,h=t.lineWidth,f=u&&a.oldChartHeight||a.chartHeight,p=u&&a.oldChartWidth||a.chartWidth,m=s.transB,v=t.translatedValue,b=t.force;function y(t,e,n){return"pass"!==b&&(t<e||t>n)&&(b?t=g(t,e,n):o=!0),t}let x={value:d,lineWidth:h,old:u,force:b,acrossPanes:t.acrossPanes,translatedValue:v};return _(this,"getPlotLinePath",x,(function(t){e=r=(v=g(v=P(v,s.translate(d,void 0,void 0,u)),-1e5,1e5))+m,n=i=f-v-m,C(v)?s.horiz?(n=c,i=f-s.bottom+(a.scrollablePixelsY||0),e=r=y(e,l,l+s.width)):(e=l,r=p-s.right+(a.scrollablePixelsX||0),n=i=y(n,c,c+s.height)):(o=!0,b=!1),t.path=o&&!b?void 0:a.renderer.crispLine([["M",e,n],["L",r,i]],h||1)})),x.path}getLinearTickPositions(t,e,n){let r,i,o,s=v(Math.floor(e/t)*t),a=v(Math.ceil(n/t)*t),l=[];if(v(s+t)===s&&(o=20),this.single)return[e];for(r=s;r<=a&&(l.push(r),(r=v(r+t,o))!==i);)i=r;return l}getMinorTickInterval(){let{minorTicks:t,minorTickInterval:e}=this.options;return!0===t?P(e,"auto"):!1!==t?e:void 0}getMinorTickPositions(){let t,e=this.options,n=this.tickPositions,r=this.minorTickInterval,i=this.pointRangePadding||0,o=(this.min||0)-i,s=(this.max||0)+i,a=s-o,l=[];if(a&&a/r<this.len/3){let i=this.logarithmic;if(i)this.paddedTicks.forEach((function(t,e,n){e&&l.push.apply(l,i.getLogTickPositions(r,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())l=l.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(r),o,s,e.startOfWeek));else for(t=o+(n[0]-o)%r;t<=s&&t!==l[0];t+=r)l.push(t)}return 0!==l.length&&this.trimTicks(l),l}adjustForMinRange(){let t,e,n,r,i=this.options,o=this.logarithmic,{max:s,min:a,minRange:l}=this;this.isXAxis&&void 0===l&&!o&&(l=b(i.min)||b(i.max)||b(i.floor)||b(i.ceiling)?null:Math.min(5*(S(this.series.map((t=>(t.xIncrement?t.xData?.slice(0,2):t.xData)||[])))||0),this.dataMax-this.dataMin)),C(s)&&C(a)&&C(l)&&s-a<l&&(e=this.dataMax-this.dataMin>=l,t=(l-s+a)/2,n=[a-t,P(i.min,a-t)],e&&(n[2]=o?o.log2lin(this.dataMin):this.dataMin),r=[(a=p(n))+l,P(i.max,a+l)],e&&(r[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=m(r))-a<l&&(n[0]=s-l,n[1]=P(i.min,s-l),a=p(n))),this.minRange=l,this.min=a,this.max=s}getClosest(){let t,e;if(this.categories)e=1;else{let n=[];this.series.forEach((function(t){let r=t.closestPointRange;1===t.xData?.length?n.push(t.xData[0]):!t.noSharedTooltip&&b(r)&&t.reserveSpace()&&(e=b(e)?Math.min(e,r):r)})),n.length&&(n.sort(((t,e)=>t-e)),t=S([n]))}return t&&e?Math.min(t,e):t||e}nameToX(t){let e,n=M(this.options.categories),r=n?this.categories:this.names,i=t.options.x;return t.series.requireSorting=!1,b(i)||(i=this.options.uniqueNames&&r?n?r.indexOf(t.name):P(r.keys[t.name],-1):t.series.autoIncrement()),-1===i?!n&&r&&(e=r.length):e=i,void 0!==e?(this.names[e]=t.name,this.names.keys[t.name]=e):t.x&&(e=t.x),e}updateNames(){let t=this,e=this.names;e.length>0&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((e=>{e.xIncrement=null,(!e.points||e.isDirtyData)&&(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,r){let i;n?.options&&void 0!==n.name&&void 0!==(i=t.nameToX(n))&&i!==n.x&&(n.x=i,e.xData[r]=i)}))})))}setAxisTranslation(){let t,e,n=this,r=n.max-n.min,i=n.linkedParent,o=!!n.categories,s=n.isXAxis,a=n.axisPointRange||0,l=0,c=0,u=n.transA;(s||o||a)&&(t=n.getClosest(),i?(l=i.minPointOffset,c=i.pointRangePadding):n.series.forEach((function(e){let r=o?1:s?P(e.options.pointRange,t,0):n.axisPointRange||0,i=e.options.pointPlacement;if(a=Math.max(a,r),!n.single||o){let t=e.is("xrange")?!s:s;l=Math.max(l,t&&A(i)?0:r/2),c=Math.max(c,t&&"on"===i?0:r)}})),e=n.ordinal&&n.ordinal.slope&&t?n.ordinal.slope/t:1,n.minPointOffset=l*=e,n.pointRangePadding=c*=e,n.pointRange=Math.min(a,n.single&&o?1:r),s&&t&&(n.closestPointRange=t)),n.translationSlope=n.transA=u=n.staticScale||n.len/(r+c||1),n.transB=n.horiz?n.left:n.bottom,n.minPixelPadding=u*l,_(this,"afterSetAxisTranslation")}minFromRange(){let{max:t,min:e}=this;return C(t)&&C(e)&&t-e||void 0}setTickInterval(t){let e,n,r,i,o,{categories:s,chart:a,dataMax:l,dataMin:c,dateTime:u,isXAxis:d,logarithmic:h,options:f,softThreshold:p}=this,m=C(this.threshold)?this.threshold:void 0,g=this.minRange||0,{ceiling:y,floor:x,linkedTo:k,softMax:S,softMin:O}=f,M=C(k)&&a[this.coll]?.[k],A=f.tickPixelInterval,T=f.maxPadding,E=f.minPadding,D=0,j=C(f.tickInterval)&&f.tickInterval>=0?f.tickInterval:void 0;if(u||s||M||this.getTickAmount(),i=P(this.userMin,f.min),o=P(this.userMax,f.max),M?(this.linkedParent=M,e=M.getExtremes(),this.min=P(e.min,e.dataMin),this.max=P(e.max,e.dataMax),f.type!==M.options.type&&w(11,!0,a)):(p&&b(m)&&C(l)&&C(c)&&(c>=m?(n=m,E=0):l<=m&&(r=m,T=0)),this.min=P(i,n,c),this.max=P(o,r,l)),C(this.max)&&C(this.min)&&(h&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,P(c,this.min))&&w(10,!0,a),this.min=v(h.log2lin(this.min),16),this.max=v(h.log2lin(this.max),16)),this.range&&C(c)&&(this.userMin=this.min=i=Math.max(c,this.minFromRange()||0),this.userMax=o=this.max,this.range=void 0)),_(this,"foundExtremes"),this.adjustForMinRange(),C(this.min)&&C(this.max)){if(!C(this.userMin)&&C(O)&&O<this.min&&(this.min=i=O),!C(this.userMax)&&C(S)&&S>this.max&&(this.max=o=S),s||this.axisPointRange||this.stacking?.usePercentage||M||!(D=this.max-this.min)||(!b(i)&&E&&(this.min-=D*E),b(o)||!T||(this.max+=D*T)),!C(this.userMin)&&C(x)&&(this.min=Math.max(this.min,x)),!C(this.userMax)&&C(y)&&(this.max=Math.min(this.max,y)),p&&C(c)&&C(l)){let t=m||0;!b(i)&&this.min<t&&c>=t?this.min=f.minRange?Math.min(t,this.max-g):t:!b(o)&&this.max>t&&l<=t&&(this.max=f.minRange?Math.max(t,this.min+g):t)}!a.polar&&this.min>this.max&&(b(f.min)?this.max=this.min:b(f.max)&&(this.min=this.max)),D=this.max-this.min}if(this.min!==this.max&&C(this.min)&&C(this.max)?M&&!j&&A===M.options.tickPixelInterval?this.tickInterval=j=M.tickInterval:this.tickInterval=P(j,this.tickAmount?D/Math.max(this.tickAmount-1,1):void 0,s?1:D*A/Math.max(this.len,A)):this.tickInterval=1,d&&!t){let t=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach((function(e){e.forceCrop=e.forceCropping?.(),e.processData(t)})),_(this,"postProcessData",{hasExtremesChanged:t})}this.setAxisTranslation(),_(this,"initialAxisTranslation"),this.pointRange&&!j&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let L=P(f.minTickInterval,u&&!this.series.some((t=>t.noSharedTooltip))?this.closestPointRange:0);!j&&this.tickInterval<L&&(this.tickInterval=L),u||h||j||(this.tickInterval=R(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let t,e=this.options,n=e.tickPositions,r=e.tickPositioner,i=this.getMinorTickInterval(),o=!this.isPanning,s=o&&e.startOnTick,a=o&&e.endOnTick,l=[];if(this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/e.minorTicksPerMajor:i,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(this.min%1==0||!1!==e.allowDecimals),n)l=n.slice();else if(C(this.min)&&C(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))l=[this.min,this.max],w(19,!1,this.chart);else if(this.dateTime)l=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)l=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let t=this.tickInterval,e=t;for(;e<=2*t&&(l=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&l.length>this.tickAmount);)this.tickInterval=R(this,e*=1.1)}l.length>this.len&&(l=[l[0],l[l.length-1]])[0]===l[1]&&(l.length=1),r&&(this.tickPositions=l,(t=r.apply(this,[this.min,this.max]))&&(l=t))}this.tickPositions=l,this.paddedTicks=l.slice(0),this.trimTicks(l,s,a),!this.isLinked&&C(this.min)&&C(this.max)&&(this.single&&l.length<2&&!this.categories&&!this.series.some((t=>t.is("heatmap")&&"between"===t.options.pointPlacement))&&(this.min-=.5,this.max+=.5),n||t||this.adjustTickAmount()),_(this,"afterSetTickPositions")}trimTicks(t,e,n){let r=t[0],i=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(_(this,"trimTicks"),!this.isLinked){if(e&&r!==-1/0)this.min=r;else for(;this.min-o>t[0];)t.shift();if(n)this.max=i;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&b(r)&&!this.options.tickPositions&&t.push((i+r)/2)}}alignToOthers(){let t,e=this,n=e.chart,r=[this],i=e.options,o=n.options.chart,s="yAxis"===this.coll&&o.alignThresholds,a=[];if(e.thresholdAlignment=void 0,(!1!==o.alignTicks&&i.alignTicks||s)&&!1!==i.startOnTick&&!1!==i.endOnTick&&!e.logarithmic){let i=t=>{let{horiz:e,options:n}=t;return[e?n.left:n.top,n.width,n.height,n.pane].join(",")},o=i(this);n[this.coll].forEach((function(n){let{series:s}=n;s.length&&s.some((t=>t.visible))&&n!==e&&i(n)===o&&(t=!0,r.push(n))}))}if(t&&s){r.forEach((t=>{let n=t.getThresholdAlignment(e);C(n)&&a.push(n)}));let t=a.length>1?a.reduce(((t,e)=>t+e),0)/a.length:void 0;r.forEach((e=>{e.thresholdAlignment=t}))}return t}getThresholdAlignment(t){if((!C(this.dataMin)||this!==t&&this.series.some((t=>t.isDirty||t.isDirtyData)))&&this.getSeriesExtremes(),C(this.threshold)){let t=g((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(t=1-t),t}}getTickAmount(){let t=this.options,e=t.tickPixelInterval,n=t.tickAmount;b(t.tickInterval)||n||!(this.len<e)||this.isRadial||this.logarithmic||!t.startOnTick||!t.endOnTick||(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),n<4&&(this.finalTickAmt=n,n=5),this.tickAmount=n}adjustTickAmount(){let t,e,n,r=this,{finalTickAmt:i,max:o,min:s,options:a,tickPositions:l,tickAmount:c,thresholdAlignment:u}=r,d=l?.length,h=P(r.threshold,r.softThreshold?0:null),f=r.tickInterval,p=()=>l.push(v(l[l.length-1]+f)),m=()=>l.unshift(v(l[0]-f));if(C(u)&&(n=u<.5?Math.ceil(u*(c-1)):Math.floor(u*(c-1)),a.reversed&&(n=c-1-n)),r.hasData()&&C(s)&&C(o)){let u=()=>{r.transA*=(d-1)/(c-1),r.min=a.startOnTick?l[0]:Math.min(s,l[0]),r.max=a.endOnTick?l[l.length-1]:Math.max(o,l[l.length-1])};if(C(n)&&C(r.threshold)){for(;l[n]!==h||l.length!==c||l[0]>s||l[l.length-1]<o;){for(l.length=0,l.push(r.threshold);l.length<c;)void 0===l[n]||l[n]>r.threshold?m():p();if(f>8*r.tickInterval)break;f*=2}u()}else if(d<c){for(;l.length<c;)l.length%2||s===h?p():m();u()}if(b(i)){for(e=t=l.length;e--;)(3===i&&e%2==1||i<=2&&e>0&&e<t-1)&&l.splice(e,1);r.finalTickAmt=void 0}}}setScale(){let{coll:t,stacking:e}=this,n=!1,r=!1;this.series.forEach((t=>{n=n||t.isDirtyData||t.isDirty,r=r||t.xAxis&&t.xAxis.isDirty||!1})),this.setAxisSize();let i=this.len!==(this.old&&this.old.len);i||n||r||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(e&&"yAxis"===t&&e.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),e&&"xAxis"===t&&e.buildStacks(),this.isDirty||(this.isDirty=i||this.min!==this.old?.min||this.max!==this.old?.max)):e&&e.cleanStacks(),n&&delete this.allExtremes,_(this,"afterSetScale")}setExtremes(t,e,n=!0,r,i){this.series.forEach((t=>{delete t.kdTree})),_(this,"setExtremes",i=k(i,{min:t,max:e}),(t=>{this.userMin=t.min,this.userMax=t.max,this.eventArgs=t,n&&this.chart.redraw(r)}))}setAxisSize(){let t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],r=this.horiz,i=this.width=Math.round(j(P(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(j(P(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),s=this.top=Math.round(j(P(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(j(P(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-o-s,this.right=t.chartWidth-i-a,this.len=Math.max(r?i:o,0),this.pos=r?a:s}getExtremes(){let t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(t){let e=this.logarithmic,n=e?e.lin2log(this.min):this.min,r=e?e.lin2log(this.max):this.max;return null===t||t===-1/0?t=n:t===1/0?t=r:n>t?t=n:r<t&&(t=r),this.translate(t,0,1,0,1)}autoLabelAlign(t){let e=(P(t,0)-90*this.side+720)%360,n={align:"center"};return _(this,"autoLabelAlign",n,(function(t){e>15&&e<165?t.align="right":e>195&&e<345&&(t.align="left")})),n.align}tickSize(t){let e,n=this.options,r=P(n["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),i=n["tick"===t?"tickLength":"minorTickLength"];r&&i&&("inside"===n[t+"Position"]&&(i=-i),e=[i,r]);let o={tickSize:e};return _(this,"afterTickSize",o),o.tickSize}labelMetrics(){let t=this.chart.renderer,e=this.ticks,n=e[Object.keys(e)[0]]||{};return this.chart.renderer.fontMetrics(n.label||n.movedLabel||t.box)}unsquish(){let t,e,n=this.options.labels,r=n.padding||0,i=this.horiz,o=this.tickInterval,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,l=v(.8*this.labelMetrics().h),c=Math.max(this.max-this.min,0),u=function(t){let e=(t+2*r)/(s||1);return(e=e>1?Math.ceil(e):1)*o>c&&t!==1/0&&s!==1/0&&c&&(e=Math.ceil(c/o)),v(e*o)},d=o,h=Number.MAX_VALUE;if(i){if(!n.staggerLines&&(C(a)?e=[a]:s<n.autoRotationLimit&&(e=n.autoRotation)),e){let n,r;for(let i of e)(i===a||i&&i>=-90&&i<=90)&&(r=(n=u(Math.abs(l/Math.sin(f*i))))+Math.abs(i/360))<h&&(h=r,t=i,d=n)}}else d=u(.75*l);return this.autoRotation=e,this.labelRotation=P(t,C(a)?a:0),n.step?o:d}getSlotWidth(t){let e=this.chart,n=this.horiz,r=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&C(t.slotWidth))return t.slotWidth;if(n&&r.step<2)return r.rotation?0:(this.staggerLines||1)*this.len/i;if(!n){let t=r.style.width;if(void 0!==t)return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth}renderUnsquish(){let t,e,n,r,i=this.chart,o=i.renderer,s=this.tickPositions,a=this.ticks,l=this.options.labels,c=l.style,u=this.horiz,d=this.getSlotWidth(),h=Math.max(1,Math.round(d-(u?2*(l.padding||0):l.distance||0))),f={},p=this.labelMetrics(),m=c.textOverflow,g=0;if(A(l.rotation)||(f.rotation=l.rotation||0),s.forEach((function(t){let e=a[t];e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>g&&(g=e.label.textPxLength)})),this.maxLabelLength=g,this.autoRotation)g>h&&g>p.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(d&&(t=h,!m))for(e="clip",r=s.length;!u&&r--;)(n=a[s[r]].label)&&("ellipsis"===n.styles.textOverflow?n.css({textOverflow:"clip"}):n.textPxLength>d&&n.css({width:d+"px"}),n.getBBox().height>this.len/s.length-(p.h-p.f)&&(n.specificTextOverflow="ellipsis"));f.rotation&&(t=g>.5*i.chartHeight?.33*i.chartHeight:g,m||(e="ellipsis")),this.labelAlign=l.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(f.align=this.labelAlign),s.forEach((function(n){let r=a[n],i=r&&r.label,o=c.width,s={};i&&(i.attr(f),r.shortenLabel?r.shortenLabel():t&&!o&&"nowrap"!==c.whiteSpace&&(t<i.textPxLength||"SPAN"===i.element.tagName)?(s.width=t+"px",m||(s.textOverflow=i.specificTextOverflow||e),i.css(s)):!i.styles.width||s.width||o||i.css({width:null}),delete i.specificTextOverflow,r.rotation=f.rotation)}),this),this.tickRotCorr=o.rotCorr(p.b,this.labelRotation||0,0!==this.side)}hasData(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&b(this.min)&&b(this.max)}addTitle(t){let e,n=this.chart.renderer,r=this.horiz,i=this.opposite,o=this.options.title,s=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title"),s||this.axisTitle.css(T(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),s||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)}generateTick(t){let e=this.ticks;e[t]?e[t].addLabel():e[t]=new s(this,t)}createGroups(){let{axisParent:t,chart:e,coll:n,options:r}=this,i=e.renderer,o=(e,o,s)=>i.g(e).attr({zIndex:s}).addClass(`highcharts-${n.toLowerCase()}${o} `+(this.isRadial?`highcharts-radial-axis${o} `:"")+(r.className||"")).add(t);this.axisGroup||(this.gridGroup=o("grid","-grid",r.gridZIndex),this.axisGroup=o("axis","",r.zIndex),this.labelGroup=o("axis-labels","-labels",r.labels.zIndex))}getOffset(){let t,e,n,r,i=this,{chart:o,horiz:s,options:a,side:l,ticks:c,tickPositions:u,coll:d}=i,h=o.inverted&&!i.isZAxis?[1,0,3,2][l]:l,f=i.hasData(),p=a.title,m=a.labels,g=C(a.crossing),v=o.axisOffset,y=o.clipOffset,x=[-1,1,1,-1][l],w=0,k=0,S=0;if(i.showAxis=t=f||a.showEmpty,i.staggerLines=i.horiz&&m.staggerLines||void 0,i.createGroups(),f||i.isLinked?(u.forEach((function(t){i.generateTick(t)})),i.renderUnsquish(),i.reserveSpaceDefault=0===l||2===l||{1:"left",3:"right"}[l]===i.labelAlign,P(m.reserveSpace,!g&&null,"center"===i.labelAlign||null,i.reserveSpaceDefault)&&u.forEach((function(t){S=Math.max(c[t].getLabelSize(),S)})),i.staggerLines&&(S*=i.staggerLines),i.labelOffset=S*(i.opposite?-1:1)):D(c,(function(t,e){t.destroy(),delete c[e]})),p?.text&&!1!==p.enabled&&(i.addTitle(t),t&&!g&&!1!==p.reserveSpace&&(i.titleOffset=w=i.axisTitle.getBBox()[s?"height":"width"],k=b(e=p.offset)?0:P(p.margin,s?5:10))),i.renderLine(),i.offset=x*P(a.offset,v[l]?v[l]+(a.margin||0):0),i.tickRotCorr=i.tickRotCorr||{x:0,y:0},r=0===l?-i.labelMetrics().h:2===l?i.tickRotCorr.y:0,n=Math.abs(S)+k,S&&(n-=r,n+=x*(s?P(m.y,i.tickRotCorr.y+x*m.distance):P(m.x,x*m.distance))),i.axisTitleMargin=P(e,n),i.getMaxLabelDimensions&&(i.maxLabelDimensions=i.getMaxLabelDimensions(c,u)),"colorAxis"!==d&&y){let t=this.tickSize("tick");v[l]=Math.max(v[l],(i.axisTitleMargin||0)+w+x*i.offset,n,u&&u.length&&t?t[0]+x*i.offset:0);let e=!i.axisLine||a.offset?0:i.axisLine.strokeWidth()/2;y[h]=Math.max(y[h],e)}_(this,"afterGetOffset")}getLinePath(t){let e=this.chart,n=this.opposite,r=this.offset,i=this.horiz,o=this.left+(n?this.width:0)+r,s=e.chartHeight-this.bottom-(n?this.height:0)+r;return n&&(t*=-1),e.renderer.crispLine([["M",i?this.left:o,i?s:this.top],["L",i?e.chartWidth-this.right:o,i?s:e.chartHeight-this.bottom]],t)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(t){let e=this.horiz,n=this.left,r=this.top,i=this.len,o=this.options.title,s=e?n:r,a=this.opposite,l=this.offset,c=o.x,u=o.y,d=this.chart.renderer.fontMetrics(t),h=t?Math.max(t.getBBox(!1,0).height-d.h-1,0):0,f={low:s+(e?0:i),middle:s+i/2,high:s+(e?i:0)}[o.align],p=(e?r+this.height:n)+(e?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-h,h,d.f,-h][this.side],m={x:e?f+c:p+(a?this.width:0)+l+c,y:e?p+u-(a?this.height:0)+l:f+u};return _(this,"afterGetTitlePosition",{titlePosition:m}),m}renderMinorTick(t,e){let n=this.minorTicks;n[t]||(n[t]=new s(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)}renderTick(t,e,n){let r=this.isLinked,i=this.ticks;(!r||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(i[t]||(i[t]=new s(this,t)),n&&i[t].isNew&&i[t].render(e,!0,-1),i[t].render(e))}render(){let t,e,n=this,r=n.chart,i=n.logarithmic,a=r.renderer,c=n.options,u=n.isLinked,d=n.tickPositions,h=n.axisTitle,f=n.ticks,p=n.minorTicks,m=n.alternateBands,g=c.stackLabels,v=c.alternateGridColor,b=c.crossing,y=n.tickmarkOffset,x=n.axisLine,w=n.showAxis,k=l(a.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[f,p,m].forEach((function(t){D(t,(function(t){t.isActive=!1}))})),C(b)){let t=this.isXAxis?r.yAxis[0]:r.xAxis[0],e=[1,-1,-1,1][this.side];if(t){let r=t.toPixels(b,!0);n.horiz&&(r=t.len-r),n.offset=e*r}}if(n.hasData()||u){let a=n.chart.hasRendered&&n.old&&C(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,a)})),d.length&&(d.forEach((function(t,e){n.renderTick(t,e,a)})),y&&(0===n.min||n.single)&&(f[-1]||(f[-1]=new s(n,-1,null,!0)),f[-1].render(-1))),v&&d.forEach((function(s,a){e=void 0!==d[a+1]?d[a+1]+y:n.max-y,a%2==0&&s<n.max&&e<=n.max+(r.polar?-y:y)&&(m[s]||(m[s]=new o.PlotLineOrBand(n,{})),t=s+y,m[s].options={from:i?i.lin2log(t):t,to:i?i.lin2log(e):e,color:v,className:"highcharts-alternate-grid"},m[s].render(),m[s].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(c.plotLines||[]).concat(c.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[f,p,m].forEach((function(t){let e=[],n=k.duration;D(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),N((function(){let n=e.length;for(;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==m&&r.hasRendered&&n?n:0)})),x&&(x[x.isPlaced?"animate":"attr"]({d:this.getLinePath(x.strokeWidth())}),x.isPlaced=!0,x[w?"show":"hide"](w)),h&&w&&(h[h.isNew?"attr":"animate"](n.getTitlePosition(h)),h.isNew=!1),g&&g.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,_(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))}getKeepProps(){return this.keepProps||$.keepProps}destroy(t){let e=this,n=e.plotLinesAndBands,r=this.eventOptions;if(_(this,"destroy",{keepEvents:t}),t||L(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){y(t)})),n){let t=n.length;for(;t--;)n[t].destroy()}for(let t in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[t]=e.plotLinesAndBandsGroups[t].destroy();D(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=r}drawCrosshair(t,e){let r,i,o,s,a=this.crosshair,l=P(a&&a.snap,!0),c=this.chart,u=this.cross;if(_(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),a&&!1!==(b(e)||!l)){if(l?b(e)&&(i=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),b(i)&&(s={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:i},c.polar&&k(s,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),r=this.getPlotLinePath(s)||null),!b(r))return void this.hideCrosshair();o=this.categories&&!this.isRadial,u||(this.cross=u=c.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(a.className||"")).attr({zIndex:P(a.zIndex,2)}).add(),!c.styledMode&&(u.attr({stroke:a.color||(o?n.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":P(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&u.attr({dashstyle:a.dashStyle}))),u.show().attr({d:r}),o&&!a.width&&u.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();_(this,"afterDrawCrosshair",{e:t,point:e})}hideCrosshair(){this.cross&&this.cross.hide(),_(this,"afterHideCrosshair")}update(t,e){let n=this.chart;t=T(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,P(e,!0)&&n.redraw()}remove(t){let e=this.chart,n=this.coll,r=this.series,i=r.length;for(;i--;)r[i]&&r[i].remove(!1);x(e.axes,this),x(e[n]||[],this),e.orderItems(n),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()}setTitle(t,e){this.update({title:t},e)}setCategories(t,e){this.update({categories:t},e)}}return $.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],$})),n(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,getMagnitude:r,normalizeTickInterval:i,timeUnits:o}=t;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function s(){"datetime"===this.options.type?this.dateTime||(this.dateTime=new a(this)):this.dateTime=void 0}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"afterSetOptions",s)),t};class a{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let n,s=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],a=s[s.length-1],l=o[a[0]],c=a[1];for(n=0;n<s.length&&(l=o[(a=s[n])[0]],c=a[1],!(s[n+1]&&t<=(l*c[c.length-1]+o[s[n+1][0]])/2));n++);return l===o.year&&t<5*l&&(c=[1,2,5]),{unitRange:l,count:i(t/l,c,"year"===a[0]?Math.max(r(t/l),1):1),unitName:a[0]}}getXDateFormat(t,e){let{axis:n}=this,r=n.chart.time;return n.closestPointRange?r.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||r.resolveDTLFormat(e.year).main:r.resolveDTLFormat(e.day).main}}t.Additions=a}(e||(e={})),e})),n(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{addEvent:n,normalizeTickInterval:r,pick:i}=t;return function(t){function e(t){let e=t.userOptions,n=this.logarithmic;"logarithmic"!==e.type?this.logarithmic=void 0:n||(n=this.logarithmic=new s(this))}function o(){let t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}t.compose=function(t){return t.keepProps.includes("logarithmic")||(t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",o)),t};class s{constructor(t){this.axis=t}getLogTickPositions(t,e,n,o){let s=this.axis,a=s.len,l=s.options,c=[];if(o||(this.minorAutoInterval=void 0),t>=.5)t=Math.round(t),c=s.getLinearTickPositions(t,e,n);else if(t>=.08){let r,i,s,a,l,u,d;for(r=t>.3?[1,2,4]:t>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],i=Math.floor(e);i<n+1&&!d;i++)for(s=0,a=r.length;s<a&&!d;s++)(l=this.log2lin(this.lin2log(i)*r[s]))>e&&(!o||u<=n)&&void 0!==u&&c.push(u),u>n&&(d=!0),u=l}else{let u=this.lin2log(e),d=this.lin2log(n),h=o?s.getMinorTickInterval():l.tickInterval,f=l.tickPixelInterval/(o?5:1),p=o?a/s.tickPositions.length:a;t=r(t=i("auto"===h?null:h,this.minorAutoInterval,(d-u)*f/(p||1))),c=s.getLinearTickPositions(t,u,d).map(this.log2lin),o||(this.minorAutoInterval=t/5)}return o||(s.tickInterval=t),c}lin2log(t){return Math.pow(10,t)}log2lin(t){return Math.log(t)/Math.LN10}}t.Additions=s}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],(function(t){var e;let{erase:n,extend:r,isNumber:i}=t;return function(t){let e;function o(t){return this.addPlotBandOrLine(t,"plotBands")}function s(t,n){let r=this.userOptions,i=new e(this,t);if(this.visible&&(i=i.render()),i){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach((t=>{this.addPlotBandOrLine(t)}))),n){let e=r[n]||[];e.push(t),r[n]=e}this.plotLinesAndBands.push(i)}return i}function a(t){return this.addPlotBandOrLine(t,"plotLines")}function l(t,e,n){n=n||this.options;let r,o,s=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),a=[],l=this.horiz,c=!i(this.min)||!i(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,u=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),d=1;if(u&&s)for(c&&(o=u.toString()===s.toString(),d=0),r=0;r<u.length;r+=2){let t=u[r],e=u[r+1],n=s[r],i=s[r+1];("M"===t[0]||"L"===t[0])&&("M"===e[0]||"L"===e[0])&&("M"===n[0]||"L"===n[0])&&("M"===i[0]||"L"===i[0])&&(l&&n[1]===t[1]?(n[1]+=d,i[1]+=d):l||n[2]!==t[2]||(n[2]+=d,i[2]+=d),a.push(["M",t[1],t[2]],["L",e[1],e[2]],["L",i[1],i[2]],["L",n[1],n[2]],["Z"])),a.isFlat=o}return a}function c(t){this.removePlotBandOrLine(t)}function u(t){let e=this.plotLinesAndBands,r=this.options,i=this.userOptions;if(e){let o=e.length;for(;o--;)e[o].id===t&&e[o].destroy();[r.plotLines||[],i.plotLines||[],r.plotBands||[],i.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&n(e,e[o])}))}}function d(t){this.removePlotBandOrLine(t)}t.compose=function(t,n){let i=n.prototype;return i.addPlotBand||(e=t,r(i,{addPlotBand:o,addPlotLine:a,addPlotBandOrLine:s,getPlotBandPath:l,removePlotBand:c,removePlotLine:d,removePlotBandOrLine:u})),n}}(e||(e={})),e})),n(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],(function(t,e){let{arrayMax:n,arrayMin:r,defined:i,destroyObjectProperties:o,erase:s,fireEvent:a,merge:l,objectEach:c,pick:u}=e;class d{static compose(e){return t.compose(d,e)}constructor(t,e){this.axis=t,this.options=e,this.id=e.id}render(){a(this,"render");let t,{axis:e,options:n}=this,{horiz:r,logarithmic:o}=e,{color:s,events:d,zIndex:h=0}=n,f={},p=e.chart.renderer,m=n.to,g=n.from,v=n.value,b=n.borderWidth,y=n.label,{label:x,svgElem:w}=this,k=[],_=i(g)&&i(m),S=i(v),O=!w,M={class:"highcharts-plot-"+(_?"band ":"line ")+(n.className||"")},C=_?"bands":"lines";if(!e.chart.styledMode&&(S?(M.stroke=s||"#999999",M["stroke-width"]=u(n.width,1),n.dashStyle&&(M.dashstyle=n.dashStyle)):_&&(M.fill=s||"#e6e9ff",b&&(M.stroke=n.borderColor,M["stroke-width"]=b))),f.zIndex=h,C+="-"+h,(t=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=t=p.g("plot-"+C).attr(f).add()),w||(this.svgElem=w=p.path().attr(M).add(t)),i(v))k=e.getPlotLinePath({value:o?.log2lin(v)??v,lineWidth:w.strokeWidth(),acrossPanes:n.acrossPanes});else{if(!i(g)||!i(m))return;k=e.getPlotBandPath(o?.log2lin(g)??g,o?.log2lin(m)??m,n)}return!this.eventsAdded&&d&&(c(d,((t,e)=>{w?.on(e,(t=>{d[e].apply(this,[t])}))})),this.eventsAdded=!0),!O&&w.d||!k?.length?w&&(k?(w.show(),w.animate({d:k})):w.d&&(w.hide(),x&&(this.label=x=x.destroy()))):w.attr({d:k}),y&&(i(y.text)||i(y.formatter))&&k?.length&&e.width>0&&e.height>0&&!k.isFlat?(y=l({align:r&&_?"center":void 0,x:r?!_&&4:10,verticalAlign:!r&&_?"middle":void 0,y:r?_?16:10:_?6:-4,rotation:r&&!_?90:0},y),this.renderLabel(y,k,_,h)):x&&x.hide(),this}renderLabel(t,e,i,o){let s=this.axis,a=s.chart.renderer,c=this.label;c||(this.label=c=a.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||""),zIndex:o}),s.chart.styledMode||c.css(l({fontSize:"0.8em",textOverflow:"ellipsis"},t.style)),c.add());let u=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],d=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],h=r(u),f=r(d);if(c.align(t,!1,{x:h,y:f,width:n(u)-h,height:n(d)-f}),!c.alignValue||"left"===c.alignValue){let e=t.clip?s.width:s.chart.chartWidth;c.css({width:(90===c.rotation?s.height-(c.alignAttr.y-s.top):e-(c.alignAttr.x-s.left))+"px"})}c.show(!0)}getLabelText(t){return i(t.formatter)?t.formatter.call(this):t.text}destroy(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)}}return d})),n(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o){var s;let{animObject:a}=t,{format:l}=e,{composed:c,doc:u,isSafari:d}=n,{distribute:h}=r,{addEvent:f,clamp:p,css:m,discardElement:g,extend:v,fireEvent:b,isArray:y,isNumber:x,isString:w,merge:k,pick:_,pushUnique:S,splat:O,syncTimeout:M}=o;class C{constructor(t,e,n){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=t,this.init(t,e),this.pointer=n}bodyFormatter(t){return t.map((function(t){let e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))}cleanSplit(t){this.chart.series.forEach((function(e){let n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))}defaultFormatter(t){let e,n=this.points||O(this);return(e=(e=[t.tooltipFooterHeaderFormatter(n[0])]).concat(t.bodyFormatter(n))).push(t.tooltipFooterHeaderFormatter(n[0],!0)),e}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),g(this.container)),o.clearTimeout(this.hideTimer)}getAnchor(t,e){let n,{chart:r,pointer:i}=this,o=r.inverted,s=r.plotTop,a=r.plotLeft;if((t=O(t))[0].series&&t[0].series.yAxis&&!t[0].series.yAxis.options.reversedStacks&&(t=t.slice().reverse()),this.followPointer&&e)void 0===e.chartX&&(e=i.normalize(e)),n=[e.chartX-a,e.chartY-s];else if(t[0].tooltipPos)n=t[0].tooltipPos;else{let r=0,i=0;t.forEach((function(t){let e=t.pos(!0);e&&(r+=e[0],i+=e[1])})),r/=t.length,i/=t.length,this.shared&&t.length>1&&e&&(o?r=e.chartX:i=e.chartY),n=[r-a,i-s]}return n.map(Math.round)}getClassName(t,e,n){let r=this.options,i=t.series,o=i.options;return[r.className,"highcharts-label",n&&"highcharts-tooltip-header",e?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+_(t.colorIndex,i.colorIndex),o&&o.className].filter(w).join(" ")}getLabel(){let t=this,e=this.chart.styledMode,r=this.options,o=this.split&&this.allowShared,s=this.container,a=this.chart.renderer;if(this.label){let t=!this.label.hasClass("highcharts-label");(!o&&t||o&&!t)&&this.destroy()}if(!this.label){if(this.outside){let t=this.chart.options.chart.style,e=i.getRendererType();this.container=s=n.doc.createElement("div"),s.className="highcharts-tooltip-container",m(s,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(t&&t.zIndex||0)+3)}),this.renderer=a=new e(s,0,0,t,void 0,void 0,a.styledMode)}if(o?this.label=a.g("tooltip"):(this.label=a.label("",0,0,r.shape,void 0,void 0,r.useHTML,void 0,"tooltip").attr({padding:r.padding,r:r.borderRadius}),e||this.label.attr({fill:r.backgroundColor,"stroke-width":r.borderWidth||0}).css(r.style).css({pointerEvents:r.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),t.outside){let e=this.label;[e.xSetter,e.ySetter].forEach(((n,r)=>{e[r?"ySetter":"xSetter"]=i=>{n.call(e,t.distance),e[r?"y":"x"]=i,s&&(s.style[r?"top":"left"]=`${i}px`)}}))}this.label.attr({zIndex:8}).shadow(r.shadow).add()}return s&&!s.parentElement&&n.doc.body.appendChild(s),this.label}getPlayingField(){let{body:t,documentElement:e}=u,{chart:n,distance:r,outside:i}=this;return{width:i?Math.max(t.scrollWidth,e.scrollWidth,t.offsetWidth,e.offsetWidth,e.clientWidth)-2*r:n.chartWidth,height:i?Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,e.clientHeight):n.chartHeight}}getPosition(t,e,n){let r,{distance:i,chart:o,outside:s,pointer:a}=this,{inverted:l,plotLeft:c,plotTop:u,polar:d}=o,{plotX:h=0,plotY:f=0}=n,p={},m=l&&n.h||0,{height:g,width:v}=this.getPlayingField(),b=a.getChartPosition(),y=t=>t*b.scaleX,x=t=>t*b.scaleY,w=n=>{let r="x"===n;return[n,r?v:g,r?t:e].concat(s?[r?y(t):x(e),r?b.left-i+y(h+c):b.top-i+x(f+u),0,r?v:g]:[r?t:e,r?h+c:f+u,r?c:u,r?c+o.plotWidth:u+o.plotHeight])},k=w("y"),S=w("x"),O=!!n.negative;!d&&o.hoverSeries?.yAxis?.reversed&&(O=!O);let M=!this.followPointer&&_(n.ttBelow,!d&&!l===O),C=function(t,e,n,r,o,a,l){let c=s?"y"===t?x(i):y(i):i,u=(n-r)/2,d=r<o-i,h=o+i+r<e,f=o-c-n+u,g=o+c-u;if(M&&h)p[t]=g;else if(!M&&d)p[t]=f;else if(d)p[t]=Math.min(l-r,f-m<0?f:f-m);else{if(!h)return!1;p[t]=Math.max(a,g+m+n>e?g:g+m)}},A=function(t,e,n,r,o){if(o<i||o>e-i)return!1;p[t]=o<n/2?1:o>e-r/2?e-r-2:o-n/2},T=function(t){[k,S]=[S,k],r=t},E=()=>{!1!==C.apply(0,k)?!1!==A.apply(0,S)||r||(T(!0),E()):r?p.x=p.y=0:(T(!0),E())};return(l&&!d||this.len>1)&&T(),E(),p}hide(t){let e=this;o.clearTimeout(this.hideTimer),t=_(t,this.options.hideDelay),this.isHidden||(this.hideTimer=M((function(){let n=e.getLabel();e.getLabel().animate({opacity:0},{duration:t?150:t,complete:()=>{n.hide(),e.container&&e.container.remove()}}),e.isHidden=!0}),t))}init(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=_(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))}shouldStickOnContact(t){return!(this.followPointer||!this.options.stickOnContact||t&&!this.pointer.inClass(t.target,"highcharts-tooltip"))}move(t,e,n,r){let i=this,o=a(!i.isHidden&&i.options.animation),s={x:t,y:e};i.followPointer||(i.len||0)>1||(s.anchorX=n,s.anchorY=r),o.step=()=>i.drawTracker(),i.getLabel().animate(s,o)}refresh(t,e){let{chart:n,options:r,pointer:i,shared:s}=this,a=O(t),c=a[0],u=[],d=r.format,h=r.formatter||this.defaultFormatter,f=n.styledMode,p={};if(!r.enabled||!c.series)return;o.clearTimeout(this.hideTimer),this.allowShared=!(!y(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&c.series.tooltipOptions.followPointer;let m=this.getAnchor(t,e),g=m[0],v=m[1];s&&this.allowShared?(i.applyInactiveState(a),a.forEach((function(t){t.setState("hover"),u.push(t.getLabelConfig())})),(p=c.getLabelConfig()).points=u):p=c.getLabelConfig(),this.len=u.length;let x=w(d)?l(d,p,n):h.call(p,this),k=c.series;if(this.distance=_(k.tooltipOptions.distance,16),!1===x)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(x,a);else{let t=g,o=v;if(e&&i.isDirectTouch&&(t=e.chartX-n.plotLeft,o=e.chartY-n.plotTop),!n.polar&&!1!==k.options.clip&&!a.some((e=>i.isDirectTouch||e.series.shouldShowTooltip(t,o))))return void this.hide();{let t=this.getLabel();(!r.style.width||f)&&t.css({width:(this.outside?this.getPlayingField():n.spacingBox).width+"px"}),t.attr({text:x&&x.join?x.join(""):x}),t.addClass(this.getClassName(c),!0),f||t.attr({stroke:r.borderColor||c.color||k.color||"#666666"}),this.updatePosition({plotX:g,plotY:v,negative:c.negative,ttBelow:c.ttBelow,h:m[2]||0})}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}b(this,"refresh")}renderSplit(t,e){let n=this,{chart:r,chart:{chartWidth:i,chartHeight:o,plotHeight:s,plotLeft:a,plotTop:l,scrollablePixelsY:c=0,scrollablePixelsX:f,styledMode:m},distance:g,options:b,options:{positioner:y},pointer:x}=n,{scrollLeft:k=0,scrollTop:S=0}=r.scrollablePlotArea?.scrollingContainer||{},O=n.outside&&"number"!=typeof f?u.documentElement.getBoundingClientRect():{left:k,right:k+i,top:S,bottom:S+o},M=n.getLabel(),C=this.renderer||r.renderer,A=!(!r.xAxis[0]||!r.xAxis[0].opposite),{left:T,top:E}=x.getChartPosition(),D=l+S,P=0,j=s-c;function L(t,e,r,i,o=!0){let s,a;return r?(s=A?0:j,a=p(t-i/2,O.left,O.right-i-(n.outside?T:0))):(s=e-D,a=p(a=o?t-i-g:t+g,o?a:O.left,O.right)),{x:a,y:s}}w(t)&&(t=[!1,t]);let I=t.slice(0,e.length+1).reduce((function(t,r,i){if(!1!==r&&""!==r){let o=e[i-1]||{isHeader:!0,plotX:e[0].plotX,plotY:s,series:{}},c=o.isHeader,u=c?n:o.series,d=u.tt=function(t,e,r){let i=t,{isHeader:o,series:s}=e;if(!i){let t={padding:b.padding,r:b.borderRadius};m||(t.fill=b.backgroundColor,t["stroke-width"]=b.borderWidth??1),i=C.label("",0,0,b[o?"headerShape":"shape"],void 0,void 0,b.useHTML).addClass(n.getClassName(e,!0,o)).attr(t).add(M)}return i.isActive=!0,i.attr({text:r}),m||i.css(b.style).attr({stroke:b.borderColor||e.color||s.color||"#333333"}),i}(u.tt,o,r.toString()),h=d.getBBox(),f=h.width+d.strokeWidth();c&&(P=h.height,j+=P,A&&(D-=P));let{anchorX:v,anchorY:x}=function(t){let e,n,{isHeader:r,plotX:i=0,plotY:o=0,series:c}=t;if(r)e=Math.max(a+i,a),n=l+s/2;else{let{xAxis:t,yAxis:r}=c;e=t.pos+p(i,-g,t.len+g),c.shouldShowTooltip(0,r.pos-l+o,{ignoreX:!0})&&(n=r.pos+o)}return{anchorX:e=p(e,O.left-g,O.right+g),anchorY:n}}(o);if("number"==typeof x){let e=h.height+1,r=y?y.call(n,f,e,o):L(v,x,c,f);t.push({align:y?0:void 0,anchorX:v,anchorY:x,boxWidth:f,point:o,rank:_(r.rank,c?1:0),size:e,target:r.y,tt:d,x:r.x})}else d.isActive=!1}return t}),[]);!y&&I.some((t=>{let{outside:e}=n,r=(e?T:0)+t.anchorX;return r<O.left&&r+t.boxWidth<O.right||r<T-O.left+t.boxWidth&&O.right-r>r}))&&(I=I.map((t=>{let{x:e,y:n}=L(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return v(t,{target:n,x:e})}))),n.cleanSplit(),h(I,j);let N={left:T,right:T};I.forEach((function(t){let{x:e,boxWidth:r,isHeader:i}=t;!i&&(n.outside&&T+e<N.left&&(N.left=T+e),!i&&n.outside&&N.left+r>N.right&&(N.right=T+e))})),I.forEach((function(t){let{x:e,anchorX:r,anchorY:i,pos:o,point:{isHeader:s}}=t,a={visibility:void 0===o?"hidden":"inherit",x:e,y:(o||0)+D,anchorX:r,anchorY:i};if(n.outside&&e<r){let t=T-N.left;t>0&&(s||(a.x=e+t,a.anchorX=r+t),s&&(a.x=(N.right-N.left)/2,a.anchorX=r+t))}t.tt.attr(a)}));let{container:R,outside:$,renderer:B}=n;if($&&R&&B){let{width:t,height:e,x:n,y:r}=M.getBBox();B.setSize(t+n,e+r,!1),R.style.left=N.left+"px",R.style.top=E+"px"}d&&M.attr({opacity:1===M.opacity?.999:1})}drawTracker(){if(!this.shouldStickOnContact())return void(this.tracker&&(this.tracker=this.tracker.destroy()));let t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(!e||!n)return;let r={x:0,y:0,width:0,height:0},i=this.getAnchor(n),o=e.getBBox();i[0]+=t.plotLeft-(e.translateX||0),i[1]+=t.plotTop-(e.translateY||0),r.x=Math.min(0,i[0]),r.y=Math.min(0,i[1]),r.width=i[0]<0?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),r.height=i[1]<0?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(r):(this.tracker=e.renderer.rect(r).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(t){return t.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(t,e){let n=t.series,r=n.tooltipOptions,i=n.xAxis,o=i&&i.dateTime,s={isFooter:e,labelConfig:t},a=r.xDateFormat,c=r[e?"footerFormat":"headerFormat"];return b(this,"headerFormatter",s,(function(e){o&&!a&&x(t.key)&&(a=o.getXDateFormat(t.key,r.dateTimeLabelFormats)),o&&a&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+a+"}")})),n.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=l(c,{point:t,series:n},this.chart)})),s.text}update(t){this.destroy(),this.init(this.chart,k(!0,this.options,t))}updatePosition(t){let e,{chart:n,container:r,distance:i,options:o,pointer:s,renderer:a}=this,{height:l=0,width:c=0}=this.getLabel(),{left:u,top:d,scaleX:h,scaleY:f}=s.getChartPosition(),p=(o.positioner||this.getPosition).call(this,c,l,t),g=(t.plotX||0)+n.plotLeft,v=(t.plotY||0)+n.plotTop;a&&r&&(o.positioner&&(p.x+=u-i,p.y+=d-i),e=(o.borderWidth||0)+2*i+2,a.setSize(c+e,l+e,!1),(1!==h||1!==f)&&(m(r,{transform:`scale(${h}, ${f})`}),g*=h,v*=f),g+=u-p.x,v+=d-p.y),this.move(Math.round(p.x),Math.round(p.y||0),g,v)}}return(s=C||(C={})).compose=function(t){S(c,"Core.Tooltip")&&f(t,"afterInit",(function(){let t=this.chart;t.options.tooltip&&(t.tooltip=new s(t,t.options.tooltip,this))}))},C})),n(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){let{animObject:o}=e,{defaultOptions:s}=n,{format:a}=r,{addEvent:l,crisp:c,erase:u,extend:d,fireEvent:h,getNestedProperty:f,isArray:p,isFunction:m,isNumber:g,isObject:v,merge:b,pick:y,syncTimeout:x,removeEvent:w,uniqueKey:k}=i;class _{animateBeforeDestroy(){let t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))}applyOptions(t,e){let n=this.series,r=n.options.pointValKey||n.pointValKey;return d(this,t=_.prototype.optionsToObject.call(this,t)),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,r&&(this.y=_.prototype.getNestedProperty.call(this,r)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=void 0===e?n.autoIncrement():e:g(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let t=this,e=t.series,n=e.chart,r=e.options.dataSorting,i=n.hoverPoints,s=o(t.series.chart.renderer.globalAnimation),a=()=>{for(let e in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(w(t),t.destroyElements()),t)delete t[e]};t.legendItem&&n.legend.destroyItem(t),i&&(t.setState(),u(i,t),i.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),x(a,s.duration)):a(),n.pointCount--}this.destroyed=!0}destroyElements(t){let e=this,n=e.getGraphicalProps(t);n.singular.forEach((function(t){e[t]=e[t].destroy()})),n.plural.forEach((function(t){e[t].forEach((function(t){t&&t.element&&t.destroy()})),delete e[t]}))}firePointEvent(t,e,n){let r=this,i=this.series.options;r.manageEvent(t),"click"===t&&i.allowPointSelect&&(n=function(t){!r.destroyed&&r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(r,t,e,n)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(t){let e,n,r=this,i=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","connector"),t.dataLabel&&i.push("dataLabel","dataLabelPath","dataLabelUpper"),n=i.length;n--;)r[e=i[n]]&&o.singular.push(e);return["graphic","dataLabel"].forEach((function(e){let n=e+"s";t[e]&&r[n]&&o.plural.push(n)})),o}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(t){return t?0===t.indexOf("custom.")?f(t,this.options):this[t]:void 0}getZone(){let t,e=this.series,n=e.zones,r=e.zoneAxis||"y",i=0;for(t=n[0];this[r]>=t.value;)t=n[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),t&&t.color&&!this.options.color?this.color=t.color:this.color=this.nonZonedColor,t}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(t,e,n){this.formatPrefix="point",this.visible=!0,this.series=t,this.applyOptions(e,n),this.id??(this.id=k()),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit")}isValid(){return(g(this.x)||this.x instanceof Date)&&g(this.y)}optionsToObject(t){let e,n=this.series,r=n.options.keys,i=r||n.pointArrayMap||["y"],o=i.length,s={},a=0,l=0;if(g(t)||null===t)s[i[0]]=t;else if(p(t))for(!r&&t.length>o&&("string"==(e=typeof t[0])?s.name=t[0]:"number"===e&&(s.x=t[0]),a++);l<o;)r&&void 0===t[a]||(i[l].indexOf(".")>0?_.prototype.setNestedProperty(s,t[a],i[l]):s[i[l]]=t[a]),a++,l++;else"object"==typeof t&&(s=t,t.dataLabels&&(n.hasDataLabels=()=>!0),t.marker&&(n._hasPointMarkers=!0));return s}pos(t,e=this.plotY){if(!this.destroyed){let{plotX:n,series:r}=this,{chart:i,xAxis:o,yAxis:s}=r,a=0,l=0;if(g(n)&&g(e))return t&&(a=o?o.pos:i.plotLeft,l=s?s.pos:i.plotTop),i.inverted&&o&&s?[s.len-e+l,o.len-n+a]:[n+a,e+l]}}resolveColor(){let t,e,n,r=this.series,i=r.chart.options.chart,o=r.chart.styledMode,s=i.colorCount;delete this.nonZonedColor,r.options.colorByPoint?(o||(t=(e=r.options.colors||r.chart.options.colors)[r.colorCounter],s=e.length),n=r.colorCounter,r.colorCounter++,r.colorCounter===s&&(r.colorCounter=0)):(o||(t=r.color),n=r.colorIndex),this.colorIndex=y(this.options.colorIndex,n),this.color=y(this.options.color,t)}setNestedProperty(t,e,n){return n.split(".").reduce((function(t,n,r,i){let o=i.length-1===r;return t[n]=o?e:v(t[n],!0)?t[n]:{},t[n]}),t),t}shouldDraw(){return!this.isNull}tooltipFormatter(t){let e=this.series,n=e.tooltipOptions,r=y(n.valueDecimals,""),i=n.valuePrefix||"",o=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(i||o)&&(t=t.replace(RegExp(e+"}","g"),i+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+r+"f}")})),a(t,{point:this,series:this.series},e.chart)}update(t,e,n,r){let i,o=this,s=o.series,a=o.graphic,l=s.chart,c=s.options;function u(){o.applyOptions(t);let r=a&&o.hasMockGraphic,u=null===o.y?!r:r;a&&u&&(o.graphic=a.destroy(),delete o.hasMockGraphic),v(t,!0)&&(a&&a.element&&t&&t.marker&&void 0!==t.marker.symbol&&(o.graphic=a.destroy()),t?.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy())),i=o.index,s.updateParallelArrays(o,i),c.data[i]=v(c.data[i],!0)||v(t,!0)?o.options:y(t,c.data[i]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(l.isDirtyBox=!0),"point"===c.legendType&&(l.isDirtyLegend=!0),e&&l.redraw(n)}e=y(e,!0),!1===r?u():o.firePointEvent("update",{options:t},u)}remove(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)}select(t,e){let n=this,r=n.series,i=r.chart;t=y(t,!n.selected),this.selectedStaging=t,n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,r.options.data[r.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||i.getSelectedPoints().forEach((function(t){let e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(i.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging}onMouseOver(t){let{inverted:e,pointer:n}=this.series.chart;n&&(t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e),n.runPointActions(t,this))}onMouseOut(){let t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null}manageEvent(t){let e=b(this.series.options.point,this.options),n=e.events?.[t];!m(n)||this.hcEvents?.[t]&&-1!==this.hcEvents?.[t]?.map((t=>t.fn)).indexOf(n)?this.hasImportedEvents&&!n&&this.hcEvents?.[t]&&(w(this,t),delete this.hcEvents[t],Object.keys(this.hcEvents)||(this.hasImportedEvents=!1)):(l(this,t,n),this.hasImportedEvents=!0)}setState(e,n){let r,i,o,a,l=this.series,c=this.state,u=l.options.states[e||"normal"]||{},f=s.plotOptions[l.type].marker&&l.options.marker,p=f&&!1===f.enabled,m=f&&f.states&&f.states[e||"normal"]||{},v=!1===m.enabled,b=this.marker||{},x=l.chart,w=f&&l.markerAttribs,k=l.halo,_=l.stateMarkerGraphic;if((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===u.enabled||e&&(v||p&&!1===m.enabled)||e&&b.states&&b.states[e]&&!1===b.states[e].enabled)return;if(this.state=e,w&&(r=l.markerAttribs(this,e)),this.graphic&&!this.hasMockGraphic){if(c&&this.graphic.removeClass("highcharts-point-"+c),e&&this.graphic.addClass("highcharts-point-"+e),!x.styledMode){i=l.pointAttribs(this,e),o=y(x.options.chart.animation,u.animation);let t=i.opacity;l.options.inactiveOtherPoints&&g(t)&&(this.dataLabels||[]).forEach((function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&(e.animate({opacity:t},o),e.connector&&e.connector.animate({opacity:t},o))})),this.graphic.animate(i,o)}r&&this.graphic.animate(r,y(x.options.chart.animation,m.animation,f.animation)),_&&_.hide()}else e&&m&&(a=b.symbol||l.symbol,_&&_.currentSymbol!==a&&(_=_.destroy()),r&&(_?_[n?"animate":"attr"]({x:r.x,y:r.y}):a&&(l.stateMarkerGraphic=_=x.renderer.symbol(a,r.x,r.y,r.width,r.height).add(l.markerGroup),_.currentSymbol=a)),!x.styledMode&&_&&"inactive"!==this.state&&_.attr(l.pointAttribs(this,e))),_&&(_[e&&this.isInside?"show":"hide"](),_.element.point=this,_.addClass(this.getClassName(),!0));let S=u.halo,O=this.graphic||_,M=O&&O.visibility||"inherit";S&&S.size&&O&&"hidden"!==M&&!this.isCluster?(k||(l.halo=k=x.renderer.path().add(O.parentGroup)),k.show()[n?"animate":"attr"]({d:this.haloPath(S.size)}),k.attr({class:"highcharts-halo highcharts-color-"+y(this.colorIndex,l.colorIndex)+(this.className?" "+this.className:""),visibility:M,zIndex:-1}),k.point=this,x.styledMode||k.attr(d({fill:this.color||l.color,"fill-opacity":S.opacity},t.filterUserAttributes(S.attributes||{})))):k?.point?.haloPath&&!k.point.destroyed&&k.animate({d:k.point.haloPath(0)},null,k.hide),h(this,"afterSetState",{state:e})}haloPath(t){let e=this.pos();return e?this.series.chart.renderer.symbols.circle(c(e[0],1)-t,e[1]-t,2*t,2*t):[]}}return _})),n(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){var r;let{parse:i}=t,{charts:o,composed:s,isTouchDevice:a}=e,{addEvent:l,attr:c,css:u,extend:d,find:h,fireEvent:f,isNumber:p,isObject:m,objectEach:g,offset:v,pick:b,pushUnique:y,splat:x}=n;class w{applyInactiveState(t){let e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))}destroy(){let t=this;this.eventsToUnbind.forEach((t=>t())),this.eventsToUnbind=[],!e.chartCount&&(w.unbindDocumentMouseUp&&(w.unbindDocumentMouseUp=w.unbindDocumentMouseUp()),w.unbindDocumentTouchEnd&&(w.unbindDocumentTouchEnd=w.unbindDocumentTouchEnd())),clearInterval(t.tooltipTimeout),g(t,(function(e,n){t[n]=void 0}))}getSelectionMarkerAttrs(t,e){let n={args:{chartX:t,chartY:e},attrs:{},shapeType:"rect"};return f(this,"getSelectionMarkerAttrs",n,(n=>{let r,{chart:i,zoomHor:o,zoomVert:s}=this,{mouseDownX:a=0,mouseDownY:l=0}=i,c=n.attrs;c.x=i.plotLeft,c.y=i.plotTop,c.width=o?1:i.plotWidth,c.height=s?1:i.plotHeight,o&&(r=t-a,c.width=Math.max(1,Math.abs(r)),c.x=(r>0?0:r)+a),s&&(r=e-l,c.height=Math.max(1,Math.abs(r)),c.y=(r>0?0:r)+l)})),n}drag(t){let e,{chart:n}=this,{mouseDownX:r=0,mouseDownY:o=0}=n,{panning:s,panKey:a,selectionMarkerFill:l}=n.options.chart,c=n.plotLeft,u=n.plotTop,d=n.plotWidth,h=n.plotHeight,f=m(s)?s.enabled:s,p=a&&t[`${a}Key`],g=t.chartX,v=t.chartY,b=this.selectionMarker;if((!b||!b.touch)&&(g<c?g=c:g>c+d&&(g=c+d),v<u?v=u:v>u+h&&(v=u+h),this.hasDragged=Math.sqrt(Math.pow(r-g,2)+Math.pow(o-v,2)),this.hasDragged>10)){e=n.isInsidePlot(r-c,o-u,{visiblePlotOnly:!0});let{shapeType:a,attrs:d}=this.getSelectionMarkerAttrs(g,v);(n.hasCartesianSeries||n.mapView)&&this.hasZoom&&e&&!p&&!b&&(this.selectionMarker=b=n.renderer[a](),b.attr({class:"highcharts-selection-marker",zIndex:7}).add(),n.styledMode||b.attr({fill:l||i("#334eff").setOpacity(.25).get()})),b&&b.attr(d),e&&!b&&f&&n.pan(t,s)}}dragStart(t){let e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=t.chartX,e.mouseDownY=t.chartY}getSelectionBox(t){let e={args:{marker:t},result:t.getBBox()};return f(this,"getSelectionBox",e),e.result}drop(t){let e,{chart:n,selectionMarker:r}=this;for(let t of n.axes)t.isPanning&&(t.isPanning=!1,(t.options.startOnTick||t.options.endOnTick||t.series.some((t=>t.boosted)))&&(t.forceRedraw=!0,t.setExtremes(t.userMin,t.userMax,!1),e=!0));if(e&&n.redraw(),r&&t){if(this.hasDragged){let e=this.getSelectionBox(r);n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&("xAxis"===t.coll&&this.zoomX||"yAxis"===t.coll&&this.zoomY))),selection:{originalEvent:t,xAxis:[],yAxis:[],...e},from:e})}p(n.index)&&(this.selectionMarker=r.destroy())}n&&p(n.index)&&(u(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(t,e,n){let r;return t.forEach((function(t){let i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y"),o=t.searchPoint(n,i);m(o,!0)&&o.series&&(!m(r,!0)||function(t,n){let r=t.distX-n.distX,i=t.dist-n.dist,o=n.series.group?.zIndex-t.series.group?.zIndex;return 0!==r&&e?r:0!==i?i:0!==o?o:t.series.index>n.series.index?-1:1}(r,o)>0)&&(r=o)})),r}getChartCoordinatesFromPoint(t,e){let{xAxis:n,yAxis:r}=t.series,i=t.shapeArgs;if(n&&r){let o=t.clientX??t.plotX??0,s=t.plotY||0;return t.isNode&&i&&p(i.x)&&p(i.y)&&(o=i.x,s=i.y),e?{chartX:r.len+r.pos-s,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:s+r.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:t}=this.chart,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};let{offsetHeight:n,offsetWidth:r}=t;return r>2&&n>2&&(this.chartPosition.scaleX=e.width/r,this.chartPosition.scaleY=e.height/n),this.chartPosition}getCoordinates(t){let e={xAxis:[],yAxis:[]};for(let n of this.chart.axes)e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])});return e}getHoverData(t,e,n,r,i,o){let s,a=[],l=function(t){return t.visible&&!(!i&&t.directTouch)&&b(t.options.enableMouseTracking,!0)},c=e,u={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:i};f(this,"beforeGetHoverData",u),s=c&&!c.stickyTracking?[c]:n.filter((t=>t.stickyTracking&&(u.filter||l)(t)));let d=r&&t||!o?t:this.findNearestKDPoint(s,i,o);return c=d&&d.series,d&&(i&&!c.noSharedTooltip?(s=n.filter((function(t){return u.filter?u.filter(t):l(t)&&!t.noSharedTooltip}))).forEach((function(t){let e=h(t.points,(function(t){return t.x===d.x&&!t.isNull}));m(e)&&(t.boosted&&t.boost&&(e=t.boost.getPoint(e)),a.push(e))})):a.push(d)),f(this,"afterGetHoverData",u={hoverPoint:d}),{hoverPoint:u.hoverPoint,hoverSeries:c,hoverPoints:a}}getPointFromEvent(t){let e,n=t.target;for(;n&&!e;)e=n.point,n=n.parentNode;return e}onTrackerMouseOut(t){let e=this.chart,n=t.relatedTarget,r=e.hoverSeries;this.isDirectTouch=!1,!r||!n||r.stickyTracking||this.inClass(n,"highcharts-tooltip")||this.inClass(n,"highcharts-series-"+r.index)&&this.inClass(n,"highcharts-tracker")||r.onMouseOut()}inClass(t,e){let n,r=t;for(;r;){if(n=c(r,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}r=r.parentElement}}constructor(t,e){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=e,this.chart=t,this.runChartClick=!!e.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),f(this,"afterInit")}normalize(t,e){let n=t.touches,r=n?n.length?n.item(0):b(n.changedTouches,t.changedTouches)[0]:t;e||(e=this.getChartPosition());let i=r.pageX-e.left,o=r.pageY-e.top;return d(t,{chartX:Math.round(i/=e.scaleX),chartY:Math.round(o/=e.scaleY)})}onContainerClick(t){let e=this.chart,n=e.hoverPoint,r=this.normalize(t),i=e.plotLeft,o=e.plotTop;!e.cancelClick&&(n&&this.inClass(r.target,"highcharts-tracker")?(f(n.series,"click",d(r,{point:n})),e.hoverPoint&&n.firePointEvent("click",r)):(d(r,this.getCoordinates(r)),e.isInsidePlot(r.chartX-i,r.chartY-o,{visiblePlotOnly:!0})&&f(e,"click",r)))}onContainerMouseDown(t){let n=!(1&~(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),(void 0===t.button||n)&&(this.zoomOption(t),n&&t.preventDefault?.(),this.dragStart(t))}onContainerMouseLeave(t){let{pointer:e}=o[b(w.hoverChartIndex,-1)]||{};t=this.normalize(t),this.onContainerMouseMove(t),e&&t.relatedTarget&&!this.inClass(t.relatedTarget,"highcharts-tooltip")&&(e.reset(),e.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(t){let e=this.chart,n=e.tooltip,r=this.normalize(t);this.setHoverChartIndex(t),("mousedown"===e.mouseIsDown||this.touchSelect(r))&&this.drag(r),!e.openMenu&&(this.inClass(r.target,"highcharts-tracker")||e.isInsidePlot(r.chartX-e.plotLeft,r.chartY-e.plotTop,{visiblePlotOnly:!0}))&&(!n||!n.shouldStickOnContact(r))&&(this.inClass(r.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(r))}onDocumentTouchEnd(t){this.onDocumentMouseUp(t)}onContainerTouchMove(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)}onContainerTouchStart(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))}onDocumentMouseMove(t){let e=this.chart,n=e.tooltip,r=this.chartPosition,i=this.normalize(t,r);!r||e.isInsidePlot(i.chartX-e.plotLeft,i.chartY-e.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(i)||this.inClass(i.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(t){o[b(w.hoverChartIndex,-1)]?.pointer?.drop(t)}pinch(t){let e=this,{chart:n,hasZoom:r,lastTouches:i}=e,o=[].map.call(t.touches||[],(t=>e.normalize(t))),s=o.length,a=1===s&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),l=n.tooltip,c=1===s&&b(l?.options.followTouchMove,!0);s>1?e.initiated=!0:c&&(e.initiated=!1),r&&e.initiated&&!a&&!1!==t.cancelable&&t.preventDefault(),"touchstart"===t.type?(e.pinchDown=o,e.res=!0):c?this.runPointActions(e.normalize(t)):i&&(f(n,"touchpan",{originalEvent:t,touches:o},(()=>{let e=t=>{let e=t[0],n=t[1]||e;return{x:e.chartX,y:e.chartY,width:n.chartX-e.chartX,height:n.chartY-e.chartY}};n.transform({axes:n.axes.filter((t=>t.zoomEnabled&&(this.zoomHor&&t.horiz||this.zoomVert&&!t.horiz))),to:e(o),from:e(i),trigger:t.type})})),e.res&&(e.res=!1,this.reset(!1,0))),e.lastTouches=o}reset(t,e){let n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,s=n.tooltip,a=s&&s.shared?o:i;t&&a&&x(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&x(a).length&&(s.refresh(a),s.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):i&&(i.setState(i.state,!0),n.axes.forEach((function(t){t.crosshair&&i.series[t.coll]===t&&t.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(t){t.setState()})),r&&r.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),n.hoverPoints=n.hoverPoint=void 0)}runPointActions(t,e,n){let r=this.chart,i=r.series,s=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,a=!!s&&s.shared,c=e||r.hoverPoint,u=c&&c.series||r.hoverSeries,d=(!t||"touchmove"!==t.type)&&(!!e||u&&u.directTouch&&this.isDirectTouch),f=this.getHoverData(c,u,i,d,a,t);c=f.hoverPoint,u=f.hoverSeries;let p=f.hoverPoints,m=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,g=a&&u&&!u.noSharedTooltip;if(c&&(n||c!==r.hoverPoint||s&&s.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===p.indexOf(t)&&t.setState()})),r.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(p),(p||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!c.series)return;r.hoverPoints=p,r.hoverPoint=c,c.firePointEvent("mouseOver",void 0,(()=>{s&&c&&s.refresh(g?p:c,t)}))}else if(m&&s&&!s.isHidden){let e=s.getAnchor([{}],t);r.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&s.updatePosition({plotX:e[0],plotY:e[1]})}this.unDocMouseMove||(this.unDocMouseMove=l(r.container.ownerDocument,"mousemove",(t=>o[w.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(t))),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(e){let n,i=b((e.crosshair||{}).snap,!0);!i||(n=r.hoverPoint)&&n.series[e.coll]===e||(n=h(p,(t=>t.series&&t.series[e.coll]===e))),n||!i?e.drawCrosshair(t,n):e.hideCrosshair()}))}setDOMEvents(){let t=this.chart.container,e=t.ownerDocument;t.onmousedown=this.onContainerMouseDown.bind(this),t.onmousemove=this.onContainerMouseMove.bind(this),t.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(t,"mouseenter",this.onContainerMouseEnter.bind(this)),l(t,"mouseleave",this.onContainerMouseLeave.bind(this))),w.unbindDocumentMouseUp||(w.unbindDocumentMouseUp=l(e,"mouseup",this.onDocumentMouseUp.bind(this)));let n=this.chart.renderTo.parentElement;for(;n&&"BODY"!==n.tagName;)this.eventsToUnbind.push(l(n,"scroll",(()=>{delete this.chartPosition}))),n=n.parentElement;this.eventsToUnbind.push(l(t,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),l(t,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),w.unbindDocumentTouchEnd||(w.unbindDocumentTouchEnd=l(e,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),l(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!a)return;let t=this.pointerCaptureEventsToUnbind,e=this.chart,n=e.container,r=b(e.options.tooltip?.followTouchMove,!0)&&e.series.some((t=>t.options.findNearestPointBy.indexOf("y")>-1));!this.hasPointerCapture&&r?(t.push(l(n,"pointerdown",(t=>{t.target?.hasPointerCapture(t.pointerId)&&t.target?.releasePointerCapture(t.pointerId)})),l(n,"pointermove",(t=>{e.pointer?.getPointFromEvent(t)?.onMouseOver(t)}))),e.styledMode||u(n,{"touch-action":"none"}),n.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!r&&(t.forEach((t=>t())),t.length=0,e.styledMode||u(n,{"touch-action":b(e.options.chart.style?.["touch-action"],"manipulation")}),n.className=n.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(t){let n=this.chart,r=e.charts[b(w.hoverChartIndex,-1)];r&&r!==n&&r.pointer?.onContainerMouseLeave(t||{relatedTarget:n.container}),r&&r.mouseIsDown||(w.hoverChartIndex=n.index)}touch(t,e){let n,{chart:r,pinchDown:i=[]}=this;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),r.isInsidePlot(t.chartX-r.plotLeft,t.chartY-r.plotTop,{visiblePlotOnly:!0})&&!r.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!i[0]&&Math.pow(i[0].chartX-t.chartX,2)+Math.pow(i[0].chartY-t.chartY,2)>=16),b(n,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)}touchSelect(t){return!(!this.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)}zoomOption(t){let e,n,r=this.chart,i=r.inverted,o=r.zooming.type||"";/touch/.test(t.type)&&(o=b(r.zooming.pinchType,o)),this.zoomX=e=/x/.test(o),this.zoomY=n=/y/.test(o),this.zoomHor=e&&!i||n&&i,this.zoomVert=n&&!i||e&&i,this.hasZoom=e||n}}return(r=w||(w={})).compose=function(t){y(s,"Core.Pointer")&&l(t,"beforeRender",(function(){this.pointer=new r(this,this.options)}))},w})),n(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o){var s;let{animObject:a,setAnimation:l}=t,{format:c}=e,{composed:u,marginNames:d}=n,{distribute:h}=i,{addEvent:f,createElement:p,css:m,defined:g,discardElement:v,find:b,fireEvent:y,isNumber:x,merge:w,pick:k,pushUnique:_,relativeLength:S,stableSort:O,syncTimeout:M}=o;class C{constructor(t,e){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=t,this.setOptions(e),e.enabled&&(this.render(),f(this.chart,"endResize",(function(){this.legend.positionCheckboxes()}))),f(this.chart,"render",(()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(t){let e=k(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=w(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop,this.itemMarginBottom=t.itemMarginBottom,this.padding=e,this.initialItemY=e-5,this.symbolWidth=k(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0}update(t,e){let n=this.chart;this.setOptions(w(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,k(e,!0)&&n.redraw(),y(this,"afterUpdate",{redraw:e})}colorizeItem(t,e){let{area:n,group:r,label:i,line:o,symbol:s}=t.legendItem||{};if(r?.[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:r={}}=this,a=r.color,{fillColor:l,fillOpacity:c,lineColor:u,marker:d}=t.options,h=t=>(!e&&(t.fill&&(t.fill=a),t.stroke&&(t.stroke=a)),t);i?.css(w(e?this.itemStyle:r)),o?.attr(h({stroke:u||t.color})),s&&s.attr(h(d&&s.isMarker?t.pointAttribs():{fill:t.color})),n?.attr(h({fill:l||t.color,"fill-opacity":l?1:c??.75}))}y(this,"afterColorizeItem",{item:t,visible:e})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(t){let{group:e,x:n=0,y:r=0}=t.legendItem||{},i=this.options,o=i.symbolPadding,s=!i.rtl,a=t.checkbox;if(e&&e.element){let i={translateX:s?n:this.legendWidth-n-2*o-4,translateY:r};e[g(e.translateY)?"animate":"attr"](i,void 0,(()=>{y(this,"afterPositionItem",{item:t})}))}a&&(a.x=n,a.y=r)}destroyItem(t){let e=t.checkbox,n=t.legendItem||{};for(let t of["group","label","line","symbol"])n[t]&&(n[t]=n[t].destroy());e&&v(e),t.legendItem=void 0}destroy(){for(let t of this.getAllItems())this.destroyItem(t);for(let t of["clipRect","up","down","pager","nav","box","title","group"])this[t]&&(this[t]=this[t].destroy());this.display=null}positionCheckboxes(){let t,e=this.group&&this.group.alignAttr,n=this.clipHeight||this.legendHeight,r=this.titleHeight;e&&(t=e.translateY,this.allItems.forEach((function(i){let o,s=i.checkbox;s&&(o=t+r+s.y+(this.scrollOffset||0)+3,m(s,{left:e.translateX+i.checkboxOffset+s.x-20+"px",top:o+"px",display:this.proximate||o>t-6&&o<t+n-6?"":"none"}))}),this))}renderTitle(){let t,e=this.options,n=this.padding,r=e.title,i=0;r.text&&(this.title||(this.title=this.chart.renderer.label(r.text,n-3,n-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(r.style),this.title.add(this.group)),r.width||this.title.css({width:this.maxLegendWidth+"px"}),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i}setText(t){let e=this.options;t.legendItem.label.attr({text:e.labelFormat?c(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})}renderItem(t){let e=t.legendItem=t.legendItem||{},n=this.chart,r=n.renderer,i=this.options,o="horizontal"===i.layout,s=this.symbolWidth,a=i.symbolPadding||0,l=this.itemStyle,c=this.itemHiddenStyle,u=o?k(i.itemDistance,20):0,d=!i.rtl,h=!t.series,f=!h&&t.series.drawLegendSymbol?t.series:t,p=f.options,m=!!this.createCheckboxForItem&&p&&p.showCheckbox,g=i.useHTML,v=t.options.className,b=e.label,y=s+a+u+(m?20:0);!b&&(e.group=r.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(h?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.label=b=r.text("",d?s+a:-a,this.baseline||0,g),n.styledMode||b.css(w(t.visible?l:c)),b.attr({align:d?"left":"right",zIndex:2}).add(e.group),!this.baseline&&(this.fontMetrics=r.fontMetrics(b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=k(i.symbolHeight,this.fontMetrics.f),i.squareSymbol&&(this.symbolWidth=k(i.symbolWidth,Math.max(this.symbolHeight,16)),y=this.symbolWidth+a+u+(m?20:0),d&&b.attr("x",this.symbolWidth+a))),f.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,b,g)),m&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),(n.styledMode||!l.width)&&b.css({width:(i.itemWidth||this.widthOption||n.spacingBox.width)-y+"px"}),this.setText(t);let x=b.getBBox(),_=this.fontMetrics&&this.fontMetrics.h||0;t.itemWidth=t.checkboxOffset=i.itemWidth||e.labelWidth||x.width+y,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(e.labelHeight||(x.height>1.5*_?x.height:_))}layoutItem(t){let e=this.options,n=this.padding,r="horizontal"===e.layout,i=t.itemHeight,o=this.itemMarginBottom,s=this.itemMarginTop,a=r?k(e.itemDistance,20):0,l=this.maxLegendWidth,c=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,u=t.legendItem||{};r&&this.itemX-n+c>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=s+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),u.x=this.itemX,u.y=this.itemY,r?this.itemX+=c:(this.itemY+=s+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(t.checkbox?0:a):c)+n,this.offsetWidth)}getAllItems(){let t=[];return this.chart.series.forEach((function(e){let n=e&&e.options;e&&k(n.showInLegend,!g(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))})),y(this,"afterGetAllItems",{allItems:t}),t}getAlignment(){let t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)}adjustMargins(t,e){let n=this.chart,r=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,s){o.test(i)&&!g(t[s])&&(n[d[s]]=Math.max(n[d[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*r[s%2?"x":"y"]+k(r.margin,12)+e[s]+(n.titleOffset[s]||0)))}))}proximatePositions(){let t,e=this.chart,n=[],r="left"===this.options.align;for(let i of(this.allItems.forEach((function(t){let i,o,s,a,l=r;t.yAxis&&(t.xAxis.options.reversed&&(l=!l),t.points&&(i=b(l?t.points:t.points.slice(0).reverse(),(function(t){return x(t.plotY)}))),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,a=t.yAxis.top-e.plotTop,s=t.visible?(i?i.plotY:t.yAxis.height)+(a-.3*o):a+t.yAxis.height,n.push({target:s,size:o,item:t}))}),this),h(n,e.plotHeight)))t=i.item.legendItem||{},x(i.pos)&&(t.y=e.plotTop-e.spacing[0]+i.pos)}render(){let t,e,n,r,i=this.chart,o=i.renderer,s=this.options,a=this.padding,l=this.getAllItems(),c=this.group,u=this.box;this.itemX=a,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=S(s.width,i.spacingBox.width-a),r=i.spacingBox.width-2*a-s.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(r/=2),this.maxLegendWidth=this.widthOption||r,c||(this.group=c=o.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(c),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),O(l,((t,e)=>(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0))),s.reversed&&l.reverse(),this.allItems=l,this.display=t=!!l.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,l.forEach(this.renderItem,this),l.forEach(this.layoutItem,this),e=(this.widthOption||this.offsetWidth)+a,n=this.lastItemY+this.lastLineHeight+this.titleHeight,n=this.handleOverflow(n)+a,u||(this.box=u=o.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(c)),i.styledMode||u.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),e>0&&n>0&&u[u.placed?"animate":"attr"](u.crisp.call({},{x:0,y:0,width:e,height:n},u.strokeWidth())),c[t?"show":"hide"](),i.styledMode&&"none"===c.getStyle("display")&&(e=n=0),this.legendWidth=e,this.legendHeight=n,t&&this.align(),this.proximate||this.positionItems(),y(this,"afterRender")}align(t=this.chart.spacingBox){let e=this.chart,n=this.options,r=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&e.titleOffset[0]>0?r+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&e.titleOffset[2]>0&&(r-=e.titleOffset[2]),r!==t.y&&(t=w(t,{y:r})),e.hasRendered||(this.group.placed=!1),this.group.align(w(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)}handleOverflow(t){let e,n,r,i=this,o=this.chart,s=o.renderer,a=this.options,l=a.y,c="top"===a.verticalAlign,u=this.padding,d=a.maxHeight,h=a.navigation,f=k(h.animation,!0),p=h.arrowSize||12,m=this.pages,g=this.allItems,v=function(t){"number"==typeof t?w.attr({height:t}):w&&(i.clipRect=w.destroy(),i.contentGroup.clip()),i.contentGroup.div&&(i.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},b=function(t){return i[t]=s.circle(0,0,1.3*p).translate(p/2,p/2).add(x),o.styledMode||i[t].attr("fill","rgba(0,0,0,0.0001)"),i[t]},y=o.spacingBox.height+(c?-l:l)-u,x=this.nav,w=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(y/=2),d&&(y=Math.min(y,d)),m.length=0,t&&y>0&&t>y&&!1!==h.enabled?(this.clipHeight=e=Math.max(y-20-this.titleHeight-u,0),this.currentPage=k(this.currentPage,1),this.fullHeight=t,g.forEach(((t,i)=>{let o=(r=t.legendItem||{}).y||0,s=Math.round(r.label.getBBox().height),a=m.length;(!a||o-m[a-1]>e&&(n||o)!==m[a-1])&&(m.push(n||o),a++),r.pageIx=a-1,n&&((g[i-1].legendItem||{}).pageIx=a-1),i===g.length-1&&o+s-m[a-1]>e&&o>m[a-1]&&(m.push(o),r.pageIx=a),o!==n&&(n=o)})),w||(w=i.clipRect=s.clipRect(0,u-2,9999,0),i.contentGroup.clip(w)),v(e),x||(this.nav=x=s.g().attr({zIndex:1}).add(this.group),this.up=s.symbol("triangle",0,0,p,p).add(x),b("upTracker").on("click",(function(){i.scroll(-1,f)})),this.pager=s.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&h.style&&this.pager.css(h.style),this.pager.add(x),this.down=s.symbol("triangle-down",0,0,p,p).add(x),b("downTracker").on("click",(function(){i.scroll(1,f)}))),i.scroll(0),t=y):x&&(v(),this.nav=x.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t}scroll(t,e){let n=this.chart,r=this.pages,i=r.length,o=this.clipHeight,s=this.options.navigation,c=this.pager,u=this.padding,d=this.currentPage+t;d>i&&(d=i),d>0&&(void 0!==e&&l(e,n),this.nav.attr({translateX:u,translateY:o+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===d?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),c.attr({text:d+"/"+i}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:d===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===d?s.inactiveColor:s.activeColor}),this.upTracker.css({cursor:1===d?"default":"pointer"}),this.down.attr({fill:d===i?s.inactiveColor:s.activeColor}),this.downTracker.css({cursor:d===i?"default":"pointer"})),this.scrollOffset=-r[d-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=d,this.positionCheckboxes(),M((()=>{y(this,"afterScroll",{currentPage:d})}),a(k(e,n.renderer.globalAnimation,!0)).duration))}setItemEvents(t,e,n){let i=this,o=t.legendItem||{},s=i.chart.renderer.boxWrapper,a=t instanceof r,l="highcharts-legend-"+(a?"point":"series")+"-active",c=i.chart.styledMode,u=n?[e,o.symbol]:[o.group],d=e=>{i.allItems.forEach((n=>{t!==n&&[n].concat(n.linkedSeries||[]).forEach((t=>{t.setState(e,!a)}))}))};for(let n of u)n&&n.on("mouseover",(function(){t.visible&&d("inactive"),t.setState("hover"),t.visible&&s.addClass(l),c||e.css(i.options.itemHoverStyle)})).on("mouseout",(function(){i.chart.styledMode||e.css(w(t.visible?i.itemStyle:i.itemHiddenStyle)),d(""),s.removeClass(l),t.setState()})).on("click",(function(e){let n="legendItemClick",r=function(){t.setVisible&&t.setVisible(),d(t.visible?"inactive":"")};s.removeClass(l),e={browserEvent:e},t.firePointEvent?t.firePointEvent(n,e,r):y(t,n,e,r)}))}createCheckboxForItem(t){t.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),f(t.checkbox,"click",(function(e){let n=e.target;y(t.series||t,"checkboxClick",{checked:n.checked,item:t},(function(){t.select()}))}))}}return(s=C||(C={})).compose=function(t){_(u,"Core.Legend")&&f(t,"beforeMargins",(function(){this.legend=new s(this,this.options.legend)}))},C})),n(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],(function(t){var e;let{extend:n,merge:r,pick:i}=t;return function(t){function e(t,e,o){let s,a=this.legendItem=this.legendItem||{},{chart:l,options:c}=this,{baseline:u=0,symbolWidth:d,symbolHeight:h}=t,f=this.symbol||"circle",p=h/2,m=l.renderer,g=a.group,v=u-Math.round(h*(o?.4:.3)),b={},y=c.marker,x=0;if(l.styledMode||(b["stroke-width"]=Math.min(c.lineWidth||0,24),c.dashStyle?b.dashstyle=c.dashStyle:"square"===c.linecap||(b["stroke-linecap"]="round")),a.line=m.path().addClass("highcharts-graph").attr(b).add(g),o&&(a.area=m.path().addClass("highcharts-area").add(g)),b["stroke-linecap"]&&(x=Math.min(a.line.strokeWidth(),d)/2),d){let t=[["M",x,v],["L",d-x,v]];a.line.attr({d:t}),a.area?.attr({d:[...t,["L",d-x,u],["L",x,u]]})}if(y&&!1!==y.enabled&&d){let t=Math.min(i(y.radius,p),p);0===f.indexOf("url")&&(y=r(y,{width:h,height:h}),t=0),a.symbol=s=m.symbol(f,d/2-t,v-t,2*t,2*t,n({context:"legend"},y)).addClass("highcharts-point").add(g),s.isMarker=!0}}t.areaMarker=function(t,n){e.call(this,t,n,!0)},t.lineMarker=e,t.rectangle=function(t,e){let n=e.legendItem||{},r=t.options,o=t.symbolHeight,s=r.squareSymbol,a=s?o:t.symbolWidth;n.symbol=this.chart.renderer.rect(s?(t.symbolWidth-o)/2:0,t.baseline-o+1,a,o,i(t.options.symbolRadius,o/2)).addClass("highcharts-point").attr({zIndex:3}).add(n.group)}}(e||(e={})),e})),n(e,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),n(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n,r){var i;let{defaultOptions:o}=e,{extend:s,extendClass:a,merge:l}=r;return function(e){function r(t,r){let i=o.plotOptions||{},s=r.defaultOptions,a=r.prototype;return a.type=t,a.pointClass||(a.pointClass=n),!e.seriesTypes[t]&&(s&&(i[t]=s),e.seriesTypes[t]=r,!0)}e.seriesTypes=t.seriesTypes,e.registerSeriesType=r,e.seriesType=function(t,i,c,u,d){let h=o.plotOptions||{};if(i=i||"",h[t]=l(h[i],c),delete e.seriesTypes[t],r(t,a(e.seriesTypes[i]||function(){},u)),e.seriesTypes[t].prototype.type=t,d){class r extends n{}s(r.prototype,d),e.seriesTypes[t].prototype.pointClass=r}return e.seriesTypes[t]}}(i||(i={})),i})),n(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a,l,c){let{animObject:u,setAnimation:d}=t,{defaultOptions:h}=e,{registerEventOptions:f}=n,{svg:p,win:m}=r,{seriesTypes:g}=a,{arrayMax:v,arrayMin:b,clamp:y,correctFloat:x,crisp:w,defined:k,destroyObjectProperties:_,diffObjects:S,erase:O,error:M,extend:C,find:A,fireEvent:T,getClosestDistance:E,getNestedProperty:D,insertItem:P,isArray:j,isNumber:L,isString:I,merge:N,objectEach:R,pick:$,removeEvent:B,splat:F,syncTimeout:z}=c;class H{constructor(){this.zoneAxis="y"}init(t,e){let n;T(this,"init",{options:e});let r=this,i=t.series;this.eventsToUnbind=[],r.chart=t,r.options=r.setOptions(e);let o=r.options,s=!1!==o.visible;r.linkedSeries=[],r.bindAxes(),C(r,{name:o.name,state:"",visible:s,selected:!0===o.selected}),f(this,o);let a=o.events;(a&&a.click||o.point&&o.point.events&&o.point.events.click||o.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),i.length&&(n=i[i.length-1]),r._i=$(n&&n._i,-1)+1,r.opacity=r.options.opacity,t.orderItems("series",P(this,i)),o.dataSorting&&o.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(o.data,!1),T(this,"afterInit")}is(t){return g[t]&&this instanceof g[t]}bindAxes(){let t,e=this,n=e.options,r=e.chart;T(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(i){(r[i]||[]).forEach((function(r){t=r.options,($(n[i],0)===r.index||void 0!==n[i]&&n[i]===t.id)&&(P(e,r.series),e[i]=r,r.isDirty=!0)})),e[i]||e.optionalAxis===i||M(18,!0,r)}))})),T(this,"afterBindAxes")}updateParallelArrays(t,e,n){let r=t.series,i=L(e)?function(n){let i="y"===n&&r.toYData?r.toYData(t):t[n];r[n+"Data"][e]=i}:function(t){Array.prototype[e].apply(r[t+"Data"],n)};r.parallelArrays.forEach(i)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(t,e){let n=t.marker,r=e.marker||{};return n&&(r.enabled&&!n.enabled||r.symbol!==n.symbol||r.height!==n.height||r.width!==n.width)}autoIncrement(t){let e,n,r=this.options,i=r.pointIntervalUnit,o=r.relativeXValue,s=this.chart.time,a=this.xIncrement;return a=$(a,r.pointStart,0),this.pointInterval=n=$(this.pointInterval,r.pointInterval,1),o&&L(t)&&(n*=t),i&&(e=new s.Date(a),"day"===i?s.set("Date",e,s.get("Date",e)+n):"month"===i?s.set("Month",e,s.get("Month",e)+n):"year"===i&&s.set("FullYear",e,s.get("FullYear",e)+n),n=e.getTime()-a),o&&L(t)?a+n:(this.xIncrement=a+n,a)}setDataSortingOptions(){let t=this.options;C(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),k(t.pointRange)||(t.pointRange=1)}setOptions(t){let e,n=this.chart,r=n.options.plotOptions,i=n.userOptions||{},o=N(t),s=n.styledMode,a={plotOptions:r,userOptions:o};T(this,"setOptions",a);let l=a.plotOptions[this.type],c=i.plotOptions||{},u=c.series||{},d=h.plotOptions[this.type]||{},f=c[this.type]||{};this.userOptions=a.userOptions;let p=N(l,r.series,f,o);this.tooltipOptions=N(h.tooltip,h.plotOptions.series?.tooltip,d?.tooltip,n.userOptions.tooltip,c.series?.tooltip,f.tooltip,o.tooltip),this.stickyTracking=$(o.stickyTracking,f.stickyTracking,u.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||p.stickyTracking),null===l.marker&&delete p.marker,this.zoneAxis=p.zoneAxis||"y";let m=this.zones=(p.zones||[]).map((t=>({...t})));return(p.negativeColor||p.negativeFillColor)&&!p.zones&&(e={value:p[this.zoneAxis+"Threshold"]||p.threshold||0,className:"highcharts-negative"},s||(e.color=p.negativeColor,e.fillColor=p.negativeFillColor),m.push(e)),m.length&&k(m[m.length-1].value)&&m.push(s?{}:{color:this.color,fillColor:this.fillColor}),T(this,"afterSetOptions",{options:p}),p}getName(){return $(this.options.name,"Series "+(this.index+1))}getCyclic(t,e,n){let r,i,o=this.chart,s=`${t}Index`,a=`${t}Counter`,l=n?.length||o.options.chart.colorCount;!e&&(k(i=$("color"===t?this.options.colorIndex:void 0,this[s]))?r=i:(o.series.length||(o[a]=0),r=o[a]%l,o[a]+=1),n&&(e=n[r])),void 0!==r&&(this[s]=r),this[t]=e}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let t=this.options.marker;this.getCyclic("symbol",t.symbol,this.chart.options.symbols)}findPointIndex(t,e){let n,r,i,s=t.id,a=t.x,l=this.points,c=this.options.dataSorting;if(s){let t=this.chart.get(s);t instanceof o&&(n=t)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let e=e=>!e.touched&&e.index===t.index;if(c&&c.matchByName?e=e=>!e.touched&&e.name===t.name:this.options.relativeXValue&&(e=e=>!e.touched&&e.options.x===t.x),!(n=A(l,e)))return}return n&&void 0!==(i=n&&n.index)&&(r=!0),void 0===i&&L(a)&&(i=this.xData.indexOf(a,e)),-1!==i&&void 0!==i&&this.cropped&&(i=i>=this.cropStart?i-this.cropStart:i),!r&&L(i)&&l[i]&&l[i].touched&&(i=void 0),i}updateData(t,e){let n,r,i,o,s=this.options,a=s.dataSorting,l=this.points,c=[],u=this.requireSorting,d=t.length===l.length,h=!0;if(this.xIncrement=null,t.forEach((function(t,e){let r,i=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},h=i.x;i.id||L(h)?(-1===(r=this.findPointIndex(i,o))||void 0===r?c.push(t):l[r]&&t!==s.data[r]?(l[r].update(t,!1,null,!1),l[r].touched=!0,u&&(o=r+1)):l[r]&&(l[r].touched=!0),(!d||e!==r||a&&a.enabled||this.hasDerivedData)&&(n=!0)):c.push(t)}),this),n)for(r=l.length;r--;)(i=l[r])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?h=!1:(t.forEach((function(t,e){t===l[e].y||l[e].destroyed||l[e].update(t,!1,null,!1)})),c.length=0);return l.forEach((function(t){t&&(t.touched=!1)})),!!h&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(t,e=!0,n,r){let i,o,s,a,l=this,c=l.points,u=c&&c.length||0,d=l.options,h=l.chart,f=d.dataSorting,p=l.xAxis,m=d.turboThreshold,g=this.xData,v=this.yData,b=l.pointArrayMap,y=b&&b.length,x=d.keys,w=0,k=1,_=null;h.options.chart.allowMutatingData||(d.data&&delete l.options.data,l.userOptions.data&&delete l.userOptions.data,a=N(!0,t));let S=(t=a||t||[]).length;if(f&&f.enabled&&(t=this.sortData(t)),h.options.chart.allowMutatingData&&!1!==r&&S&&u&&!l.cropped&&!l.hasGroupedData&&l.visible&&!l.boosted&&(s=this.updateData(t,n)),!s){if(l.xIncrement=null,l.colorCounter=0,this.parallelArrays.forEach((function(t){l[t+"Data"].length=0})),m&&S>m)if(L(_=l.getFirstValidPoint(t)))for(i=0;i<S;i++)g[i]=this.autoIncrement(),v[i]=t[i];else if(j(_))if(y)if(_.length===y)for(i=0;i<S;i++)g[i]=this.autoIncrement(),v[i]=t[i];else for(i=0;i<S;i++)o=t[i],g[i]=o[0],v[i]=o.slice(1,y+1);else if(x&&(w=x.indexOf("x"),k=x.indexOf("y"),w=w>=0?w:0,k=k>=0?k:1),1===_.length&&(k=0),w===k)for(i=0;i<S;i++)g[i]=this.autoIncrement(),v[i]=t[i][k];else for(i=0;i<S;i++)o=t[i],g[i]=o[w],v[i]=o[k];else M(12,!1,h);else for(i=0;i<S;i++)o={series:l},l.pointClass.prototype.applyOptions.apply(o,[t[i]]),l.updateParallelArrays(o,i);for(v&&I(v[0])&&M(14,!0,h),l.data=[],l.options.data=l.userOptions.data=t,i=u;i--;)c[i]?.destroy();p&&(p.minRange=p.userMinRange),l.isDirty=h.isDirtyBox=!0,l.isDirtyData=!!c,n=!1}"point"===d.legendType&&(this.processData(),this.generatePoints()),e&&h.redraw(n)}sortData(t){let e=this,n=e.options.dataSorting.sortKey||"y",r=function(t,e){return k(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,i){t[i]=r(e,n),t[i].index=i}),this),t.concat().sort(((t,e)=>{let r=D(n,t),i=D(n,e);return i<r?-1:i>r?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){let n=e.options,i=n.data;n.dataSorting&&n.dataSorting.enabled||!i||(i.forEach((function(n,o){i[o]=r(e,n),t[o]&&(i[o].x=t[o].x,i[o].index=o)})),e.setData(i,!1))})),t}getProcessedData(t){let e,n,r,i,o,s=this,a=s.xAxis,l=s.options.cropThreshold,c=a?.logarithmic,u=s.isCartesian,d=0,h=s.xData,f=s.yData,p=!1,m=h.length;a&&(i=(r=a.getExtremes()).min,o=r.max,p=!(!a.categories||a.names.length)),u&&s.sorted&&!t&&(!l||m>l||s.forceCrop)&&(h[m-1]<i||h[0]>o?(h=[],f=[]):s.yData&&(h[0]<i||h[m-1]>o)&&(h=(e=this.cropData(s.xData,s.yData,i,o)).xData,f=e.yData,d=e.start,n=!0));let g=E([c?h.map(c.log2lin):h],(()=>s.requireSorting&&!p&&M(15,!1,s.chart)));return{xData:h,yData:f,cropped:n,cropStart:d,closestPointRange:g}}processData(t){let e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;let n=this.getProcessedData();this.cropped=n.cropped,this.cropStart=n.cropStart,this.processedXData=n.xData,this.processedYData=n.yData,this.closestPointRange=this.basePointRange=n.closestPointRange,T(this,"afterProcessData")}cropData(t,e,n,r){let i,o,s=t.length,a=0,l=s;for(i=0;i<s;i++)if(t[i]>=n){a=Math.max(0,i-1);break}for(o=i;o<s;o++)if(t[o]>r){l=o+1;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}}generatePoints(){let t,e,n,r,i=this.options,o=this.processedData||i.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,c=s.length,u=this.cropStart||0,d=this.hasGroupedData,h=i.keys,f=[],p=i.dataGrouping&&i.dataGrouping.groupAll?u:0,m=this.data;if(!m&&!d){let t=[];t.length=o.length,m=this.data=t}for(h&&d&&(this.options.keys=!1),r=0;r<c;r++)e=u+r,d?((n=new l(this,[s[r]].concat(F(a[r])))).dataGroup=this.groupMap[p+r],n.dataGroup.options&&(n.options=n.dataGroup.options,C(n,n.dataGroup.options),delete n.dataLabels)):(n=m[e])||void 0===o[e]||(m[e]=n=new l(this,o[e],s[r])),n&&(n.index=d?p+r:e,f[r]=n);if(this.options.keys=h,m&&(c!==(t=m.length)||d))for(r=0;r<t;r++)r!==u||d||(r+=c),m[r]&&(m[r].destroyElements(),m[r].plotX=void 0);this.data=m,this.points=f,T(this,"afterGeneratePoints")}getXExtremes(t){return{min:b(t),max:v(t)}}getExtremes(t,e){let n,r,i,o,s,a,l,c=this.xAxis,u=this.yAxis,d=[],h=this.requireSorting&&!this.is("column")?1:0,f=!!u&&u.positiveValuesOnly,p=e||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:m,processedYData:g}=this,y=0,x=0,w=0;if(this.cropped&&p){let t=this.getProcessedData(!0);m=t.xData,g=t.yData}let k=(t=t||this.stackedYData||g||[]).length,_=m||this.xData;for(c&&(y=(n=c.getExtremes()).min,x=n.max),a=0;a<k;a++)if(o=_[a],r=(L(s=t[a])||j(s))&&((L(s)?s>0:s.length)||!f),i=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!c||(_[a+h]||o)>=y&&(_[a-h]||o)<=x,r&&i)if(l=s.length)for(;l--;)L(s[l])&&(d[w++]=s[l]);else d[w++]=s;let S={activeYData:d,dataMin:b(d),dataMax:v(d)};return T(this,"afterGetExtremes",{dataExtremes:S}),S}applyExtremes(){let t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t}getFirstValidPoint(t){let e=t.length,n=0,r=null;for(;null===r&&n<e;)r=t[n],n++;return r}translate(){this.processedXData||this.processData(),this.generatePoints();let t,e,n,r,i=this.options,o=i.stacking,s=this.xAxis,a=s.categories,l=this.enabledDataSorting,c=this.yAxis,u=this.points,d=u.length,h=this.pointPlacementToXValue(),f=!!h,p=i.threshold,m=i.startFromThreshold?p:0,g=Number.MAX_VALUE;function v(t){return y(t,-1e5,1e5)}for(t=0;t<d;t++){let i,d,b,y=u[t],w=y.x,_=y.y,S=y.low,O=o&&c.stacking?.stacks[(this.negStacks&&_<(m?0:p)?"-":"")+this.stackKey];e=s.translate(w,!1,!1,!1,!0,h),y.plotX=L(e)?x(v(e)):void 0,o&&this.visible&&O&&O[w]&&(r=this.getStackIndicator(r,w,this.index),!y.isNull&&r.key&&(b=(d=O[w]).points[r.key]),d&&j(b)&&(S=b[0],_=b[1],S===m&&r.key===O[w].base&&(S=$(L(p)?p:c.min)),c.positiveValuesOnly&&k(S)&&S<=0&&(S=void 0),y.total=y.stackTotal=$(d.total),y.percentage=k(y.y)&&d.total?y.y/d.total*100:void 0,y.stackY=_,this.irregularWidths||d.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),y.yBottom=k(S)?v(c.translate(S,!1,!0,!1,!0)):void 0,this.dataModify&&(_=this.dataModify.modifyValue(_,t)),L(_)&&void 0!==y.plotX&&(i=L(i=c.translate(_,!1,!0,!1,!0))?v(i):void 0),y.plotY=i,y.isInside=this.isPointInside(y),y.clientX=f?x(s.translate(w,!1,!1,!1,!0,h)):e,y.negative=(y.y||0)<(p||0),y.category=$(a&&a[y.x],y.x),y.isNull||!1===y.visible||(void 0!==n&&(g=Math.min(g,Math.abs(e-n))),n=e),y.zone=this.zones.length?y.getZone():void 0,!y.graphic&&this.group&&l&&(y.isNew=!0)}this.closestPointRangePx=g,T(this,"afterTranslate")}getValidPoints(t,e,n){let r=this.chart;return(t||this.points||[]).filter((function(t){let{plotX:i,plotY:o}=t;return!(!(n||!t.isNull&&L(o))||e&&!r.isInsidePlot(i,o,{inverted:r.inverted}))&&!1!==t.visible}))}getClipBox(){let{chart:t,xAxis:e,yAxis:n}=this,{x:r,y:i,width:o,height:s}=N(t.clipBox);return e&&e.len!==t.plotSizeX&&(o=e.len),n&&n.len!==t.plotSizeY&&(s=n.len),t.inverted&&!this.invertible&&([o,s]=[s,o]),{x:r,y:i,width:o,height:s}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:t,group:e,markerGroup:n}=this,r=t.sharedClips,i=t.renderer,o=this.getClipBox(),s=this.getSharedClipKey(),a=r[s];a?a.animate(o):r[s]=a=i.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()}animate(t){let{chart:e,group:n,markerGroup:r}=this,i=e.inverted,o=u(this.options.animation),s=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(","),a=e.sharedClips[s],l=e.sharedClips[s+"m"];if(t&&n){let t=this.getClipBox();if(a)a.attr("height",t.height);else{t.width=0,i&&(t.x=e.plotHeight),a=e.renderer.clipRect(t),e.sharedClips[s]=a;let n={x:-99,y:-99,width:i?e.plotWidth+199:99,height:i?99:e.plotHeight+199};l=e.renderer.clipRect(n),e.sharedClips[s+"m"]=l}n.clip(a),r?.clip(l)}else if(a&&!a.hasClass("highcharts-animating")){let t=this.getClipBox(),n=o.step;(r?.element.childNodes.length||e.series.length>1)&&(o.step=function(t,e){n&&n.apply(e,arguments),"width"===e.prop&&l?.element&&l.attr(i?"height":"width",t+99)}),a.addClass("highcharts-animating").animate(t,o)}}afterAnimate(){this.setClip(),R(this.chart.sharedClips,((t,e,n)=>{t&&!this.chart.container.querySelector(`[clip-path="url(#${t.id})"]`)&&(t.destroy(),delete n[e])})),this.finishedAnimating=!0,T(this,"afterAnimate")}drawPoints(t=this.points){let e,n,r,i,o,s,a,l=this.chart,c=l.styledMode,{colorAxis:u,options:d}=this,h=d.marker,f=this[this.specialGroup||"markerGroup"],p=this.xAxis,m=$(h.enabled,!p||!!p.isRadial||null,this.closestPointRangePx>=h.enabledThreshold*h.radius);if(!1!==h.enabled||this._hasPointMarkers)for(e=0;e<t.length;e++)if(i=(r=(n=t[e]).graphic)?"animate":"attr",o=n.marker||{},s=!!n.marker,(m&&void 0===o.enabled||o.enabled)&&!n.isNull&&!1!==n.visible){let t=$(o.symbol,this.symbol,"rect");a=this.markerAttribs(n,n.selected&&"select"),this.enabledDataSorting&&(n.startXPos=p.reversed?-(a.width||0):p.width);let e=!1!==n.isInside;if(!r&&e&&((a.width||0)>0||n.hasImage)&&(n.graphic=r=l.renderer.symbol(t,a.x,a.y,a.width,a.height,s?o:h).add(f),this.enabledDataSorting&&l.hasRendered&&(r.attr({x:n.startXPos}),i="animate")),r&&"animate"===i&&r[e?"show":"hide"](e).animate(a),r){let t=this.pointAttribs(n,c||!n.selected?void 0:"select");c?u&&r.css({fill:t.fill}):r[i](t)}r&&r.addClass(n.getClassName(),!0)}else r&&(n.graphic=r.destroy())}markerAttribs(t,e){let n,r,i=this.options,o=i.marker,s=t.marker||{},a=s.symbol||o.symbol,l={},c=$(s.radius,o&&o.radius);e&&(n=o.states[e],c=$((r=s.states&&s.states[e])&&r.radius,n&&n.radius,c&&c+(n&&n.radiusPlus||0))),t.hasImage=a&&0===a.indexOf("url"),t.hasImage&&(c=0);let u=t.pos();return L(c)&&u&&(i.crisp&&(u[0]=w(u[0],t.hasImage?0:"rect"===a?o?.lineWidth||0:1)),l.x=u[0]-c,l.y=u[1]-c),c&&(l.width=l.height=2*c),l}pointAttribs(t,e){let n,r,i,o,s=this.options.marker,a=t&&t.options,l=a&&a.marker||{},c=a&&a.color,u=t&&t.color,d=t&&t.zone&&t.zone.color,h=this.color,f=$(l.lineWidth,s.lineWidth),p=1;return h=c||d||u||h,i=l.fillColor||s.fillColor||h,o=l.lineColor||s.lineColor||h,e=e||"normal",n=s.states[e]||{},f=$((r=l.states&&l.states[e]||{}).lineWidth,n.lineWidth,f+$(r.lineWidthPlus,n.lineWidthPlus,0)),i=r.fillColor||n.fillColor||i,{stroke:o=r.lineColor||n.lineColor||o,"stroke-width":f,fill:i,opacity:p=$(r.opacity,n.opacity,p)}}destroy(t){let e,n,r,i=this,o=i.chart,s=/AppleWebKit\/533/.test(m.navigator.userAgent),a=i.data||[];for(T(i,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(i.axisTypes||[]).forEach((function(t){(r=i[t])&&r.series&&(O(r.series,i),r.isDirty=r.forceRedraw=!0)})),i.legendItem&&i.chart.legend.destroyItem(i),e=a.length;e--;)(n=a[e])&&n.destroy&&n.destroy();for(let t of i.zones)_(t,void 0,!0);c.clearTimeout(i.animationTimeout),R(i,(function(t,e){t instanceof l&&!t.survive&&t[s&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===i&&(o.hoverSeries=void 0),O(o.series,i),o.orderItems("series"),R(i,(function(e,n){t&&"hcEvents"===n||delete i[n]}))}applyZones(){let{area:t,chart:e,graph:n,zones:r,points:i,xAxis:o,yAxis:s,zoneAxis:a}=this,{inverted:l,renderer:c}=e,u=this[`${a}Axis`],{isXAxis:d,len:h=0}=u||{},f=(n?.strokeWidth()||0)/2+1,p=(t,e=0,n=0)=>{l&&(n=h-n);let{translated:r=0,lineClip:i}=t,o=n-r;i?.push(["L",e,Math.abs(o)<f?n-f*(o<=0?-1:1):r])};if(r.length&&(n||t)&&u&&L(u.min)){let e=u.getExtremes().max,f=t=>{t.forEach(((e,n)=>{("M"===e[0]||"L"===e[0])&&(t[n]=[e[0],d?h-e[1]:e[1],d?e[2]:h-e[2]])}))};if(r.forEach((t=>{t.lineClip=[],t.translated=y(u.toPixels($(t.value,e),!0)||0,0,h)})),n&&!this.showLine&&n.hide(),t&&t.hide(),"y"===a&&i.length<o.len)for(let t of i){let{plotX:e,plotY:n,zone:i}=t,o=i&&r[r.indexOf(i)-1];i&&p(i,e,n),o&&p(o,e,n)}let m=[],g=u.toPixels(u.getExtremes().min,!0);r.forEach((e=>{let r=e.lineClip||[],i=Math.round(e.translated||0);o.reversed&&r.reverse();let{clip:a,simpleClip:u}=e,h=0,p=0,v=o.len,b=s.len;d?(h=i,v=g):(p=i,b=g);let y=[["M",h,p],["L",v,p],["L",v,b],["L",h,b],["Z"]],x=[y[0],...r,y[1],y[2],...m,y[3],y[4]];m=r.reverse(),g=i,l&&(f(x),t&&f(y)),a?(a.animate({d:x}),u?.animate({d:y})):(a=e.clip=c.path(x),t&&(u=e.simpleClip=c.path(y))),n&&e.graph?.clip(a),t&&e.area?.clip(u)}))}else this.visible&&(n&&n.show(),t&&t.show())}plotGroup(t,e,n,r,i){let o=this[t],s=!o,a={visibility:n,zIndex:r||.1};return k(this.opacity)&&!this.chart.styledMode&&"inactive"!==this.state&&(a.opacity=this.opacity),o||(this[t]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(a)[s?"attr":"animate"](this.getPlotBox(e)),o}getPlotBox(t){let e=this.xAxis,n=this.yAxis,r=this.chart,i=r.inverted&&!r.polar&&e&&this.invertible&&"series"===t;return r.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:r.plotLeft,translateY:n?n.top:r.plotTop,rotation:i?90:0,rotationOriginX:i?(e.len-n.len)/2:0,rotationOriginY:i?(e.len+n.len)/2:0,scaleX:i?-1:1,scaleY:1}}removeEvents(t){let{eventsToUnbind:e}=this;t||B(this),e.length&&(e.forEach((t=>{t()})),e.length=0)}render(){let t=this,{chart:e,options:n,hasRendered:r}=t,i=u(n.animation),o=t.visible?"inherit":"hidden",s=n.zIndex,a=e.seriesGroup,l=t.finishedAnimating?0:i.duration;T(this,"render"),t.plotGroup("group","series",o,s,a),t.markerGroup=t.plotGroup("markerGroup","markers",o,s,a),!1!==n.clip&&t.setClip(),l&&t.animate?.(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels?.(),t.redrawPoints?.(),n.enableMouseTracking&&t.drawTracker?.(),l&&t.animate?.(),r||(l&&i.defer&&(l+=i.defer),t.animationTimeout=z((()=>{t.afterAnimate()}),l||0)),t.isDirty=!1,t.hasRendered=!0,T(t,"afterRender")}redraw(){let t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(t,e){let{xAxis:n,yAxis:r}=this,i=this.chart.inverted;return this.searchKDTree({clientX:i?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:i?r.len-t.chartX+r.pos:t.chartY-r.pos},e,t)}buildKDTree(t){this.buildingKdTree=!0;let e=this,n=e.options.findNearestPointBy.indexOf("y")>-1?2:1;delete e.kdTree,z((function(){e.kdTree=function t(n,r,i){let o,s,a=n?.length;if(a)return o=e.kdAxisArray[r%i],n.sort(((t,e)=>(t[o]||0)-(e[o]||0))),{point:n[s=Math.floor(a/2)],left:t(n.slice(0,s),r+1,i),right:t(n.slice(s+1),r+1,i)}}(e.getValidPoints(void 0,!e.directTouch),n,n),e.buildingKdTree=!1}),e.options.kdNow||"touchstart"===t?.type?0:1)}searchKDTree(t,e,n){let r=this,[i,o]=this.kdAxisArray,s=e?"distX":"dist",a=(r.options.findNearestPointBy||"").indexOf("y")>-1?2:1,l=!!r.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,a,c){let u,d,h=n.point,f=r.kdAxisArray[a%c],p=h;!function(t,e){let n=t[i],r=e[i],s=k(n)&&k(r)?n-r:null,a=t[o],c=e[o],u=k(a)&&k(c)?a-c:0,d=l&&e.marker?.radius||0;e.dist=Math.sqrt((s&&s*s||0)+u*u)-d,e.distX=k(s)?Math.abs(s)-d:Number.MAX_VALUE}(e,h);let m=(e[f]||0)-(h[f]||0)+(l&&h.marker?.radius||0),g=m<0?"left":"right",v=m<0?"right":"left";return n[g]&&(p=(u=t(e,n[g],a+1,c))[s]<p[s]?u:h),n[v]&&Math.sqrt(m*m)<p[s]&&(p=(d=t(e,n[v],a+1,c))[s]<p[s]?d:p),p}(t,this.kdTree,a,a)}pointPlacementToXValue(){let{options:t,xAxis:e}=this,n=t.pointPlacement;return"between"===n&&(n=e.reversed?-.5:.5),L(n)?n*(t.pointRange||e.pointRange):0}isPointInside(t){let{chart:e,xAxis:n,yAxis:r}=this,{plotX:i=-1,plotY:o=-1}=t;return o>=0&&o<=(r?r.len:e.plotHeight)&&i>=0&&i<=(n?n.len:e.plotWidth)}drawTracker(){let t=this,e=t.options,n=e.trackByArea,r=[].concat((n?t.areaPath:t.graphPath)||[]),i=t.chart,o=i.pointer,s=i.renderer,a=i.options.tooltip?.snap||0,l=()=>{e.enableMouseTracking&&i.hoverSeries!==t&&t.onMouseOver()},c="rgba(192,192,192,"+(p?1e-4:.002)+")",u=t.tracker;u?u.attr({d:r}):t.graph&&(t.tracker=u=s.path(r).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),i.styledMode||u.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:c,fill:n?c:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*a)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((t=>{t&&(t.addClass("highcharts-tracker").on("mouseover",l).on("mouseout",(t=>{o?.onTrackerMouseOut(t)})),e.cursor&&!i.styledMode&&t.css({cursor:e.cursor}),t.on("touchstart",l))}))),T(this,"afterDrawTracker")}addPoint(t,e,n,r,i){let o,s,a=this.options,l=this.data,c=this.chart,u=this.xAxis,d=u&&u.hasNames&&u.names,h=a.data,f=this.xData;e=$(e,!0);let p={series:this};this.pointClass.prototype.applyOptions.apply(p,[t]);let m=p.x;if(s=f.length,this.requireSorting&&m<f[s-1])for(o=!0;s&&f[s-1]>m;)s--;this.updateParallelArrays(p,"splice",[s,0,0]),this.updateParallelArrays(p,s),d&&p.name&&(d[m]=p.name),h.splice(s,0,t),(o||this.processedData)&&(this.data.splice(s,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),n&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(p,"shift"),h.shift())),!1!==i&&T(this,"addPoint",{point:p}),this.isDirty=!0,this.isDirtyData=!0,e&&c.redraw(r)}removePoint(t,e,n){let r=this,i=r.data,o=i[t],s=r.points,a=r.chart,l=function(){s&&s.length===i.length&&s.splice(t,1),i.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(o||{series:r},"splice",[t,1]),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&a.redraw()};d(n,a),e=$(e,!0),o?o.firePointEvent("remove",null,l):l()}remove(t,e,n,r){let i=this,o=i.chart;function s(){i.destroy(r),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(r),$(t,!0)&&o.redraw(e)}!1!==n?T(i,"remove",null,s):s()}update(t,e){T(this,"update",{options:t=S(t,this.userOptions)});let n,r,i=this,o=i.chart,s=i.userOptions,a=i.initialType||i.type,l=o.options.plotOptions,c=g[a].prototype,u=i.finishedAnimating&&{animation:!1},d={},h=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],f=t.type||s.type||o.options.chart.type,p=!(this.hasDerivedData||f&&f!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some((t=>i.hasOptionChanged(t))));f=f||a,p&&(h.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),!1!==t.visible&&h.push("area","graph"),i.parallelArrays.forEach((function(t){h.push(t+"Data")})),t.data&&(t.dataSorting&&C(i.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=N(s,{index:void 0===s.index?i.index:s.index,pointStart:l?.series?.pointStart??s.pointStart??i.xData?.[0]},!p&&{data:i.options.data},t,u),p&&t.data&&(t.data=i.options.data),(h=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(h)).forEach((function(t){h[t]=i[t],delete i[t]}));let m=!1;if(g[f]){if(m=f!==i.type,i.remove(!1,!1,!1,!0),m)if(o.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(i,g[f].prototype);else{let t=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents;for(r in c)i[r]=void 0;C(i,g[f].prototype),t?i.hcEvents=t:delete i.hcEvents}}else M(17,!0,o,{missingModuleFor:f});if(h.forEach((function(t){i[t]=h[t]})),i.init(o,t),p&&this.points)for(let t of(!1===(n=i.options).visible?(d.graphic=1,d.dataLabel=1):(this.hasMarkerChanged(n,s)&&(d.graphic=1),i.hasDataLabels?.()||(d.dataLabel=1)),this.points))t&&t.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===n.showInLegend&&t.legendItem&&o.legend.destroyItem(t));i.initialType=a,o.linkSeries(),o.setSortedData(),m&&i.linkedSeries.length&&(i.isDirtyData=!0),T(this,"afterUpdate"),$(e,!0)&&o.redraw(!!p&&void 0)}setName(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0}hasOptionChanged(t){let e=this.chart,n=this.options[t],r=e.options.plotOptions,i=this.userOptions[t],o=$(r?.[this.type]?.[t],r?.series?.[t]);return i&&!k(o)?n!==i:n!==$(o,n)}onMouseOver(){let t=this.chart,e=t.hoverSeries,n=t.pointer;n?.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&T(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this}onMouseOut(){let t=this.options,e=this.chart,n=e.tooltip,r=e.hoverPoint;e.hoverSeries=null,r&&r.onMouseOut(),this&&t.events.mouseOut&&T(this,"mouseOut"),n&&!this.stickyTracking&&(!n.shared||this.noSharedTooltip)&&n.hide(),e.series.forEach((function(t){t.setState("",!0)}))}setState(t,e){let n=this,r=n.options,i=n.graph,o=r.inactiveOtherPoints,s=r.states,a=$(s[t||"normal"]&&s[t||"normal"].animation,n.chart.options.chart.animation),l=r.lineWidth,c=r.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(l=s[t].lineWidth||l+(s[t].lineWidthPlus||0),c=$(s[t].opacity,c)),i&&!i.dashstyle&&L(l))for(let t of[i,...this.zones.map((t=>t.graph))])t?.animate({"stroke-width":l},a);o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:c},a)}))}e&&o&&n.points&&n.setAllPointsToState(t||void 0)}setAllPointsToState(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))}setVisible(t,e){let n=this,r=n.chart,i=r.options.chart.ignoreHiddenSeries,o=n.visible;n.visible=t=n.options.visible=n.userOptions.visible=void 0===t?!o:t;let s=t?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((t=>{n[t]?.[s]()})),(r.hoverSeries===n||r.hoverPoint?.series===n)&&n.onMouseOut(),n.legendItem&&r.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&r.series.forEach((t=>{t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((e=>{e.setVisible(t,!1)})),i&&(r.isDirtyBox=!0),T(n,s),!1!==e&&r.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),T(this,t?"select":"unselect")}shouldShowTooltip(t,e,n={}){return n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)}drawLegendSymbol(t,e){i[this.options.legendSymbol||"rectangle"]?.call(this,t,e)}}return H.defaultOptions=s,H.types=a.seriesTypes,H.registerType=a.registerSeriesType,C(H.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),a.series=H,H})),n(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],(function(t,e,n,r,i,o,s,a,l,c,u,d,h,f){let{animate:p,animObject:m,setAnimation:g}=t,{defaultOptions:v,defaultTime:b}=n,{numberFormat:y}=r,{registerEventOptions:x}=i,{charts:w,doc:k,marginNames:_,svg:S,win:O}=o,{seriesTypes:M}=l,{addEvent:C,attr:A,createElement:T,css:E,defined:D,diffObjects:P,discardElement:j,erase:L,error:I,extend:N,find:R,fireEvent:$,getStyle:B,isArray:F,isNumber:z,isObject:H,isString:Y,merge:W,objectEach:V,pick:U,pInt:G,relativeLength:X,removeEvent:q,splat:K,syncTimeout:J,uniqueKey:Z}=d;class Q{static chart(t,e,n){return new Q(t,e,n)}constructor(t,e,n){this.sharedClips={};let r=[...arguments];(Y(t)||t.nodeName)&&(this.renderTo=r.shift()),this.init(r[0],r[1])}setZoomOptions(){let t=this.options.chart,e=t.zooming;this.zooming={...e,type:U(t.zoomType,e.type),key:U(t.zoomKey,e.key),pinchType:U(t.pinchType,e.pinchType),singleTouch:U(t.zoomBySingleTouch,e.singleTouch,!1),resetButton:W(e.resetButton,t.resetZoomButton)}}init(t,e){$(this,"init",{args:arguments},(function(){let n=W(v,t),r=n.chart;this.userOptions=N({},t),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new u(t.time):o.time,this.numberFormatter=r.numberFormatter||y,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=w.length,w.push(this),o.chartCount++,x(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),$(this,"afterInit"),this.firstRender()}))}initSeries(t){let e=this.options.chart,n=t.type||e.type,r=M[n];r||I(17,!0,this,{missingModuleFor:n});let i=new r;return"function"==typeof i.init&&i.init(this,t),i}setSortedData(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))}getSeriesOrderByLinks(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))}orderItems(t,e=0){let n=this[t],r=this.options[t]=K(this.options[t]).slice(),i=this.userOptions[t]=this.userOptions[t]?K(this.userOptions[t]).slice():[];if(this.hasRendered&&(r.splice(e),i.splice(e)),n)for(let t=e,o=n.length;t<o;++t){let e=n[t];e&&(e.index=t,e instanceof a&&(e.name=e.getName()),e.options.isInternal||(r[t]=e.options,i[t]=e.userOptions))}}isInsidePlot(t,e,n={}){let{inverted:r,plotBox:i,plotLeft:o,plotTop:s,scrollablePlotBox:a}=this,{scrollLeft:l=0,scrollTop:c=0}=n.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},u=n.series,d=n.visiblePlotOnly&&a||i,h=n.inverted?e:t,f=n.inverted?t:e,p={x:h,y:f,isInsidePlot:!0,options:n};if(!n.ignoreX){let t=u&&(r&&!this.polar?u.yAxis:u.xAxis)||{pos:o,len:1/0},e=n.paneCoordinates?t.pos+h:o+h;e>=Math.max(l+o,t.pos)&&e<=Math.min(l+o+d.width,t.pos+t.len)||(p.isInsidePlot=!1)}if(!n.ignoreY&&p.isInsidePlot){let t=!r&&n.axis&&!n.axis.isXAxis&&n.axis||u&&(r?u.xAxis:u.yAxis)||{pos:s,len:1/0},e=n.paneCoordinates?t.pos+f:s+f;e>=Math.max(c+s,t.pos)&&e<=Math.min(c+s+d.height,t.pos+t.len)||(p.isInsidePlot=!1)}return $(this,"afterIsInsidePlot",p),p.isInsidePlot}redraw(t){$(this,"beforeRedraw");let e,n,r,i,o=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,a=this.pointer,l=this.legend,c=this.userOptions.legend,u=this.renderer,d=u.isHidden(),h=[],f=this.isDirtyBox,p=this.isDirtyLegend;for(u.rootFontSize=u.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),g(!!this.hasRendered&&t,this),d&&this.temporaryDisplay(),this.layOutTitles(!1),r=s.length;r--;)if(((i=s[r]).options.stacking||i.options.centerInCategory)&&(n=!0,i.isDirty)){e=!0;break}if(e)for(r=s.length;r--;)(i=s[r]).options.stacking&&(i.isDirty=!0);s.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),p=!0):c&&(c.labelFormatter||c.labelFormat)&&(p=!0)),t.isDirtyData&&$(t,"updatedData")})),p&&l&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),n&&this.getStacks(),o.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),o.forEach((function(t){t.isDirty&&(f=!0)})),o.forEach((function(t){let e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push((function(){$(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(f||n)&&t.redraw()})),f&&this.drawChartBox(),$(this,"predraw"),s.forEach((function(t){(f||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),a&&a.reset(!0),u.draw(),$(this,"redraw"),$(this,"render"),d&&this.temporaryDisplay(!0),h.forEach((function(t){t.call()}))}get(t){let e=this.series;function n(e){return e.id===t||e.options&&e.options.id===t}let r=R(this.axes,n)||R(this.series,n);for(let t=0;!r&&t<e.length;t++)r=R(e[t].points||[],n);return r}getAxes(){let t=this.userOptions;for(let n of($(this,"getAxes"),["xAxis","yAxis"]))for(let r of t[n]=K(t[n]||{}))new e(this,r,n);$(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce(((t,e)=>(e.getPointsCollection().forEach((e=>{U(e.selectedStaging,e.selected)&&t.push(e)})),t)),[])}getSelectedSeries(){return this.series.filter((function(t){return t.selected}))}setTitle(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)}applyDescription(t,e){let n=this,r=this.options[t]=W(this.options[t],e),i=this[t];i&&e&&(this[t]=i=i.destroy()),r&&!i&&((i=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+t,zIndex:r.zIndex||4}).add()).update=function(e,r){n.applyDescription(t,e),n.layOutTitles(r)},this.styledMode||i.css(N("title"===t?{fontSize:this.options.isStock?"1em":"1.2em"}:{},r.style)),this[t]=i)}layOutTitles(t=!0){let e=[0,0,0],n=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach((function(t){let i=this[t],o=this.options[t],s=o.verticalAlign||"top",a="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0;if(i){i.css({width:(o.width||r.width+(o.widthAdjust||0))+"px"});let t=n.fontMetrics(i).b,l=Math.round(i.getBBox(o.useHTML).height);i.align(N({y:"bottom"===s?t:a+t,height:l},o),!1,"spacingBox"),o.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);let i=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,$(this,"afterLayOutTitles"),!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&t&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:B(this.renderTo,"width",!0)||0,height:B(this.renderTo,"height",!0)||0}}getChartSize(){let t=this.options.chart,e=t.width,n=t.height,r=this.getContainerBox();this.chartWidth=Math.max(0,e||r.width||600),this.chartHeight=Math.max(0,X(n,this.chartWidth)||(r.height>1?r.height:400)),this.containerBox=r}temporaryDisplay(t){let e,n=this.renderTo;if(t)for(;n&&n.style;)n.hcOrigStyle&&(E(n,n.hcOrigStyle),delete n.hcOrigStyle),n.hcOrigDetached&&(k.body.removeChild(n),n.hcOrigDetached=!1),n=n.parentNode;else for(;n&&n.style&&(k.body.contains(n)||n.parentNode||(n.hcOrigDetached=!0,k.body.appendChild(n)),("none"===B(n,"display",!1)||n.hcOricDetached)&&(n.hcOrigStyle={display:n.style.display,height:n.style.height,overflow:n.style.overflow},e={display:"block",overflow:"hidden"},n!==this.renderTo&&(e.height=0),E(n,e),n.offsetWidth||n.style.setProperty("display","block","important")),(n=n.parentNode)!==k.body););}setClassName(t){this.container.className="highcharts-container "+(t||"")}getContainer(){let t,e=this.options,n=e.chart,r="data-highcharts-chart",i=Z(),o=this.renderTo;o||(this.renderTo=o=n.renderTo),Y(o)&&(this.renderTo=o=k.getElementById(o)),o||I(13,!0,this);let a=G(A(o,r));z(a)&&w[a]&&w[a].hasRendered&&w[a].destroy(),A(o,r,this.index),o.innerHTML=h.emptyHTML,n.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize();let l=this.chartHeight,u=this.chartWidth;E(o,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:u+"px",height:l+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{}));let d=T("div",{id:i},t,o);this.container=d,this.getChartSize(),u===this.chartWidth||(u=this.chartWidth,this.styledMode||E(d,{width:U(n.style?.width,u+"px")})),this.containerBox=this.getContainerBox(),this._cursor=d.style.cursor;let f=n.renderer||!S?s.getRendererType(n.renderer):c;if(this.renderer=new f(d,u,l,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),g(void 0,this),this.setClassName(n.className),this.styledMode)for(let t in e.defs)this.renderer.definition(e.defs[t]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,$(this,"afterGetContainer")}getMargins(t){let{spacing:e,margin:n,titleOffset:r}=this;this.resetMargins(),r[0]&&!D(n[0])&&(this.plotTop=Math.max(this.plotTop,r[0]+e[0])),r[2]&&!D(n[2])&&(this.marginBottom=Math.max(this.marginBottom,r[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),$(this,"getMargins"),t||this.getAxisMargins()}getAxisMargins(){let t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,r=t.margin,i=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?i(t.axes):n&&n.length&&i(n),_.forEach((function(n,i){D(r[i])||(t[n]+=e[i])})),t.setChartSize()}getOptions(){return P(this.userOptions,v)}reflow(t){let e=this,n=e.containerBox,r=e.getContainerBox();delete e.pointer?.chartPosition,!e.isPrinting&&!e.isResizing&&n&&r.width&&((r.width!==n.width||r.height!==n.height)&&(d.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerBox=r)}setReflow(){let t=this,e=e=>{t.options?.chart.reflow&&t.hasLoaded&&t.reflow(e)};if("function"==typeof ResizeObserver)new ResizeObserver(e).observe(t.renderTo);else{let t=C(O,"resize",e);C(this,"destroy",t)}}setSize(t,e,n){let r=this,i=r.renderer;r.isResizing+=1,g(n,r);let o=i.globalAnimation;r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,void 0!==t&&(r.options.chart.width=t),void 0!==e&&(r.options.chart.height=e),r.getChartSize();let{chartWidth:s,chartHeight:a,scrollablePixelsX:l=0,scrollablePixelsY:c=0}=r;(r.isDirtyBox||s!==r.oldChartWidth||a!==r.oldChartHeight)&&(r.styledMode||(o?p:E)(r.container,{width:`${s+l}px`,height:`${a+c}px`},o),r.setChartSize(!0),i.setSize(s,a,o),r.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(o),r.oldChartHeight=void 0,$(r,"resize"),setTimeout((()=>{r&&$(r,"endResize")}),m(o).duration)),r.isResizing-=1}setChartSize(t){let e,n,r,i,{chartHeight:o,chartWidth:s,inverted:a,spacing:l,renderer:c}=this,u=this.clipOffset,d=Math[a?"floor":"round"];this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=i=Math.max(0,Math.round(o-n-this.marginBottom)),this.plotSizeX=a?i:r,this.plotSizeY=a?r:i,this.spacingBox=c.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:o-l[0]-l[2]},this.plotBox=c.plotBox={x:e,y:n,width:r,height:i},u&&(this.clipBox={x:d(u[3]),y:d(u[0]),width:d(this.plotSizeX-u[1]-u[3]),height:d(this.plotSizeY-u[0]-u[2])}),t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),c.alignElements()),$(this,"afterSetChartSize",{skipAxes:t})}resetMargins(){$(this,"resetMargins");let t=this,e=t.options.chart,n=e.plotBorderWidth||0,r=n/2;["margin","spacing"].forEach((function(n){let r=e[n],i=H(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach((function(r,o){t[n][o]=U(e[n+r],i[o])}))})),_.forEach((function(e,n){t[e]=U(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[r,r,r,r],t.plotBorderWidth=n}drawChartBox(){let t,e,n,r=this.options.chart,i=this.renderer,o=this.chartWidth,s=this.chartHeight,a=this.styledMode,l=this.plotBGImage,c=r.backgroundColor,u=r.plotBackgroundColor,d=r.plotBackgroundImage,h=this.plotLeft,f=this.plotTop,p=this.plotWidth,m=this.plotHeight,g=this.plotBox,v=this.clipRect,b=this.clipBox,y=this.chartBackground,x=this.plotBackground,w=this.plotBorder,k="animate";y||(this.chartBackground=y=i.rect().addClass("highcharts-background").add(),k="attr"),a?t=e=y.strokeWidth():(e=(t=r.borderWidth||0)+(r.shadow?8:0),n={fill:c||"none"},(t||y["stroke-width"])&&(n.stroke=r.borderColor,n["stroke-width"]=t),y.attr(n).shadow(r.shadow)),y[k]({x:e/2,y:e/2,width:o-e-t%2,height:s-e-t%2,r:r.borderRadius}),k="animate",x||(k="attr",this.plotBackground=x=i.rect().addClass("highcharts-plot-background").add()),x[k](g),!a&&(x.attr({fill:u||"none"}).shadow(r.plotShadow),d&&(l?(d!==l.attr("href")&&l.attr("href",d),l.animate(g)):this.plotBGImage=i.image(d,h,f,p,m).add())),v?v.animate({width:b.width,height:b.height}):this.clipRect=i.clipRect(b),k="animate",w||(k="attr",this.plotBorder=w=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||w.attr({stroke:r.plotBorderColor,"stroke-width":r.plotBorderWidth||0,fill:"none"}),w[k](w.crisp({x:h,y:f,width:p,height:m},-w.strokeWidth())),this.isDirtyBox=!1,$(this,"afterDrawChartBox")}propFromSeries(){let t,e,n,r=this,i=r.options.chart,o=r.options.series;["inverted","angular","polar"].forEach((function(s){for(e=M[i.type],n=i[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)(e=M[o[t].type])&&e.prototype[s]&&(n=!0);r[s]=n}))}linkSeries(t){let e=this,n=e.series;n.forEach((function(t){t.linkedSeries.length=0})),n.forEach((function(t){let{linkedTo:n}=t.options;if(Y(n)){let r;(r=":previous"===n?e.series[t.index-1]:e.get(n))&&r.linkedParent!==t&&(r.linkedSeries.push(t),t.linkedParent=r,r.enabledDataSorting&&t.setDataSortingOptions(),t.visible=U(t.options.visible,r.options.visible,t.visible))}})),$(this,"afterLinkSeries",{isUpdating:t})}renderSeries(){this.series.forEach((function(t){t.translate(),t.render()}))}render(){let t,e=this.axes,n=this.colorAxis,r=this.renderer,i=this.options.chart.axisLayoutRuns||2,o=t=>{t.forEach((t=>{t.visible&&t.render()}))},s=0,a=!0,l=0;for(let t of(this.setTitle(),$(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),e)){let{options:e}=t,{labels:n}=e;if(this.hasCartesianSeries&&t.horiz&&t.visible&&n.enabled&&t.series.length&&"colorAxis"!==t.coll&&!this.polar){s=e.tickLength,t.createGroups();let r=new f(t,0,"",!0),i=r.createLabel("x",n);if(r.destroy(),i&&U(n.reserveSpace,!z(e.crossing))&&(s=i.getBBox().height+n.distance+Math.max(e.offset||0,0)),s){i?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-s,0);(a||t||i>1)&&l<i;){let n=this.plotWidth,r=this.plotHeight;for(let n of e)0===l?n.setScale():(n.horiz&&a||!n.horiz&&t)&&n.setTickInterval(!0);0===l?this.getAxisMargins():this.getMargins(),a=n/this.plotWidth>(l?1:1.1),t=r/this.plotHeight>(l?1:1.05),l++}this.drawChartBox(),this.hasCartesianSeries?o(e):n&&n.length&&o(n),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(t){let e=this,n=W(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(O.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})}destroy(){let t,e=this,n=e.axes,r=e.series,i=e.container,s=i&&i.parentNode;for($(e,"destroy"),e.renderer.forExport?L(w,e):w[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),q(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=r.length;t--;)r[t]=r[t].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach((function(t){let n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),i&&(i.innerHTML=h.emptyHTML,q(i),s&&j(i)),V(e,(function(t,n){delete e[n]}))}firstRender(){let t=this,e=t.options;t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes();let n=F(e.series)?e.series:[];e.series=[],n.forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSortedData(),$(t,"beforeRender"),t.render(),t.pointer?.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach((function(t){t&&void 0!==this.index&&t.apply(this,[this])}),this),$(this,"load"),$(this,"render"),D(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:t,title:e}=this;!t||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(e&&e.element.textContent||"").replace(/</g,"&lt;")}),t.accessibility&&!1===t.accessibility.enabled||I('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(t,e,n){let r,i=this;return t&&(e=U(e,!0),$(i,"addSeries",{options:t},(function(){r=i.initSeries(t),i.isDirtyLegend=!0,i.linkSeries(),r.enabledDataSorting&&r.setData(t.data,!1),$(i,"afterAddSeries",{series:r}),e&&i.redraw(n)}))),r}addAxis(t,e,n,r){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:r})}addColorAxis(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})}createAxis(t,n){let r=new e(this,n.axis,t);return U(n.redraw,!0)&&this.redraw(n.animation),r}showLoading(t){let e=this,n=e.options,r=n.loading,i=function(){o&&E(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,s=e.loadingSpan;o||(e.loadingDiv=o=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),s||(e.loadingSpan=s=T("span",{className:"highcharts-loading-inner"},null,o),C(e,"redraw",i)),o.className="highcharts-loading",h.setElementHTML(s,U(t,n.lang.loading,"")),e.styledMode||(E(o,N(r.style,{zIndex:10})),E(s,r.labelStyle),e.loadingShown||(E(o,{opacity:0,display:""}),p(o,{opacity:r.style.opacity||.5},{duration:r.showDuration||0}))),e.loadingShown=!0,i()}hideLoading(){let t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||p(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){E(e,{display:"none"})}})),this.loadingShown=!1}update(t,e,n,r){let i,o,s,a=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,d=[];$(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=P(t,a.options),a.userOptions=W(a.userOptions,t);let h=t.chart;h&&(W(!0,a.options.chart,h),this.setZoomOptions(),"className"in h&&a.setClassName(h.className),("inverted"in h||"polar"in h||"type"in h)&&(a.propFromSeries(),i=!0),"alignTicks"in h&&(i=!0),"events"in h&&x(this,h),V(h,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1===a.propsRequireReflow.indexOf(e)||(a.isDirtyBox=!0,c||(s=!0))})),!a.styledMode&&h.style&&a.renderer.setStyle(a.options.chart.style||{})),!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===b&&(this.time=new u(t.time)),W(!0,a.options.time,t.time)),V(t,(function(e,n){a[n]&&"function"==typeof a[n].update?a[n].update(e,!1):"function"==typeof a[l[n]]?a[l[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&W(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){t[e]&&(K(t[e]).forEach((function(t,r){let i,o=D(t.id);o&&(i=a.get(t.id)),!i&&a[e]&&(i=a[e][U(t.index,r)])&&(o&&D(i.options.id)||i.options.isInternal)&&(i=void 0),i&&i.coll===e&&(i.update(t,!1),n&&(i.touched=!0)),!i&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:d.push(t)})))})),d.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),i&&a.axes.forEach((function(t){t.update({},!1)})),o&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this);let f=h&&h.width,p=h&&(Y(h.height)?X(h.height,f||a.chartWidth):h.height);s||z(f)&&f!==a.chartWidth||z(p)&&p!==a.chartHeight?a.setSize(f,p,r):U(e,!0)&&a.redraw(r),$(a,"afterUpdate",{options:t,redraw:e,animation:r})}setSubtitle(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)}setCaption(t,e){this.applyDescription("caption",t),this.layOutTitles(e)}showResetZoom(){let t=this,e=v.lang,n=t.zooming.resetButton,r=n.theme,i="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"plotBox";function o(){t.zoomOut()}$(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(e.resetZoom,null,null,o,r).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,i)})),$(this,"afterShowResetZoom")}zoomOut(){$(this,"selection",{resetSelection:!0},(()=>this.transform({reset:!0,trigger:"zoom"})))}pan(t,e){let n=this,r="object"==typeof e?e:{enabled:e,type:"x"},i=r.type,o=i&&n[{x:"xAxis",xy:"axes",y:"yAxis"}[i]].filter((t=>t.options.panningEnabled&&!t.options.isInternal)),s=n.options.chart;s?.panning&&(s.panning=r),$(this,"pan",{originalEvent:t},(()=>{n.transform({axes:o,event:t,to:{x:t.chartX-(n.mouseDownX||0),y:t.chartY-(n.mouseDownY||0)},trigger:"pan"}),E(n.container,{cursor:"move"})}))}transform(t){let e,{axes:n=this.axes,event:r,from:i={},reset:o,selection:s,to:a={},trigger:l}=t,{inverted:c}=this,u=!1;for(let t of(this.hoverPoints?.forEach((t=>t.setState())),n)){let{horiz:n,len:d,minPointOffset:h=0,options:f,reversed:p}=t,m=n?"width":"height",g=n?"x":"y",v=U(a[m],t.len),b=U(i[m],t.len),y=10>Math.abs(v)?1:v/b,x=(i[g]||0)+b/2-t.pos,w=x-((a[g]??t.pos)+v/2-t.pos)/y,k=p&&!c||!p&&c?-1:1;if(!o&&(x<0||x>t.len))continue;let _=t.toValue(w,!0)+(s?0:h*k),S=t.toValue(w+d/y,!0)-(s?0:h*k||0),O=t.allExtremes;if(_>S&&([_,S]=[S,_]),1===y&&!o&&"yAxis"===t.coll&&!O){for(let e of t.series){let t=e.getExtremes(e.getProcessedData(!0).yData,!0);O??(O={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),z(t.dataMin)&&z(t.dataMax)&&(O.dataMin=Math.min(t.dataMin,O.dataMin),O.dataMax=Math.max(t.dataMax,O.dataMax))}t.allExtremes=O}let{dataMin:M,dataMax:C,min:A,max:T}=N(t.getExtremes(),O||{}),E=M??f.min,P=C??f.max,j=S-_,L=t.categories?0:Math.min(j,P-E),I=E-L*(D(f.min)?0:f.minPadding),R=P+L*(D(f.max)?0:f.maxPadding),$=t.allowZoomOutside||1===y||"zoom"!==l&&y>1,B=Math.min(f.min??I,I,$?A:I),F=Math.max(f.max??R,R,$?T:R);(!t.isOrdinal||1!==y||o)&&(_<B&&(_=B,y>=1&&(S=_+j)),S>F&&(S=F,y>=1&&(_=S-j)),(o||t.series.length&&(_!==A||S!==T)&&_>=B&&S<=F)&&(s?s[t.coll].push({axis:t,min:_,max:S}):(t.isPanning="zoom"!==l,t.setExtremes(o?void 0:_,o?void 0:S,!1,!1,{move:w,trigger:l,scale:y}),!o&&(_>B||S<F)&&"mousewheel"!==l&&(e=!0)),u=!0),r&&(this[n?"mouseDownX":"mouseDownY"]=r[n?"chartX":"chartY"]))}return u&&(s?$(this,"selection",s,(()=>{delete t.selection,t.trigger="zoom",this.transform(t)})):(e&&!this.resetZoomButton?this.showResetZoom():!e&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()),this.redraw("zoom"===l&&(this.options.chart.animation??this.pointCount<100)))),u}}return N(Q.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Q.prototype.addAxis,[!0]],yAxis:[Q.prototype.addAxis,[!1]],series:[Q.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Q})),n(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let{stop:i}=t,{composed:o}=e,{addEvent:s,createElement:a,css:l,defined:c,merge:u,pushUnique:d}=r;function h(){let t=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!t&&(this.scrollablePlotArea=t=new p(this)),t?.applyFixed()}function f(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class p{static compose(t,e,n){d(o,this.compose)&&(s(t,"afterInit",f),s(e,"afterSetChartSize",(t=>this.afterSetSize(t.target,t))),s(e,"render",h),s(n,"show",f))}static afterSetSize(t,e){let n,r,i,{minWidth:o,minHeight:s}=t.options.chart.scrollablePlotArea||{},{clipBox:a,plotBox:l,inverted:d,renderer:h}=t;if(!h.forExport&&(o?(t.scrollablePixelsX=n=Math.max(0,o-t.chartWidth),n&&(t.scrollablePlotBox=u(t.plotBox),l.width=t.plotWidth+=n,a[d?"height":"width"]+=n,i=!0)):s&&(t.scrollablePixelsY=r=Math.max(0,s-t.chartHeight),c(r)&&(t.scrollablePlotBox=u(t.plotBox),l.height=t.plotHeight+=r,a[d?"width":"height"]+=r,i=!1)),c(i)&&!e.skipAxes))for(let e of t.axes)e.horiz===i&&(e.setAxisSize(),e.setAxisTranslation())}constructor(t){let e,r=t.options.chart,i=n.getRendererType(),o=r.scrollablePlotArea||{},c=this.moveFixedElements.bind(this),u={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};t.scrollablePixelsX&&(u.overflowX="auto"),t.scrollablePixelsY&&(u.overflowY="auto"),this.chart=t;let d=this.parentDiv=a("div",{className:"highcharts-scrolling-parent"},{position:"relative"},t.renderTo),h=this.scrollingContainer=a("div",{className:"highcharts-scrolling"},u,d),f=this.innerContainer=a("div",{className:"highcharts-inner-container"},void 0,h),p=this.fixedDiv=a("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(r.style?.zIndex||0)+2,top:0},void 0,!0),m=this.fixedRenderer=new i(p,t.chartWidth,t.chartHeight,r.style);this.mask=m.path().attr({fill:r.backgroundColor||"#fff","fill-opacity":o.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),h.parentNode.insertBefore(p,h),l(t.renderTo,{overflow:"visible"}),s(t,"afterShowResetZoom",c),s(t,"afterApplyDrilldown",c),s(t,"afterLayOutTitles",c),s(h,"scroll",(()=>{let{pointer:n,hoverPoint:r}=t;n&&(delete n.chartPosition,r&&(e=r),n.runPointActions(void 0,e,!0))})),f.appendChild(t.container)}applyFixed(){let{chart:t,fixedRenderer:e,isDirty:n,scrollingContainer:r}=this,{axisOffset:o,chartWidth:s,chartHeight:a,container:u,plotHeight:d,plotLeft:h,plotTop:f,plotWidth:p,scrollablePixelsX:m=0,scrollablePixelsY:g=0}=t,{scrollPositionX:v=0,scrollPositionY:b=0}=t.options.chart.scrollablePlotArea||{},y=s+m,x=a+g;e.setSize(s,a),(n??!0)&&(this.isDirty=!1,this.moveFixedElements()),i(t.container),l(u,{width:`${y}px`,height:`${x}px`}),t.renderer.boxWrapper.attr({width:y,height:x,viewBox:[0,0,y,x].join(" ")}),t.chartBackground?.attr({width:y,height:x}),l(r,{width:`${s}px`,height:`${a}px`}),c(n)||(r.scrollLeft=m*v,r.scrollTop=g*b);let w=f-o[0]-1,k=h-o[3]-1,_=f+d+o[2]+1,S=h+p+o[1]+1,O=h+p-m,M=f+d-g,C=[["M",0,0]];m?C=[["M",0,w],["L",h-1,w],["L",h-1,_],["L",0,_],["Z"],["M",O,w],["L",s,w],["L",s,_],["L",O,_],["Z"]]:g&&(C=[["M",k,0],["L",k,f-1],["L",S,f-1],["L",S,0],["Z"],["M",k,M],["L",k,a],["L",S,a],["L",S,M],["Z"]]),"adjustHeight"!==t.redrawTrigger&&this.mask.attr({d:C})}moveFixedElements(){let t,{container:e,inverted:n,scrollablePixelsX:r,scrollablePixelsY:i}=this.chart,o=this.fixedRenderer,s=p.fixedSelectors;for(let a of(r&&!n?t=".highcharts-yaxis":r&&n||i&&!n?t=".highcharts-xaxis":i&&n&&(t=".highcharts-yaxis"),t&&s.push(`${t}:not(.highcharts-radial-axis)`,`${t}-labels:not(.highcharts-radial-axis-labels)`),s))[].forEach.call(e.querySelectorAll(a),(t=>{(t.namespaceURI===o.SVG_NS?o.box:o.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}}return p.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],p})),n(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{format:r}=t,{series:i}=e,{destroyObjectProperties:o,fireEvent:s,isNumber:a,pick:l}=n;return class{constructor(t,e,n,r,i){let o=t.chart.inverted,s=t.reversed;this.axis=t;let a=this.isNegative=!!n!=!!s;this.options=e=e||{},this.x=r,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=i,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:e.align||(o?a?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":a?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?a?"right":"left":"center")}destroy(){o(this,this.axis)}render(t){let e=this.axis.chart,n=this.options,i=n.format,o=i?r(i,this,e):n.formatter.call(this);if(this.label)this.label.attr({text:o,visibility:"hidden"});else{this.label=e.renderer.label(o,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels");let r={r:n.borderRadius||0,text:o,padding:l(n.padding,5),visibility:"hidden"};e.styledMode||(r.fill=n.backgroundColor,r.stroke=n.borderColor,r["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(r),this.label.added||this.label.add(t)}this.label.labelrank=e.plotSizeY,s(this,"afterRender")}setOffset(t,e,n,r,o,c){let{alignOptions:u,axis:d,label:h,options:f,textAlign:p}=this,m=d.chart,g=this.getStackBox({xOffset:t,width:e,boxBottom:n,boxTop:r,defaultX:o,xAxis:c}),{verticalAlign:v}=u;if(h&&g){let t,e=h.getBBox(void 0,0),n=h.padding,r="justify"===l(f.overflow,"justify");u.x=f.x||0,u.y=f.y||0;let{x:o,y:s}=this.adjustStackPosition({labelBox:e,verticalAlign:v,textAlign:p});g.x-=o,g.y-=s,h.align(u,!1,g),(t=m.isInsidePlot(h.alignAttr.x+u.x+o,h.alignAttr.y+u.y+s))||(r=!1),r&&i.prototype.justifyDataLabel.call(d,h,u,h.alignAttr,e,g),h.attr({x:h.alignAttr.x,y:h.alignAttr.y,rotation:f.rotation,rotationOriginX:e.width*{left:0,center:.5,right:1}[f.textAlign||"center"],rotationOriginY:e.height/2}),l(!r&&f.crop,!0)&&(t=a(h.x)&&a(h.y)&&m.isInsidePlot(h.x-n+(h.width||0),h.y)&&m.isInsidePlot(h.x+n,h.y)),h[t?"show":"hide"]()}s(this,"afterSetOffset",{xOffset:t,width:e})}adjustStackPosition({labelBox:t,verticalAlign:e,textAlign:n}){let r={bottom:0,middle:1,top:2,right:1,center:0,left:-1},i=r[e],o=r[n];return{x:t.width/2+t.width/2*o,y:t.height/2*i}}getStackBox(t){let e=this.axis,n=e.chart,{boxTop:r,defaultX:i,xOffset:o,width:s,boxBottom:c}=t,u=e.stacking.usePercentage?100:l(r,this.total,0),d=e.toPixels(u),h=t.xAxis||n.xAxis[0],f=l(i,h.translate(this.x))+o,p=Math.abs(d-e.toPixels(c||a(e.min)&&e.logarithmic&&e.logarithmic.lin2log(e.min)||0)),m=n.inverted,g=this.isNegative;return m?{x:(g?d:d-p)-n.plotLeft,y:h.height-f-s,width:p,height:s}:{x:f+h.transB-n.plotLeft,y:(g?d-p:d)-n.plotTop,width:s,height:p}}}})),n(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){var o;let{getDeferredAnimation:s}=t,{series:{prototype:a}}=n,{addEvent:l,correctFloat:c,defined:u,destroyObjectProperties:d,fireEvent:h,isArray:f,isNumber:p,objectEach:m,pick:g}=i;function v(){let t=this.inverted;this.axes.forEach((t=>{t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),this.series.forEach((e=>{let n=e.xAxis&&e.xAxis.options||{};e.options.stacking&&e.reserveSpace()&&(e.stackKey=[e.type,g(e.options.stack,""),t?n.top:n.left,t?n.height:n.width].join(","))}))}function b(){let t=this.stacking;if(t){let e=t.stacks;m(e,((t,n)=>{d(t),delete e[n]})),t.stackTotalGroup?.destroy()}}function y(){this.stacking||(this.stacking=new O(this))}function x(t,e,n,r){return!u(t)||t.x!==e||r&&t.stackKey!==r?t={x:e,index:0,key:r,stackKey:r}:t.index++,t.key=[n,e,t.index].join(","),t}function w(){let t,e=this,n=e.yAxis,r=e.stackKey||"",i=n.stacking.stacks,o=e.processedXData,s=e.options.stacking,a=e[s+"Stacker"];a&&[r,"-"+r].forEach((n=>{let r,s,l,c=o.length;for(;c--;)r=o[c],t=e.getStackIndicator(t,r,e.index,n),s=i[n]?.[r],(l=s?.points[t.key||""])&&a.call(e,l,s,c)}))}function k(t,e,n){let r=e.total?100/e.total:0;t[0]=c(t[0]*r),t[1]=c(t[1]*r),this.stackedYData[n]=t[1]}function _(t){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?a.setStackedPoints.call(this,t,"group"):t.stacking.resetStacks())}function S(t,e){let n,i,o,s,a,l,d,h,p,m=e||this.options.stacking;if(!m||!this.reserveSpace()||({group:"xAxis"}[m]||"yAxis")!==t.coll)return;let v=this.processedXData,b=this.processedYData,y=[],x=b.length,w=this.options,k=w.threshold||0,_=w.startFromThreshold?k:0,S=w.stack,O=e?`${this.type},${m}`:this.stackKey||"",M="-"+O,C=this.negStacks,A=t.stacking,T=A.stacks,E=A.oldStacks;for(A.stacksTouched+=1,d=0;d<x;d++){h=v[d],p=b[d],l=(n=this.getStackIndicator(n,h,this.index)).key||"",T[a=(i=C&&p<(_?0:k))?M:O]||(T[a]={}),T[a][h]||(E[a]?.[h]?(T[a][h]=E[a][h],T[a][h].total=null):T[a][h]=new r(t,t.options.stackLabels,!!i,h,S)),o=T[a][h],null!==p?(o.points[l]=o.points[this.index]=[g(o.cumulative,_)],u(o.cumulative)||(o.base=l),o.touched=A.stacksTouched,n.index>0&&!1===this.singleStacks&&(o.points[l][0]=o.points[this.index+","+h+",0"][0])):(delete o.points[l],delete o.points[this.index]);let e=o.total||0;"percent"===m?(s=i?O:M,e=C&&T[s]?.[h]?(s=T[s][h]).total=Math.max(s.total||0,e)+Math.abs(p)||0:c(e+(Math.abs(p)||0))):"group"===m?(f(p)&&(p=p[0]),null!==p&&e++):e=c(e+(p||0)),o.cumulative="group"===m?(e||1)-1:c(g(o.cumulative,_)+(p||0)),o.total=e,null!==p&&(o.points[l].push(o.cumulative),y[d]=o.cumulative,o.hasValidPoints=!0)}"percent"===m&&(A.usePercentage=!0),"group"!==m&&(this.stackedYData=y),A.oldStacks={}}class O{constructor(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}buildStacks(){let t,e,n=this.axis,r=n.series,i="xAxis"===n.coll,o=n.options.reversedStacks,s=r.length;for(this.resetStacks(),this.usePercentage=!1,e=s;e--;)t=r[o?e:s-e-1],i&&t.setGroupedPoints(n),t.setStackedPoints(n);if(!i)for(e=0;e<s;e++)r[e].modifyStacks();h(n,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,m(this.stacks,(t=>{m(t,(t=>{t.cumulative=t.total}))})))}resetStacks(){m(this.stacks,(t=>{m(t,((e,n)=>{p(e.touched)&&e.touched<this.stacksTouched?(e.destroy(),delete t[n]):(e.total=null,e.cumulative=null)}))}))}renderStackTotals(){let t=this.axis,e=t.chart,n=e.renderer,r=this.stacks,i=s(e,t.options.stackLabels?.animation||!1),o=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),m(r,(t=>{m(t,(t=>{t.render(o)}))})),o.animate({opacity:1},i)}}return(o||(o={})).compose=function(t,e,n){let r=e.prototype,i=n.prototype;r.getStacks||(l(t,"init",y),l(t,"destroy",b),r.getStacks=v,i.getStackIndicator=x,i.modifyStacks=w,i.percentStacker=k,i.setGroupedPoints=_,i.setStackedPoints=S)},o})),n(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defined:r,merge:i,isObject:o}=n;class s extends t{drawGraph(){let t=this.options,e=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode;[this,...this.zones].forEach(((r,s)=>{let a,l=r.graph,c=l?"animate":"attr",u=r.dashStyle||t.dashStyle;l?(l.endX=this.preventGraphAnimation?null:e.xMap,l.animate({d:e})):e.length&&(r.graph=l=this.chart.renderer.path(e).addClass("highcharts-graph"+(s?` highcharts-zone-graph-${s-1} `:" ")+(s&&r.className||"")).attr({zIndex:1}).add(this.group)),l&&!n&&(a={stroke:!s&&t.lineColor||r.color||this.color||"#cccccc","stroke-width":t.lineWidth||0,fill:this.fillGraph&&this.color||"none"},u?a.dashstyle=u:"square"!==t.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),l[c](a).shadow(s<2&&t.shadow&&i({filterUnits:"userSpaceOnUse"},o(t.shadow)?t.shadow:{}))),l&&(l.startX=e.xMap,l.isArea=e.isArea)}))}getGraphPath(t,e,n){let i,o=this,s=o.options,a=[],l=[],c=s.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(s.connectNulls&&!e&&!n))).forEach((function(u,d){let h,f=u.plotX,p=u.plotY,m=t[d-1],g=u.isNull||"number"!=typeof p;(u.leftCliff||m&&m.rightCliff)&&!n&&(i=!0),g&&!r(e)&&d>0?i=!s.connectNulls:g&&!e?i=!0:(0===d||i?h=[["M",u.plotX,u.plotY]]:o.getPointSpline?h=[o.getPointSpline(t,u,d)]:c?(h=1===c?[["L",m.plotX,p]]:2===c?[["L",(m.plotX+f)/2,m.plotY],["L",(m.plotX+f)/2,p]]:[["L",f,m.plotY]]).push(["L",f,p]):h=[["L",f,p]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),a.push.apply(a,h),i=!1)})),a.xMap=l,o.graphPath=a,a}}return s.defaultOptions=i(t.defaultOptions,{legendSymbol:"lineMarker"}),e.registerSeriesType("line",s),s})),n(e,"Series/Area/AreaSeriesDefaults.js",[],(function(){return{threshold:0,legendSymbol:"areaMarker"}})),n(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{seriesTypes:{line:r}}=e,{extend:i,merge:o,objectEach:s,pick:a}=n;class l extends r{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:t,options:e}=this;[this,...this.zones].forEach(((n,r)=>{let i={},o=n.fillColor||e.fillColor,s=n.area,a=s?"animate":"attr";s?(s.endX=this.preventGraphAnimation?null:t.xMap,s.animate({d:t})):(i.zIndex=0,(s=n.area=this.chart.renderer.path(t).addClass("highcharts-area"+(r?` highcharts-zone-area-${r-1} `:" ")+(r&&n.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(i.fill=o||n.color||this.color,i["fill-opacity"]=o?1:e.fillOpacity??.75,s.css({pointerEvents:this.stickyTracking?"none":"auto"})),s[a](i),s.startX=t.xMap,s.shiftUnit=e.step?2:1}))}getGraphPath(t){let e,n,i,o=r.prototype.getGraphPath,s=this.options,l=s.stacking,c=this.yAxis,u=[],d=[],h=this.index,f=c.stacking.stacks[this.stackKey],p=s.threshold,m=Math.round(c.getThreshold(s.threshold)),g=a(s.connectNulls,"percent"===l),v=function(n,r,i){let o,s,a=t[n],g=l&&f[a.x].points[h],v=a[i+"Null"]||0,b=a[i+"Cliff"]||0,y=!0;b||v?(o=(v?g[0]:g[1])+b,s=g[0]+b,y=!!v):!l&&t[r]&&t[r].isNull&&(o=s=p),void 0!==o&&(d.push({plotX:e,plotY:null===o?m:c.getThreshold(o),isNull:y,isCliff:!0}),u.push({plotX:e,plotY:null===s?m:c.getThreshold(s),doCurve:!1}))};t=t||this.points,l&&(t=this.getStackPoints(t));for(let r=0,o=t.length;r<o;++r)l||(t[r].leftCliff=t[r].rightCliff=t[r].leftNull=t[r].rightNull=void 0),n=t[r].isNull,e=a(t[r].rectPlotX,t[r].plotX),i=l?a(t[r].yBottom,m):m,n&&!g||(g||v(r,r-1,"left"),n&&!l&&g||(d.push(t[r]),u.push({x:r,plotX:e,plotY:i})),g||v(r,r+1,"right"));let b=o.call(this,d,!0,!0);u.reversed=!0;let y=o.call(this,u,!0,!0),x=y[0];x&&"M"===x[0]&&(y[0]=["L",x[1],x[2]]);let w=b.concat(y);w.length&&w.push(["Z"]);let k=o.call(this,d,!1,g);return w.xMap=b.xMap,this.areaPath=w,k}getStackPoints(t){let e=this,n=[],r=[],i=this.xAxis,o=this.yAxis,l=o.stacking.stacks[this.stackKey],c={},u=o.series,d=u.length,h=o.options.reversedStacks?1:-1,f=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(let e=0;e<t.length;e++)t[e].leftNull=t[e].rightNull=void 0,c[t[e].x]=t[e];s(l,(function(t,e){null!==t.total&&r.push(e)})),r.sort((function(t,e){return t-e}));let p=u.map((t=>t.visible));r.forEach((function(t,s){let m,g,v=0;if(c[t]&&!c[t].isNull)n.push(c[t]),[-1,1].forEach((function(n){let i=1===n?"rightNull":"leftNull",o=l[r[s+n]],a=0;if(o){let n=f;for(;n>=0&&n<d;){let r=u[n].index;!(m=o.points[r])&&(r===e.index?c[t][i]=!0:p[n]&&(g=l[t].points[r])&&(a-=g[1]-g[0])),n+=h}}c[t][1===n?"rightCliff":"leftCliff"]=a}));else{let e=f;for(;e>=0&&e<d;){let n=u[e].index;if(m=l[t].points[n]){v=m[1];break}e+=h}v=a(v,0),v=o.translate(v,0,1,0,1),n.push({isNull:!0,plotX:i.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return n}}return l.defaultOptions=o(r.defaultOptions,t),i(l.prototype,{singleStacks:!1}),e.registerSeriesType("area",l),l})),n(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e){let{line:n}=t.seriesTypes,{merge:r,pick:i}=e;class o extends n{getPointSpline(t,e,n){let r,o,s,a,l=e.plotX||0,c=e.plotY||0,u=t[n-1],d=t[n+1];function h(t){return t&&!t.isNull&&!1!==t.doCurve&&!e.isCliff}if(h(u)&&h(d)){let t=u.plotX||0,n=u.plotY||0,i=d.plotX||0,h=d.plotY||0,f=0;r=(1.5*l+t)/2.5,o=(1.5*c+n)/2.5,s=(1.5*l+i)/2.5,a=(1.5*c+h)/2.5,s!==r&&(f=(a-o)*(s-l)/(s-r)+c-a),o+=f,a+=f,o>n&&o>c?(o=Math.max(n,c),a=2*c-o):o<n&&o<c&&(o=Math.min(n,c),a=2*c-o),a>h&&a>c?(a=Math.max(h,c),o=2*c-a):a<h&&a<c&&(a=Math.min(h,c),o=2*c-a),e.rightContX=s,e.rightContY=a,e.controlPoints={low:[r,o],high:[s,a]}}let f=["C",i(u.rightContX,u.plotX,0),i(u.rightContY,u.plotY,0),i(r,l,0),i(o,c,0),l,c];return u.rightContX=u.rightContY=void 0,f}}return o.defaultOptions=r(n.defaultOptions),t.registerSeriesType("spline",o),o})),n(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{area:r,area:{prototype:i}}=e.seriesTypes,{extend:o,merge:s}=n;class a extends t{}return a.defaultOptions=s(t.defaultOptions,r.defaultOptions),o(a.prototype,{getGraphPath:i.getGraphPath,getStackPoints:i.getStackPoints,drawGraph:i.drawGraph}),e.registerSeriesType("areaspline",a),a})),n(e,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),n(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s){let{animObject:a}=t,{parse:l}=e,{noop:c}=r,{clamp:u,crisp:d,defined:h,extend:f,fireEvent:p,isArray:m,isNumber:g,merge:v,pick:b,objectEach:y}=s;class x extends i{animate(t){let e,n,r=this,i=this.yAxis,o=i.pos,s=i.reversed,l=r.options,{clipOffset:c,inverted:d}=this.chart,h={},p=d?"translateX":"translateY";t&&c?(h.scaleY=.001,n=u(i.toPixels(l.threshold),o,o+i.len),d?(n+=s?-Math.floor(c[0]):Math.ceil(c[2]),h.translateX=n-i.len):(n+=s?Math.ceil(c[0]):-Math.floor(c[2]),h.translateY=n),r.clipBox&&r.setClip(),r.group.attr(h)):(e=Number(r.group.attr(p)),r.group.animate({scaleY:1},f(a(r.options.animation),{step:function(t,n){r.group&&(h[p]=e+n.pos*(o-e),r.group.attr(h))}})))}init(t,e){super.init.apply(this,arguments);let n=this;(t=n.chart).hasRendered&&t.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))}getColumnMetrics(){let t,e=this,n=e.options,r=e.xAxis,i=e.yAxis,o=r.options.reversedStacks,s=r.reversed&&!o||!r.reversed&&o,a={},l=0;!1===n.grouping?l=1:e.chart.series.forEach((function(n){let r,o=n.yAxis,s=n.options;n.type===e.type&&n.reserveSpace()&&i.len===o.len&&i.pos===o.pos&&(s.stacking&&"group"!==s.stacking?(void 0===a[t=n.stackKey]&&(a[t]=l++),r=a[t]):!1!==s.grouping&&(r=l++),n.columnIndex=r)}));let c=Math.min(Math.abs(r.transA)*(!r.brokenAxis?.hasBreaks&&r.ordinal?.slope||n.pointRange||r.closestPointRange||r.tickInterval||1),r.len),u=c*n.groupPadding,d=(c-2*u)/(l||1),h=Math.min(n.maxPointWidth||r.len,b(n.pointWidth,d*(1-2*n.pointPadding))),f=(e.columnIndex||0)+(s?1:0);return e.columnMetrics={width:h,offset:(d-h)/2+(u+f*d-c/2)*(s?-1:1),paddedWidth:d,columnCount:l},e.columnMetrics}crispCol(t,e,n,r){let i=this.borderWidth,o=this.chart.inverted;return r=d(e+r,i,o)-(e=d(e,i,o)),this.options.crisp&&(n=d(t+n,i)-(t=d(t,i))),{x:t,y:e,width:n,height:r}}adjustForMissingColumns(t,e,n,r){if(!n.isNull&&r.columnCount>1){let i=this.xAxis.series.filter((t=>t.visible)).map((t=>t.index)),o=0,s=0;y(this.xAxis.stacking?.stacks,(t=>{if("number"==typeof n.x){let e=t[n.x.toString()];if(e&&m(e.points[this.index])){let t=Object.keys(e.points).filter((t=>!t.match(",")&&e.points[t]&&e.points[t].length>1)).map(parseFloat).filter((t=>-1!==i.indexOf(t))).sort(((t,e)=>e-t));o=t.indexOf(this.index),s=t.length}}})),o=this.xAxis.reversed?s-1-o:o;let a=(s-1)*r.paddedWidth+e;t=(n.plotX||0)+a/2-e-o*r.paddedWidth}return t}translate(){let t=this,e=t.chart,n=t.options,r=t.dense=t.closestPointRange*t.xAxis.transA<2,o=t.borderWidth=b(n.borderWidth,r?0:1),s=t.xAxis,a=t.yAxis,l=n.threshold,c=b(n.minPointLength,5),d=t.getColumnMetrics(),f=d.width,m=t.pointXOffset=d.offset,v=t.dataMin,y=t.dataMax,x=t.translatedThreshold=a.getThreshold(l),w=t.barW=Math.max(f,1+2*o);n.pointPadding&&(w=Math.ceil(w)),i.prototype.translate.apply(t),t.points.forEach((function(r){let i,o=b(r.yBottom,x),p=999+Math.abs(o),k=r.plotX||0,_=u(r.plotY,-p,a.len+p),S=Math.min(_,o),O=Math.max(_,o)-S,M=f,C=k+m,A=w;c&&Math.abs(O)<c&&(O=c,i=!a.reversed&&!r.negative||a.reversed&&r.negative,g(l)&&g(y)&&r.y===l&&y<=l&&(a.min||0)<l&&(v!==y||(a.max||0)<=l)&&(i=!i,r.negative=!r.negative),S=Math.abs(S-x)>c?o-c:x-(i?c:0)),h(r.options.pointWidth)&&(C-=Math.round(((M=A=Math.ceil(r.options.pointWidth))-f)/2)),n.centerInCategory&&!n.stacking&&(C=t.adjustForMissingColumns(C,M,r,d)),r.barX=C,r.pointWidth=M,r.tooltipPos=e.inverted?[u(a.len+a.pos-e.plotLeft-_,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),s.len+s.pos-e.plotTop-C-A/2,O]:[s.left-e.plotLeft+C+A/2,u(_+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),O],r.shapeType=t.pointClass.prototype.shapeType||"roundedRect",r.shapeArgs=t.crispCol(C,r.isNull?x:S,A,r.isNull?0:O)})),p(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(t,e){let n,r,i,o=this.options,s=this.pointAttrToOptions||{},a=s.stroke||"borderColor",c=s["stroke-width"]||"borderWidth",u=t&&t.color||this.color,d=t&&t[a]||o[a]||u,h=t&&t.options.dashStyle||o.dashStyle,f=t&&t[c]||o[c]||this[c]||0,p=b(t&&t.opacity,o.opacity,1);t&&this.zones.length&&(r=t.getZone(),u=t.options.color||r&&(r.color||t.nonZonedColor)||this.color,r&&(d=r.borderColor||d,h=r.dashStyle||h,f=r.borderWidth||f)),e&&t&&(i=(n=v(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,u=n.color||void 0!==i&&l(u).brighten(n.brightness).get()||u,d=n[a]||d,f=n[c]||f,h=n.dashStyle||h,p=b(n.opacity,p));let m={fill:u,stroke:d,"stroke-width":f,opacity:p};return h&&(m.dashstyle=h),m}drawPoints(t=this.points){let e,n=this,r=this.chart,i=n.options,o=r.renderer,s=i.animationLimit||250;t.forEach((function(t){let a=t.plotY,l=t.graphic,c=!!l,u=l&&r.pointCount<s?"animate":"attr";g(a)&&null!==t.y?(e=t.shapeArgs,l&&t.hasNewShapeType()&&(l=l.destroy()),n.enabledDataSorting&&(t.startXPos=n.xAxis.reversed?-(e&&e.width||0):n.xAxis.width),!l&&(t.graphic=l=o[t.shapeType](e).add(t.group||n.group),l&&n.enabledDataSorting&&r.hasRendered&&r.pointCount<s&&(l.attr({x:t.startXPos}),c=!0,u="animate")),l&&c&&l[u](v(e)),r.styledMode||l[u](n.pointAttribs(t,t.selected&&"select")).shadow(!1!==t.allowShadow&&i.shadow),l&&(l.addClass(t.getClassName(),!0),l.attr({visibility:t.visible?"inherit":"hidden"}))):l&&(t.graphic=l.destroy())}))}drawTracker(t=this.points){let e,n=this,r=n.chart,i=r.pointer,o=function(t){let e=i?.getPointFromEvent(t);i&&e&&n.options.enableMouseTracking&&(i.isDirectTouch=!0,e.onMouseOver(t))};t.forEach((function(t){e=m(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach((function(e){(e.div||e.element).point=t}))})),n._hasTracking||(n.trackerGroups.forEach((function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){i?.onTrackerMouseOut(t)})).on("touchstart",o),!r.styledMode&&n.options.cursor&&n[t].css({cursor:n.options.cursor}))})),n._hasTracking=!0),p(this,"afterDrawTracker")}remove(){let t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),i.prototype.remove.apply(t,arguments)}}return x.defaultOptions=v(i.defaultOptions,n),f(x.prototype,{directTouch:!0,getSymbol:c,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",x),x})),n(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],(function(t,e,n){var r;let{getDeferredAnimation:i}=t,{format:o}=e,{defined:s,extend:a,fireEvent:l,isArray:c,isString:u,merge:d,objectEach:h,pick:f,pInt:p,splat:m}=n;return function(t){function e(){return x(this).some((t=>t?.enabled))}function n(t,e,n,r,i){let{chart:o,enabledDataSorting:l}=this,c=this.isCartesian&&o.inverted,u=t.plotX,h=t.plotY,p=n.rotation||0,m=s(u)&&s(h)&&o.isInsidePlot(u,Math.round(h),{inverted:c,paneCoordinates:!0,series:this}),g=0===p&&"justify"===f(n.overflow,l?"none":"justify"),v=this.visible&&!1!==t.visible&&s(u)&&(t.series.forceDL||l&&!g||m||f(n.inside,!!this.options.stacking)&&r&&o.isInsidePlot(u,c?r.x+1:r.y+r.height-1,{inverted:c,paneCoordinates:!0,series:this})),b=t.pos();if(v&&b){var y;let s=e.getBBox(),u=e.getBBox(void 0,0),h={right:1,center:.5}[n.align||0]||0,x={bottom:1,middle:.5}[n.verticalAlign||0]||0;if(r=a({x:b[0],y:Math.round(b[1]),width:0,height:0},r||{}),"plotEdges"===n.alignTo&&this.isCartesian&&(r[c?"x":"y"]=0,r[c?"width":"height"]=this.yAxis?.len||0),a(n,{width:s.width,height:s.height}),y=r,l&&this.xAxis&&!g&&this.setDataLabelStartPos(t,e,i,m,y),e.align(d(n,{width:u.width,height:u.height}),!1,r,!1),e.alignAttr.x+=h*(u.width-s.width),e.alignAttr.y+=x*(u.height-s.height),e[e.placed?"animate":"attr"]({x:e.alignAttr.x+(s.width-u.width)/2,y:e.alignAttr.y+(s.height-u.height)/2,rotationOriginX:(e.width||0)/2,rotationOriginY:(e.height||0)/2}),g&&r.height>=0)this.justifyDataLabel(e,n,e.alignAttr,s,r,i);else if(f(n.crop,!0)){let{x:t,y:n}=e.alignAttr;v=o.isInsidePlot(t,n,{paneCoordinates:!0,series:this})&&o.isInsidePlot(t+s.width-1,n+s.height-1,{paneCoordinates:!0,series:this})}n.shape&&!p&&e[i?"attr":"animate"]({anchorX:b[0],anchorY:b[1]})}i&&l&&(e.placed=!1),v||l&&!g?(e.show(),e.placed=!0):(e.hide(),e.placed=!1)}function r(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function g(t){let e=this.hasRendered||0,n=this.initDataLabelsGroup().attr({opacity:+e});return!e&&n&&(this.visible&&n.show(),this.options.animation?n.animate({opacity:1},t):n.attr({opacity:1})),n}function v(t){let e;t=t||this.points;let n=this,r=n.chart,a=n.options,c=r.renderer,{backgroundColor:d,plotBackgroundColor:g}=r.options.chart,v=c.getContrast(u(g)&&g||u(d)&&d||"#000000"),b=x(n),{animation:w,defer:k}=b[0],_=k?i(r,w,n):{defer:0,duration:0};l(this,"drawDataLabels"),n.hasDataLabels?.()&&(e=this.initDataLabels(_),t.forEach((t=>{let i=t.dataLabels||[];m(y(b,t.dlOptions||t.options?.dataLabels)).forEach(((l,d)=>{let m,g,b,y,x,w=l.enabled&&(t.visible||t.dataLabelOnHidden)&&(!t.isNull||t.dataLabelOnNull)&&function(t,e){let n=e.filter;if(n){let e=n.operator,r=t[n.property],i=n.value;return">"===e&&r>i||"<"===e&&r<i||">="===e&&r>=i||"<="===e&&r<=i||"=="===e&&r==i||"==="===e&&r===i||"!="===e&&r!=i||"!=="===e&&r!==i}return!0}(t,l),{backgroundColor:k,borderColor:_,distance:S,style:O={}}=l,M={},C=i[d],A=!C;if(w&&(g=f(l[t.formatPrefix+"Format"],l.format),m=t.getLabelConfig(),b=s(g)?o(g,m,r):(l[t.formatPrefix+"Formatter"]||l.formatter).call(m,l),y=l.rotation,!r.styledMode&&(O.color=f(l.color,O.color,u(n.color)?n.color:void 0,"#000000"),"contrast"===O.color?("none"!==k&&(x=k),t.contrastColor=c.getContrast("auto"!==x&&x||t.color||n.color),O.color=x||!s(S)&&l.inside||0>p(S||0)||a.stacking?t.contrastColor:v):delete t.contrastColor,a.cursor&&(O.cursor=a.cursor)),M={r:l.borderRadius||0,rotation:y,padding:l.padding,zIndex:1},r.styledMode||(M.fill="auto"===k?t.color:k,M.stroke="auto"===_?t.color:_,M["stroke-width"]=l.borderWidth),h(M,((t,e)=>{void 0===t&&delete M[e]}))),!C||w&&s(b)&&!!C.div==!!l.useHTML&&(C.rotation&&l.rotation||C.rotation===l.rotation)||(C=void 0,A=!0),w&&s(b)&&(C?M.text=b:(C=c.label(b,0,0,l.shape,void 0,void 0,l.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(l.className||"")+(l.useHTML?" highcharts-tracker":"")),C)){C.options=l,C.attr(M),r.styledMode||C.css(O).shadow(l.shadow);let o=l[t.formatPrefix+"TextPath"]||l.textPath;o&&!l.useHTML&&(C.setTextPath(t.getDataLabelPath?.(C)||t.graphic,o),t.dataLabelPath&&!o.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),C.added||C.add(e),n.alignDataLabel(t,C,l,void 0,A),C.isActive=!0,i[d]&&i[d]!==C&&i[d].destroy(),i[d]=C}}));let l=i.length;for(;l--;)i[l]&&i[l].isActive?i[l].isActive=!1:(i[l]?.destroy(),i.splice(l,1));t.dataLabel=i[0],t.dataLabels=i}))),l(this,"afterDrawDataLabels")}function b(t,e,n,r,i,o){let s,a,l=this.chart,c=e.align,u=e.verticalAlign,d=t.box?0:t.padding||0,h=l.inverted?this.yAxis:this.xAxis,f=h?h.left-l.plotLeft:0,p=l.inverted?this.xAxis:this.yAxis,m=p?p.top-l.plotTop:0,{x:g=0,y:v=0}=e;return(s=(n.x||0)+d+f)<0&&("right"===c&&g>=0?(e.align="left",e.inside=!0):g-=s,a=!0),(s=(n.x||0)+r.width-d+f)>l.plotWidth&&("left"===c&&g<=0?(e.align="right",e.inside=!0):g+=l.plotWidth-s,a=!0),(s=n.y+d+m)<0&&("bottom"===u&&v>=0?(e.verticalAlign="top",e.inside=!0):v-=s,a=!0),(s=(n.y||0)+r.height-d+m)>l.plotHeight&&("top"===u&&v<=0?(e.verticalAlign="bottom",e.inside=!0):v+=l.plotHeight-s,a=!0),a&&(e.x=g,e.y=v,t.placed=!o,t.align(e,void 0,i)),a}function y(t,e){let n,r=[];if(c(t)&&!c(e))r=t.map((function(t){return d(t,e)}));else if(c(e)&&!c(t))r=e.map((function(e){return d(t,e)}));else if(c(t)||c(e)){if(c(t)&&c(e))for(n=Math.max(t.length,e.length);n--;)r[n]=d(t[n],e[n])}else r=d(t,e);return r}function x(t){let e=t.chart.options.plotOptions;return m(y(y(e?.series?.dataLabels,e?.[t.type]?.dataLabels),t.options.dataLabels))}function w(t,e,n,r,i){let o=this.chart,s=o.inverted,a=this.xAxis,l=a.reversed,c=((s?e.height:e.width)||0)/2,u=t.pointWidth,d=u?u/2:0;e.startXPos=s?i.x:l?-c-d:a.width-c+d,e.startYPos=s?l?this.yAxis.height-c+d:-c-d:i.y,r?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}t.compose=function(t){let i=t.prototype;i.initDataLabels||(i.initDataLabels=g,i.initDataLabelsGroup=r,i.alignDataLabel=n,i.drawDataLabels=v,i.justifyDataLabel=b,i.setDataLabelStartPos=w,i.hasDataLabels=e)}}(r||(r={})),r})),n(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r){var i;let{composed:o}=e,{series:s}=n,{merge:a,pick:l,pushUnique:c}=r;return function(e){function n(t,e,n,r,i){let o=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,d=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,f=l(t.below,t.plotY>l(this.translatedThreshold,d)),p=l(n.inside,!!this.options.stacking);if(h){if(r=a(h),"allow"!==n.overflow||!1!==n.crop){r.y<0&&(r.height+=r.y,r.y=0);let t=r.y+r.height-d;t>0&&t<r.height-1&&(r.height-=t)}o&&(r={x:d-r.y-r.height,y:u-r.x-r.width,width:r.height,height:r.width}),p||(o?(r.x+=f?0:r.width,r.width=0):(r.y+=f?r.height:0,r.height=0))}n.align=l(n.align,!o||p?"center":f?"right":"left"),n.verticalAlign=l(n.verticalAlign,o||p?"middle":f?"top":"bottom"),s.prototype.alignDataLabel.call(this,t,e,n,r,i),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}e.compose=function(e){t.compose(s),c(o,"ColumnDataLabel")&&(e.prototype.alignDataLabel=n)}}(i||(i={})),i})),n(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{extend:r,merge:i}=n;class o extends t{}return o.defaultOptions=i(t.defaultOptions,{}),r(o.prototype,{inverted:!0}),e.registerSeriesType("bar",o),o})),n(e,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),n(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{column:r,line:i}=e.seriesTypes,{addEvent:o,extend:s,merge:a}=n;class l extends i{applyJitter(){let t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(r,i){["x","y"].forEach((function(o,s){if(e[o]&&!r.isNull){let a=`plot${o.toUpperCase()}`,l=t[`${o}Axis`],c=e[o]*l.transA;if(l&&!l.logarithmic){let t=Math.max(0,(r[a]||0)-c),e=Math.min(l.len,(r[a]||0)+c);r[a]=t+(e-t)*function(t){let e=1e4*Math.sin(t);return e-Math.floor(e)}(i+s*n),"x"===o&&(r.clientX=r.plotX)}}}))}))}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=a(i.defaultOptions,t),s(l.prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),o(l,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",l),l})),n(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,n){var r,i;let{deg2rad:o}=t,{fireEvent:s,isNumber:a,pick:l,relativeLength:c}=n;return(i=r||(r={})).getCenter=function(){let t,n,r,i=this.options,o=this.chart,u=2*(i.slicedOffset||0),d=o.plotWidth-2*u,h=o.plotHeight-2*u,f=i.center,p=Math.min(d,h),m=i.thickness,g=i.size,v=i.innerSize||0;"string"==typeof g&&(g=parseFloat(g)),"string"==typeof v&&(v=parseFloat(v));let b=[l(f[0],"50%"),l(f[1],"50%"),l(g&&g<0?void 0:i.size,"100%"),l(v&&v<0?void 0:i.innerSize||0,"0%")];for(!o.angular||this instanceof e||(b[3]=0),n=0;n<4;++n)r=b[n],t=n<2||2===n&&/%$/.test(r),b[n]=c(r,[d,h,p,b[2]][n])+(t?u:0);return b[3]>b[2]&&(b[3]=b[2]),a(m)&&2*m<b[2]&&m>0&&(b[3]=b[2]-2*m),s(this,"afterGetCenter",{positions:b}),b},i.getStartAndEndRadians=function(t,e){let n=a(t)?t:0,r=a(e)&&e>n&&e-n<360?e:n+360;return{start:o*(n+-90),end:o*(r+-90)}},r})),n(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],(function(t,e,n){let{setAnimation:r}=t,{addEvent:i,defined:o,extend:s,isNumber:a,pick:l,relativeLength:c}=n;class u extends e{getConnectorPath(t){let e=t.dataLabelPosition,n=t.options||{},r=n.connectorShape,i=this.connectorShapes[r]||r;return e&&i.call(this,{...e.computed,alignment:e.alignment},e.connectorPosition,n)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(t){let e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end,borderRadius:e.borderRadius})}constructor(t,e,n){super(t,e,n),this.half=0,this.name??(this.name="Slice");let r=t=>{this.slice("select"===t.type)};i(this,"select",r),i(this,"unselect",r)}isValid(){return a(this.y)&&this.y>=0}setVisible(t,e=!0){t!==this.visible&&this.update({visible:t??!this.visible},e,void 0,!1)}slice(t,e,n){let i=this.series;r(n,i.chart),e=l(e,!0),this.sliced=this.options.sliced=t=o(t)?t:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return s(u.prototype,{connectorShapes:{fixedOffset:function(t,e,n){let r=e.breakAt,i=e.touchingSliceAt,o=n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*r.x-i.x,2*r.y-i.y,r.x,r.y]:["L",r.x,r.y];return[["M",t.x,t.y],o,["L",i.x,i.y]]},straight:function(t,e){let n=e.touchingSliceAt;return[["M",t.x,t.y],["L",n.x,n.y]]},crookedLine:function(t,e,n){let{breakAt:r,touchingSliceAt:i}=e,{series:o}=this,[s,a,l]=o.center,u=l/2,{plotLeft:d,plotWidth:h}=o.chart,f="left"===t.alignment,{x:p,y:m}=t,g=r.x;if(n.crookDistance){let t=c(n.crookDistance,1);g=f?s+u+(h+d-s-u)*(1-t):d+(s-u)*t}else g=s+(a-m)*Math.tan((this.angle||0)-Math.PI/2);let v=[["M",p,m]];return(f?g<=p&&g>=r.x:g>=p&&g<=r.x)&&v.push(["L",g,m]),v.push(["L",r.x,r.y],["L",i.x,i.y]),v}}}),u})),n(e,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),n(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a,l){let{getStartAndEndRadians:c}=t,{noop:u}=n,{clamp:d,extend:h,fireEvent:f,merge:p,pick:m}=l;class g extends o{animate(t){let e=this,n=e.points,r=e.startAngleRad;t||n.forEach((function(t){let n=t.graphic,i=t.shapeArgs;n&&i&&(n.attr({r:m(t.startR,e.center&&e.center[3]/2),start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}))}drawEmpty(){let t,e,n=this.startAngleRad,r=this.endAngleRad,i=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,n,r).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:n,end:r,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))}generatePoints(){super.generatePoints(),this.updateTotals()}getX(t,e,n,r){let i=this.center,o=this.radii?this.radii[n.index]||0:i[2]/2,s=r.dataLabelPosition,a=s?.distance||0,l=Math.asin(d((t-i[1])/(o+a),-1,1));return i[0]+Math.cos(l)*(o+a)*(e?-1:1)+(a>0?(e?-1:1)*(r.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let t,e,n,r,i=this,o=i.chart;this.drawEmpty(),i.group&&!o.styledMode&&i.group.shadow(i.options.shadow),i.points.forEach((function(s){let a={};e=s.graphic,!s.isNull&&e?(r=s.shapeArgs,t=s.getTranslate(),o.styledMode||(n=i.pointAttribs(s,s.selected&&"select")),s.delayedRendering?(e.setRadialReference(i.center).attr(r).attr(t),o.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}),s.delayedRendering=!1):(e.setRadialReference(i.center),o.styledMode||p(!0,a,n),p(!0,a,r,t),e.animate(a)),e.attr({visibility:s.visible?"inherit":"hidden"}),e.addClass(s.getClassName(),!0)):e&&(s.graphic=e.destroy())}))}sortByAngle(t,e){t.sort((function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e}))}translate(t){f(this,"translate"),this.generatePoints();let e,n,r,i,o,s,a,l=this.options,u=l.slicedOffset,d=c(l.startAngle,l.endAngle),h=this.startAngleRad=d.start,p=(this.endAngleRad=d.end)-h,m=this.points,g=l.ignoreHiddenPoint,v=m.length,b=0;for(t||(this.center=t=this.getCenter()),s=0;s<v;s++){a=m[s],e=h+b*p,a.isValid()&&(!g||a.visible)&&(b+=a.percentage/100),n=h+b*p;let l={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*n)/1e3};a.shapeType="arc",a.shapeArgs=l,(r=(n+e)/2)>1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(r)*u),translateY:Math.round(Math.sin(r)*u)},i=Math.cos(r)*t[2]/2,o=Math.sin(r)*t[2]/2,a.tooltipPos=[t[0]+.7*i,t[1]+.7*o],a.half=r<-Math.PI/2||r>Math.PI/2?1:0,a.angle=r}f(this,"afterTranslate")}updateTotals(){let t,e,n=this.points,r=n.length,i=this.options.ignoreHiddenPoint,o=0;for(t=0;t<r;t++)(e=n[t]).isValid()&&(!i||e.visible)&&(o+=e.y);for(t=0,this.total=o;t<r;t++)(e=n[t]).percentage=o>0&&(e.visible||!i)?e.y/o*100:0,e.total=o}}return g.defaultOptions=p(o.defaultOptions,i),h(g.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:u,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:u,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",g),g})),n(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){var o;let{composed:s,noop:a}=e,{distribute:l}=n,{series:c}=r,{arrayMax:u,clamp:d,defined:h,pick:f,pushUnique:p,relativeLength:m}=i;return function(e){let n={radialDistributionY:function(t,e){return(e.dataLabelPosition?.top||0)+t.distributeBox.pos},radialDistributionX:function(t,e,n,r,i){let o=i.dataLabelPosition;return t.getX(n<(o?.top||0)+2||n>(o?.bottom||0)-2?r:n,e.half,e,i)},justify:function(t,e,n,r){return r[0]+(t.half?-1:1)*(n+(e.dataLabelPosition?.distance||0))},alignToPlotEdges:function(t,e,n,r){let i=t.getBBox().width;return e?i+r:n-i-r},alignToConnectors:function(t,e,n,r){let i,o=0;return t.forEach((function(t){(i=t.dataLabel.getBBox().width)>o&&(o=i)})),e?o+r:n-o-r}};function r(t,e){let{center:n,options:r}=this,i=n[2]/2,o=t.angle||0,s=Math.cos(o),a=Math.sin(o),l=n[0]+s*i,c=n[1]+a*i,u=Math.min((r.slicedOffset||0)+(r.borderWidth||0),e/5);return{natural:{x:l+s*e,y:c+a*e},computed:{},alignment:e<0?"center":t.half?"right":"left",connectorPosition:{breakAt:{x:l+s*u,y:c+a*u},touchingSliceAt:{x:l,y:c}},distance:e}}function i(){let t,e,n,r=this,i=r.points,o=r.chart,s=o.plotWidth,a=o.plotHeight,d=o.plotLeft,p=Math.round(o.chartWidth/3),g=r.center,v=g[2]/2,b=g[1],y=[[],[]],x=[0,0,0,0],w=r.dataLabelPositioners,k=0;r.visible&&r.hasDataLabels?.()&&(i.forEach((t=>{(t.dataLabels||[]).forEach((t=>{t.shortened&&(t.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.shortened=!1)}))})),c.prototype.drawDataLabels.apply(r),i.forEach((t=>{(t.dataLabels||[]).forEach(((e,n)=>{let r=g[2]/2,i=e.options,o=m(i?.distance||0,r);0===n&&y[t.half].push(t),!h(i?.style?.width)&&e.getBBox().width>p&&(e.css({width:Math.round(.7*p)+"px"}),e.shortened=!0),e.dataLabelPosition=this.getDataLabelPosition(t,o),k=Math.max(k,o)}))})),y.forEach(((t,i)=>{let c,u,p,m=t.length,y=[],_=0;m&&(r.sortByAngle(t,i-.5),k>0&&(c=Math.max(0,b-v-k),u=Math.min(b+v+k,o.plotHeight),t.forEach((t=>{(t.dataLabels||[]).forEach((e=>{let n=e.dataLabelPosition;n&&n.distance>0&&(n.top=Math.max(0,b-v-n.distance),n.bottom=Math.min(b+v+n.distance,o.plotHeight),_=e.getBBox().height||21,t.distributeBox={target:(e.dataLabelPosition?.natural.y||0)-n.top+_/2,size:_,rank:t.y},y.push(t.distributeBox))}))})),l(y,p=u+_-c,p/5)),t.forEach((o=>{(o.dataLabels||[]).forEach((l=>{let c=l.options||{},u=o.distributeBox,p=l.dataLabelPosition,m=p?.natural.y||0,b=c.connectorPadding||0,k=0,_=m,S="inherit";if(p){if(y&&h(u)&&p.distance>0&&(void 0===u.pos?S="hidden":(n=u.size,_=w.radialDistributionY(o,l))),c.justify)k=w.justify(o,l,v,g);else switch(c.alignTo){case"connectors":k=w.alignToConnectors(t,i,s,d);break;case"plotEdges":k=w.alignToPlotEdges(l,i,s,d);break;default:k=w.radialDistributionX(r,o,_,m,l)}if(p.attribs={visibility:S,align:p.alignment},p.posAttribs={x:k+(c.x||0)+({left:b,right:-b}[p.alignment]||0),y:_+(c.y||0)-l.getBBox().height/2},p.computed.x=k,p.computed.y=_,f(c.crop,!0)){let t;k-(e=l.getBBox().width)<b&&1===i?(t=Math.round(e-k+b),x[3]=Math.max(t,x[3])):k+e>s-b&&0===i&&(t=Math.round(k+e-s+b),x[1]=Math.max(t,x[1])),_-n/2<0?x[0]=Math.max(Math.round(n/2-_),x[0]):_+n/2>a&&(x[2]=Math.max(Math.round(_+n/2-a),x[2])),p.sideOverflow=t}}}))})))})),(0===u(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),this.points.forEach((e=>{(e.dataLabels||[]).forEach((n=>{let{connectorColor:i,connectorWidth:s=1}=n.options||{},a=n.dataLabelPosition;if(s){let l;t=n.connector,a&&a.distance>0?(l=!t,t||(n.connector=t=o.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(r.dataLabelsGroup)),o.styledMode||t.attr({"stroke-width":s,stroke:i||e.color||"#666666"}),t[l?"attr":"animate"]({d:e.getConnectorPath(n)}),t.attr({visibility:a.attribs?.visibility})):t&&(n.connector=t.destroy())}}))}))))}function o(){this.points.forEach((t=>{(t.dataLabels||[]).forEach((t=>{let e=t.dataLabelPosition;e?(e.sideOverflow&&(t.css({width:Math.max(t.getBBox().width-e.sideOverflow,0)+"px",textOverflow:(t.options?.style||{}).textOverflow||"ellipsis"}),t.shortened=!0),t.attr(e.attribs),t[t.moved?"animate":"attr"](e.posAttribs),t.moved=!0):t&&t.attr({y:-9999})})),delete t.distributeBox}),this)}function g(t){let e=this.center,n=this.options,r=n.center,i=n.minSize||80,o=i,s=null!==n.size;return!s&&(null!==r[0]?o=Math.max(e[2]-Math.max(t[1],t[3]),i):(o=Math.max(e[2]-t[1]-t[3],i),e[0]+=(t[3]-t[1])/2),null!==r[1]?o=d(o,i,e[2]-Math.max(t[0],t[2])):(o=d(o,i,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),o<e[2]?(e[2]=o,e[3]=Math.min(n.thickness?Math.max(0,o-2*n.thickness):Math.max(0,m(n.innerSize||0,o)),o),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):s=!0),s}e.compose=function(e){if(t.compose(c),p(s,"PieDataLabel")){let t=e.prototype;t.dataLabelPositioners=n,t.alignDataLabel=a,t.drawDataLabels=i,t.getDataLabelPosition=r,t.placeDataLabels=o,t.verifyDataLabelOverflow=g}}}(o||(o={})),o})),n(e,"Extensions/OverlappingDataLabels.js",[e["Core/Utilities.js"]],(function(t){let{addEvent:e,fireEvent:n,objectEach:r,pick:i}=t;function o(t){let e,r,i,o,a,l=t.length,c=(t,e)=>!(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y),u=!1;for(let n=0;n<l;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=function(t){if(t&&(!t.alignAttr||t.placed)){let e=t.box?0:t.padding||0,n=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},r=t.getBBox();return t.width=r.width,t.height=r.height,{x:n.x+(t.parentGroup?.translateX||0)+e,y:n.y+(t.parentGroup?.translateY||0)+e,width:(t.width||0)-2*e,height:(t.height||0)-2*e}}}(e));t.sort(((t,e)=>(e.labelrank||0)-(t.labelrank||0)));for(let e=0;e<l;++e){o=(r=t[e])&&r.absoluteBox;for(let n=e+1;n<l;++n)a=(i=t[n])&&i.absoluteBox,o&&a&&r!==i&&0!==r.newOpacity&&0!==i.newOpacity&&"hidden"!==r.visibility&&"hidden"!==i.visibility&&c(o,a)&&((r.labelrank<i.labelrank?r:i).newOpacity=0)}for(let e of t)s(e,this)&&(u=!0);u&&n(this,"afterHideAllOverlappingLabels")}function s(t,e){let r,i,o=!1;return t&&(i=t.newOpacity,t.oldOpacity!==i&&(t.hasClass("highcharts-data-label")?(t[i?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=function(){e.styledMode||t.css({pointerEvents:i?"auto":"none"})},o=!0,t[t.isOld?"animate":"attr"]({opacity:i},void 0,r),n(e,"afterHideOverlappingLabel")):t.attr({opacity:i})),t.isOld=!0),o}function a(){let t=this,e=[];for(let n of t.labelCollectors||[])e=e.concat(n());for(let n of t.yAxis||[])n.stacking&&n.options.stackLabels&&!n.options.stackLabels.allowOverlap&&r(n.stacking.stacks,(t=>{r(t,(t=>{t.label&&e.push(t.label)}))}));for(let n of t.series||[])if(n.visible&&n.hasDataLabels?.()){let r=n=>{for(let r of n)r.visible&&(r.dataLabels||[]).forEach((n=>{let o=n.options||{};n.labelrank=i(o.labelrank,r.labelrank,r.shapeArgs?.height),o.allowOverlap??Number(o.distance)>0?(n.oldOpacity=n.opacity,n.newOpacity=1,s(n,t)):e.push(n)}))};r(n.nodes||[]),r(n.points)}this.hideOverlappingLabels(e)}return{compose:function(t){let n=t.prototype;n.hideOverlappingLabels||(n.hideOverlappingLabels=o,e(t,"render",a))}}})),n(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n){let{defaultOptions:r}=t,{noop:i}=e,{addEvent:o,extend:s,isObject:a,merge:l,relativeLength:c}=n,u={radius:0,scope:"stack",where:void 0},d=i,h=i;function f(t,e,n,r,i={}){let o=d(t,e,n,r,i),{innerR:s=0,r:a=n,start:l=0,end:u=0}=i;if(i.open||!i.borderRadius)return o;let h=u-l,f=Math.sin(h/2),p=Math.max(Math.min(c(i.borderRadius||0,a-s),(a-s)/2,a*f/(1+f)),0),m=Math.min(p,h/Math.PI*2*s),g=o.length-1;for(;g--;)!function(t,e,n){let r,i,o,s=t[e],a=t[e+1];if("Z"===a[0]&&(a=t[0]),"M"!==s[0]&&"L"!==s[0]||"A"!==a[0]?"A"===s[0]&&("M"===a[0]||"L"===a[0])&&(r=a,i=s):(r=s,i=a,o=!0),r&&i&&i.params){let s=i[1],a=i[5],l=i.params,{start:c,end:u,cx:d,cy:h}=l,f=a?s-n:s+n,p=f?Math.asin(n/f):0,m=a?p:-p,g=Math.cos(p)*f;o?(l.start=c+m,r[1]=d+g*Math.cos(c),r[2]=h+g*Math.sin(c),t.splice(e+1,0,["A",n,n,0,0,1,d+s*Math.cos(l.start),h+s*Math.sin(l.start)])):(l.end=u-m,i[6]=d+s*Math.cos(l.end),i[7]=h+s*Math.sin(l.end),t.splice(e+1,0,["A",n,n,0,0,1,d+g*Math.cos(u),h+g*Math.sin(u)])),i[4]=Math.abs(l.end-l.start)<Math.PI?0:1}}(o,g,g>1?m:p);return o}function p(){if(this.options.borderRadius&&(!this.chart.is3d||!this.chart.is3d())){let{options:t,yAxis:e}=this,n="percent"===t.stacking,i=r.plotOptions?.[this.type]?.borderRadius,o=m(t.borderRadius,a(i)?i:{}),l=e.options.reversed;for(let r of this.points){let{shapeArgs:i}=r;if("roundedRect"===r.shapeType&&i){let{width:a=0,height:u=0,y:d=0}=i,h=d,f=u;if("stack"===o.scope&&r.stackTotal){let i=e.translate(n?100:r.stackTotal,!1,!0,!1,!0),o=e.translate(t.threshold||0,!1,!0,!1,!0),s=this.crispCol(0,Math.min(i,o),0,Math.abs(i-o));h=s.y,f=s.height}let p=(r.negative?-1:1)*(l?-1:1)==-1,m=o.where;!m&&this.is("waterfall")&&Math.abs((r.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(m="all"),m||(m="end");let g=Math.min(c(o.radius,a),a/2,"all"===m?u/2:1/0)||0;"end"===m&&(p&&(h-=g),f+=g),s(i,{brBoxHeight:f,brBoxY:h,r:g})}}}}function m(t,e){return a(t)||(t={radius:t||0}),l(u,e,t)}function g(){let t=m(this.options.borderRadius);for(let e of this.points){let n=e.shapeArgs;n&&(n.borderRadius=c(t.radius,(n.r||0)-(n.innerR||0)))}}function v(t,e,n,r,i={}){let o=h(t,e,n,r,i),{r:s=0,brBoxHeight:a=r,brBoxY:l=e}=i,c=e-l,u=l+a-(e+r),d=c-s>-.1?0:s,f=u-s>-.1?0:s,p=Math.max(d&&c,0),m=Math.max(f&&u,0),g=[t+d,e],v=[t+n-d,e],b=[t+n,e+d],y=[t+n,e+r-f],x=[t+n-f,e+r],w=[t+f,e+r],k=[t,e+r-f],_=[t,e+d],S=(t,e)=>Math.sqrt(Math.pow(t,2)-Math.pow(e,2));if(p){let t=S(d,d-p);g[0]-=t,v[0]+=t,b[1]=_[1]=e+d-p}if(r<d-p){let i=S(d,d-p-r);b[0]=y[0]=t+n-d+i,x[0]=Math.min(b[0],x[0]),w[0]=Math.max(y[0],w[0]),k[0]=_[0]=t+d-i,b[1]=_[1]=e+r}if(m){let t=S(f,f-m);x[0]+=t,w[0]-=t,y[1]=k[1]=e+r-f+m}if(r<f-m){let i=S(f,f-m-r);b[0]=y[0]=t+n-f+i,v[0]=Math.min(b[0],v[0]),g[0]=Math.max(y[0],g[0]),k[0]=_[0]=t+f-i,y[1]=k[1]=e}return o.length=0,o.push(["M",...g],["L",...v],["A",d,d,0,0,1,...b],["L",...y],["A",f,f,0,0,1,...x],["L",...w],["A",f,f,0,0,1,...k],["L",..._],["A",d,d,0,0,1,...g],["Z"]),o}return{compose:function(t,e,n){let r=t.types.pie;if(!e.symbolCustomAttribs.includes("borderRadius")){let i=n.prototype.symbols;o(t,"afterColumnTranslate",p,{order:9}),o(r,"afterTranslate",g),e.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),d=i.arc,h=i.roundedRect,i.arc=f,i.roundedRect=v}},optionsToObject:m}})),n(e,"Core/Responsive.js",[e["Core/Utilities.js"]],(function(t){var e;let{diffObjects:n,extend:r,find:i,merge:o,pick:s,uniqueKey:a}=t;return function(t){function e(t,e){let n=t.condition;(n.callback||function(){return this.chartWidth<=s(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=s(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=s(n.minWidth,0)&&this.chartHeight>=s(n.minHeight,0)}).call(this)&&e.push(t._id)}function l(t,e){let r,s=this.options.responsive,l=this.currentResponsive,c=[];!e&&s&&s.rules&&s.rules.forEach((t=>{void 0===t._id&&(t._id=a()),this.matchResponsiveRule(t,c)}),this);let u=o(...c.map((t=>i((s||{}).rules||[],(e=>e._id===t)))).map((t=>t&&t.chartOptions)));u.isResponsiveOptions=!0,c=c.toString()||void 0;let d=l&&l.ruleIds;c!==d&&(l&&this.update(l.undoOptions,t,!0),c?((r=n(u,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:c,mergedOptions:u,undoOptions:r},this.update(u,t,!0)):this.currentResponsive=void 0)}t.compose=function(t){let n=t.prototype;return n.matchResponsiveRule||r(n,{matchResponsiveRule:e,setResponsive:l}),t}}(e||(e={})),e})),n(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],(function(t,e,n,r,i,o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A,T,E,D,P,j,L,I){return t.AST=o,t.Axis=h,t.Chart=k,t.Color=L,t.DataLabel=E,t.Fx=r,t.HTMLElement=d,t.Legend=x,t.LegendSymbol=w,t.OverlappingDataLabels=t.OverlappingDataLabels||D,t.PlotLineOrBand=m,t.Point=b,t.Pointer=y,t.RendererRegistry=a,t.Series=M,t.SeriesRegistry=C,t.StackItem=O,t.SVGElement=c,t.SVGRenderer=u,t.Templating=s,t.Tick=g,t.Time=I,t.Tooltip=v,t.animate=i.animate,t.animObject=i.animObject,t.chart=k.chart,t.color=L.parse,t.dateFormat=s.dateFormat,t.defaultOptions=n.defaultOptions,t.distribute=l.distribute,t.format=s.format,t.getDeferredAnimation=i.getDeferredAnimation,t.getOptions=n.getOptions,t.numberFormat=s.numberFormat,t.seriesType=C.seriesType,t.setAnimation=i.setAnimation,t.setOptions=n.setOptions,t.stop=i.stop,t.time=n.defaultTime,t.timers=r.timers,P.compose(t.Series,t.SVGElement,t.SVGRenderer),A.compose(t.Series.types.column),E.compose(t.Series),f.compose(t.Axis),d.compose(t.SVGRenderer),x.compose(t.Chart),p.compose(t.Axis),D.compose(t.Chart),T.compose(t.Series.types.pie),m.compose(t.Axis),y.compose(t.Chart),j.compose(t.Chart),_.compose(t.Axis,t.Chart,t.Series),S.compose(t.Axis,t.Chart,t.Series),v.compose(t.Pointer),e.extend(t,e),t})),n(e,"Series/DataModifyComposition.js",[e["Core/Axis/Axis.js"],e["Core/Series/Point.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,n,r){var i;let{tooltipFormatter:o}=e.prototype,{addEvent:s,arrayMax:a,arrayMin:l,correctFloat:c,defined:u,isArray:d,isNumber:h,isString:f,pick:p}=r;return function(t){function e(t,e,n){!this.isXAxis&&(this.series.forEach((function(n){"compare"===t&&"boolean"!=typeof e?n.setCompare(e,!1):"cumulative"!==t||f(e)||n.setCumulative(e,!1)})),p(n,!0)&&this.chart.redraw())}function n(t){let e=this,{numberFormatter:n}=e.series.chart,r=function(r){t=t.replace("{point."+r+"}",(e[r]>0&&"change"===r?"+":"")+n(e[r],p(e.series.tooltipOptions.changeDecimals,2)))};return u(e.change)&&r("change"),u(e.cumulativeSum)&&r("cumulativeSum"),o.apply(this,[t])}function r(){let t,e=this.options.compare;("percent"===e||"value"===e||this.options.cumulative)&&(t=new x(this),"percent"===e||"value"===e?t.initCompare(e):t.initCumulative()),this.dataModify=t}function i(t){let e=t.dataExtremes,n=e.activeYData;if(this.dataModify&&e){let t;this.options.compare?t=[this.dataModify.modifyValue(e.dataMin),this.dataModify.modifyValue(e.dataMax)]:this.options.cumulative&&d(n)&&n.length>=2&&(t=x.getCumulativeExtremes(n)),t&&(e.dataMin=l(t),e.dataMax=a(t))}}function m(t,e){this.options.compare=this.userOptions.compare=t,this.update({},p(e,!0)),!this.dataModify||"value"!==t&&"percent"!==t?this.points.forEach((t=>{delete t.change})):this.dataModify.initCompare(t)}function g(){if(this.xAxis&&this.processedYData&&this.dataModify){let t,e=this.processedXData,n=this.processedYData,r=n.length,i=!0===this.options.compareStart?0:1,o=-1;for(this.pointArrayMap&&(o=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),t=0;t<r-i;t++){let r=n[t]&&o>-1?n[t][o]:n[t];if(h(r)&&0!==r&&e[t+i]>=(this.xAxis.min||0)){this.dataModify.compareValue=r;break}}}}function v(t,e){this.setModifier("compare",t,e)}function b(t,e){t=p(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},p(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach((t=>{delete t.cumulativeSum}))}function y(t,e){this.setModifier("cumulative",t,e)}t.compose=function(t,o,a){let l=o.prototype,c=a.prototype,u=t.prototype;return u.setCompare||(u.setCompare=m,u.setCumulative=b,s(t,"afterInit",r),s(t,"afterGetExtremes",i),s(t,"afterProcessData",g)),l.setCompare||(l.setCompare=v,l.setModifier=e,l.setCumulative=y,c.tooltipFormatter=n),t};class x{constructor(t){this.series=t}modifyValue(){return 0}static getCumulativeExtremes(t){let e=1/0,n=-1/0;return t.reduce(((t,r)=>{let i=t+r;return e=Math.min(e,i,t),n=Math.max(n,i,t),i})),[e,n]}initCompare(t){this.modifyValue=function(e,n){null===e&&(e=0);let r=this.compareValue;if(void 0!==e&&void 0!==r){if("value"===t?e-=r:e=e/r*100-(100===this.series.options.compareBase?0:100),void 0!==n){let t=this.series.points[n];t&&(t.change=e)}return e}return 0}}initCumulative(){this.modifyValue=function(t,e){if(null===t&&(t=0),void 0!==t&&void 0!==e){let n=e>0?this.series.points[e-1]:null;n&&n.cumulativeSum&&(t=c(n.cumulativeSum+t));let r=this.series.points[e],i=r.series.options.cumulativeStart,o=r.x<=this.series.xAxis.max&&r.x>=this.series.xAxis.min;return r&&(r.cumulativeSum=!i||o?t:void 0),t}return 0}}}t.Additions=x}(i||(i={})),i})),n(e,"Stock/Navigator/ChartNavigatorComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let n,{isTouchDevice:r}=t,{addEvent:i,merge:o,pick:s}=e,a=[];function l(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function c(){let t,e,n,r=this.legend,i=this.navigator;if(i){t=r&&r.options,e=i.xAxis,n=i.yAxis;let{scrollbarHeight:o,scrollButtonSize:a}=i;this.inverted?(i.left=i.opposite?this.chartWidth-o-i.height:this.spacing[3]+o,i.top=this.plotTop+a):(i.left=s(e.left,this.plotLeft+a),i.top=i.navigatorOptions.top||this.chartHeight-i.height-o-(this.scrollbar?.options.margin||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(t&&"bottom"===t.verticalAlign&&"proximate"!==t.layout&&t.enabled&&!t.floating?r.legendHeight+s(t.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),e&&n&&(this.inverted?e.options.left=n.options.left=i.left:e.options.top=n.options.top=i.top,e.setAxisSize(),n.setAxisSize())}}function u(t){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new n(this),s(t.redraw,!0)&&this.redraw(t.animation))}function d(){let t=this.options;(t.navigator.enabled||t.scrollbar.enabled)&&(this.scroller=this.navigator=new n(this))}function h(){let t=this.options,e=t.navigator,n=t.rangeSelector;if((e&&e.enabled||n&&n.enabled)&&(!r&&"x"===this.zooming.type||r&&"x"===this.zooming.pinchType))return!1}function f(t){let e=t.navigator;if(e&&t.xAxis[0]){let n=t.xAxis[0].getExtremes();e.render(n.min,n.max)}}function p(t){let e=t.options.navigator||{},n=t.options.scrollbar||{};!this.navigator&&!this.scroller&&(e.enabled||n.enabled)&&(o(!0,this.options.navigator,e),o(!0,this.options.scrollbar,n),delete t.options.navigator,delete t.options.scrollbar)}return{compose:function(t,r){if(e.pushUnique(a,t)){let e=t.prototype;n=r,e.callbacks.push(f),i(t,"afterAddSeries",l),i(t,"afterSetChartSize",c),i(t,"afterUpdate",u),i(t,"beforeRender",d),i(t,"beforeShowResetZoom",h),i(t,"update",p)}}}})),n(e,"Core/Axis/NavigatorAxisComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){let{isTouchDevice:n}=t,{addEvent:r,correctFloat:i,defined:o,isNumber:s,pick:a}=e;function l(){this.navigatorAxis||(this.navigatorAxis=new u(this))}function c(t){let e,r=this.chart,i=r.options,s=i.navigator,a=this.navigatorAxis,l=r.zooming.pinchType,c=i.rangeSelector,u=r.zooming.type;if(this.isXAxis&&(s?.enabled||c?.enabled))if("y"===u&&"zoom"===t.trigger)e=!1;else if(("zoom"===t.trigger&&"xy"===u||n&&"xy"===l)&&this.options.range){let e=a.previousZoom;o(t.min)?a.previousZoom=[this.min,this.max]:e&&(t.min=e[0],t.max=e[1],a.previousZoom=void 0)}void 0!==e&&t.preventDefault()}class u{static compose(t){t.keepProps.includes("navigatorAxis")||(t.keepProps.push("navigatorAxis"),r(t,"init",l),r(t,"setExtremes",c))}constructor(t){this.axis=t}destroy(){this.axis=void 0}toFixedRange(t,e,n,r){let l=this.axis,c=(l.pointRange||0)/2,u=a(n,l.translate(t,!0,!l.horiz)),d=a(r,l.translate(e,!0,!l.horiz));return o(n)||(u=i(u+c)),o(r)||(d=i(d-c)),s(u)&&s(d)||(u=d=void 0),{min:u,max:d}}}return u})),n(e,"Stock/Navigator/NavigatorDefaults.js",[e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"]],(function(t,e){let{parse:n}=t,{seriesTypes:r}=e;return{height:40,margin:25,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:n("#667aff").setOpacity(.3).get(),outlineColor:"#999999",outlineWidth:1,series:{type:void 0===r.areaspline?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,sonification:{enabled:!1},dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#000000",fontSize:"0.7em",opacity:.6,textOutline:"2px contrast"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,id:"navigator-y-axis",maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}})),n(e,"Stock/Navigator/NavigatorSymbols.js",[e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],(function(t,e){let{relativeLength:n}=e;return{"navigator-handle":function(e,r,i,o,s={}){let a=s.width?s.width/2:i,l=n(s.borderRadius||0,Math.min(2*a,o));return[["M",-1.5,(o=s.height||o)/2-3.5],["L",-1.5,o/2+4.5],["M",.5,o/2-3.5],["L",.5,o/2+4.5],...t.rect(-a-1,.5,2*a+1,o,{r:l})]}}})),n(e,"Stock/Utilities/StockUtilities.js",[e["Core/Utilities.js"]],(function(t){let{defined:e}=t;return{setFixedRange:function(t){let n=this.xAxis[0];e(n.dataMax)&&e(n.dataMin)&&t?this.fixedRange=Math.min(t,n.dataMax-n.dataMin):this.fixedRange=t}}})),n(e,"Stock/Navigator/NavigatorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/Navigator/NavigatorSymbols.js"],e["Core/Renderer/RendererRegistry.js"],e["Stock/Utilities/StockUtilities.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a){let{setOptions:l}=t,{composed:c}=e,{getRendererType:u}=o,{setFixedRange:d}=s,{addEvent:h,extend:f,pushUnique:p}=a;function m(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}return{compose:function(t,e,o){n.compose(e),p(c,"Navigator")&&(t.prototype.setFixedRange=d,f(u().prototype.symbols,i),h(o,"afterUpdate",m),l({navigator:r}))}}})),n(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e){var n;let{composed:r}=t,{addEvent:i,defined:o,pick:s,pushUnique:a}=e;return function(t){let e;function n(t){let e=s(t.options&&t.options.min,t.min),n=s(t.options&&t.options.max,t.max);return{axisMin:e,axisMax:n,scrollMin:o(t.dataMin)?Math.min(e,t.min,t.dataMin,s(t.threshold,1/0)):e,scrollMax:o(t.dataMax)?Math.max(n,t.max,t.dataMax,s(t.threshold,-1/0)):n}}function l(){let t=this.scrollbar,e=t&&!t.options.opposite,n=this.horiz?2:e?3:1;t&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[n]+=t.size+(t.options.margin||0))}function c(){let t=this;t.options&&t.options.scrollbar&&t.options.scrollbar.enabled&&(t.options.scrollbar.vertical=!t.horiz,t.options.startOnTick=t.options.endOnTick=!1,t.scrollbar=new e(t.chart.renderer,t.options.scrollbar,t.chart),i(t.scrollbar,"changed",(function(e){let r,i,{axisMin:s,axisMax:a,scrollMin:l,scrollMax:c}=n(t),u=c-l;if(o(s)&&o(a))if(t.horiz&&!t.reversed||!t.horiz&&t.reversed?(r=l+u*this.to,i=l+u*this.from):(r=l+u*(1-this.from),i=l+u*(1-this.to)),this.shouldUpdateExtremes(e.DOMType)){let n="mousemove"!==e.DOMType&&"touchmove"!==e.DOMType&&void 0;t.setExtremes(i,r,!0,n,e)}else this.setRange(this.from,this.to)})))}function u(){let t,e,r,{scrollMin:i,scrollMax:s}=n(this),a=this.scrollbar,l=this.axisTitleMargin+(this.titleOffset||0),c=this.chart.scrollbarsOffsets,u=this.options.margin||0;if(a&&c){if(this.horiz)this.opposite||(c[1]+=l),a.position(this.left,this.top+this.height+2+c[1]-(this.opposite?u:0),this.width,this.height),this.opposite||(c[1]+=u),t=1;else{let e;this.opposite&&(c[0]+=l),e=a.options.opposite?this.left+this.width+2+c[0]-(this.opposite?0:u):this.opposite?0:u,a.position(e,this.top,this.width,this.height),this.opposite&&(c[0]+=u),t=0}c[t]+=a.size+(a.options.margin||0),isNaN(i)||isNaN(s)||!o(this.min)||!o(this.max)||this.min===this.max?a.setRange(0,1):(e=(this.min-i)/(s-i),r=(this.max-i)/(s-i),this.horiz&&!this.reversed||!this.horiz&&this.reversed?a.setRange(e,r):a.setRange(1-r,1-e))}}t.compose=function(t,n){a(r,"Axis.Scrollbar")&&(e=n,i(t,"afterGetOffset",l),i(t,"afterInit",c),i(t,"afterRender",u))}}(n||(n={})),n})),n(e,"Stock/Scrollbar/ScrollbarDefaults.js",[],(function(){return{height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:0,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"#cccccc",trackBorderRadius:5,trackBorderWidth:1}})),n(e,"Stock/Scrollbar/Scrollbar.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/ScrollbarAxis.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){let{defaultOptions:o}=t,{addEvent:s,correctFloat:a,crisp:l,defined:c,destroyObjectProperties:u,fireEvent:d,merge:h,pick:f,removeEvent:p}=i;class m{static compose(t){n.compose(t,m)}static swapXY(t,e){return e&&t.forEach((t=>{let e,n=t.length;for(let r=0;r<n;r+=2)"number"==typeof(e=t[r+1])&&(t[r+1]=t[r+2],t[r+2]=e)})),t}constructor(t,e,n){this._events=[],this.chartX=0,this.chartY=0,this.from=0,this.scrollbarButtons=[],this.scrollbarLeft=0,this.scrollbarStrokeWidth=1,this.scrollbarTop=0,this.size=0,this.to=0,this.trackBorderWidth=1,this.x=0,this.y=0,this.init(t,e,n)}addEvents(){let t=this.options.inverted?[1,0]:[0,1],e=this.scrollbarButtons,n=this.scrollbarGroup.element,r=this.track.element,i=this.mouseDownHandler.bind(this),o=this.mouseMoveHandler.bind(this),a=this.mouseUpHandler.bind(this),l=[[e[t[0]].element,"click",this.buttonToMinClick.bind(this)],[e[t[1]].element,"click",this.buttonToMaxClick.bind(this)],[r,"click",this.trackClick.bind(this)],[n,"mousedown",i],[n.ownerDocument,"mousemove",o],[n.ownerDocument,"mouseup",a],[n,"touchstart",i],[n.ownerDocument,"touchmove",o],[n.ownerDocument,"touchend",a]];l.forEach((function(t){s.apply(null,t)})),this._events=l}buttonToMaxClick(t){let e=(this.to-this.from)*f(this.options.step,.2);this.updatePosition(this.from+e,this.to+e),d(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}buttonToMinClick(t){let e=a(this.to-this.from)*f(this.options.step,.2);this.updatePosition(a(this.from-e),a(this.to-e)),d(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}cursorToScrollbarPosition(t){let e=this.options,n=e.minWidth>this.calculatedWidth?e.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-n),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-n)}}destroy(){let t=this,e=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach((function(e){t[e]&&t[e].destroy&&(t[e]=t[e].destroy())})),e&&t===e.scrollbar&&(e.scrollbar=null,u(e.scrollbarButtons))}drawScrollbarButton(t){let e=this.renderer,n=this.scrollbarButtons,r=this.options,i=this.size,o=e.g().add(this.group);if(n.push(o),r.buttonsEnabled){let s=e.rect().addClass("highcharts-scrollbar-button").add(o);this.chart.styledMode||s.attr({stroke:r.buttonBorderColor,"stroke-width":r.buttonBorderWidth,fill:r.buttonBackgroundColor}),s.attr(s.crisp({x:-.5,y:-.5,width:i,height:i,r:r.buttonBorderRadius},s.strokeWidth()));let a=e.path(m.swapXY([["M",i/2+(t?-1:1),i/2-3],["L",i/2+(t?-1:1),i/2+3],["L",i/2+(t?2:-2),i/2]],r.vertical)).addClass("highcharts-scrollbar-arrow").add(n[t]);this.chart.styledMode||a.attr({fill:r.buttonArrowColor})}}init(t,e,n){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=h(r,o.scrollbar,e),this.options.margin=f(this.options.margin,10),this.chart=n,this.size=f(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())}mouseDownHandler(t){let e=this.chart.pointer?.normalize(t)||t,n=this.cursorToScrollbarPosition(e);this.chartX=n.chartX,this.chartY=n.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(t){let e,n=this.chart.pointer?.normalize(t)||t,r=this.options.vertical?"chartY":"chartX",i=this.initPositions||[];this.grabbedCenter&&(!t.touches||0!==t.touches[0][r])&&(e=this.cursorToScrollbarPosition(n)[r]-this[r],this.hasDragged=!0,this.updatePosition(i[0]+e,i[1]+e),this.hasDragged&&d(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))}mouseUpHandler(t){this.hasDragged&&d(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(t,e,n,r){let{buttonsEnabled:i,margin:o=0,vertical:s}=this.options,a=this.rendered?"animate":"attr",l=r,c=0;this.group.show(),this.x=t,this.y=e+this.trackBorderWidth,this.width=n,this.height=r,this.xOffset=l,this.yOffset=c,s?(this.width=this.yOffset=n=c=this.size,this.xOffset=l=0,this.yOffset=c=i?this.size:0,this.barWidth=r-(i?2*n:0),this.x=t+=o):(this.height=r=this.size,this.xOffset=l=i?this.size:0,this.barWidth=n-(i?2*r:0),this.y=this.y+o),this.group[a]({translateX:t,translateY:this.y}),this.track[a]({width:n,height:r}),this.scrollbarButtons[1][a]({translateX:s?0:n-l,translateY:s?r-c:0})}removeEvents(){this._events.forEach((function(t){p.apply(null,t)})),this._events.length=0}render(){let t=this.renderer,e=this.options,n=this.size,r=this.chart.styledMode,i=t.g("scrollbar").attr({zIndex:e.zIndex}).hide().add();this.group=i,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({r:e.trackBorderRadius||0,height:n,width:n}).add(i),r||this.track.attr({fill:e.trackBackgroundColor,stroke:e.trackBorderColor,"stroke-width":e.trackBorderWidth});let o=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-l(0,o),y:-l(0,o)}),this.scrollbarGroup=t.g().add(i),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:n-o,width:n-o,r:e.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(m.swapXY([["M",-3,n/4],["L",-3,2*n/3],["M",0,n/4],["L",0,2*n/3],["M",3,n/4],["L",3,2*n/3]],e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),r||(this.scrollbar.attr({fill:e.barBackgroundColor,stroke:e.barBorderColor,"stroke-width":e.barBorderWidth}),this.scrollbarRifles.attr({stroke:e.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-l(0,this.scrollbarStrokeWidth),-l(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(t,e){let n,r,i=this.options,o=i.vertical,s=i.minWidth,l=this.barWidth,u=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!c(l))return;let d=l*Math.min(e,1);n=Math.ceil(l*(t=Math.max(t,0))),this.calculatedWidth=r=a(d-n),r<s&&(n=(l-s+r)*t,r=s);let h=Math.floor(n+this.xOffset+this.yOffset),f=r/2-.5;this.from=t,this.to=e,o?(this.scrollbarGroup[u]({translateY:h}),this.scrollbar[u]({height:r}),this.scrollbarRifles[u]({translateY:f}),this.scrollbarTop=h,this.scrollbarLeft=0):(this.scrollbarGroup[u]({translateX:h}),this.scrollbar[u]({width:r}),this.scrollbarRifles[u]({translateX:f}),this.scrollbarLeft=h,this.scrollbarTop=0),r<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),!1===i.showFull&&(t<=0&&e>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(t){return f(this.options.liveRedraw,e.svg&&!e.isTouchDevice&&!this.chart.boosted)||"mouseup"===t||"touchend"===t||!c(t)}trackClick(t){let e=this.chart.pointer?.normalize(t)||t,n=this.to-this.from,r=this.y+this.scrollbarTop,i=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>r||!this.options.vertical&&e.chartX>i?this.updatePosition(this.from+n,this.to+n):this.updatePosition(this.from-n,this.to-n),d(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})}update(t){this.destroy(),this.init(this.chart.renderer,h(!0,this.options,t),this.chart)}updatePosition(t,e){e>1&&(t=a(1-a(e-t)),e=1),t<0&&(e=a(e-t),t=0),this.from=t,this.to=e}}return m.defaultOptions=r,o.scrollbar=h(!0,m.defaultOptions,o.scrollbar),m})),n(e,"Stock/Navigator/Navigator.js",[e["Core/Axis/Axis.js"],e["Stock/Navigator/ChartNavigatorComposition.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorComposition.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a){let{defaultOptions:l}=n,{isTouchDevice:c}=r,{addEvent:u,clamp:d,correctFloat:h,defined:f,destroyObjectProperties:p,erase:m,extend:g,find:v,fireEvent:b,isArray:y,isNumber:x,merge:w,pick:k,removeEvent:_,splat:S}=a;function O(t,...e){let n=[].filter.call(e,x);if(n.length)return Math[t].apply(0,n)}class M{static compose(t,n,r){e.compose(t,M),o.compose(t,n,r)}constructor(t){this.scrollbarHeight=0,this.init(t)}drawHandle(t,e,n,r){let i=this.navigatorOptions.handles.height;this.handles[e][r](n?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(t,10)+.5-i)}:{translateX:Math.round(this.left+parseInt(t,10)),translateY:Math.round(this.top+this.height/2-i/2-1)})}drawOutline(t,e,n,r){let i,o,s=this.navigatorOptions.maskInside,a=this.outline.strokeWidth(),l=a/2,c=a%2/2,u=this.scrollButtonSize,d=this.size,h=this.top,f=this.height,p=h-l,m=h+f,g=this.left;n?(i=h+e+c,o=[["M",g+f,h-u-c],["L",g+f,i],["L",g,i],["M",g,e=h+t+c],["L",g+f,e],["L",g+f,h+d+u]],s&&o.push(["M",g+f,i-l],["L",g+f,e+l])):(g-=u,o=[["M",g,p],["L",t+=g+u-c,p],["L",t,m],["M",e+=g+u-c,m],["L",e,p],["L",g+d+2*u,h+l]],s&&o.push(["M",t-l,p],["L",e+l,p])),this.outline[r]({d:o})}drawMasks(t,e,n,r){let i,o,s,a,l=this.left,c=this.top,u=this.height;n?(s=[l,l,l],a=[c,c+t,c+e],o=[u,u,u],i=[t,e-t,this.size-e]):(s=[l,l+t,l+e],a=[c,c,c],o=[t,e-t,this.size-e],i=[u,u,u]),this.shades.forEach(((t,e)=>{t[r]({x:s[e],y:a[e],width:o[e],height:i[e]})}))}renderElements(){let t=this,e=t.navigatorOptions,n=e.maskInside,r=t.chart,i=r.inverted,o=r.renderer,s={cursor:i?"ns-resize":"ew-resize"},a=t.navigatorGroup=o.g("navigator").attr({zIndex:8,visibility:"hidden"}).add();if([!n,n,!n].forEach(((n,i)=>{let l=o.rect().addClass("highcharts-navigator-mask"+(1===i?"-inside":"-outside")).add(a);r.styledMode||(l.attr({fill:n?e.maskFill:"rgba(0,0,0,0)"}),1===i&&l.css(s)),t.shades[i]=l})),t.outline=o.path().addClass("highcharts-navigator-outline").add(a),r.styledMode||t.outline.attr({"stroke-width":e.outlineWidth,stroke:e.outlineColor}),e.handles&&e.handles.enabled){let n=e.handles,{height:i,width:l}=n;[0,1].forEach((e=>{t.handles[e]=o.symbol(n.symbols[e],-l/2-1,0,l,i,n),r.inverted&&t.handles[e].attr({rotation:90,rotationOriginX:Math.floor(-l/2),rotationOriginY:(i+l)/2}),t.handles[e].attr({zIndex:7-e}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][e]).add(a),r.styledMode||t.handles[e].attr({fill:n.backgroundColor,stroke:n.borderColor,"stroke-width":n.lineWidth}).css(s)}))}}update(t){(this.series||[]).forEach((t=>{t.baseSeries&&delete t.baseSeries.navigatorSeries})),this.destroy(),w(!0,this.chart.options.navigator,t),this.init(this.chart)}render(t,e,n,r){let i,o,s,a,l,c=this.chart,u=this.xAxis,p=u.pointRange||0,m=u.navigatorAxis.fake?c.xAxis[0]:u,g=this.navigatorEnabled,v=this.rendered,y=c.inverted,w=c.xAxis[0].minRange,_=c.xAxis[0].options.maxRange,S=this.scrollButtonSize,O=this.scrollbarHeight;if(this.hasDragged&&!f(n))return;if(t=h(t-p/2),e=h(e+p/2),!x(t)||!x(e)){if(!v)return;n=0,r=k(u.width,m.width)}this.left=k(u.left,c.plotLeft+S+(y?c.plotWidth:0));let M=this.size=a=k(u.len,(y?c.plotHeight:c.plotWidth)-2*S);i=y?O:a+2*S,n=k(n,u.toPixels(t,!0)),r=k(r,u.toPixels(e,!0)),x(n)&&Math.abs(n)!==1/0||(n=0,r=i);let C=u.toValue(n,!0),A=u.toValue(r,!0),T=Math.abs(h(A-C));T<w?this.grabbedLeft?n=u.toPixels(A-w-p,!0):this.grabbedRight&&(r=u.toPixels(C+w+p,!0)):f(_)&&h(T-p)>_&&(this.grabbedLeft?n=u.toPixels(A-_-p,!0):this.grabbedRight&&(r=u.toPixels(C+_+p,!0))),this.zoomedMax=d(Math.max(n,r),0,M),this.zoomedMin=d(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(n,r),0,M),this.range=this.zoomedMax-this.zoomedMin,M=Math.round(this.zoomedMax);let E=Math.round(this.zoomedMin);g&&(this.navigatorGroup.attr({visibility:"inherit"}),l=v&&!this.hasDragged?"animate":"attr",this.drawMasks(E,M,y,l),this.drawOutline(E,M,y,l),this.navigatorOptions.handles.enabled&&(this.drawHandle(E,0,y,l),this.drawHandle(M,1,y,l))),this.scrollbar&&(y?(s=this.top-S,o=this.left-O+(g||!m.opposite?0:(m.titleOffset||0)+m.axisTitleMargin),O=a+2*S):(s=this.top+(g?this.height:-O),o=this.left-S),this.scrollbar.position(o,s,i,O),this.scrollbar.setRange(this.zoomedMin/(a||1),this.zoomedMax/(a||1))),this.rendered=!0,b(this,"afterRender")}addMouseEvents(){let t,e,n=this,r=n.chart,i=r.container,o=[];n.mouseMoveHandler=t=function(t){n.onMouseMove(t)},n.mouseUpHandler=e=function(t){n.onMouseUp(t)},(o=n.getPartsEvents("mousedown")).push(u(r.renderTo,"mousemove",t),u(i.ownerDocument,"mouseup",e),u(r.renderTo,"touchmove",t),u(i.ownerDocument,"touchend",e)),o.concat(n.getPartsEvents("touchstart")),n.eventsToUnbind=o,n.series&&n.series[0]&&o.push(u(n.series[0].xAxis,"foundExtremes",(function(){r.navigator.modifyNavigatorAxisExtremes()})))}getPartsEvents(t){let e=this,n=[];return["shades","handles"].forEach((function(r){e[r].forEach((function(i,o){n.push(u(i.element,t,(function(t){e[r+"Mousedown"](t,o)})))}))})),n}shadesMousedown(t,e){t=this.chart.pointer?.normalize(t)||t;let n,r,i,o,s=this.chart,a=this.xAxis,l=this.zoomedMin,c=this.size,u=this.range,d=this.left,h=t.chartX;s.inverted&&(h=t.chartY,d=this.top),1===e?(this.grabbedCenter=h,this.fixedWidth=u,this.dragOffset=h-l):(o=h-d-u/2,0===e?o=Math.max(0,o):2===e&&o+u>=c&&(o=c-u,this.reversedExtremes?(o-=u,r=this.getUnionExtremes().dataMin):n=this.getUnionExtremes().dataMax),o!==l&&(this.fixedWidth=u,f((i=a.navigatorAxis.toFixedRange(o,o+u,r,n)).min)&&b(this,"setRange",{min:Math.min(i.min,i.max),max:Math.max(i.min,i.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(t,e){t=this.chart.pointer?.normalize(t)||t;let n=this.chart,r=n.xAxis[0],i=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=i?r.min:r.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=i?r.max:r.min),n.setFixedRange(void 0)}onMouseMove(t){let e,n=this,r=n.chart,i=n.navigatorSize,o=n.range,s=n.dragOffset,a=r.inverted,l=n.left;(!t.touches||0!==t.touches[0].pageX)&&(e=(t=r.pointer?.normalize(t)||t).chartX,a&&(l=n.top,e=t.chartY),n.grabbedLeft?(n.hasDragged=!0,n.render(0,0,e-l,n.otherHandlePos)):n.grabbedRight?(n.hasDragged=!0,n.render(0,0,n.otherHandlePos,e-l)):n.grabbedCenter&&(n.hasDragged=!0,e<s?e=s:e>i+s-o&&(e=i+s-o),n.render(0,0,e-s,e-s+o)),n.hasDragged&&n.scrollbar&&k(n.scrollbar.options.liveRedraw,!c&&!this.chart.boosted)&&(t.DOMType=t.type,setTimeout((function(){n.onMouseUp(t)}),0)))}onMouseUp(t){let e,n,r,i,o,s,a=this.chart,l=this.xAxis,c=this.scrollbar,u=t.DOMEvent||t,d=a.inverted,h=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!c||!c.hasDragged)||"scrollbar"===t.trigger)&&(r=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?i=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(o=this.fixedExtreme),this.zoomedMax===this.size&&(o=this.reversedExtremes?r.dataMin:r.dataMax),0===this.zoomedMin&&(i=this.reversedExtremes?r.dataMax:r.dataMin),f((s=l.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,i,o)).min)&&b(this,"setRange",{min:Math.min(s.min,s.max),max:Math.max(s.min,s.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:u}})),"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&x(this.zoomedMin)&&x(this.zoomedMax)&&(n=Math.round(this.zoomedMin),e=Math.round(this.zoomedMax),this.shades&&this.drawMasks(n,e,d,h),this.outline&&this.drawOutline(n,e,d,h),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(n,0,d,h),this.drawHandle(e,1,d,h)))}removeEvents(){this.eventsToUnbind&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&t.forEach((function(t){_(t,"updatedData",this.updatedDataHandler)}),this),t[0].xAxis&&_(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}init(e){let n=e.options,r=n.navigator||{},o=r.enabled,a=n.scrollbar||{},l=a.enabled,c=o&&r.height||0,d=l&&a.height||0,h=a.buttonsEnabled&&d||0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=c,this.scrollbarHeight=d,this.scrollButtonSize=h,this.scrollbarEnabled=l,this.navigatorEnabled=o,this.navigatorOptions=r,this.scrollbarOptions=a,this.opposite=k(r.opposite,!(o||!e.inverted));let f=this,p=f.baseSeries,m=e.xAxis.length,g=e.yAxis.length,v=p&&p[0]&&p[0].xAxis||e.xAxis[0]||{options:{}};if(e.isDirtyBox=!0,f.navigatorEnabled?(f.xAxis=new t(e,w({breaks:v.options.breaks,ordinal:v.options.ordinal,overscroll:v.options.overscroll},r.xAxis,{type:"datetime",index:m,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},e.inverted?{offsets:[h,0,-h,0],width:c}:{offsets:[0,-h,0,h],height:c}),"xAxis"),f.yAxis=new t(e,w(r.yAxis,{alignTicks:!1,offset:0,index:g,isInternal:!0,reversed:k(r.yAxis&&r.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:c}:{height:c}),"yAxis"),p||r.series.data?f.updateNavigatorSeries(!1):0===e.series.length&&(f.unbindRedraw=u(e,"beforeRedraw",(function(){e.series.length>0&&!f.series&&(f.setBaseSeries(),f.unbindRedraw())}))),f.reversedExtremes=e.inverted&&!f.xAxis.reversed||!e.inverted&&f.xAxis.reversed,f.renderElements(),f.addMouseEvents()):(f.xAxis={chart:e,navigatorAxis:{fake:!0},translate:function(t,n){let r=e.xAxis[0],i=r.getExtremes(),o=r.len-2*h,s=O("min",r.options.min,i.dataMin),a=O("max",r.options.max,i.dataMax)-s;return n?t*a/o+s:o*(t-s)/a},toPixels:function(t){return this.translate(t)},toValue:function(t){return this.translate(t,!0)}},f.xAxis.navigatorAxis.axis=f.xAxis,f.xAxis.navigatorAxis.toFixedRange=i.prototype.toFixedRange.bind(f.xAxis.navigatorAxis)),e.options.scrollbar.enabled){let t=w(e.options.scrollbar,{vertical:e.inverted});!x(t.margin)&&f.navigatorEnabled&&(t.margin=e.inverted?-3:3),e.scrollbar=f.scrollbar=new s(e.renderer,t,e),u(f.scrollbar,"changed",(function(t){let e=f.size,n=e*this.to,r=e*this.from;f.hasDragged=f.scrollbar.hasDragged,f.render(0,0,r,n),this.shouldUpdateExtremes(t.DOMType)&&setTimeout((function(){f.onMouseUp(t)}))}))}f.addBaseSeriesEvents(),f.addChartEvents()}getUnionExtremes(t){let e,n=this.chart.xAxis[0],r=this.xAxis,i=r.options,o=n.options;return t&&null===n.dataMin||(e={dataMin:k(i&&i.min,O("min",o.min,n.dataMin,r.dataMin,r.min)),dataMax:k(i&&i.max,O("max",o.max,n.dataMax,r.dataMax,r.max))}),e}setBaseSeries(t,e){let n=this.chart,r=this.baseSeries=[];t=t||n.options&&n.options.navigator.baseSeries||(n.series.length?v(n.series,(t=>!t.options.isInternal)).index:0),(n.series||[]).forEach(((e,n)=>{!e.options.isInternal&&(e.options.showInNavigator||(n===t||e.options.id===t)&&!1!==e.options.showInNavigator)&&r.push(e)})),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,e)}updateNavigatorSeries(t,e){let n,r,i,o=this,s=o.chart,a=o.baseSeries,c={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:this.navigatorOptions.xAxis?.id,yAxis:this.navigatorOptions.yAxis?.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},u=o.series=(o.series||[]).filter((t=>{let e=t.baseSeries;return!(0>a.indexOf(e)&&(e&&(_(e,"updatedData",o.updatedDataHandler),delete e.navigatorSeries),t.chart&&t.destroy(),1))})),d=o.navigatorOptions.series;a&&a.length&&a.forEach((t=>{let h=t.navigatorSeries,f=g({color:t.color,visible:t.visible},y(d)?l.navigator.series:d);if(h&&!1===o.navigatorOptions.adaptToUpdatedData)return;c.name="Navigator "+a.length,i=(n=t.options||{}).navigatorOptions||{},f.dataLabels=S(f.dataLabels),(r=w(n,c,f,i)).pointRange=k(f.pointRange,i.pointRange,l.plotOptions[r.type||"line"].pointRange);let p=i.data||f.data;o.hasNavigatorData=o.hasNavigatorData||!!p,r.data=p||n.data&&n.data.slice(0),h&&h.options?h.update(r,e):(t.navigatorSeries=s.initSeries(r),s.setSortedData(),t.navigatorSeries.baseSeries=t,u.push(t.navigatorSeries))})),(d.data&&!(a&&a.length)||y(d))&&(o.hasNavigatorData=!1,(d=S(d)).forEach(((t,e)=>{c.name="Navigator "+(u.length+1),(r=w(l.navigator.series,{color:s.series[e]&&!s.series[e].options.isInternal&&s.series[e].color||s.options.colors[e]||s.options.colors[0]},c,t)).data=t.data,r.data&&(o.hasNavigatorData=!0,u.push(s.initSeries(r)))}))),t&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let t=this,e=t.baseSeries||[];e[0]&&e[0].xAxis&&e[0].eventsToUnbind.push(u(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),e.forEach((e=>{e.eventsToUnbind.push(u(e,"show",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}))),e.eventsToUnbind.push(u(e,"hide",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}))),!1!==this.navigatorOptions.adaptToUpdatedData&&e.xAxis&&e.eventsToUnbind.push(u(e,"updatedData",this.updatedDataHandler)),e.eventsToUnbind.push(u(e,"remove",(function(){this.navigatorSeries&&(m(t.series,this.navigatorSeries),f(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})))}))}getBaseSeriesMin(t){return this.baseSeries.reduce((function(t,e){return Math.min(t,e.xData&&e.xData.length?e.xData[0]:t)}),t)}modifyNavigatorAxisExtremes(){let t=this.xAxis;if(void 0!==t.getExtremes){let e=this.getUnionExtremes(!0);e&&(e.dataMin!==t.min||e.dataMax!==t.max)&&(t.min=e.dataMin,t.max=e.dataMax)}}modifyBaseAxisExtremes(){let t,e,n=this.chart.navigator,r=this.getExtremes(),i=r.min,o=r.max,s=r.dataMin,a=r.dataMax,l=o-i,c=n.stickToMin,u=n.stickToMax,d=k(this.ordinal?.convertOverscroll(this.options.overscroll),0),h=n.series&&n.series[0],f=!!this.setExtremes;!(this.eventArgs&&"rangeSelectorButton"===this.eventArgs.trigger)&&(c&&(t=(e=s)+l),u&&(t=a+d,c||(e=Math.max(s,t-l,n.getBaseSeriesMin(h&&h.xData?h.xData[0]:-Number.MAX_VALUE)))),f&&(c||u)&&x(e)&&(this.min=this.userMin=e,this.max=this.userMax=t)),n.stickToMin=n.stickToMax=null}updatedDataHandler(){let t=this.chart.navigator,e=this.navigatorSeries,n=t.reversedExtremes?0===Math.round(t.zoomedMin):Math.round(t.zoomedMax)>=Math.round(t.size);t.stickToMax=k(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,n),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))}shouldStickToMin(t,e){let n=e.getBaseSeriesMin(t.xData[0]),r=t.xAxis,i=r.max,o=r.min,s=r.options.range;return!(!x(i)||!x(o))&&(s&&i-n>0?i-n<s:o<=n)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(u(this.chart,"redraw",(function(){let t=this.navigator,e=t&&(t.baseSeries&&t.baseSeries[0]&&t.baseSeries[0].xAxis||this.xAxis[0]);e&&t.render(e.min,e.max)})),u(this.chart,"getMargins",(function(){let t=this.navigator,e=t.opposite?"plotTop":"marginBottom";this.inverted&&(e=t.opposite?"marginRight":"plotLeft"),this[e]=(this[e]||0)+(t.navigatorEnabled||!this.inverted?t.height+t.scrollbarHeight:0)+t.navigatorOptions.margin})),u(M,"setRange",(function(t){this.chart.xAxis[0].setExtremes(t.min,t.max,t.redraw,t.animation,t.eventArguments)})))}destroy(){this.removeEvents(),this.xAxis&&(m(this.chart.xAxis,this.xAxis),m(this.chart.axes,this.xAxis)),this.yAxis&&(m(this.chart.yAxis,this.yAxis),m(this.chart.axes,this.yAxis)),(this.series||[]).forEach((t=>{t.destroy&&t.destroy()})),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach((t=>{this[t]&&this[t].destroy&&this[t].destroy(),this[t]=null})),[this.handles].forEach((t=>{p(t)}))}}return M})),n(e,"Core/Axis/OrdinalAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,n,r){var i;let{addEvent:o,correctFloat:s,css:a,defined:l,error:c,isNumber:u,pick:d,timeUnits:h,isString:f}=r;return function(t){function r(t,e,n,r,i=[],o=0,s){let a,u,d,f,p,m={},g=this.options.tickPixelInterval,v=this.chart.time,b=[],y=0,x=[],w=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!i||i.length<3||void 0===e)return v.getTimeTicks.apply(v,arguments);let k=i.length;for(a=0;a<k;a++){if(p=a&&i[a-1]>n,i[a]<e&&(y=a),a===k-1||i[a+1]-i[a]>5*o||p){if(i[a]>w){for(u=v.getTimeTicks(t,i[y],i[a],r);u.length&&u[0]<=w;)u.shift();u.length&&(w=u[u.length-1]),b.push(x.length),x=x.concat(u)}y=a+1}if(p)break}if(u){if(f=u.info,s&&f.unitRange<=h.hour){for(y=1,a=x.length-1;y<a;y++)v.dateFormat("%d",x[y])!==v.dateFormat("%d",x[y-1])&&(m[x[y]]="day",d=!0);d&&(m[x[0]]="day"),f.higherRanks=m}f.segmentStarts=b,x.info=f}else c(12,!1,this.chart);if(s&&l(g)){let t,e,r,i,o,s=x.length,a=[],l=[],c=s;for(;c--;)e=this.translate(x[c]),r&&(l[c]=r-e),a[c]=r=e;for(l.sort(((t,e)=>t-e)),(i=l[Math.floor(l.length/2)])<.6*g&&(i=null),c=x[s-1]>n?s-1:s,r=void 0;c--;)o=Math.abs(r-(e=a[c])),r&&o<.8*g&&(null===i||o<.8*i)?(m[x[c]]&&!m[x[c+1]]?(t=c+1,r=e):t=c,x.splice(t,1)):r=e}return x}function i(t){let e=this.ordinal.positions;if(!e)return t;let n,r=e.length-1;return t<0?t=e[0]:t>r?t=e[r]:(r=Math.floor(t),n=t-r),void 0!==n&&void 0!==e[r]?e[r]+(n?n*(e[r+1]-e[r]):0):t}function p(t){let e=this.ordinal,n=this.old?this.old.min:this.min,r=this.old?this.old.transA:this.transA,i=e.getExtendedPositions();if(i&&i.length){let o=s((t-n)*r+this.minPixelPadding),a=s(e.getIndexOfPoint(o,i)),l=s(a%1);if(a>=0&&a<=i.length-1){let t=i[Math.floor(a)],e=i[Math.ceil(a)];return i[Math.floor(a)]+l*(e-t)}}return t}function m(e,n){let r=t.Additions.findIndexOf(e,n,!0);return e[r]===n?r:r+(n-e[r])/(e[r+1]-e[r])}function g(){this.ordinal||(this.ordinal=new t.Additions(this))}function v(){let{eventArgs:t,options:e}=this;if(this.isXAxis&&l(e.overscroll)&&0!==e.overscroll&&u(this.max)&&u(this.min)&&(this.options.ordinal&&!this.ordinal.originalOrdinalRange&&this.ordinal.getExtendedPositions(!1),this.max===this.dataMax&&("pan"!==t?.trigger||this.isInternal)&&"navigator"!==t?.trigger)){let n=this.ordinal.convertOverscroll(e.overscroll);this.max+=n,!this.isInternal&&l(this.userMin)&&"mousewheel"!==t?.trigger&&(this.min+=n)}}function b(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function y(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function x(t){let e=this.xAxis[0],n=e.ordinal.convertOverscroll(e.options.overscroll),r=t.originalEvent.chartX,i=this.options.chart.panning,o=!1;if(i&&"y"!==i.type&&e.options.ordinal&&e.series.length){let t,i,s=this.mouseDownX,l=e.getExtremes(),c=l.dataMin,u=l.dataMax,d=l.min,h=l.max,f=this.hoverPoints,p=e.closestPointRange||e.ordinal&&e.ordinal.overscrollPointsRange,m=Math.round((s-r)/(e.translationSlope*(e.ordinal.slope||p))),g=e.ordinal.getExtendedPositions(),v={ordinal:{positions:g,extendedOrdinalPositions:g}},b=e.index2val,y=e.val2lin;if(d<=c&&m<0||h+n>=u&&m>0)return;v.ordinal.positions?Math.abs(m)>1&&(f&&f.forEach((function(t){t.setState()})),u>(i=v.ordinal.positions)[i.length-1]&&i.push(u),this.setFixedRange(h-d),(t=e.navigatorAxis.toFixedRange(void 0,void 0,b.apply(v,[y.apply(v,[d,!0])+m]),b.apply(v,[y.apply(v,[h,!0])+m]))).min>=Math.min(l.dataMin,d)&&t.max<=Math.max(u,h)+n&&e.setExtremes(t.min,t.max,!0,!1,{trigger:"pan"}),this.mouseDownX=r,a(this.container,{cursor:"move"})):o=!0}else o=!0;o||i&&/y/.test(i.type)?n&&(e.max=e.dataMax+n):t.preventDefault()}function w(){let t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.originalOrdinalRange)}function k(t,e){let n,r,i=this.ordinal,o=i.positions,s=i.slope;if(!o)return t;let a=o.length;if(o[0]<=t&&o[a-1]>=t)n=m(o,t);else{if(!(r=i.getExtendedPositions&&i.getExtendedPositions())||!r.length)return t;let a=r.length;s||(s=(r[a-1]-r[0])/a);let l=m(r,o[0]);if(t>=r[0]&&t<=r[a-1])n=m(r,t)-l;else{if(!e)return t;n=t<r[0]?-l-(r[0]-t)/s:(t-r[a-1])/s+a-l}}return e?n:s*(n||0)+i.offset}t.compose=function(t,e,n){let s=t.prototype;return s.ordinal2lin||(s.getTimeTicks=r,s.index2val=i,s.lin2val=p,s.val2lin=k,s.ordinal2lin=s.val2lin,o(t,"afterInit",g),o(t,"foundExtremes",v),o(t,"afterSetScale",b),o(t,"initialAxisTranslation",y),o(n,"pan",x),o(e,"updatedData",w)),t};class _{constructor(t){this.index={},this.axis=t}beforeSetTickPositions(){let t,e,n,r,i,o,s,a=this.axis,l=a.ordinal,c=a.getExtremes(),u=c.min,h=c.max,f=a.brokenAxis?.hasBreaks,p=a.options.ordinal,m=[],g=Number.MAX_VALUE,v=!1,b=!1,y=!1;if(p||f){let c=0;if(a.series.forEach((function(n,r){if(e=[],r>0&&"highcharts-navigator-series"!==n.options.id&&n.processedXData.length>1&&(b=c!==n.processedXData[1]-n.processedXData[0]),c=n.processedXData[1]-n.processedXData[0],n.boosted&&(y=n.boosted),n.reserveSpace()&&(!1!==n.takeOrdinalPosition||f)&&(t=(m=m.concat(n.processedXData)).length,m.sort((function(t,e){return t-e})),g=Math.min(g,d(n.closestPointRange,g)),t)){for(r=0;r<t-1;)m[r]!==m[r+1]&&e.push(m[r+1]),r++;e[0]!==m[0]&&e.unshift(m[0]),m=e}})),a.ordinal.originalOrdinalRange||(a.ordinal.originalOrdinalRange=(m.length-1)*g),b&&y&&(m.pop(),m.shift()),(t=m.length)>2){for(n=m[1]-m[0],s=t-1;s--&&!v;)m[s+1]-m[s]!==n&&(v=!0);!a.options.keepOrdinalPadding&&(m[0]-u>n||h-m[m.length-1]>n)&&(v=!0)}else a.options.overscroll&&(2===t?g=m[1]-m[0]:1===t?(g=a.ordinal.convertOverscroll(a.options.overscroll),m=[m[0],m[0]+g]):g=l.overscrollPointsRange);v||a.forceOrdinal?(a.options.overscroll&&(l.overscrollPointsRange=g,m=m.concat(l.getOverscrollPositions())),l.positions=m,r=a.ordinal2lin(Math.max(u,m[0]),!0),i=Math.max(a.ordinal2lin(Math.min(h,m[m.length-1]),!0),1),l.slope=o=(h-u)/(i-r),l.offset=u-r*o):(l.overscrollPointsRange=d(a.closestPointRange,l.overscrollPointsRange),l.positions=a.ordinal.slope=l.offset=void 0)}a.isOrdinal=p&&v,l.groupIntervalFactor=null}static findIndexOf(t,e,n){let r,i=0,o=t.length-1;for(;i<o;)t[r=Math.ceil((i+o)/2)]<=e?i=r:o=r-1;return t[i]===e||n?i:-1}getExtendedPositions(t=!0){let r,i,o=this,s=o.axis,a=s.constructor.prototype,l=s.chart,c=s.series[0]?.currentDataGrouping,u=c?c.count+c.unitName:"raw",d=t?s.ordinal.convertOverscroll(s.options.overscroll):0,h=s.getExtremes(),f=o.index;return f||(f=o.index={}),f[u]||((r={series:[],chart:l,forceOrdinal:!1,getExtremes:function(){return{min:h.dataMin,max:h.dataMax+d}},applyGrouping:a.applyGrouping,getGroupPixelWidth:a.getGroupPixelWidth,getTimeTicks:a.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:a.ordinal2lin,getIndexOfPoint:a.getIndexOfPoint,val2lin:a.val2lin}).ordinal.axis=r,s.series.forEach((function(s){i={xAxis:r,xData:s.xData.slice(),chart:l,groupPixelWidth:s.groupPixelWidth,destroyGroupedData:e.noop,getProcessedData:n.prototype.getProcessedData,applyGrouping:n.prototype.applyGrouping,reserveSpace:n.prototype.reserveSpace,visible:s.visible},t&&(i.xData=i.xData.concat(o.getOverscrollPositions())),i.options={dataGrouping:c?{firstAnchor:s.options.dataGrouping?.firstAnchor,anchor:s.options.dataGrouping?.anchor,lastAnchor:s.options.dataGrouping?.firstAnchor,enabled:!0,forced:!0,approximation:"open",units:[[c.unitName,[c.count]]]}:{enabled:!1}},r.series.push(i),s.processData.apply(i)})),r.applyGrouping({hasExtremesChanged:!0}),i?.closestPointRange!==i?.basePointRange&&i.currentDataGrouping&&(r.forceOrdinal=!0),s.ordinal.beforeSetTickPositions.apply({axis:r}),!s.ordinal.originalOrdinalRange&&r.ordinal.originalOrdinalRange&&(s.ordinal.originalOrdinalRange=r.ordinal.originalOrdinalRange),f[u]=r.ordinal.positions),f[u]}getGroupIntervalFactor(t,e,n){let r,i,o=n.processedXData,s=o.length,a=[],l=this.groupIntervalFactor;if(!l){for(i=0;i<s-1;i++)a[i]=o[i+1]-o[i];a.sort((function(t,e){return t-e})),r=a[Math.floor(s/2)],t=Math.max(t,o[0]),e=Math.min(e,o[s-1]),this.groupIntervalFactor=l=s*r/(e-t)}return l}getIndexOfPoint(t,e){let n,r=this.axis,i=0;r.series.forEach((t=>{let e=t.points?.[0];l(e?.plotX)&&(e.plotX<n||!l(n))&&function(t){let{min:e,max:n}=r;return!(!l(e)||!l(n))&&t.points.some((t=>t.x>=e&&t.x<=n))}(t)&&(n=e.plotX,i=e.x)})),n??(n=r.minPixelPadding);let o=r.translationSlope*(this.slope||r.closestPointRange||this.overscrollPointsRange),a=s((t-n)/o);return _.findIndexOf(e,i,!0)+a}getOverscrollPositions(){let t=this.axis,e=this.convertOverscroll(t.options.overscroll),n=this.overscrollPointsRange,r=[],i=t.dataMax;if(l(n))for(;i<=t.dataMax+e;)r.push(i+=n);return r}postProcessTickInterval(t){let e=this.axis,n=this.slope;return n?e.options.breaks?e.closestPointRange||t:t/(n/e.closestPointRange):t}convertOverscroll(t=0){let e=this,n=e.axis,r=function(t){return d(e.originalOrdinalRange,l(n.dataMax)&&l(n.dataMin)?n.dataMax-n.dataMin:0)*t};if(f(t)){let e=parseInt(t,10);if(/%$/.test(t))return r(e/100);if(/px/.test(t)){let t=Math.min(e,.9*n.len)/n.len;return r(t/(1-t))}return 0}return t}}t.Additions=_}(i||(i={})),i})),n(e,"Stock/RangeSelector/RangeSelectorDefaults.js",[],(function(){return{lang:{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"→"},rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%e %b %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#334eff",cursor:"pointer",fontSize:"0.8em"},labelStyle:{color:"#666666",fontSize:"0.8em"}}}})),n(e,"Stock/RangeSelector/RangeSelectorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let i,{defaultOptions:o}=t,{composed:s}=e,{addEvent:a,defined:l,extend:c,isNumber:u,merge:d,pick:h,pushUnique:f}=r,p=[];function m(){let t,e,n=this.range,r=n.type,i=this.max,o=this.chart.time,s=function(t,e){let n="year"===r?"FullYear":"Month",i=new o.Date(t),s=o.get(n,i);return o.set(n,i,s+e),s===o.get(n,i)&&o.set("Date",i,0),i.getTime()-t};u(n)?(t=i-n,e=n):n&&(t=i+s(i,-(n.count||1)),this.chart&&this.chart.setFixedRange(i-t));let a=h(this.dataMin,Number.MIN_VALUE);return u(t)||(t=a),t<=a&&(t=a,void 0===e&&(e=s(t,n.count)),this.newMax=Math.min(t+e,h(this.dataMax,Number.MAX_VALUE))),u(i)?!u(n)&&n&&n._offsetMin&&(t+=n._offsetMin):t=void 0,t}function g(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new i(this))}function v(){let t=this.rangeSelector;if(t){u(t.deferredYTDClick)&&(t.clickButton(t.deferredYTDClick),delete t.deferredYTDClick);let e=t.options.verticalAlign;t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"===e||(this.extraTopMargin=!0))}}function b(){let t,e=this.rangeSelector;if(!e)return;let n=this.xAxis[0].getExtremes(),r=this.legend,i=e&&e.options.verticalAlign;u(n.min)&&e.render(n.min,n.max),r.display&&"top"===i&&i===r.options.verticalAlign&&(t=d(this.spacingBox),"vertical"===r.options.layout?t.y=this.plotTop:t.y+=e.getHeight(),r.group.placed=!1,r.align(t))}function y(){for(let t=0,e=p.length;t<e;++t){let e=p[t];if(e[0]===this)return e[1].forEach((t=>t())),void p.splice(t,1)}}function x(){let t=this.rangeSelector;if(t){let e=t.getHeight();this.extraTopMargin&&(this.plotTop+=e),this.extraBottomMargin&&(this.marginBottom+=e)}}function w(t){let e=t.options.rangeSelector,n=this.extraBottomMargin,r=this.extraTopMargin,o=this.rangeSelector;if(e&&e.enabled&&!l(o)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=o=new i(this)),this.extraBottomMargin=!1,this.extraTopMargin=!1,o){let t=e&&e.verticalAlign||o.options&&o.options.verticalAlign;o.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"===t||(this.extraTopMargin=!0)),(this.extraBottomMargin!==n||this.extraTopMargin!==r)&&(this.isDirtyBox=!0)}}return{compose:function(t,e,r){if(i=r,f(s,"RangeSelector")){let r=e.prototype;t.prototype.minFromRange=m,a(e,"afterGetContainer",g),a(e,"beforeRender",v),a(e,"destroy",y),a(e,"getMargins",x),a(e,"redraw",b),a(e,"update",w),r.callbacks.push(b),c(o,{rangeSelector:n.rangeSelector}),c(o.lang,n.lang)}}}})),n(e,"Stock/RangeSelector/RangeSelector.js",[e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorComposition.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"],e["Core/Axis/OrdinalAxis.js"]],(function(e,n,r,i,o,s,a){let{defaultOptions:l}=n,{addEvent:c,createElement:u,css:d,defined:h,destroyObjectProperties:f,discardElement:p,extend:m,fireEvent:g,isNumber:v,merge:b,objectEach:y,pad:x,pick:w,pInt:k,splat:_}=s;class S{static compose(t,e){i.compose(t,e,S)}constructor(t){this.buttonOptions=S.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.init(t)}clickButton(t,n){let r,i,o,s,a,l=this.chart,u=this.buttonOptions[t],d=l.xAxis[0],f=l.scroller&&l.scroller.getUnionExtremes()||d||{},p=u.type,m=u.dataGrouping,b=f.dataMin,y=f.dataMax,x=d&&Math.round(Math.min(d.max,w(y,d.max))),k=u._range,S=!0;if(null!==b&&null!==y){if(this.setSelected(t),m&&(this.forcedDataGrouping=!0,e.prototype.setDataGrouping.call(d||{chart:this.chart},m,!1),this.frozenStates=u.preserveDataGrouping),"month"===p||"year"===p)d?(s={range:u,max:x,chart:l,dataMin:b,dataMax:y},r=d.minFromRange.call(s),v(s.newMax)&&(x=s.newMax),S=!1):k=u;else if(k)x=Math.min((r=Math.max(x-k,b))+k,y),S=!1;else if("ytd"===p){if(!d)return void(this.deferredYTDClick=t);(void 0===y||void 0===b)&&(b=Number.MAX_VALUE,y=Number.MIN_VALUE,l.series.forEach((t=>{let e=t.xData;e&&(b=Math.min(e[0],b),y=Math.max(e[e.length-1],y))})),n=!1),r=o=(a=this.getYTDExtremes(y,b,l.time.useUTC)).min,x=a.max}else"all"===p&&d&&(l.navigator&&l.navigator.baseSeries[0]&&(l.navigator.baseSeries[0].xAxis.options.range=void 0),r=b,x=y);if(S&&u._offsetMin&&h(r)&&(r+=u._offsetMin),u._offsetMax&&h(x)&&(x+=u._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=t+1),d)d.setExtremes(r,x,w(n,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:u}),l.setFixedRange(u._range);else{i=_(l.options.xAxis)[0];let t=c(l,"afterGetAxes",(function(){let t=l.xAxis[0];t.range=t.options.range=k,t.min=t.options.min=o}));c(l,"load",(function(){let e=l.xAxis[0];l.setFixedRange(u._range),e.options.range=i.range,e.options.min=i.min,t()}))}g(this,"afterBtnClick")}}setSelected(t){this.selected=this.options.selected=t}init(t){let e=this,n=t.options.rangeSelector,r=n.buttons||e.defaultButtons.slice(),i=n.selected,o=function(){let t=e.minInput,n=e.maxInput;t&&t.blur&&g(t,"blur"),n&&n.blur&&g(n,"blur")};e.chart=t,e.options=n,e.buttons=[],e.buttonOptions=r,this.eventsToUnbind=[],this.eventsToUnbind.push(c(t.container,"mousedown",o)),this.eventsToUnbind.push(c(t,"resize",o)),r.forEach(e.computeButtonRange),void 0!==i&&r[i]&&this.clickButton(i,!1),this.eventsToUnbind.push(c(t,"load",(function(){t.xAxis&&t.xAxis[0]&&c(t.xAxis[0],"setExtremes",(function(n){v(this.max)&&v(this.min)&&this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==n.trigger&&"updatedData"!==n.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)}))}))),this.createElements()}updateButtonStates(){let t=this,e=this.chart,n=this.dropdown,r=this.dropdownLabel,i=e.xAxis[0],o=Math.round(i.max-i.min),s=!i.hasVisibleSeries,c=864e5,u=e.scroller&&e.scroller.getUnionExtremes()||i,h=u.dataMin,f=u.dataMax,p=t.getYTDExtremes(f,h,e.time.useUTC),m=p.min,g=p.max,b=t.selected,y=t.options.allButtonsEnabled,x=Array(t.buttonOptions.length).fill(0),w=v(b),k=t.buttons,_=!1,S=null;t.buttonOptions.forEach(((e,n)=>{let r=e._range,l=e.type,u=e.count||1,d=e._offsetMax-e._offsetMin,p=n===b,v=r>f-h,k=r<i.minRange,O=!1,M=r===o;if(p&&v&&(_=!0),i.isOrdinal&&i.ordinal?.positions&&r&&o<r){let t=i.ordinal.positions,e=a.Additions.findIndexOf(t,i.min,!0);t[Math.min(a.Additions.findIndexOf(t,i.max,!0)+1,t.length-1)]-t[e]>r&&(M=!0)}else("month"===l||"year"===l)&&o+36e5>={month:28,year:365}[l]*c*u-d&&o-36e5<={month:31,year:366}[l]*c*u+d?M=!0:"ytd"===l?(M=g-m+d===o,O=!p):"all"===l&&(M=i.max-i.min>=f-h);let C=!y&&!(_&&"all"===l)&&(v||k||s),A=_&&"all"===l||!O&&M||p&&t.frozenStates;C?x[n]=3:A&&(!w||n===b)&&(S=n)})),null!==S?(x[S]=2,t.setSelected(S)):(t.setSelected(),r&&(r.setState(0),r.attr({text:(l.lang.rangeSelectorZoom||"")+" ▾"})));for(let e=0;e<x.length;e++){let i=x[e],o=k[e];if(o.state!==i&&(o.setState(i),n)){n.options[e+1].disabled=3===i,2===i&&(r&&(r.setState(2),r.attr({text:t.buttonOptions[e].text+" ▾"})),n.selectedIndex=e+1);let o=r.getBBox();d(n,{width:`${o.width}px`,height:`${o.height}px`})}}}computeButtonRange(t){let e=t.type,n=t.count||1,r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};r[e]?t._range=r[e]*n:("month"===e||"year"===e)&&(t._range=24*{month:30,year:365}[e]*36e5*n),t._offsetMin=w(t.offsetMin,0),t._offsetMax=w(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin}getInputValue(t){let e="min"===t?this.minInput:this.maxInput,n=this.chart.options.rangeSelector,r=this.chart.time;return e?("text"===e.type&&n.inputDateParser||this.defaultInputDateParser)(e.value,r.useUTC,r):0}setInputValue(t,e){let n=this.options,r=this.chart.time,i="min"===t?this.minInput:this.maxInput,o="min"===t?this.minDateBox:this.maxDateBox;if(i){let t=i.getAttribute("data-hc-time"),s=h(t)?Number(t):void 0;if(h(e)){let t=s;h(t)&&i.setAttribute("data-hc-time-previous",t),i.setAttribute("data-hc-time",e),s=e}i.value=r.dateFormat(this.inputTypeFormats[i.type]||n.inputEditDateFormat,s),o&&o.attr({text:r.dateFormat(n.inputDateFormat,s)})}}setInputExtremes(t,e,n){let r="min"===t?this.minInput:this.maxInput;if(r){let t=this.inputTypeFormats[r.type],i=this.chart.time;if(t){let o=i.dateFormat(t,e);r.min!==o&&(r.min=o);let s=i.dateFormat(t,n);r.max!==s&&(r.max=s)}}}showInput(t){let e="min"===t?this.minDateBox:this.maxDateBox,n="min"===t?this.minInput:this.maxInput;if(n&&e&&this.inputGroup){let t="text"===n.type,{translateX:r=0,translateY:i=0}=this.inputGroup,{x:o=0,width:s=0,height:a=0}=e,{inputBoxWidth:l}=this.options;d(n,{width:t?s+(l?-2:20)+"px":"auto",height:a-2+"px",border:"2px solid silver"}),d(n,t&&l?{left:r+o+"px",top:i+"px"}:{left:Math.min(Math.round(o+r-(n.offsetWidth-s)/2),this.chart.chartWidth-n.offsetWidth)+"px",top:i-(n.offsetHeight-a)/2+"px"})}}hideInput(t){let e="min"===t?this.minInput:this.maxInput;e&&d(e,{top:"-9999em",border:0,width:"1px",height:"1px"})}defaultInputDateParser(t,e,n){let i=t.split("/").join("-").split(" ").join("T");if(-1===i.indexOf("T")&&(i+="T00:00"),e)i+="Z";else{let t;if(r.isSafari&&(!((t=i).length>6)||t.lastIndexOf("-")!==t.length-6&&t.lastIndexOf("+")!==t.length-6)){let t=new Date(i).getTimezoneOffset()/60;i+=t<=0?`+${x(-t)}:00`:`-${x(t)}:00`}}let o=Date.parse(i);if(!v(o)){let e=t.split("-");o=Date.UTC(k(e[0]),k(e[1])-1,k(e[2]))}return n&&e&&v(o)&&(o+=n.getTimezoneOffset(o)),o}drawInput(t){let{chart:e,div:n,inputGroup:i}=this,o=this,s=e.renderer.style||{},a=e.renderer,c=e.options.rangeSelector,h=l.lang,f="min"===t;function p(t){let{maxInput:n,minInput:r}=o,i=e.xAxis[0],s=e.scroller?.getUnionExtremes()||i,a=s.dataMin,l=s.dataMax,c=e.xAxis[0].getExtremes()[t],u=o.getInputValue(t);v(u)&&u!==c&&(f&&n&&v(a)?u>Number(n.getAttribute("data-hc-time"))?u=void 0:u<a&&(u=a):r&&v(l)&&(u<Number(r.getAttribute("data-hc-time"))?u=void 0:u>l&&(u=l)),void 0!==u&&i.setExtremes(f?u:i.min,f?i.max:u,void 0,void 0,{trigger:"rangeSelectorInput"}))}let g=h[f?"rangeSelectorFrom":"rangeSelectorTo"]||"",y=a.label(g,0).addClass("highcharts-range-label").attr({padding:g?2:0,height:g?c.inputBoxHeight:0}).add(i),x=a.label("",0).addClass("highcharts-range-input").attr({padding:2,width:c.inputBoxWidth,height:c.inputBoxHeight,"text-align":"center"}).on("click",(function(){o.showInput(t),o[t+"Input"].focus()}));e.styledMode||x.attr({stroke:c.inputBoxBorderColor,"stroke-width":1}),x.add(i);let w=u("input",{name:t,className:"highcharts-range-selector"},void 0,n);w.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";let e=["a","A","d","e","w","b","B","m","o","y","Y"].some((e=>-1!==t.indexOf("%"+e))),n=["H","k","I","l","M","S"].some((e=>-1!==t.indexOf("%"+e)));return e&&n?"datetime-local":e?"date":n?"time":"text"}(c.inputDateFormat||"%e %b %Y")),e.styledMode||(y.css(b(s,c.labelStyle)),x.css(b({color:"#333333"},s,c.inputStyle)),d(w,m({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:s.fontSize,fontFamily:s.fontFamily,top:"-9999em"},c.inputStyle))),w.onfocus=()=>{o.showInput(t)},w.onblur=()=>{w===r.doc.activeElement&&p(t),o.hideInput(t),o.setInputValue(t),w.blur()};let k=!1;return w.onchange=()=>{k||(p(t),o.hideInput(t),w.blur())},w.onkeypress=e=>{13===e.keyCode&&p(t)},w.onkeydown=e=>{k=!0,("ArrowUp"===e.key||"ArrowDown"===e.key||"Tab"===e.key)&&p(t)},w.onkeyup=()=>{k=!1},{dateBox:x,input:w,label:y}}getPosition(){let t=this.chart,e=t.options.rangeSelector,n="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0;return{buttonTop:n+e.buttonPosition.y,inputTop:n+e.inputPosition.y-10}}getYTDExtremes(t,e,n){let r=this.chart.time,i=new r.Date(t),o=r.get("FullYear",i),s=Math.max(e,n?r.Date.UTC(o,0,1):+new r.Date(o,0,1)),a=i.getTime();return{max:Math.min(t||a,a),min:s}}createElements(){let t=this.chart,e=t.renderer,n=t.container,r=t.options,i=r.rangeSelector,o=i.inputEnabled,s=w(r.chart.style?.zIndex,0)+1;if(!1!==i.enabled&&(this.group=e.g("range-selector-group").attr({zIndex:7}).add(),this.div=u("div",void 0,{position:"relative",height:0,zIndex:s}),this.buttonOptions.length&&this.renderButtons(),n.parentNode&&n.parentNode.insertBefore(this.div,n),o)){this.inputGroup=e.g("input-group").add(this.group);let t=this.drawInput("min");this.minDateBox=t.dateBox,this.minLabel=t.label,this.minInput=t.input;let n=this.drawInput("max");this.maxDateBox=n.dateBox,this.maxLabel=n.label,this.maxInput=n.input}}render(t,e){let n=this.chart,r=n.options.rangeSelector,i=r.inputEnabled;if(!1!==r.enabled){if(i){this.setInputValue("min",t),this.setInputValue("max",e);let i=n.scroller&&n.scroller.getUnionExtremes()||n.xAxis[0]||{};if(h(i.dataMin)&&h(i.dataMax)){let t=n.xAxis[0].minRange||0;this.setInputExtremes("min",i.dataMin,Math.min(i.dataMax,this.getInputValue("max"))-t),this.setInputExtremes("max",Math.max(i.dataMin,this.getInputValue("min"))+t,i.dataMax)}if(this.inputGroup){let t=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((e=>{if(e){let{width:n}=e.getBBox();n&&(e.attr({x:t}),t+=n+r.inputSpacing)}}))}}this.alignElements(),this.updateButtonStates()}}renderButtons(){let{buttons:t,chart:e,options:n}=this,i=l.lang,o=e.renderer,s=b(n.buttonTheme),a=s&&s.states,d=s.width||28;delete s.width,delete s.states,this.buttonGroup=o.g("range-selector-buttons").add(this.group);let h=this.dropdown=u("select",void 0,{position:"absolute",padding:0,border:0,cursor:"pointer",opacity:1e-4},this.div),f=e.userOptions.rangeSelector?.buttonTheme;this.dropdownLabel=o.button("",0,0,(()=>{}),b(s,{"stroke-width":w(s["stroke-width"],0),width:"auto",paddingLeft:w(n.buttonTheme.paddingLeft,f?.padding,8),paddingRight:w(n.buttonTheme.paddingRight,f?.padding,8)}),a&&a.hover,a&&a.select,a&&a.disabled).hide().add(this.group),c(h,"touchstart",(()=>{h.style.fontSize="16px"}));let p=r.isMS?"mouseover":"mouseenter",m=r.isMS?"mouseout":"mouseleave";c(h,p,(()=>{g(this.dropdownLabel.element,p)})),c(h,m,(()=>{g(this.dropdownLabel.element,m)})),c(h,"change",(()=>{g(this.buttons[h.selectedIndex-1].element,"click")})),this.zoomText=o.label(i.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),s["stroke-width"]=w(s["stroke-width"],0)),u("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,h),this.buttonOptions.forEach(((e,n)=>{u("option",{textContent:e.title||e.text},void 0,h),t[n]=o.button(e.text,0,0,(t=>{let r,i=e.events&&e.events.click;i&&(r=i.call(e,t)),!1!==r&&this.clickButton(n),this.isActive=!0}),s,a&&a.hover,a&&a.select,a&&a.disabled).attr({"text-align":"center",width:d}).add(this.buttonGroup),e.title&&t[n].attr("title",e.title)}))}alignElements(){let{buttonGroup:t,buttons:e,chart:n,group:r,inputGroup:i,options:o,zoomText:s}=this,a=n.options,l=a.exporting&&!1!==a.exporting.enabled&&a.navigation&&a.navigation.buttonOptions,{buttonPosition:c,inputPosition:u,verticalAlign:d}=o,h=(t,e)=>l&&this.titleCollision(n)&&"top"===d&&"right"===e.align&&e.y-t.getBBox().height-12<(l.y||0)+(l.height||0)+n.spacing[0]?-40:0,f=n.plotLeft;if(r&&c&&u){let a=c.x-n.spacing[3];if(t){if(this.positionButtons(),!this.initialButtonGroupWidth){let t=0;s&&(t+=s.getBBox().width+5),e.forEach(((n,r)=>{t+=n.width||0,r!==e.length-1&&(t+=o.buttonSpacing)})),this.initialButtonGroupWidth=t}f-=n.spacing[3];let i=h(t,c);this.alignButtonGroup(i),this.buttonGroup?.translateY&&this.dropdownLabel.attr({y:this.buttonGroup.translateY}),r.placed=t.placed=n.hasLoaded}let l=0;i&&(l=h(i,u),"left"===u.align?a=f:"right"===u.align&&(a=-Math.max(n.axisOffset[1],-l)),i.align({y:u.y,width:i.getBBox().width,align:u.align,x:u.x+a-2},!0,n.spacingBox),i.placed=n.hasLoaded),this.handleCollision(l),r.align({verticalAlign:d},!0,n.spacingBox);let p=r.alignAttr.translateY,m=r.getBBox().height+20,g=0;if("bottom"===d){let t=n.legend&&n.legend.options;g=p-(m=m+(t&&"bottom"===t.verticalAlign&&t.enabled&&!t.floating?n.legend.legendHeight+w(t.margin,10):0)-20)-(o.floating?0:o.y)-(n.titleOffset?n.titleOffset[2]:0)-10}"top"===d?(o.floating&&(g=0),n.titleOffset&&n.titleOffset[0]&&(g=n.titleOffset[0]),g+=n.margin[0]-n.spacing[0]||0):"middle"===d&&(u.y===c.y?g=p:(u.y||c.y)&&(u.y<0||c.y<0?g-=Math.min(u.y,c.y):g=p-m)),r.translate(o.x,o.y+Math.floor(g));let{minInput:v,maxInput:b,dropdown:y}=this;o.inputEnabled&&v&&b&&(v.style.marginTop=r.translateY+"px",b.style.marginTop=r.translateY+"px"),y&&(y.style.marginTop=r.translateY+"px")}}alignButtonGroup(t,e){let{chart:n,options:r,buttonGroup:i}=this,{buttonPosition:o}=r,s=n.plotLeft-n.spacing[3],a=o.x-n.spacing[3];"right"===o.align?a+=t-s:"center"===o.align&&(a-=s/2),i&&i.align({y:o.y,width:w(e,this.initialButtonGroupWidth),align:o.align,x:a},!0,n.spacingBox)}positionButtons(){let{buttons:t,chart:e,options:n,zoomText:r}=this,i=e.hasLoaded?"animate":"attr",{buttonPosition:o}=n,s=e.plotLeft,a=s;r&&"hidden"!==r.visibility&&(r[i]({x:w(s+o.x,s)}),a+=o.x+r.getBBox().width+5);for(let e=0,r=this.buttonOptions.length;e<r;++e)"hidden"!==t[e].visibility?(t[e][i]({x:a}),a+=(t[e].width||0)+n.buttonSpacing):t[e][i]({x:s})}handleCollision(t){let{chart:e,buttonGroup:n,inputGroup:r}=this,{buttonPosition:i,dropdown:o,inputPosition:s}=this.options,a=()=>{let t=0;return this.buttons.forEach((e=>{let n=e.getBBox();n.width>t&&(t=n.width)})),t},l=e=>{if(r?.alignOptions&&n){let o=r.alignAttr.translateX+r.alignOptions.x-t+r.getBBox().x+2,a=r.alignOptions.width||0,l=n.alignAttr.translateX+n.getBBox().x;return l+e>o&&o+a>l&&i.y<s.y+r.getBBox().height}return!1},c=()=>{r&&n&&r.attr({translateX:r.alignAttr.translateX+(e.axisOffset[1]>=-t?0:-t),translateY:r.alignAttr.translateY+n.getBBox().height+10})};if(n){if("always"===o)return this.collapseButtons(),void(l(a())&&c());"never"===o&&this.expandButtons()}r&&n?s.align===i.align||l(this.initialButtonGroupWidth+20)?"responsive"===o?(this.collapseButtons(),l(a())&&c()):c():"responsive"===o&&this.expandButtons():n&&"responsive"===o&&(this.initialButtonGroupWidth>e.plotWidth?this.collapseButtons():this.expandButtons())}collapseButtons(){let{buttons:t,zoomText:e}=this;!0!==this.isCollapsed&&(this.isCollapsed=!0,e.hide(),t.forEach((t=>{t.hide()})),this.showDropdown())}expandButtons(){let{buttons:t,zoomText:e}=this;!1!==this.isCollapsed&&(this.isCollapsed=!1,this.hideDropdown(),e.show(),t.forEach((t=>{t.show()})),this.positionButtons())}showDropdown(){let{buttonGroup:t,chart:e,dropdownLabel:n,dropdown:r}=this;if(t&&r){let{translateX:i=0,translateY:o=0}=t,s=e.plotLeft+i;n.attr({x:s,y:o}).show(),d(r,{left:s+"px",top:o+"px",visibility:"inherit"}),this.hasVisibleDropdown=!0}}hideDropdown(){let{dropdown:t}=this;t&&(this.dropdownLabel.hide(),d(t,{visibility:"hidden",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)}getHeight(){let t=this.options,e=this.group,n=t.inputPosition,r=t.buttonPosition,i=t.y,o=r.y,s=n.y,a=0;if(t.height)return t.height;this.alignElements(),a=e?e.getBBox(!0).height+13+i:0;let l=Math.min(s,o);return(s<0&&o<0||s>0&&o>0)&&(a+=Math.abs(l)),a}titleCollision(t){return!(t.options.title.text||t.options.subtitle.text)}update(t,e=!0){let n=this.chart;b(!0,n.options.rangeSelector,t),this.destroy(),this.init(n),e&&this.render()}destroy(){let e=this,n=e.minInput,r=e.maxInput;e.eventsToUnbind&&(e.eventsToUnbind.forEach((t=>t())),e.eventsToUnbind=void 0),f(e.buttons),n&&(n.onfocus=n.onblur=n.onchange=null),r&&(r.onfocus=r.onblur=r.onchange=null),y(e,(function(n,r){n&&"chart"!==r&&(n instanceof o?n.destroy():n instanceof t.HTMLElement&&p(n)),n!==S.prototype[r]&&(e[r]=null)}),this)}}return m(S.prototype,{defaultButtons:[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],inputTypeFormats:{"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"}}),S})),n(e,"Core/Chart/StockChart.js",[e["Core/Chart/Chart.js"],e["Core/Templating.js"],e["Core/Defaults.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Stock/Utilities/StockUtilities.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a){let{format:l}=e,{getOptions:c}=n,{setFixedRange:u}=s,{addEvent:d,clamp:h,crisp:f,defined:p,extend:m,find:g,isNumber:v,isString:b,merge:y,pick:x,splat:w}=a;function k(t,e,n){return"xAxis"===t?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0}:"yAxis"===t?{labels:{y:-2},opposite:n.opposite??e.opposite??!0,showLastLabel:!(!e.categories&&"category"!==e.type),title:{text:"Values"!==n.title?.text?n.title?.text:null}}:{}}function _(t,e){if("xAxis"===t){let t={type:"datetime",categories:void 0};return x(e.navigator&&e.navigator.enabled,r.enabled,!0)&&(t.startOnTick=!1,t.endOnTick=!1),t}return{}}class S extends t{init(t,e){let n=c(),s=t.xAxis,a=t.yAxis,l=x(t.navigator&&t.navigator.enabled,r.enabled,!0);t.xAxis=t.yAxis=void 0;let u=y({chart:{panning:{enabled:!0,type:"x"},zooming:{pinchType:"x",mouseWheel:{type:"x"}}},navigator:{enabled:l},scrollbar:{enabled:x(o.enabled,!0)},rangeSelector:{enabled:x(i.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:x(n.tooltip&&n.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},t,{isStock:!0});t.xAxis=s,t.yAxis=a,u.xAxis=w(t.xAxis||{}).map((e=>y(k("xAxis",e,n.xAxis),e,_("xAxis",t)))),u.yAxis=w(t.yAxis||{}).map((t=>y(k("yAxis",t,n.yAxis),t))),super.init(u,e)}createAxis(t,e){return e.axis=y(k(t,e.axis,c()[t]),e.axis,_(t,this.userOptions)),super.createAxis(t,e)}}return d(t,"update",(function(t){let e=t.options;"scrollbar"in e&&this.navigator&&(y(!0,this.options.scrollbar,e.scrollbar),this.navigator.update({}),delete e.scrollbar)})),function(t){function e(t){if(!(this.crosshair&&this.crosshair.label&&this.crosshair.label.enabled&&this.cross&&v(this.min)&&v(this.max)))return;let e,n,r,i=this.chart,o=this.logarithmic,s=this.crosshair.label,a=this.horiz,c=this.opposite,u=this.left,d=this.top,h=this.width,f="inside"===this.options.tickPosition,p=!1!==this.crosshair.snap,g=t.e||this.cross&&this.cross.e,b=t.point,y=this.crossLabel,w=s.format,k="",_=0,S=this.min,O=this.max;o&&(S=o.lin2log(this.min),O=o.lin2log(this.max));let M=a?"center":c?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center";y||(y=this.crossLabel=i.renderer.label("",0,void 0,s.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(b&&b.series?b.series.colorIndex:this.series[0]&&this.series[0].colorIndex)).attr({align:s.align||M,padding:x(s.padding,8),r:x(s.borderRadius,3),zIndex:2}).add(this.labelGroup),i.styledMode||y.attr({fill:s.backgroundColor||b&&b.series&&b.series.color||"#666666",stroke:s.borderColor||"","stroke-width":s.borderWidth||0}).css(m({color:"#ffffff",fontWeight:"normal",fontSize:"0.7em",textAlign:"center"},s.style||{}))),a?(e=p?(b.plotX||0)+u:g.chartX,n=d+(c?0:this.height)):(e=u+this.offset+(c?h:0),n=p?(b.plotY||0)+d:g.chartY),w||s.formatter||(this.dateTime&&(k="%b %d, %Y"),w="{value"+(k?":"+k:"")+"}");let C=p?this.isXAxis?b.x:b.y:this.toValue(a?g.chartX:g.chartY),A=b&&b.series?b.series.isPointInside(b):v(C)&&C>S&&C<O,T="";w?T=l(w,{value:C},i):s.formatter&&v(C)&&(T=s.formatter.call(this,C)),y.attr({text:T,x:e,y:n,visibility:A?"inherit":"hidden"});let E=y.getBBox();!v(y.x)||a||c||(e=y.x-E.width/2),v(y.y)&&(a?(f&&!c||!f&&c)&&(n=y.y-E.height):n=y.y-E.height/2),r=a?{left:u,right:u+this.width}:{left:"left"===this.labelAlign?u:0,right:"right"===this.labelAlign?u+this.width:i.chartWidth};let D=y.translateX||0;D<r.left&&(_=r.left-D),D+E.width>=r.right&&(_=-(D+E.width-r.right)),y.attr({x:e+_,y:n,anchorX:a?e:this.opposite?0:i.chartWidth,anchorY:a?this.opposite?i.chartHeight:0:n+E.height/2})}function n(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())}function r(t){let e=this.chart,n=this.options,r=e._labelPanes=e._labelPanes||{},i=n.labels;if(e.options.isStock&&"yAxis"===this.coll){let e=n.top+","+n.height;!r[e]&&i.enabled&&(15===i.distance&&1===this.side&&(i.distance=0),void 0===i.align&&(i.align="right"),r[e]=this,t.align="right",t.preventDefault())}}function i(){let t=this.chart,e=this.options&&this.options.top+","+this.options.height;e&&t._labelPanes&&t._labelPanes[e]===this&&delete t._labelPanes[e]}function o(t){let e,n,r,i,o,s,a=this,l=a.isLinked&&!a.series&&a.linkedParent?a.linkedParent.series:a.series,c=a.chart,u=c.renderer,d=a.left,f=a.top,m=[],y=t.translatedValue,w=t.value,k=t.force,_=[];if(c.options.isStock&&!1!==t.acrossPanes&&"xAxis"===a.coll||"yAxis"===a.coll){for(let e of(t.preventDefault(),_=(t=>{let e="xAxis"===t?"yAxis":"xAxis",n=a.options[e];return v(n)?[c[e][n]]:b(n)?[c.get(n)]:l.map((t=>t[e]))})(a.coll),a.isXAxis?c.yAxis:c.xAxis))if(!p(e.options.id)||-1===e.options.id.indexOf("navigator")){let t=e.isXAxis?"yAxis":"xAxis";a===(p(e.options[t])?c[t][e.options[t]]:c[t][0])&&_.push(e)}for(let t of(o=_.length?[]:[a.isXAxis?c.yAxis[0]:c.xAxis[0]],_))-1!==o.indexOf(t)||g(o,(e=>e.pos===t.pos&&e.len===t.len))||o.push(t);if(v(s=x(y,a.translate(w||0,void 0,void 0,t.old))))if(a.horiz)for(let t of o){let o;i=(n=t.pos)+t.len,e=r=Math.round(s+a.transB),"pass"!==k&&(e<d||e>d+a.width)&&(k?e=r=h(e,d,d+a.width):o=!0),o||m.push(["M",e,n],["L",r,i])}else for(let t of o){let o;r=(e=t.pos)+t.len,n=i=Math.round(f+a.height-s),"pass"!==k&&(n<f||n>f+a.height)&&(k?n=i=h(n,f,f+a.height):o=!0),o||m.push(["M",e,n],["L",r,i])}t.path=m.length>0?u.crispPolyLine(m,t.lineWidth||1):void 0}}function s(t){if(this.chart.options.isStock){let e;this.is("column")||this.is("columnrange")?e={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(e={marker:{enabled:!1,radius:2}}),e&&(t.plotOptions[this.type]=y(t.plotOptions[this.type],e))}}function a(){let t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&x(e.enabled,t.options.isStock)}function c(t,e){for(let n=0;n<t.length;n+=2){let r=t[n],i=t[n+1];p(r[1])&&r[1]===i[1]&&(r[1]=i[1]=f(r[1],e)),p(r[2])&&r[2]===i[2]&&(r[2]=i[2]=f(r[2],e))}return t}t.compose=function(t,l,h,f){let p=h.prototype;p.forceCropping||(d(l,"afterDrawCrosshair",e),d(l,"afterHideCrosshair",n),d(l,"autoLabelAlign",r),d(l,"destroy",i),d(l,"getPlotLinePath",o),t.prototype.setFixedRange=u,p.forceCropping=a,d(h,"setOptions",s),f.prototype.crispPolyLine=c)},t.stockChart=function(e,n,r){return new t(e,n,r)}}(S||(S={})),S})),n(e,"Series/HLC/HLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],(function(t){let{column:{prototype:{pointClass:e}}}=t.seriesTypes;return class extends e{}})),n(e,"Series/HLC/HLCSeriesDefaults.js",[],(function(){return{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}})),n(e,"Series/HLC/HLCSeries.js",[e["Series/HLC/HLCPoint.js"],e["Series/HLC/HLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r){let{column:i}=n.seriesTypes,{crisp:o,extend:s,merge:a}=r;class l extends i{extendStem(t,e,n){let r=t[0],i=t[1];"number"==typeof r[2]&&(r[2]=Math.max(n+e,r[2])),"number"==typeof i[2]&&(i[2]=Math.min(n-e,i[2]))}getPointPath(t,e){let n=e.strokeWidth(),r=t.series,i=o(t.plotX||0,n),s=Math.round(t.shapeArgs.width/2),a=[["M",i,Math.round(t.yBottom)],["L",i,Math.round(t.plotHigh)]];if(null!==t.close){let e=o(t.plotClose,n);a.push(["M",i,e],["L",i+s,e]),r.extendStem(a,n/2,e)}return a}drawSinglePoint(t){let e,n=t.series,r=n.chart,i=t.graphic;void 0!==t.plotY&&(i||(t.graphic=i=r.renderer.path().add(n.group)),r.styledMode||i.attr(n.pointAttribs(t,t.selected&&"select")),e=n.getPointPath(t,i),i[i?"animate":"attr"]({d:e}).addClass(t.getClassName(),!0))}drawPoints(){this.points.forEach(this.drawSinglePoint)}init(){super.init.apply(this,arguments),this.options.stacking=void 0}pointAttribs(t,e){let n=super.pointAttribs.call(this,t,e);return delete n.fill,n}toYData(t){return[t.high,t.low,t.close]}translate(){let t=this,e=t.yAxis,n=this.pointArrayMap&&this.pointArrayMap.slice()||[],r=n.map((t=>`plot${t.charAt(0).toUpperCase()+t.slice(1)}`));r.push("yBottom"),n.push("low"),super.translate.apply(t),t.points.forEach((function(i){n.forEach((function(n,o){let s=i[n];null!==s&&(t.dataModify&&(s=t.dataModify.modifyValue(s)),i[r[o]]=e.toPixels(s,!0))})),i.tooltipPos[1]=i.plotHigh+e.pos-t.chart.plotTop}))}}return l.defaultOptions=a(i.defaultOptions,e),s(l.prototype,{pointClass:t,animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),n.registerSeriesType("hlc",l),l})),n(e,"Series/OHLC/OHLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],(function(t){let{seriesTypes:{hlc:e}}=t;class n extends e.prototype.pointClass{getClassName(){return super.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")}resolveUpColor(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)}resolveColor(){super.resolveColor(),this.series.is("heikinashi")||this.resolveUpColor()}getZone(){let t=super.getZone();return this.resolveUpColor(),t}applyOptions(){return super.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this}}return n})),n(e,"Series/OHLC/OHLCSeriesDefaults.js",[],(function(){return{tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}})),n(e,"Series/OHLC/OHLCSeries.js",[e["Core/Globals.js"],e["Series/OHLC/OHLCPoint.js"],e["Series/OHLC/OHLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i){let{composed:o}=t,{hlc:s}=r.seriesTypes,{addEvent:a,crisp:l,extend:c,merge:u,pushUnique:d}=i;function h(t){let e=t.options,n=e.dataGrouping;n&&e.useOhlcData&&"highcharts-navigator-series"!==e.id&&(n.approximation="ohlc")}function f(t){let e=t.options;e.useOhlcData&&"highcharts-navigator-series"!==e.id&&c(this,{pointValKey:p.prototype.pointValKey,pointArrayMap:p.prototype.pointArrayMap,toYData:p.prototype.toYData})}class p extends s{static compose(t,...e){d(o,"OHLCSeries")&&(a(t,"afterSetOptions",h),a(t,"init",f))}getPointPath(t,e){let n=super.getPointPath(t,e),r=e.strokeWidth(),i=l(t.plotX||0,r),o=Math.round(t.shapeArgs.width/2);if(null!==t.open){let e=l(t.plotOpen,r);n.push(["M",i,e],["L",i-o,e]),super.extendStem(n,r/2,e)}return n}pointAttribs(t,e){let n=super.pointAttribs.call(this,t,e),r=this.options;return delete n.fill,!t.options.color&&r.upColor&&t.open<t.close&&(n.stroke=r.upColor),n}toYData(t){return[t.open,t.high,t.low,t.close]}}return p.defaultOptions=u(s.defaultOptions,n),c(p.prototype,{pointClass:e,pointArrayMap:["open","high","low","close"]}),r.registerSeriesType("ohlc",p),p})),n(e,"Series/Candlestick/CandlestickSeriesDefaults.js",[],(function(){return{states:{hover:{lineWidth:2}},threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}})),n(e,"Series/Candlestick/CandlestickSeries.js",[e["Series/Candlestick/CandlestickSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n){let{column:r,ohlc:i}=e.seriesTypes,{crisp:o,merge:s}=n;class a extends i{pointAttribs(t,e){let n=r.prototype.pointAttribs.call(this,t,e),i=this.options,o=t.open<t.close,s=i.lineColor||this.color,a=t.color||this.color;if(n["stroke-width"]=i.lineWidth,n.fill=t.options.color||o&&i.upColor||a,n.stroke=t.options.lineColor||o&&i.upLineColor||s,e){let t=i.states[e];n.fill=t.color||n.fill,n.stroke=t.lineColor||n.stroke,n["stroke-width"]=t.lineWidth||n["stroke-width"]}return n}drawPoints(){let t=this.points,e=this.chart,n=this.yAxis.reversed;for(let r of t){let t,i,s,a,l,c,u,d,h,f=r.graphic,p=!f;if(void 0!==r.plotY){f||(r.graphic=f=e.renderer.path().add(this.group)),this.chart.styledMode||f.attr(this.pointAttribs(r,r.selected&&"select")).shadow(this.options.shadow);let m=f.strokeWidth();u=o(r.plotX||0,m),s=Math.min(t=r.plotOpen,i=r.plotClose),a=Math.max(t,i),h=Math.round(r.shapeArgs.width/2),l=n?a!==r.yBottom:Math.round(s)!==Math.round(r.plotHigh||0),c=n?Math.round(s)!==Math.round(r.plotHigh||0):a!==r.yBottom,s=o(s,m),a=o(a,m),(d=[]).push(["M",u-h,a],["L",u-h,s],["L",u+h,s],["L",u+h,a],["Z"],["M",u,s],["L",u,l?Math.round(n?r.yBottom:r.plotHigh):s],["M",u,a],["L",u,c?Math.round(n?r.plotHigh:r.yBottom):a]),f[p?"attr":"animate"]({d}).addClass(r.getClassName(),!0)}}}}return a.defaultOptions=s(i.defaultOptions,{tooltip:i.defaultOptions.tooltip},t),e.registerSeriesType("candlestick",a),a})),n(e,"Series/Flags/FlagsPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e){let{column:{prototype:{pointClass:n}}}=t.seriesTypes,{isNumber:r}=e;return class extends n{constructor(){super(...arguments),this.ttBelow=!1}isValid(){return r(this.y)||void 0===this.y}hasNewShapeType(){let t=this.options.shape||this.series.options.shape;return this.graphic&&t&&t!==this.graphic.symbolKey}}})),n(e,"Series/Flags/FlagsSeriesDefaults.js",[],(function(){return{borderRadius:0,pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd3ff"}},style:{fontSize:"0.7em",fontWeight:"bold"}}})),n(e,"Series/Flags/FlagsSymbols.js",[e["Core/Renderer/RendererRegistry.js"]],(function(t){var e;return function(e){let n=[];function r(t,e,n,r,i){let o=i&&i.anchorX||t,s=i&&i.anchorY||e,a=this.circle(o-1,s-1,2,2);return a.push(["M",o,s],["L",t,e+r],["L",t,e],["L",t+n,e],["L",t+n,e+r],["L",t,e+r],["Z"]),a}function i(t,e){t[e+"pin"]=function(n,r,i,o,s){let a,l=s&&s.anchorX,c=s&&s.anchorY;if("circle"===e&&o>i&&(n-=Math.round((o-i)/2),i=o),a=t[e](n,r,i,o,s),l&&c){let s=l;if("circle"===e)s=n+i/2;else{let t=a[0],e=a[1];"M"===t[0]&&"L"===e[0]&&(s=(t[1]+e[1])/2)}let u=r>c?r:r+o;a.push(["M",s,u],["L",l,c]),a=a.concat(t.circle(l-1,c-1,2,2))}return a}}e.compose=function(e){if(-1===n.indexOf(e)){n.push(e);let t=e.prototype.symbols;t.flag=r,i(t,"circle"),i(t,"square")}let o=t.getRendererType();n.indexOf(o)&&n.push(o)}}(e||(e={})),e})),n(e,"Series/OnSeriesComposition.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(t,e,n,r){var i;let{composed:o}=e,{prototype:s}=t,{prototype:a}=n,{defined:l,pushUnique:c,stableSort:u}=r;return function(t){function e(t){return a.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this,t)}function n(){s.translate.apply(this);let t,e,n,r,i,o,a,c=this,d=c.options,h=c.chart,f=c.points,p=d.onSeries,m=p&&h.get(p),g=m&&m.options.step,v=m&&m.points,b=h.inverted,y=c.xAxis,x=c.yAxis,w=f.length-1,k=d.onKey||"y",_=v&&v.length,S=0;if(m&&m.visible&&_)for(S=(m.pointXOffset||0)+(m.barW||0)/2,o=m.currentDataGrouping,r=v[_-1].x+(o?o.totalRange:0),u(f,((t,e)=>t.x-e.x)),k="plot"+k[0].toUpperCase()+k.substr(1);_--&&f[w];)if(n=v[_],(t=f[w]).y=n.y,n.x<=t.x&&void 0!==n[k]){if(t.x<=r&&(t.plotY=n[k],n.x<t.x&&!g&&(i=v[_+1])&&void 0!==i[k]))if(l(t.plotX)&&m.is("spline")){let e,r=[n.plotX||0,n.plotY||0],o=[i.plotX||0,i.plotY||0],s=n.controlPoints?.high||r,a=i.controlPoints?.low||o,c=(t,e)=>Math.pow(1-t,3)*r[e]+3*(1-t)*(1-t)*t*s[e]+3*(1-t)*t*t*a[e]+t*t*t*o[e],u=0,d=1;for(let n=0;n<100;n++){let n=(u+d)/2,r=c(n,0);if(null===r)break;if(.25>Math.abs(r-t.plotX)){e=n;break}r<t.plotX?u=n:d=n}l(e)&&(t.plotY=c(e,1),t.y=x.toValue(t.plotY,!0))}else a=(t.x-n.x)/(i.x-n.x),t.plotY+=a*(i[k]-n[k]),t.y+=a*(i.y-n.y);if(w--,_++,w<0)break}f.forEach(((t,n)=>{let r;t.plotX+=S,(void 0===t.plotY||b)&&(t.plotX>=0&&t.plotX<=y.len?b?(t.plotY=y.translate(t.x,0,1,0,1),t.plotX=l(t.y)?x.translate(t.y,0,0,0,1):0):t.plotY=(y.opposite?0:c.yAxis.len)+y.offset:t.shapeArgs={}),(e=f[n-1])&&e.plotX===t.plotX&&(void 0===e.stackIndex&&(e.stackIndex=0),r=e.stackIndex+1),t.stackIndex=r})),this.onSeries=m}t.compose=function(t){if(c(o,"OnSeries")){let r=t.prototype;r.getPlotBox=e,r.translate=n}return t},t.getPlotBox=e,t.translate=n}(i||(i={})),i})),n(e,"Series/Flags/FlagsSeries.js",[e["Series/Flags/FlagsPoint.js"],e["Series/Flags/FlagsSeriesDefaults.js"],e["Series/Flags/FlagsSymbols.js"],e["Core/Globals.js"],e["Series/OnSeriesComposition.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o,s,a,l){let{noop:c}=r,{distribute:u}=o,{series:d,seriesTypes:{column:h}}=s,{addEvent:f,defined:p,extend:m,isNumber:g,merge:v,objectEach:b,wrap:y}=l;class x extends h{animate(t){t&&this.setClip()}drawPoints(){let t,e,n,r,i,o,s,l,c,d,h,f=this.points,m=this.chart,x=m.renderer,w=m.inverted,k=this.options,_=k.y,S=this.yAxis,O={},M=[],C=g(k.borderRadius)?k.borderRadius:0;for(r=f.length;r--;)i=f[r],d=(w?i.plotY:i.plotX)>this.xAxis.len,t=i.plotX,s=i.stackIndex,n=i.options.shape||k.shape,void 0!==(e=i.plotY)&&(e=i.plotY+_-(void 0!==s&&s*k.stackDistance)),i.anchorX=s?void 0:i.plotX,l=s?void 0:i.plotY,h="flag"!==n,o=i.graphic,void 0!==e&&t>=0&&!d?(o&&i.hasNewShapeType()&&(o=o.destroy()),o||(o=i.graphic=x.label("",0,void 0,n,void 0,void 0,k.useHTML).addClass("highcharts-point").add(this.markerGroup),i.graphic.div&&(i.graphic.div.point=i),o.isNew=!0),o.attr({align:h?"center":"left",width:k.width,height:k.height,"text-align":k.textAlign,r:C}),m.styledMode||o.attr(this.pointAttribs(i)).css(v(k.style,i.style)).shadow(k.shadow),t>0&&(t-=o.strokeWidth()%2),c={y:e,anchorY:l},k.allowOverlapX&&(c.x=t,c.anchorX=i.anchorX),o.attr({text:i.options.title??k.title??"A"})[o.isNew?"attr":"animate"](c),k.allowOverlapX||(O[i.plotX]?O[i.plotX].size=Math.max(O[i.plotX].size,o.width||0):O[i.plotX]={align:h?.5:0,size:o.width||0,target:t,anchorX:t}),i.tooltipPos=[t,e+S.pos-m.plotTop]):o&&(i.graphic=o.destroy());if(!k.allowOverlapX){let t=100;for(let e of(b(O,(function(e){e.plotX=e.anchorX,M.push(e),t=Math.max(e.size,t)})),u(M,w?S.len:this.xAxis.len,t),f)){let t=e.plotX,n=e.graphic,r=n&&O[t];r&&n&&(p(r.pos)?n[n.isNew?"attr":"animate"]({x:r.pos+(r.align||0)*r.size,anchorX:e.anchorX}).show().isNew=!1:n.hide().isNew=!0)}}k.useHTML&&this.markerGroup&&y(this.markerGroup,"on",(function(t){return a.prototype.on.apply(t.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))}))}drawTracker(){let t=this.points;for(let e of(super.drawTracker(),t)){let n=e.graphic;n&&(e.unbindMouseOver&&e.unbindMouseOver(),e.unbindMouseOver=f(n.element,"mouseover",(function(){for(let r of(e.stackIndex>0&&!e.raised&&(e._y=n.y,n.attr({y:e._y-8}),e.raised=!0),t))r!==e&&r.raised&&r.graphic&&(r.graphic.attr({y:r._y}),r.raised=!1)})))}}pointAttribs(t,e){let n=this.options,r=t&&t.color||this.color,i=n.lineColor,o=t&&t.lineWidth,s=t&&t.fillColor||n.fillColor;return e&&(s=n.states[e].fillColor,i=n.states[e].lineColor,o=n.states[e].lineWidth),{fill:s||r,stroke:i||r,"stroke-width":o||n.lineWidth||0}}setClip(){d.prototype.setClip.apply(this,arguments),!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])}}return x.compose=n.compose,x.defaultOptions=v(h.defaultOptions,e),i.compose(x),m(x.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:t,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:c,init:d.prototype.init}),s.registerSeriesType("flags",x),x})),n(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],(function(t,e){var n;let{addEvent:r,find:i,fireEvent:o,isArray:s,isNumber:a,pick:l}=e;return function(e){function n(){void 0!==this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function c(){this.brokenAxis?.hasBreaks&&(this.options.ordinal=!1)}function u(){let t=this.brokenAxis;if(t?.hasBreaks){let e=this.tickPositions,n=this.tickPositions.info,r=[];for(let n=0;n<e.length;n++)t.isInAnyBreak(e[n])||r.push(e[n]);this.tickPositions=r,this.tickPositions.info=n}}function d(){this.brokenAxis||(this.brokenAxis=new g(this))}function h(){let{isDirty:t,options:{connectNulls:e},points:n,xAxis:r,yAxis:i}=this;if(t){let t=n.length;for(;t--;){let o=n[t],s=!(null===o.y&&!1===e)&&(r?.brokenAxis?.isInAnyBreak(o.x,!0)||i?.brokenAxis?.isInAnyBreak(o.y,!0));o.visible=!s&&!1!==o.options.visible}}}function f(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,l(this.pointArrayMap,["y"]))}function p(t,e){let n,r,i,s=this,c=s.points;if(t?.brokenAxis?.hasBreaks){let u=t.brokenAxis;e.forEach((function(e){n=u?.breakArray||[],r=t.isXAxis?t.min:l(s.options.threshold,t.min);let d=t?.options?.breaks?.filter((function(t){let e=!0;for(let r=0;r<n.length;r++){let i=n[r];if(i.from===t.from&&i.to===t.to){e=!1;break}}return e}));c.forEach((function(s){i=l(s["stack"+e.toUpperCase()],s[e]),n.forEach((function(e){if(a(r)&&a(i)){let n="";r<e.from&&i>e.to||r>e.from&&i<e.from?n="pointBreak":(r<e.from&&i>e.from&&i<e.to||r>e.from&&i>e.to&&i<e.from)&&(n="pointInBreak"),n&&o(t,n,{point:s,brk:e})}})),d?.forEach((function(e){o(t,"pointOutsideOfBreak",{point:s,brk:e})}))}))}))}}function m(){let e=this.currentDataGrouping,n=e?.gapSize,r=this.points.slice(),i=this.yAxis,o=this.options.gapSize,s=r.length-1;if(o&&s>0){let e,a;for("value"!==this.options.gapUnit&&(o*=this.basePointRange),n&&n>o&&n>=this.basePointRange&&(o=n);s--;)if(a&&!1!==a.visible||(a=r[s+1]),e=r[s],!1!==a.visible&&!1!==e.visible){if(a.x-e.x>o){let n=(e.x+a.x)/2;r.splice(s+1,0,{isNull:!0,x:n}),i.stacking&&this.options.stacking&&((i.stacking.stacks[this.stackKey][n]=new t(i,i.options.stackLabels,!1,n,this.stack)).total=0)}a=e}}return this.getGraphPath(r)}e.compose=function(t,e){if(!t.keepProps.includes("brokenAxis")){t.keepProps.push("brokenAxis"),r(t,"init",d),r(t,"afterInit",n),r(t,"afterSetTickPositions",u),r(t,"afterSetOptions",c);let i=e.prototype;i.drawBreaks=p,i.gappedPath=m,r(e,"afterGeneratePoints",h),r(e,"afterRender",f)}return t};class g{static isInBreak(t,e){let n=t.repeat||1/0,r=t.from,i=t.to-t.from,o=e>=r?(e-r)%n:n-(r-e)%n;return t.inclusive?o<=i:o<i&&0!==o}static lin2Val(t){let e=this.brokenAxis,n=e&&e.breakArray;if(!n||!a(t))return t;let r,i,o=t;for(i=0;i<n.length&&!((r=n[i]).from>=o);i++)(r.to<o||g.isInBreak(r,o))&&(o+=r.len);return o}static val2Lin(t){let e=this.brokenAxis,n=e&&e.breakArray;if(!n||!a(t))return t;let r,i,o=t;for(i=0;i<n.length;i++)if((r=n[i]).to<=t)o-=r.len;else{if(r.from>=t)break;if(g.isInBreak(r,t)){o-=t-r.from;break}}return o}constructor(t){this.hasBreaks=!1,this.axis=t}findBreakAt(t,e){return i(e,(function(e){return e.from<t&&t<e.to}))}isInAnyBreak(t,e){let n,r,i,o=this.axis,s=o.options.breaks||[],c=s.length;if(c&&a(t)){for(;c--;)g.isInBreak(s[c],t)&&(n=!0,r||(r=l(s[c].showPoints,!o.isXAxis)));i=n&&e?n&&!r:n}return i}setBreaks(t,e){let n=this,r=n.axis,i=s(t)&&!!t.length&&!!Object.keys(t[0]).length;r.isDirty=n.hasBreaks!==i,n.hasBreaks=i,t!==r.options.breaks&&(r.options.breaks=r.userOptions.breaks=t),r.forceRedraw=!0,r.series.forEach((function(t){t.isDirty=!0})),i||r.val2lin!==g.val2Lin||(delete r.val2lin,delete r.lin2val),i&&(r.userOptions.ordinal=!1,r.lin2val=g.lin2Val,r.val2lin=g.val2Lin,r.setExtremes=function(t,e,i,o,s){if(n.hasBreaks){let r,i=this.options.breaks||[];for(;r=n.findBreakAt(t,i);)t=r.to;for(;r=n.findBreakAt(e,i);)e=r.from;e<t&&(e=t)}r.constructor.prototype.setExtremes.call(this,t,e,i,o,s)},r.setAxisTranslation=function(){if(r.constructor.prototype.setAxisTranslation.call(this),n.unitLength=void 0,n.hasBreaks){let t,e,i,s,c=r.options.breaks||[],u=[],d=[],h=l(r.pointRangePadding,0),f=0,p=r.userMin||r.min,m=r.userMax||r.max;c.forEach((function(t){e=t.repeat||1/0,a(p)&&a(m)&&(g.isInBreak(t,p)&&(p+=t.to%e-p%e),g.isInBreak(t,m)&&(m-=m%e-t.from%e))})),c.forEach((function(t){if(i=t.from,e=t.repeat||1/0,a(p)&&a(m)){for(;i-e>p;)i-=e;for(;i<p;)i+=e;for(s=i;s<m;s+=e)u.push({value:s,move:"in"}),u.push({value:s+t.to-t.from,move:"out",size:t.breakSize})}})),u.sort((function(t,e){return t.value===e.value?("in"===t.move?0:1)-("in"===e.move?0:1):t.value-e.value})),t=0,i=p,u.forEach((function(e){1===(t+="in"===e.move?1:-1)&&"in"===e.move&&(i=e.value),0===t&&a(i)&&(d.push({from:i,to:e.value,len:e.value-i-(e.size||0)}),f+=e.value-i-(e.size||0))})),n.breakArray=d,a(p)&&a(m)&&a(r.min)&&(n.unitLength=m-p-f+h,o(r,"afterBreaks"),r.staticScale?r.transA=r.staticScale:n.unitLength&&(r.transA*=(m-r.min+h)/n.unitLength),h&&(r.minPixelPadding=r.transA*(r.minPointOffset||0)),r.min=p,r.max=m)}}),l(e,!0)&&r.chart.redraw()}}e.Additions=g}(n||(n={})),n})),n(e,"masters/modules/broken-axis.src.js",[e["Core/Globals.js"],e["Core/Axis/BrokenAxis.js"]],(function(t,e){return t.BrokenAxis=t.BrokenAxis||e,t.BrokenAxis.compose(t.Axis,t.Series),t})),n(e,"Extensions/DataGrouping/ApproximationRegistry.js",[],(function(){return{}})),n(e,"Extensions/DataGrouping/ApproximationDefaults.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Core/Utilities.js"]],(function(t,e){let{arrayMax:n,arrayMin:r,correctFloat:i,extend:o,isNumber:s}=e;function a(t){let e=t.length,n=l(t);return s(n)&&e&&(n=i(n/e)),n}function l(t){let e,n=t.length;if(!n&&t.hasNulls)e=null;else if(n)for(e=0;n--;)e+=t[n];return e}let c={average:a,averages:function(){let t=[];return[].forEach.call(arguments,(function(e){t.push(a(e))})),void 0===t[0]?void 0:t},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},high:function(t){return t.length?n(t):t.hasNulls?null:void 0},hlc:function(e,n,r){if(e=t.high(e),n=t.low(n),r=t.close(r),s(e)||s(n)||s(r))return[e,n,r]},low:function(t){return t.length?r(t):t.hasNulls?null:void 0},ohlc:function(e,n,r,i){if(e=t.open(e),n=t.high(n),r=t.low(r),i=t.close(i),s(e)||s(n)||s(r)||s(i))return[e,n,r,i]},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},range:function(e,n){return e=t.low(e),n=t.high(n),s(e)||s(n)?[e,n]:null===e&&null===n?null:void 0},sum:l};return o(t,c),c})),n(e,"Extensions/DataGrouping/DataGroupingDefaults.js",[],(function(){return{common:{groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %e %b, %H:%M:%S.%L","%A, %e %b, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %e %b, %H:%M:%S","%A, %e %b, %H:%M:%S","-%H:%M:%S"],minute:["%A, %e %b, %H:%M","%A, %e %b, %H:%M","-%H:%M"],hour:["%A, %e %b, %H:%M","%A, %e %b, %H:%M","-%H:%M"],day:["%A, %e %b %Y","%A, %e %b","-%A, %e %b %Y"],week:["Week from %A, %e %b %Y","%A, %e %b","-%A, %e %b %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},seriesSpecific:{line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]]}})),n(e,"Extensions/DataGrouping/DataGroupingAxisComposition.js",[e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Utilities.js"]],(function(t,e){let n,{addEvent:r,extend:i,merge:o,pick:s}=e;function a(t){let e=this,n=e.series;n.forEach((function(t){t.groupPixelWidth=void 0})),n.forEach((function(n){n.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),n.groupPixelWidth&&(n.hasProcessed=!0),n.applyGrouping(!!t.hasExtremesChanged)}))}function l(){let e,n,r=this.series,i=r.length,o=0,a=!1;for(;i--;)(n=r[i].options.dataGrouping)&&(o=Math.max(o,s(n.groupPixelWidth,t.common.groupPixelWidth)),e=(r[i].processedXData||r[i].data).length,(r[i].groupPixelWidth||e>this.chart.plotSizeX/o||e&&n.forced)&&(a=!0));return a?o:0}function c(){this.series.forEach((function(t){t.hasProcessed=!1}))}function u(t,e){let r;if(e=s(e,!0),t||(t={forced:!1,units:null}),this instanceof n)for(r=this.series.length;r--;)this.series[r].update({dataGrouping:t},!1);else this.chart.options.series.forEach((function(e){e.dataGrouping="boolean"==typeof t?t:o(t,e.dataGrouping)}));this.ordinal&&(this.ordinal.slope=void 0),e&&this.chart.redraw()}return{compose:function(t){n=t;let e=t.prototype;e.applyGrouping||(r(t,"afterSetScale",c),r(t,"postProcessData",a),i(e,{applyGrouping:a,getGroupPixelWidth:l,setDataGrouping:u}))}}})),n(e,"Extensions/DataGrouping/DataGroupingSeriesComposition.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Defaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o){let{series:{prototype:s}}=i,{addEvent:a,defined:l,error:c,extend:u,isNumber:d,merge:h,pick:f}=o,p=s.generatePoints;function m(t){var r;let i,o,a,u,h=this.chart,p=this.options.dataGrouping,m=!1!==this.allowDG&&p&&f(p.enabled,h.options.isStock),g=this.reserveSpace(),v=this.currentDataGrouping,b=!1;m&&!this.requireSorting&&(this.requireSorting=b=!0);let y=0==!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!m;if(b&&(this.requireSorting=!1),y)return;this.destroyGroupedData();let x=p.groupAll?this.xData:this.processedXData,w=p.groupAll?this.yData:this.processedYData,k=h.plotSizeX,_=this.xAxis,S=_.options.ordinal,O=this.groupPixelWidth;if(O&&x&&x.length&&k){o=!0,this.isDirty=!0,this.points=null;let t=_.getExtremes(),f=t.min,m=t.max,v=O*(m-f)/k*(S&&_.ordinal&&_.ordinal.getGroupIntervalFactor(f,m,this)||1),b=_.getTimeTicks(n.Additions.prototype.normalizeTimeTickInterval(v,p.units||e.units),Math.min(f,x[0]),Math.max(m,x[x.length-1]),_.options.startOfWeek,x,this.closestPointRange),y=s.groupData.apply(this,[x,w,b,p.approximation]),M=y.groupedXData,C=y.groupedYData,A=0;for(p&&p.smoothed&&M.length&&(p.firstAnchor="firstPoint",p.anchor="middle",p.lastAnchor="lastPoint",c(32,!1,h,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),i=1;i<b.length;i++)b.info.segmentStarts&&-1!==b.info.segmentStarts.indexOf(i)||(A=Math.max(b[i]-b[i-1],A));(a=b.info).gapSize=A,this.closestPointRange=b.info.totalRange,this.groupMap=y.groupMap,this.currentDataGrouping=a,function(t,e,n){let r=t.options.dataGrouping,i=t.currentDataGrouping&&t.currentDataGrouping.gapSize;if(!(r&&t.xData&&i&&t.groupMap))return;let o=e.length-1,s=r.anchor,a=r.firstAnchor,l=r.lastAnchor,c=e.length-1,u=0;if(a&&t.xData[0]>=e[0]){let n;u++;let r=t.groupMap[0].start,o=t.groupMap[0].length;d(r)&&d(o)&&(n=r+(o-1)),e[0]={start:e[0],middle:e[0]+.5*i,end:e[0]+i,firstPoint:t.xData[0],lastPoint:n&&t.xData[n]}[a]}if(o>0&&l&&i&&e[o]>=n-i){c--;let n=t.groupMap[t.groupMap.length-1].start;e[o]={start:e[o],middle:e[o]+.5*i,end:e[o]+i,firstPoint:n&&t.xData[n],lastPoint:t.xData[t.xData.length-1]}[l]}if(s&&"start"!==s){let t=i*{middle:.5,end:1}[s];for(;c>=u;)e[c]+=t,c--}}(this,M,m),g&&(l((r=M)[0])&&d(_.min)&&d(_.dataMin)&&r[0]<_.min&&((!l(_.options.min)&&_.min<=_.dataMin||_.min===_.dataMin)&&(_.min=Math.min(r[0],_.min)),_.dataMin=Math.min(r[0],_.dataMin)),l(r[r.length-1])&&d(_.max)&&d(_.dataMax)&&r[r.length-1]>_.max&&((!l(_.options.max)&&d(_.dataMax)&&_.max>=_.dataMax||_.max===_.dataMax)&&(_.max=Math.max(r[r.length-1],_.max)),_.dataMax=Math.max(r[r.length-1],_.dataMax))),p.groupAll&&(this.allGroupedData=C,M=(u=this.cropData(M,C,_.min,_.max)).xData,C=u.yData,this.cropStart=u.start),this.processedXData=M,this.processedYData=C}else this.groupMap=null,this.currentDataGrouping=void 0;this.hasGroupedData=o,this.preventGraphAnimation=(v&&v.totalRange)!==(a&&a.totalRange)}function g(){this.groupedData&&(this.groupedData.forEach((function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)}),this),this.groupedData.length=0,delete this.allGroupedData)}function v(){p.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function b(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")||this.options.cumulative?"sum":"average"}function y(e,n,r,i){let o,s,a,c=this,u=c.data,f=c.options&&c.options.data,p=[],m=[],g=[],v=e.length,b=!!n,y=[],x=c.pointArrayMap,w=x&&x.length,k=["x"].concat(x||["y"]),_=this.options.dataGrouping&&this.options.dataGrouping.groupAll,S=0,O=0,M="function"==typeof i?i:i&&t[i]?t[i]:t[c.getDGApproximation&&c.getDGApproximation()||"average"];if(w){let t=x.length;for(;t--;)y.push([])}else y.push([]);let C=w||1;for(let t=0;t<=v;t++)if(!(e[t]<r[0])){for(;void 0!==r[S+1]&&e[t]>=r[S+1]||t===v;){o=r[S],c.dataGroupInfo={start:_?O:c.cropStart+O,length:y[0].length,groupStart:o},a=M.apply(c,y),c.pointClass&&!l(c.dataGroupInfo.options)&&(c.dataGroupInfo.options=h(c.pointClass.prototype.optionsToObject.call({series:c},c.options.data[c.cropStart+O])),k.forEach((function(t){delete c.dataGroupInfo.options[t]}))),void 0!==a&&(p.push(o),m.push(a),g.push(c.dataGroupInfo)),O=t;for(let t=0;t<C;t++)y[t].length=0,y[t].hasNulls=!1;if(S+=1,t===v)break}if(t===v)break;if(x){let e,n=c.options.dataGrouping&&c.options.dataGrouping.groupAll?t:c.cropStart+t,r=u&&u[n]||c.pointClass.prototype.applyOptions.apply({series:c},[f[n]]);for(let t=0;t<w;t++)d(e=r[x[t]])?y[t].push(e):null===e&&(y[t].hasNulls=!0)}else d(s=b?n[t]:null)?y[0].push(s):null===s&&(y[0].hasNulls=!0)}return{groupedXData:p,groupedYData:m,groupMap:g}}function x(t){let n=t.options,i=this.type,o=this.chart.options.plotOptions,s=this.useCommonDataGrouping&&e.common,a=e.seriesSpecific,l=r.defaultOptions.plotOptions[i].dataGrouping;if(o&&(a[i]||s)){let t=this.chart.rangeSelector;l||(l=h(e.common,a[i])),n.dataGrouping=h(s,l,o.series&&o.series.dataGrouping,o[i].dataGrouping,this.userOptions.dataGrouping,!n.isInternal&&t&&d(t.selected)&&t.buttonOptions[t.selected].dataGrouping)}}return{compose:function(t){let e=t.prototype;e.applyGrouping||(a(t.prototype.pointClass,"update",(function(){if(this.dataGroup)return c(24,!1,this.series.chart),!1})),a(t,"afterSetOptions",x),a(t,"destroy",g),u(e,{applyGrouping:m,destroyGroupedData:g,generatePoints:v,getDGApproximation:b,groupData:y}))},groupData:y}})),n(e,"Extensions/DataGrouping/DataGrouping.js",[e["Extensions/DataGrouping/DataGroupingAxisComposition.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Extensions/DataGrouping/DataGroupingSeriesComposition.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],(function(t,e,n,r,i,o){let{format:s}=r,{composed:a}=i,{addEvent:l,extend:c,isNumber:u,pick:d,pushUnique:h}=o;function f(t){let n,r,i,o,a,l=this.chart,h=l.time,f=t.labelConfig,p=f.series,m=f.point,g=p.options,v=p.tooltipOptions,b=g.dataGrouping,y=p.xAxis,x=v.xDateFormat,w=v[t.isFooter?"footerFormat":"headerFormat"];if(y&&"datetime"===y.options.type&&b&&u(f.key)){r=p.currentDataGrouping,i=b.dateTimeLabelFormats||e.common.dateTimeLabelFormats,r?(o=i[r.unitName],1===r.count?x=o[0]:(x=o[1],n=o[2])):!x&&i&&y.dateTime&&(x=y.dateTime.getXDateFormat(f.x,v.dateTimeLabelFormats));let u=d(p.groupMap?.[m.index].groupStart,f.key),g=u+r?.totalRange-1;a=h.dateFormat(x,u),n&&(a+=h.dateFormat(n,g)),p.chart.styledMode&&(w=this.styledModeFormat(w)),t.text=s(w,{point:c(f.point,{key:a}),series:p},l),t.preventDefault()}}return{compose:function(e,r,i){t.compose(e),n.compose(r),i&&h(a,"DataGrouping")&&l(i,"headerFormatter",f)},groupData:n.groupData}})),n(e,"masters/modules/datagrouping.src.js",[e["Core/Globals.js"],e["Extensions/DataGrouping/ApproximationDefaults.js"],e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGrouping.js"]],(function(t,e,n,r){return t.dataGrouping=t.dataGrouping||{},t.dataGrouping.approximationDefaults=t.dataGrouping.approximationDefaults||e,t.dataGrouping.approximations=t.dataGrouping.approximations||n,r.compose(t.Axis,t.Series,t.Tooltip),t})),n(e,"Extensions/Annotations/NavigationBindingsUtilities.js",[e["Core/Utilities.js"]],(function(t){let{defined:e,isNumber:n,pick:r}=t,i={backgroundColor:"string",borderColor:"string",borderRadius:"string",color:"string",fill:"string",fontSize:"string",labels:"string",name:"string",stroke:"string",title:"string"};return{annotationsFieldsTypes:i,getAssignedAxis:function(t){return t.filter((t=>{let e=t.axis.getExtremes(),i=e.min,o=e.max,s=r(t.axis.minPointOffset,0);return n(i)&&n(o)&&t.value>=i-s&&t.value<=o+s&&!t.axis.options.isInternal}))[0]},getFieldType:function(t,n){let r=i[t],o=typeof n;return e(r)&&(o=r),{string:"text",number:"number",boolean:"checkbox"}[o]}}})),n(e,"Extensions/MouseWheelZoom/MouseWheelZoom.js",[e["Core/Utilities.js"],e["Extensions/Annotations/NavigationBindingsUtilities.js"]],(function(t,e){let n,{addEvent:r,isObject:i,pick:o,defined:s,merge:a}=t,{getAssignedAxis:l}=e,c=[],u={enabled:!0,sensitivity:1.1},d=function(t,e,r,i,a,l,c){let u=o(c.type,t.zooming.type,""),d=[];"x"===u?d=r:"y"===u?d=i:"xy"===u&&(d=t.axes);let h=t.transform({axes:d,to:{x:a-5,y:l-5,width:10,height:10},from:{x:a-5*e,y:l-5*e,width:10*e,height:10*e},trigger:"mousewheel"});return h&&(s(n)&&clearTimeout(n),n=setTimeout((()=>{t.pointer?.drop()}),400)),h};function h(){let t=(t=>(i(t)||(t={enabled:t??!0}),a(u,t)))(this.zooming.mouseWheel);t.enabled&&r(this.container,"wheel",(e=>{e=this.pointer?.normalize(e)||e;let{pointer:n}=this,r=n&&!n.inClass(e.target,"highcharts-no-mousewheel");if(this.isInsidePlot(e.chartX-this.plotLeft,e.chartY-this.plotTop)&&r){let r=t.sensitivity||1.1,i=e.detail||(e.deltaY||0)/120,o=l(n.getCoordinates(e).xAxis),s=l(n.getCoordinates(e).yAxis);d(this,Math.pow(r,i),o?[o.axis]:this.xAxis,s?[s.axis]:this.yAxis,e.chartX,e.chartY,t)&&e.preventDefault?.()}}))}return{compose:function(t){-1===c.indexOf(t)&&(c.push(t),r(t,"afterGetContainer",h))}}})),n(e,"masters/modules/mouse-wheel-zoom.src.js",[e["Core/Globals.js"],e["Extensions/MouseWheelZoom/MouseWheelZoom.js"]],(function(t,e){return t.MouseWheelZoom=t.MouseWheelZoom||e,t.MouseWheelZoom.compose(t.Chart),t})),n(e,"masters/modules/stock.src.js",[e["Core/Globals.js"],e["Series/DataModifyComposition.js"],e["Stock/Navigator/Navigator.js"],e["Core/Axis/OrdinalAxis.js"],e["Stock/RangeSelector/RangeSelector.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Chart/StockChart.js"],e["Series/OHLC/OHLCSeries.js"],e["Series/Flags/FlagsSeries.js"]],(function(t,e,n,r,i,o,s,a,l){return t.Navigator=t.Navigator||n,t.OrdinalAxis=t.OrdinalAxis||r,t.RangeSelector=t.RangeSelector||i,t.Scrollbar=t.Scrollbar||o,t.stockChart=t.stockChart||s.stockChart,t.StockChart=t.StockChart||t.stockChart,t.extend(t.StockChart,s),e.compose(t.Series,t.Axis,t.Point),l.compose(t.Renderer),a.compose(t.Series),t.Navigator.compose(t.Chart,t.Axis,t.Series),t.OrdinalAxis.compose(t.Axis,t.Series,t.Chart),t.RangeSelector.compose(t.Axis,t.Chart),t.Scrollbar.compose(t.Axis),t.StockChart.compose(t.Chart,t.Axis,t.Series,t.SVGRenderer),t})),n(e,"masters/highstock.src.js",[e["masters/highcharts.src.js"]],(function(t){return t.product="Highstock",t})),e["masters/highstock.src.js"]._modules=e,e["masters/highstock.src.js"]},t.exports?(o.default=o,t.exports=i&&i.document?o(i):o):void 0===(r=function(){return o(i)}.call(e,n,e,t))||(t.exports=r)},71467:(t,e,n)=>{var r,i,o;o=function(t){"use strict";var e=t?t._modules:{};function n(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}n(e,"Extensions/NoDataToDisplay/NoDataDefaults.js",[],(function(){return{lang:{noData:"No data to display"},noData:{attr:{zIndex:1},position:{x:0,y:0,align:"center",verticalAlign:"middle"},style:{fontWeight:"bold",fontSize:"0.8em",color:"#666666"}}}})),n(e,"Extensions/NoDataToDisplay/NoDataToDisplay.js",[e["Core/Renderer/HTML/AST.js"],e["Extensions/NoDataToDisplay/NoDataDefaults.js"],e["Core/Utilities.js"]],(function(t,e,n){let{addEvent:r,extend:i,merge:o}=n;function s(){let t=this.series||[],e=t.length;for(;e--;)if(t[e].hasData()&&!t[e].options.isInternal)return!0;return this.loadingShown}function a(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())}function l(e){let n=this.options,r=e||n&&n.lang.noData||"",o=n&&(n.noData||{});this.renderer&&(this.noDataLabel||(this.noDataLabel=this.renderer.label(r,0,0,void 0,void 0,void 0,o.useHTML,void 0,"no-data").add()),this.styledMode||this.noDataLabel.attr(t.filterUserAttributes(o.attr||{})).css(o.style||{}),this.noDataLabel.align(i(this.noDataLabel.getBBox(),o.position||{}),!1,"plotBox"))}function c(){this.hasData()?this.hideNoData():this.showNoData()}return{compose:function(t,n){let i=t.prototype;i.showNoData||(i.hasData=s,i.hideNoData=a,i.showNoData=l,r(t,"render",c),o(!0,n,e))}}})),n(e,"masters/modules/no-data-to-display.src.js",[e["Core/Globals.js"],e["Extensions/NoDataToDisplay/NoDataToDisplay.js"]],(function(t,e){return e.compose(t.Chart,t.defaultOptions),t}))},t.exports?(o.default=o,t.exports=o):(r=[n(79807)],void 0===(i=function(t){return o(t),o.Highcharts=t,o}.apply(e,r))||(t.exports=i))},5275:(t,e)=>{e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,f=t[e+d];for(d+=h,o=f&(1<<-u)-1,f>>=-u,u+=a;u>0;o=256*o+t[e+d],d+=h,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+t[e+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),(e+=s+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(e*l-1)*Math.pow(2,i),s+=d):(a=e*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;t[n+f]=255&a,f+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[n+f]=255&s,f+=p,s/=256,c-=8);t[n+f-p]|=128*m}},52826:t=>{var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},44002:(t,e,n)=>{var r="Expected a function",i=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,f=d||h||Function("return this")(),p=Object.prototype.toString,m=Math.max,g=Math.min,v=function(){return f.Date.now()};function b(t,e,n){var i,o,s,a,l,c,u=0,d=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(r);function p(e){var n=i,r=o;return i=o=void 0,u=e,a=t.apply(r,n)}function b(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=s}function w(){var t=v();if(b(t))return k(t);l=setTimeout(w,function(t){var n=e-(t-c);return h?g(n,s-(t-u)):n}(t))}function k(t){return l=void 0,f&&i?p(t):(i=o=void 0,a)}function _(){var t=v(),n=b(t);if(i=arguments,o=this,c=t,n){if(void 0===l)return function(t){return u=t,l=setTimeout(w,e),d?p(t):a}(c);if(h)return l=setTimeout(w,e),p(c)}return void 0===l&&(l=setTimeout(w,e)),a}return e=x(e)||0,y(n)&&(d=!!n.leading,s=(h="maxWait"in n)?m(x(n.maxWait)||0,e):s,f="trailing"in n?!!n.trailing:f),_.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},_.flush=function(){return void 0===l?a:k(v())},_}function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function x(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&p.call(t)==o}(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(s,"");var n=l.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?i:+t}t.exports=function(t,e,n){var i=!0,o=!0;if("function"!=typeof t)throw new TypeError(r);return y(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),b(t,e,{leading:i,maxWait:e,trailing:o})}},53441:(t,e,n)=>{var r=n(49869).Symbol;t.exports=r},69032:(t,e,n)=>{var r=n(53441),i=n(45619),o=n(13430),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},37296:(t,e,n)=>{var r=n(84856),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},1112:(t,e,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},45619:(t,e,n)=>{var r=n(53441),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=s.call(t);return r&&(e?t[a]=n:delete t[a]),i}},13430:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},49869:(t,e,n)=>{var r=n(1112),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},84856:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},6413:(t,e,n)=>{var r=n(44381),i=n(48972),o=n(34766),s=Math.max,a=Math.min;t.exports=function(t,e,n){var l,c,u,d,h,f,p=0,m=!1,g=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(e){var n=l,r=c;return l=c=void 0,p=e,d=t.apply(r,n)}function y(t){var n=t-f;return void 0===f||n>=e||n<0||g&&t-p>=u}function x(){var t=i();if(y(t))return w(t);h=setTimeout(x,function(t){var n=e-(t-f);return g?a(n,u-(t-p)):n}(t))}function w(t){return h=void 0,v&&l?b(t):(l=c=void 0,d)}function k(){var t=i(),n=y(t);if(l=arguments,c=this,f=t,n){if(void 0===h)return function(t){return p=t,h=setTimeout(x,e),m?b(t):d}(f);if(g)return clearTimeout(h),h=setTimeout(x,e),b(f)}return void 0===h&&(h=setTimeout(x,e)),d}return e=o(e)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?s(o(n.maxWait)||0,e):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==h&&clearTimeout(h),p=0,l=f=c=h=void 0},k.flush=function(){return void 0===h?d:w(i())},k}},44381:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},30394:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},57130:(t,e,n)=>{var r=n(69032),i=n(30394);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},12143:function(t,e,n){var r;t=n.nmd(t),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",l=16,c=32,u=64,d=128,h=256,f=1/0,p=9007199254740991,m=NaN,g=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",h]],b="[object Arguments]",y="[object Array]",x="[object Boolean]",w="[object Date]",k="[object Error]",_="[object Function]",S="[object GeneratorFunction]",O="[object Map]",M="[object Number]",C="[object Object]",A="[object Promise]",T="[object RegExp]",E="[object Set]",D="[object String]",P="[object Symbol]",j="[object WeakMap]",L="[object ArrayBuffer]",I="[object DataView]",N="[object Float32Array]",R="[object Float64Array]",$="[object Int8Array]",B="[object Int16Array]",F="[object Int32Array]",z="[object Uint8Array]",H="[object Uint8ClampedArray]",Y="[object Uint16Array]",W="[object Uint32Array]",V=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,K=RegExp(X.source),J=RegExp(q.source),Z=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nt=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(it.source),st=/^\s+/,at=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ct=/\{\n\/\* \[wrapped with (.+)\] \*/,ut=/,? & /,dt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ht=/[()=,{}\[\]\/\s]/,ft=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,mt=/\w*$/,gt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,bt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,xt=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,_t=/['\n\r\u2028\u2029\\]/g,St="\\ud800-\\udfff",Ot="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Mt="\\u2700-\\u27bf",Ct="a-z\\xdf-\\xf6\\xf8-\\xff",At="A-Z\\xc0-\\xd6\\xd8-\\xde",Tt="\\ufe0e\\ufe0f",Et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Dt="['’]",Pt="["+St+"]",jt="["+Et+"]",Lt="["+Ot+"]",It="\\d+",Nt="["+Mt+"]",Rt="["+Ct+"]",$t="[^"+St+Et+It+Mt+Ct+At+"]",Bt="\\ud83c[\\udffb-\\udfff]",Ft="[^"+St+"]",zt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",Yt="["+At+"]",Wt="\\u200d",Vt="(?:"+Rt+"|"+$t+")",Ut="(?:"+Yt+"|"+$t+")",Gt="(?:['’](?:d|ll|m|re|s|t|ve))?",Xt="(?:['’](?:D|LL|M|RE|S|T|VE))?",qt="(?:"+Lt+"|"+Bt+")"+"?",Kt="["+Tt+"]?",Jt=Kt+qt+("(?:"+Wt+"(?:"+[Ft,zt,Ht].join("|")+")"+Kt+qt+")*"),Zt="(?:"+[Nt,zt,Ht].join("|")+")"+Jt,Qt="(?:"+[Ft+Lt+"?",Lt,zt,Ht,Pt].join("|")+")",te=RegExp(Dt,"g"),ee=RegExp(Lt,"g"),ne=RegExp(Bt+"(?="+Bt+")|"+Qt+Jt,"g"),re=RegExp([Yt+"?"+Rt+"+"+Gt+"(?="+[jt,Yt,"$"].join("|")+")",Ut+"+"+Xt+"(?="+[jt,Yt+Vt,"$"].join("|")+")",Yt+"?"+Vt+"+"+Gt,Yt+"+"+Xt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",It,Zt].join("|"),"g"),ie=RegExp("["+Wt+St+Ot+Tt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,se=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ae=-1,le={};le[N]=le[R]=le[$]=le[B]=le[F]=le[z]=le[H]=le[Y]=le[W]=!0,le[b]=le[y]=le[L]=le[x]=le[I]=le[w]=le[k]=le[_]=le[O]=le[M]=le[C]=le[T]=le[E]=le[D]=le[j]=!1;var ce={};ce[b]=ce[y]=ce[L]=ce[I]=ce[x]=ce[w]=ce[N]=ce[R]=ce[$]=ce[B]=ce[F]=ce[O]=ce[M]=ce[C]=ce[T]=ce[E]=ce[D]=ce[P]=ce[z]=ce[H]=ce[Y]=ce[W]=!0,ce[k]=ce[_]=ce[j]=!1;var ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},de=parseFloat,he=parseInt,fe="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pe="object"==typeof self&&self&&self.Object===Object&&self,me=fe||pe||Function("return this")(),ge=e&&!e.nodeType&&e,ve=ge&&t&&!t.nodeType&&t,be=ve&&ve.exports===ge,ye=be&&fe.process,xe=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||ye&&ye.binding&&ye.binding("util")}catch(t){}}(),we=xe&&xe.isArrayBuffer,ke=xe&&xe.isDate,_e=xe&&xe.isMap,Se=xe&&xe.isRegExp,Oe=xe&&xe.isSet,Me=xe&&xe.isTypedArray;function Ce(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ae(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function Te(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ee(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function De(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Pe(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function je(t,e){return!!(null==t?0:t.length)&&Ye(t,e,0)>-1}function Le(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ie(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ne(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Re(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function $e(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function Be(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Fe=Ge("length");function ze(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function He(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Ye(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):He(t,Ve,n)}function We(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Ve(t){return t!=t}function Ue(t,e){var n=null==t?0:t.length;return n?Ke(t,e)/n:m}function Ge(t){return function(e){return null==e?i:e[t]}}function Xe(t){return function(e){return null==t?i:t[e]}}function qe(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Ke(t,e){for(var n,r=-1,o=t.length;++r<o;){var s=e(t[r]);s!==i&&(n=n===i?s:n+s)}return n}function Je(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Ze(t){return t?t.slice(0,gn(t)+1).replace(st,""):t}function Qe(t){return function(e){return t(e)}}function tn(t,e){return Ie(e,(function(e){return t[e]}))}function en(t,e){return t.has(e)}function nn(t,e){for(var n=-1,r=t.length;++n<r&&Ye(e,t[n],0)>-1;);return n}function rn(t,e){for(var n=t.length;n--&&Ye(e,t[n],0)>-1;);return n}var on=Xe({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"}),sn=Xe({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(t){return"\\"+ue[t]}function ln(t){return ie.test(t)}function cn(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function un(t,e){return function(n){return t(e(n))}}function dn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[i++]=n)}return o}function hn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function fn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function pn(t){return ln(t)?function(t){var e=ne.lastIndex=0;for(;ne.test(t);)++e;return e}(t):Fe(t)}function mn(t){return ln(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.split("")}(t)}function gn(t){for(var e=t.length;e--&&at.test(t.charAt(e)););return e}var vn=Xe({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var bn=function t(e){var n,r=(e=null==e?me:bn.defaults(me.Object(),e,bn.pick(me,se))).Array,at=e.Date,St=e.Error,Ot=e.Function,Mt=e.Math,Ct=e.Object,At=e.RegExp,Tt=e.String,Et=e.TypeError,Dt=r.prototype,Pt=Ot.prototype,jt=Ct.prototype,Lt=e["__core-js_shared__"],It=Pt.toString,Nt=jt.hasOwnProperty,Rt=0,$t=(n=/[^.]+$/.exec(Lt&&Lt.keys&&Lt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Bt=jt.toString,Ft=It.call(Ct),zt=me._,Ht=At("^"+It.call(Nt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Yt=be?e.Buffer:i,Wt=e.Symbol,Vt=e.Uint8Array,Ut=Yt?Yt.allocUnsafe:i,Gt=un(Ct.getPrototypeOf,Ct),Xt=Ct.create,qt=jt.propertyIsEnumerable,Kt=Dt.splice,Jt=Wt?Wt.isConcatSpreadable:i,Zt=Wt?Wt.iterator:i,Qt=Wt?Wt.toStringTag:i,ne=function(){try{var t=fo(Ct,"defineProperty");return t({},"",{}),t}catch(t){}}(),ie=e.clearTimeout!==me.clearTimeout&&e.clearTimeout,ue=at&&at.now!==me.Date.now&&at.now,fe=e.setTimeout!==me.setTimeout&&e.setTimeout,pe=Mt.ceil,ge=Mt.floor,ve=Ct.getOwnPropertySymbols,ye=Yt?Yt.isBuffer:i,xe=e.isFinite,Fe=Dt.join,Xe=un(Ct.keys,Ct),yn=Mt.max,xn=Mt.min,wn=at.now,kn=e.parseInt,_n=Mt.random,Sn=Dt.reverse,On=fo(e,"DataView"),Mn=fo(e,"Map"),Cn=fo(e,"Promise"),An=fo(e,"Set"),Tn=fo(e,"WeakMap"),En=fo(Ct,"create"),Dn=Tn&&new Tn,Pn={},jn=Bo(On),Ln=Bo(Mn),In=Bo(Cn),Nn=Bo(An),Rn=Bo(Tn),$n=Wt?Wt.prototype:i,Bn=$n?$n.valueOf:i,Fn=$n?$n.toString:i;function zn(t){if(na(t)&&!Vs(t)&&!(t instanceof Vn)){if(t instanceof Wn)return t;if(Nt.call(t,"__wrapped__"))return Fo(t)}return new Wn(t)}var Hn=function(){function t(){}return function(e){if(!ea(e))return{};if(Xt)return Xt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function Yn(){}function Wn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Vn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Un(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Xn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Xn;++e<n;)this.add(t[e])}function Kn(t){var e=this.__data__=new Gn(t);this.size=e.size}function Jn(t,e){var n=Vs(t),r=!n&&Ws(t),i=!n&&!r&&qs(t),o=!n&&!r&&!i&&ua(t),s=n||r||i||o,a=s?Je(t.length,Tt):[],l=a.length;for(var c in t)!e&&!Nt.call(t,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||xo(c,l))||a.push(c);return a}function Zn(t){var e=t.length;return e?t[qr(0,e-1)]:i}function Qn(t,e){return No(Ei(t),lr(e,0,t.length))}function tr(t){return No(Ei(t))}function er(t,e,n){(n!==i&&!zs(t[e],n)||n===i&&!(e in t))&&sr(t,e,n)}function nr(t,e,n){var r=t[e];Nt.call(t,e)&&zs(r,n)&&(n!==i||e in t)||sr(t,e,n)}function rr(t,e){for(var n=t.length;n--;)if(zs(t[n][0],e))return n;return-1}function ir(t,e,n,r){return fr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function or(t,e){return t&&Di(e,Pa(e),t)}function sr(t,e,n){"__proto__"==e&&ne?ne(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ar(t,e){for(var n=-1,o=e.length,s=r(o),a=null==t;++n<o;)s[n]=a?i:Ca(t,e[n]);return s}function lr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function cr(t,e,n,r,o,s){var a,l=1&e,c=2&e,u=4&e;if(n&&(a=o?n(t,r,o,s):n(t)),a!==i)return a;if(!ea(t))return t;var d=Vs(t);if(d){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Nt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!l)return Ei(t,a)}else{var h=go(t),f=h==_||h==S;if(qs(t))return Si(t,l);if(h==C||h==b||f&&!o){if(a=c||f?{}:bo(t),!l)return c?function(t,e){return Di(t,mo(t),e)}(t,function(t,e){return t&&Di(e,ja(e),t)}(a,t)):function(t,e){return Di(t,po(t),e)}(t,or(a,t))}else{if(!ce[h])return o?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case L:return Oi(t);case x:case w:return new r(+t);case I:return function(t,e){var n=e?Oi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case N:case R:case $:case B:case F:case z:case H:case Y:case W:return Mi(t,n);case O:return new r;case M:case D:return new r(t);case T:return function(t){var e=new t.constructor(t.source,mt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case E:return new r;case P:return i=t,Bn?Ct(Bn.call(i)):{}}var i}(t,h,l)}}s||(s=new Kn);var p=s.get(t);if(p)return p;s.set(t,a),aa(t)?t.forEach((function(r){a.add(cr(r,e,n,r,t,s))})):ra(t)&&t.forEach((function(r,i){a.set(i,cr(r,e,n,i,t,s))}));var m=d?i:(u?c?oo:io:c?ja:Pa)(t);return Te(m||t,(function(r,i){m&&(r=t[i=r]),nr(a,i,cr(r,e,n,i,t,s))})),a}function ur(t,e,n){var r=n.length;if(null==t)return!r;for(t=Ct(t);r--;){var o=n[r],s=e[o],a=t[o];if(a===i&&!(o in t)||!s(a))return!1}return!0}function dr(t,e,n){if("function"!=typeof t)throw new Et(o);return Po((function(){t.apply(i,n)}),e)}function hr(t,e,n,r){var i=-1,o=je,s=!0,a=t.length,l=[],c=e.length;if(!a)return l;n&&(e=Ie(e,Qe(n))),r?(o=Le,s=!1):e.length>=200&&(o=en,s=!1,e=new qn(e));t:for(;++i<a;){var u=t[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,s&&d==d){for(var h=c;h--;)if(e[h]===d)continue t;l.push(u)}else o(e,d,r)||l.push(u)}return l}zn.templateSettings={escape:Z,evaluate:Q,interpolate:tt,variable:"",imports:{_:zn}},zn.prototype=Yn.prototype,zn.prototype.constructor=zn,Wn.prototype=Hn(Yn.prototype),Wn.prototype.constructor=Wn,Vn.prototype=Hn(Yn.prototype),Vn.prototype.constructor=Vn,Un.prototype.clear=function(){this.__data__=En?En(null):{},this.size=0},Un.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Un.prototype.get=function(t){var e=this.__data__;if(En){var n=e[t];return n===s?i:n}return Nt.call(e,t)?e[t]:i},Un.prototype.has=function(t){var e=this.__data__;return En?e[t]!==i:Nt.call(e,t)},Un.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=En&&e===i?s:e,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(t){var e=this.__data__,n=rr(e,t);return!(n<0)&&(n==e.length-1?e.pop():Kt.call(e,n,1),--this.size,!0)},Gn.prototype.get=function(t){var e=this.__data__,n=rr(e,t);return n<0?i:e[n][1]},Gn.prototype.has=function(t){return rr(this.__data__,t)>-1},Gn.prototype.set=function(t,e){var n=this.__data__,r=rr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Xn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(Mn||Gn),string:new Un}},Xn.prototype.delete=function(t){var e=uo(this,t).delete(t);return this.size-=e?1:0,e},Xn.prototype.get=function(t){return uo(this,t).get(t)},Xn.prototype.has=function(t){return uo(this,t).has(t)},Xn.prototype.set=function(t,e){var n=uo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},qn.prototype.add=qn.prototype.push=function(t){return this.__data__.set(t,s),this},qn.prototype.has=function(t){return this.__data__.has(t)},Kn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Kn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Kn.prototype.get=function(t){return this.__data__.get(t)},Kn.prototype.has=function(t){return this.__data__.has(t)},Kn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!Mn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Xn(r)}return n.set(t,e),this.size=n.size,this};var fr=Li(wr),pr=Li(kr,!0);function mr(t,e){var n=!0;return fr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function gr(t,e,n){for(var r=-1,o=t.length;++r<o;){var s=t[r],a=e(s);if(null!=a&&(l===i?a==a&&!ca(a):n(a,l)))var l=a,c=s}return c}function vr(t,e){var n=[];return fr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function br(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=yo),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?br(a,e-1,n,r,i):Ne(i,a):r||(i[i.length]=a)}return i}var yr=Ii(),xr=Ii(!0);function wr(t,e){return t&&yr(t,e,Pa)}function kr(t,e){return t&&xr(t,e,Pa)}function _r(t,e){return Pe(e,(function(e){return Zs(t[e])}))}function Sr(t,e){for(var n=0,r=(e=xi(e,t)).length;null!=t&&n<r;)t=t[$o(e[n++])];return n&&n==r?t:i}function Or(t,e,n){var r=e(t);return Vs(t)?r:Ne(r,n(t))}function Mr(t){return null==t?t===i?"[object Undefined]":"[object Null]":Qt&&Qt in Ct(t)?function(t){var e=Nt.call(t,Qt),n=t[Qt];try{t[Qt]=i;var r=!0}catch(t){}var o=Bt.call(t);r&&(e?t[Qt]=n:delete t[Qt]);return o}(t):function(t){return Bt.call(t)}(t)}function Cr(t,e){return t>e}function Ar(t,e){return null!=t&&Nt.call(t,e)}function Tr(t,e){return null!=t&&e in Ct(t)}function Er(t,e,n){for(var o=n?Le:je,s=t[0].length,a=t.length,l=a,c=r(a),u=1/0,d=[];l--;){var h=t[l];l&&e&&(h=Ie(h,Qe(e))),u=xn(h.length,u),c[l]=!n&&(e||s>=120&&h.length>=120)?new qn(l&&h):i}h=t[0];var f=-1,p=c[0];t:for(;++f<s&&d.length<u;){var m=h[f],g=e?e(m):m;if(m=n||0!==m?m:0,!(p?en(p,g):o(d,g,n))){for(l=a;--l;){var v=c[l];if(!(v?en(v,g):o(t[l],g,n)))continue t}p&&p.push(g),d.push(m)}}return d}function Dr(t,e,n){var r=null==(t=To(t,e=xi(e,t)))?t:t[$o(Jo(e))];return null==r?i:Ce(r,t,n)}function Pr(t){return na(t)&&Mr(t)==b}function jr(t,e,n,r,o){return t===e||(null==t||null==e||!na(t)&&!na(e)?t!=t&&e!=e:function(t,e,n,r,o,s){var a=Vs(t),l=Vs(e),c=a?y:go(t),u=l?y:go(e),d=(c=c==b?C:c)==C,h=(u=u==b?C:u)==C,f=c==u;if(f&&qs(t)){if(!qs(e))return!1;a=!0,d=!1}if(f&&!d)return s||(s=new Kn),a||ua(t)?no(t,e,n,r,o,s):function(t,e,n,r,i,o,s){switch(n){case I:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case L:return!(t.byteLength!=e.byteLength||!o(new Vt(t),new Vt(e)));case x:case w:case M:return zs(+t,+e);case k:return t.name==e.name&&t.message==e.message;case T:case D:return t==e+"";case O:var a=cn;case E:var l=1&r;if(a||(a=hn),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;r|=2,s.set(t,e);var u=no(a(t),a(e),r,i,o,s);return s.delete(t),u;case P:if(Bn)return Bn.call(t)==Bn.call(e)}return!1}(t,e,c,n,r,o,s);if(!(1&n)){var p=d&&Nt.call(t,"__wrapped__"),m=h&&Nt.call(e,"__wrapped__");if(p||m){var g=p?t.value():t,v=m?e.value():e;return s||(s=new Kn),o(g,v,n,r,s)}}if(!f)return!1;return s||(s=new Kn),function(t,e,n,r,o,s){var a=1&n,l=io(t),c=l.length,u=io(e),d=u.length;if(c!=d&&!a)return!1;var h=c;for(;h--;){var f=l[h];if(!(a?f in e:Nt.call(e,f)))return!1}var p=s.get(t),m=s.get(e);if(p&&m)return p==e&&m==t;var g=!0;s.set(t,e),s.set(e,t);var v=a;for(;++h<c;){var b=t[f=l[h]],y=e[f];if(r)var x=a?r(y,b,f,e,t,s):r(b,y,f,t,e,s);if(!(x===i?b===y||o(b,y,n,r,s):x)){g=!1;break}v||(v="constructor"==f)}if(g&&!v){var w=t.constructor,k=e.constructor;w==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof k&&k instanceof k||(g=!1)}return s.delete(t),s.delete(e),g}(t,e,n,r,o,s)}(t,e,n,r,jr,o))}function Lr(t,e,n,r){var o=n.length,s=o,a=!r;if(null==t)return!s;for(t=Ct(t);o--;){var l=n[o];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var c=(l=n[o])[0],u=t[c],d=l[1];if(a&&l[2]){if(u===i&&!(c in t))return!1}else{var h=new Kn;if(r)var f=r(u,d,c,t,e,h);if(!(f===i?jr(d,u,3,r,h):f))return!1}}return!0}function Ir(t){return!(!ea(t)||(e=t,$t&&$t in e))&&(Zs(t)?Ht:bt).test(Bo(t));var e}function Nr(t){return"function"==typeof t?t:null==t?il:"object"==typeof t?Vs(t)?Hr(t[0],t[1]):zr(t):fl(t)}function Rr(t){if(!Oo(t))return Xe(t);var e=[];for(var n in Ct(t))Nt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function $r(t){if(!ea(t))return function(t){var e=[];if(null!=t)for(var n in Ct(t))e.push(n);return e}(t);var e=Oo(t),n=[];for(var r in t)("constructor"!=r||!e&&Nt.call(t,r))&&n.push(r);return n}function Br(t,e){return t<e}function Fr(t,e){var n=-1,i=Gs(t)?r(t.length):[];return fr(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function zr(t){var e=ho(t);return 1==e.length&&e[0][2]?Co(e[0][0],e[0][1]):function(n){return n===t||Lr(n,t,e)}}function Hr(t,e){return ko(t)&&Mo(e)?Co($o(t),e):function(n){var r=Ca(n,t);return r===i&&r===e?Aa(n,t):jr(e,r,3)}}function Yr(t,e,n,r,o){t!==e&&yr(e,(function(s,a){if(o||(o=new Kn),ea(s))!function(t,e,n,r,o,s,a){var l=Eo(t,n),c=Eo(e,n),u=a.get(c);if(u)return void er(t,n,u);var d=s?s(l,c,n+"",t,e,a):i,h=d===i;if(h){var f=Vs(c),p=!f&&qs(c),m=!f&&!p&&ua(c);d=c,f||p||m?Vs(l)?d=l:Xs(l)?d=Ei(l):p?(h=!1,d=Si(c,!0)):m?(h=!1,d=Mi(c,!0)):d=[]:oa(c)||Ws(c)?(d=l,Ws(l)?d=ba(l):ea(l)&&!Zs(l)||(d=bo(c))):h=!1}h&&(a.set(c,d),o(d,c,r,s,a),a.delete(c));er(t,n,d)}(t,e,a,n,Yr,r,o);else{var l=r?r(Eo(t,a),s,a+"",t,e,o):i;l===i&&(l=s),er(t,a,l)}}),ja)}function Wr(t,e){var n=t.length;if(n)return xo(e+=e<0?n:0,n)?t[e]:i}function Vr(t,e,n){e=e.length?Ie(e,(function(t){return Vs(t)?function(e){return Sr(e,1===t.length?t[0]:t)}:t})):[il];var r=-1;e=Ie(e,Qe(co()));var i=Fr(t,(function(t,n,i){var o=Ie(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(i,(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;for(;++r<s;){var l=Ci(i[r],o[r]);if(l)return r>=a?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Ur(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=Sr(t,s);n(a,s)&&ti(o,xi(s,t),a)}return o}function Gr(t,e,n,r){var i=r?We:Ye,o=-1,s=e.length,a=t;for(t===e&&(e=Ei(e)),n&&(a=Ie(t,Qe(n)));++o<s;)for(var l=0,c=e[o],u=n?n(c):c;(l=i(a,u,l,r))>-1;)a!==t&&Kt.call(a,l,1),Kt.call(t,l,1);return t}function Xr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;xo(i)?Kt.call(t,i,1):hi(t,i)}}return t}function qr(t,e){return t+ge(_n()*(e-t+1))}function Kr(t,e){var n="";if(!t||e<1||e>p)return n;do{e%2&&(n+=t),(e=ge(e/2))&&(t+=t)}while(e);return n}function Jr(t,e){return jo(Ao(t,e,il),t+"")}function Zr(t){return Zn(za(t))}function Qr(t,e){var n=za(t);return No(n,lr(e,0,n.length))}function ti(t,e,n,r){if(!ea(t))return t;for(var o=-1,s=(e=xi(e,t)).length,a=s-1,l=t;null!=l&&++o<s;){var c=$o(e[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=a){var d=l[c];(u=r?r(d,c,l):i)===i&&(u=ea(d)?d:xo(e[o+1])?[]:{})}nr(l,c,u),l=l[c]}return t}var ei=Dn?function(t,e){return Dn.set(t,e),t}:il,ni=ne?function(t,e){return ne(t,"toString",{configurable:!0,enumerable:!1,value:el(e),writable:!0})}:il;function ri(t){return No(za(t))}function ii(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i<o;)s[i]=t[i+e];return s}function oi(t,e){var n;return fr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function si(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!ca(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return ai(t,e,il,n)}function ai(t,e,n,r){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=n(e))!=e,l=null===e,c=ca(e),u=e===i;o<s;){var d=ge((o+s)/2),h=n(t[d]),f=h!==i,p=null===h,m=h==h,g=ca(h);if(a)var v=r||m;else v=u?m&&(r||f):l?m&&f&&(r||!p):c?m&&f&&!p&&(r||!g):!p&&!g&&(r?h<=e:h<e);v?o=d+1:s=d}return xn(s,4294967294)}function li(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!zs(a,l)){var l=a;o[i++]=0===s?0:s}}return o}function ci(t){return"number"==typeof t?t:ca(t)?m:+t}function ui(t){if("string"==typeof t)return t;if(Vs(t))return Ie(t,ui)+"";if(ca(t))return Fn?Fn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function di(t,e,n){var r=-1,i=je,o=t.length,s=!0,a=[],l=a;if(n)s=!1,i=Le;else if(o>=200){var c=e?null:Ki(t);if(c)return hn(c);s=!1,i=en,l=new qn}else l=e?[]:a;t:for(;++r<o;){var u=t[r],d=e?e(u):u;if(u=n||0!==u?u:0,s&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue t;e&&l.push(d),a.push(u)}else i(l,d,n)||(l!==a&&l.push(d),a.push(u))}return a}function hi(t,e){return null==(t=To(t,e=xi(e,t)))||delete t[$o(Jo(e))]}function fi(t,e,n,r){return ti(t,e,n(Sr(t,e)),r)}function pi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ii(t,r?0:o,r?o+1:i):ii(t,r?o+1:0,r?i:o)}function mi(t,e){var n=t;return n instanceof Vn&&(n=n.value()),Re(e,(function(t,e){return e.func.apply(e.thisArg,Ne([t],e.args))}),n)}function gi(t,e,n){var i=t.length;if(i<2)return i?di(t[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=t[o],l=-1;++l<i;)l!=o&&(s[o]=hr(s[o]||a,t[l],e,n));return di(br(s,1),e,n)}function vi(t,e,n){for(var r=-1,o=t.length,s=e.length,a={};++r<o;){var l=r<s?e[r]:i;n(a,t[r],l)}return a}function bi(t){return Xs(t)?t:[]}function yi(t){return"function"==typeof t?t:il}function xi(t,e){return Vs(t)?t:ko(t,e)?[t]:Ro(ya(t))}var wi=Jr;function ki(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:ii(t,e,n)}var _i=ie||function(t){return me.clearTimeout(t)};function Si(t,e){if(e)return t.slice();var n=t.length,r=Ut?Ut(n):new t.constructor(n);return t.copy(r),r}function Oi(t){var e=new t.constructor(t.byteLength);return new Vt(e).set(new Vt(t)),e}function Mi(t,e){var n=e?Oi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ci(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,s=ca(t),a=e!==i,l=null===e,c=e==e,u=ca(e);if(!l&&!u&&!s&&t>e||s&&a&&c&&!l&&!u||r&&a&&c||!n&&c||!o)return 1;if(!r&&!s&&!u&&t<e||u&&n&&o&&!r&&!s||l&&n&&o||!a&&o||!c)return-1}return 0}function Ai(t,e,n,i){for(var o=-1,s=t.length,a=n.length,l=-1,c=e.length,u=yn(s-a,0),d=r(c+u),h=!i;++l<c;)d[l]=e[l];for(;++o<a;)(h||o<s)&&(d[n[o]]=t[o]);for(;u--;)d[l++]=t[o++];return d}function Ti(t,e,n,i){for(var o=-1,s=t.length,a=-1,l=n.length,c=-1,u=e.length,d=yn(s-l,0),h=r(d+u),f=!i;++o<d;)h[o]=t[o];for(var p=o;++c<u;)h[p+c]=e[c];for(;++a<l;)(f||o<s)&&(h[p+n[a]]=t[o++]);return h}function Ei(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function Di(t,e,n,r){var o=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var l=e[s],c=r?r(n[l],t[l],l,n,t):i;c===i&&(c=t[l]),o?sr(n,l,c):nr(n,l,c)}return n}function Pi(t,e){return function(n,r){var i=Vs(n)?Ae:ir,o=e?e():{};return i(n,t,co(r,2),o)}}function ji(t){return Jr((function(e,n){var r=-1,o=n.length,s=o>1?n[o-1]:i,a=o>2?n[2]:i;for(s=t.length>3&&"function"==typeof s?(o--,s):i,a&&wo(n[0],n[1],a)&&(s=o<3?i:s,o=1),e=Ct(e);++r<o;){var l=n[r];l&&t(e,l,r,s)}return e}))}function Li(t,e){return function(n,r){if(null==n)return n;if(!Gs(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=Ct(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Ii(t){return function(e,n,r){for(var i=-1,o=Ct(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===n(o[l],l,o))break}return e}}function Ni(t){return function(e){var n=ln(e=ya(e))?mn(e):i,r=n?n[0]:e.charAt(0),o=n?ki(n,1).join(""):e.slice(1);return r[t]()+o}}function Ri(t){return function(e){return Re(Za(Wa(e).replace(te,"")),t,"")}}function $i(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Hn(t.prototype),r=t.apply(n,e);return ea(r)?r:n}}function Bi(t){return function(e,n,r){var o=Ct(e);if(!Gs(e)){var s=co(n,3);e=Pa(e),n=function(t){return s(o[t],t,o)}}var a=t(e,n,r);return a>-1?o[s?e[a]:a]:i}}function Fi(t){return ro((function(e){var n=e.length,r=n,s=Wn.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new Et(o);if(s&&!l&&"wrapper"==ao(a))var l=new Wn([],!0)}for(r=l?r:n;++r<n;){var c=ao(a=e[r]),u="wrapper"==c?so(a):i;l=u&&_o(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ao(u[0])].apply(l,u[3]):1==a.length&&_o(a)?l[c]():l.thru(a)}return function(){var t=arguments,r=t[0];if(l&&1==t.length&&Vs(r))return l.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function zi(t,e,n,o,s,a,l,c,u,h){var f=e&d,p=1&e,m=2&e,g=24&e,v=512&e,b=m?i:$i(t);return function d(){for(var y=arguments.length,x=r(y),w=y;w--;)x[w]=arguments[w];if(g)var k=lo(d),_=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(x,k);if(o&&(x=Ai(x,o,s,g)),a&&(x=Ti(x,a,l,g)),y-=_,g&&y<h){var S=dn(x,k);return Xi(t,e,zi,d.placeholder,n,x,S,c,u,h-y)}var O=p?n:this,M=m?O[t]:t;return y=x.length,c?x=function(t,e){var n=t.length,r=xn(e.length,n),o=Ei(t);for(;r--;){var s=e[r];t[r]=xo(s,n)?o[s]:i}return t}(x,c):v&&y>1&&x.reverse(),f&&u<y&&(x.length=u),this&&this!==me&&this instanceof d&&(M=b||$i(M)),M.apply(O,x)}}function Hi(t,e){return function(n,r){return function(t,e,n,r){return wr(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function Yi(t,e){return function(n,r){var o;if(n===i&&r===i)return e;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=ui(n),r=ui(r)):(n=ci(n),r=ci(r)),o=t(n,r)}return o}}function Wi(t){return ro((function(e){return e=Ie(e,Qe(co())),Jr((function(n){var r=this;return t(e,(function(t){return Ce(t,r,n)}))}))}))}function Vi(t,e){var n=(e=e===i?" ":ui(e)).length;if(n<2)return n?Kr(e,t):e;var r=Kr(e,pe(t/pn(e)));return ln(e)?ki(mn(r),0,t).join(""):r.slice(0,t)}function Ui(t){return function(e,n,o){return o&&"number"!=typeof o&&wo(e,n,o)&&(n=o=i),e=pa(e),n===i?(n=e,e=0):n=pa(n),function(t,e,n,i){for(var o=-1,s=yn(pe((e-t)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=t,t+=n;return a}(e,n,o=o===i?e<n?1:-1:pa(o),t)}}function Gi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=va(e),n=va(n)),t(e,n)}}function Xi(t,e,n,r,o,s,a,l,d,h){var f=8&e;e|=f?c:u,4&(e&=~(f?u:c))||(e&=-4);var p=[t,e,o,f?s:i,f?a:i,f?i:s,f?i:a,l,d,h],m=n.apply(i,p);return _o(t)&&Do(m,p),m.placeholder=r,Lo(m,t,e)}function qi(t){var e=Mt[t];return function(t,n){if(t=va(t),(n=null==n?0:xn(ma(n),292))&&xe(t)){var r=(ya(t)+"e").split("e");return+((r=(ya(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ki=An&&1/hn(new An([,-0]))[1]==f?function(t){return new An(t)}:cl;function Ji(t){return function(e){var n=go(e);return n==O?cn(e):n==E?fn(e):function(t,e){return Ie(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Zi(t,e,n,s,f,p,m,g){var v=2&e;if(!v&&"function"!=typeof t)throw new Et(o);var b=s?s.length:0;if(b||(e&=-97,s=f=i),m=m===i?m:yn(ma(m),0),g=g===i?g:ma(g),b-=f?f.length:0,e&u){var y=s,x=f;s=f=i}var w=v?i:so(t),k=[t,e,n,s,f,y,x,p,m,g];if(w&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,s=r==d&&8==n||r==d&&n==h&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var l=e[3];if(l){var c=t[3];t[3]=c?Ai(c,l,e[4]):l,t[4]=c?dn(t[3],a):e[4]}(l=e[5])&&(c=t[5],t[5]=c?Ti(c,l,e[6]):l,t[6]=c?dn(t[5],a):e[6]);(l=e[7])&&(t[7]=l);r&d&&(t[8]=null==t[8]?e[8]:xn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(k,w),t=k[0],e=k[1],n=k[2],s=k[3],f=k[4],!(g=k[9]=k[9]===i?v?0:t.length:yn(k[9]-b,0))&&24&e&&(e&=-25),e&&1!=e)_=8==e||e==l?function(t,e,n){var o=$i(t);return function s(){for(var a=arguments.length,l=r(a),c=a,u=lo(s);c--;)l[c]=arguments[c];var d=a<3&&l[0]!==u&&l[a-1]!==u?[]:dn(l,u);return(a-=d.length)<n?Xi(t,e,zi,s.placeholder,i,l,d,i,i,n-a):Ce(this&&this!==me&&this instanceof s?o:t,this,l)}}(t,e,g):e!=c&&33!=e||f.length?zi.apply(i,k):function(t,e,n,i){var o=1&e,s=$i(t);return function e(){for(var a=-1,l=arguments.length,c=-1,u=i.length,d=r(u+l),h=this&&this!==me&&this instanceof e?s:t;++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++a];return Ce(h,o?n:this,d)}}(t,e,n,s);else var _=function(t,e,n){var r=1&e,i=$i(t);return function e(){return(this&&this!==me&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return Lo((w?ei:Do)(_,k),t,e)}function Qi(t,e,n,r){return t===i||zs(t,jt[n])&&!Nt.call(r,n)?e:t}function to(t,e,n,r,o,s){return ea(t)&&ea(e)&&(s.set(e,t),Yr(t,e,i,to,s),s.delete(e)),t}function eo(t){return oa(t)?i:t}function no(t,e,n,r,o,s){var a=1&n,l=t.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=s.get(t),d=s.get(e);if(u&&d)return u==e&&d==t;var h=-1,f=!0,p=2&n?new qn:i;for(s.set(t,e),s.set(e,t);++h<l;){var m=t[h],g=e[h];if(r)var v=a?r(g,m,h,e,t,s):r(m,g,h,t,e,s);if(v!==i){if(v)continue;f=!1;break}if(p){if(!Be(e,(function(t,e){if(!en(p,e)&&(m===t||o(m,t,n,r,s)))return p.push(e)}))){f=!1;break}}else if(m!==g&&!o(m,g,n,r,s)){f=!1;break}}return s.delete(t),s.delete(e),f}function ro(t){return jo(Ao(t,i,Uo),t+"")}function io(t){return Or(t,Pa,po)}function oo(t){return Or(t,ja,mo)}var so=Dn?function(t){return Dn.get(t)}:cl;function ao(t){for(var e=t.name+"",n=Pn[e],r=Nt.call(Pn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function lo(t){return(Nt.call(zn,"placeholder")?zn:t).placeholder}function co(){var t=zn.iteratee||ol;return t=t===ol?Nr:t,arguments.length?t(arguments[0],arguments[1]):t}function uo(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ho(t){for(var e=Pa(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Mo(i)]}return e}function fo(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return Ir(n)?n:i}var po=ve?function(t){return null==t?[]:(t=Ct(t),Pe(ve(t),(function(e){return qt.call(t,e)})))}:gl,mo=ve?function(t){for(var e=[];t;)Ne(e,po(t)),t=Gt(t);return e}:gl,go=Mr;function vo(t,e,n){for(var r=-1,i=(e=xi(e,t)).length,o=!1;++r<i;){var s=$o(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&ta(i)&&xo(s,i)&&(Vs(t)||Ws(t))}function bo(t){return"function"!=typeof t.constructor||Oo(t)?{}:Hn(Gt(t))}function yo(t){return Vs(t)||Ws(t)||!!(Jt&&t&&t[Jt])}function xo(t,e){var n=typeof t;return!!(e=null==e?p:e)&&("number"==n||"symbol"!=n&&xt.test(t))&&t>-1&&t%1==0&&t<e}function wo(t,e,n){if(!ea(n))return!1;var r=typeof e;return!!("number"==r?Gs(n)&&xo(e,n.length):"string"==r&&e in n)&&zs(n[e],t)}function ko(t,e){if(Vs(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ca(t))||(nt.test(t)||!et.test(t)||null!=e&&t in Ct(e))}function _o(t){var e=ao(t),n=zn[e];if("function"!=typeof n||!(e in Vn.prototype))return!1;if(t===n)return!0;var r=so(n);return!!r&&t===r[0]}(On&&go(new On(new ArrayBuffer(1)))!=I||Mn&&go(new Mn)!=O||Cn&&go(Cn.resolve())!=A||An&&go(new An)!=E||Tn&&go(new Tn)!=j)&&(go=function(t){var e=Mr(t),n=e==C?t.constructor:i,r=n?Bo(n):"";if(r)switch(r){case jn:return I;case Ln:return O;case In:return A;case Nn:return E;case Rn:return j}return e});var So=Lt?Zs:vl;function Oo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||jt)}function Mo(t){return t==t&&!ea(t)}function Co(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==i||t in Ct(n)))}}function Ao(t,e,n){return e=yn(e===i?t.length-1:e,0),function(){for(var i=arguments,o=-1,s=yn(i.length-e,0),a=r(s);++o<s;)a[o]=i[e+o];o=-1;for(var l=r(e+1);++o<e;)l[o]=i[o];return l[e]=n(a),Ce(t,this,l)}}function To(t,e){return e.length<2?t:Sr(t,ii(e,0,-1))}function Eo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Do=Io(ei),Po=fe||function(t,e){return me.setTimeout(t,e)},jo=Io(ni);function Lo(t,e,n){var r=e+"";return jo(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(lt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Te(v,(function(n){var r="_."+n[0];e&n[1]&&!je(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(ct);return e?e[1].split(ut):[]}(r),n)))}function Io(t){var e=0,n=0;return function(){var r=wn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function No(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var s=qr(n,o),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var Ro=function(t){var e=Is(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(rt,(function(t,n,r,i){e.push(r?i.replace(ft,"$1"):n||t)})),e}));function $o(t){if("string"==typeof t||ca(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Bo(t){if(null!=t){try{return It.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Fo(t){if(t instanceof Vn)return t.clone();var e=new Wn(t.__wrapped__,t.__chain__);return e.__actions__=Ei(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var zo=Jr((function(t,e){return Xs(t)?hr(t,br(e,1,Xs,!0)):[]})),Ho=Jr((function(t,e){var n=Jo(e);return Xs(n)&&(n=i),Xs(t)?hr(t,br(e,1,Xs,!0),co(n,2)):[]})),Yo=Jr((function(t,e){var n=Jo(e);return Xs(n)&&(n=i),Xs(t)?hr(t,br(e,1,Xs,!0),i,n):[]}));function Wo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ma(n);return i<0&&(i=yn(r+i,0)),He(t,co(e,3),i)}function Vo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=ma(n),o=n<0?yn(r+o,0):xn(o,r-1)),He(t,co(e,3),o,!0)}function Uo(t){return(null==t?0:t.length)?br(t,1):[]}function Go(t){return t&&t.length?t[0]:i}var Xo=Jr((function(t){var e=Ie(t,bi);return e.length&&e[0]===t[0]?Er(e):[]})),qo=Jr((function(t){var e=Jo(t),n=Ie(t,bi);return e===Jo(n)?e=i:n.pop(),n.length&&n[0]===t[0]?Er(n,co(e,2)):[]})),Ko=Jr((function(t){var e=Jo(t),n=Ie(t,bi);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?Er(n,i,e):[]}));function Jo(t){var e=null==t?0:t.length;return e?t[e-1]:i}var Zo=Jr(Qo);function Qo(t,e){return t&&t.length&&e&&e.length?Gr(t,e):t}var ts=ro((function(t,e){var n=null==t?0:t.length,r=ar(t,e);return Xr(t,Ie(e,(function(t){return xo(t,n)?+t:t})).sort(Ci)),r}));function es(t){return null==t?t:Sn.call(t)}var ns=Jr((function(t){return di(br(t,1,Xs,!0))})),rs=Jr((function(t){var e=Jo(t);return Xs(e)&&(e=i),di(br(t,1,Xs,!0),co(e,2))})),is=Jr((function(t){var e=Jo(t);return e="function"==typeof e?e:i,di(br(t,1,Xs,!0),i,e)}));function os(t){if(!t||!t.length)return[];var e=0;return t=Pe(t,(function(t){if(Xs(t))return e=yn(t.length,e),!0})),Je(e,(function(e){return Ie(t,Ge(e))}))}function ss(t,e){if(!t||!t.length)return[];var n=os(t);return null==e?n:Ie(n,(function(t){return Ce(e,i,t)}))}var as=Jr((function(t,e){return Xs(t)?hr(t,e):[]})),ls=Jr((function(t){return gi(Pe(t,Xs))})),cs=Jr((function(t){var e=Jo(t);return Xs(e)&&(e=i),gi(Pe(t,Xs),co(e,2))})),us=Jr((function(t){var e=Jo(t);return e="function"==typeof e?e:i,gi(Pe(t,Xs),i,e)})),ds=Jr(os);var hs=Jr((function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,ss(t,n)}));function fs(t){var e=zn(t);return e.__chain__=!0,e}function ps(t,e){return e(t)}var ms=ro((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return ar(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Vn&&xo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:ps,args:[o],thisArg:i}),new Wn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(o)}));var gs=Pi((function(t,e,n){Nt.call(t,n)?++t[n]:sr(t,n,1)}));var vs=Bi(Wo),bs=Bi(Vo);function ys(t,e){return(Vs(t)?Te:fr)(t,co(e,3))}function xs(t,e){return(Vs(t)?Ee:pr)(t,co(e,3))}var ws=Pi((function(t,e,n){Nt.call(t,n)?t[n].push(e):sr(t,n,[e])}));var ks=Jr((function(t,e,n){var i=-1,o="function"==typeof e,s=Gs(t)?r(t.length):[];return fr(t,(function(t){s[++i]=o?Ce(e,t,n):Dr(t,e,n)})),s})),_s=Pi((function(t,e,n){sr(t,n,e)}));function Ss(t,e){return(Vs(t)?Ie:Fr)(t,co(e,3))}var Os=Pi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var Ms=Jr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&wo(t,e[0],e[1])?e=[]:n>2&&wo(e[0],e[1],e[2])&&(e=[e[0]]),Vr(t,br(e,1),[])})),Cs=ue||function(){return me.Date.now()};function As(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Zi(t,d,i,i,i,i,e)}function Ts(t,e){var n;if("function"!=typeof e)throw new Et(o);return t=ma(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Es=Jr((function(t,e,n){var r=1;if(n.length){var i=dn(n,lo(Es));r|=c}return Zi(t,r,e,n,i)})),Ds=Jr((function(t,e,n){var r=3;if(n.length){var i=dn(n,lo(Ds));r|=c}return Zi(e,r,t,n,i)}));function Ps(t,e,n){var r,s,a,l,c,u,d=0,h=!1,f=!1,p=!0;if("function"!=typeof t)throw new Et(o);function m(e){var n=r,o=s;return r=s=i,d=e,l=t.apply(o,n)}function g(t){var n=t-u;return u===i||n>=e||n<0||f&&t-d>=a}function v(){var t=Cs();if(g(t))return b(t);c=Po(v,function(t){var n=e-(t-u);return f?xn(n,a-(t-d)):n}(t))}function b(t){return c=i,p&&r?m(t):(r=s=i,l)}function y(){var t=Cs(),n=g(t);if(r=arguments,s=this,u=t,n){if(c===i)return function(t){return d=t,c=Po(v,e),h?m(t):l}(u);if(f)return _i(c),c=Po(v,e),m(u)}return c===i&&(c=Po(v,e)),l}return e=va(e)||0,ea(n)&&(h=!!n.leading,a=(f="maxWait"in n)?yn(va(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){c!==i&&_i(c),d=0,r=u=s=c=i},y.flush=function(){return c===i?l:b(Cs())},y}var js=Jr((function(t,e){return dr(t,1,e)})),Ls=Jr((function(t,e,n){return dr(t,va(e)||0,n)}));function Is(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Et(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Is.Cache||Xn),n}function Ns(t){if("function"!=typeof t)throw new Et(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Is.Cache=Xn;var Rs=wi((function(t,e){var n=(e=1==e.length&&Vs(e[0])?Ie(e[0],Qe(co())):Ie(br(e,1),Qe(co()))).length;return Jr((function(r){for(var i=-1,o=xn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Ce(t,this,r)}))})),$s=Jr((function(t,e){var n=dn(e,lo($s));return Zi(t,c,i,e,n)})),Bs=Jr((function(t,e){var n=dn(e,lo(Bs));return Zi(t,u,i,e,n)})),Fs=ro((function(t,e){return Zi(t,h,i,i,i,e)}));function zs(t,e){return t===e||t!=t&&e!=e}var Hs=Gi(Cr),Ys=Gi((function(t,e){return t>=e})),Ws=Pr(function(){return arguments}())?Pr:function(t){return na(t)&&Nt.call(t,"callee")&&!qt.call(t,"callee")},Vs=r.isArray,Us=we?Qe(we):function(t){return na(t)&&Mr(t)==L};function Gs(t){return null!=t&&ta(t.length)&&!Zs(t)}function Xs(t){return na(t)&&Gs(t)}var qs=ye||vl,Ks=ke?Qe(ke):function(t){return na(t)&&Mr(t)==w};function Js(t){if(!na(t))return!1;var e=Mr(t);return e==k||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!oa(t)}function Zs(t){if(!ea(t))return!1;var e=Mr(t);return e==_||e==S||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Qs(t){return"number"==typeof t&&t==ma(t)}function ta(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=p}function ea(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function na(t){return null!=t&&"object"==typeof t}var ra=_e?Qe(_e):function(t){return na(t)&&go(t)==O};function ia(t){return"number"==typeof t||na(t)&&Mr(t)==M}function oa(t){if(!na(t)||Mr(t)!=C)return!1;var e=Gt(t);if(null===e)return!0;var n=Nt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&It.call(n)==Ft}var sa=Se?Qe(Se):function(t){return na(t)&&Mr(t)==T};var aa=Oe?Qe(Oe):function(t){return na(t)&&go(t)==E};function la(t){return"string"==typeof t||!Vs(t)&&na(t)&&Mr(t)==D}function ca(t){return"symbol"==typeof t||na(t)&&Mr(t)==P}var ua=Me?Qe(Me):function(t){return na(t)&&ta(t.length)&&!!le[Mr(t)]};var da=Gi(Br),ha=Gi((function(t,e){return t<=e}));function fa(t){if(!t)return[];if(Gs(t))return la(t)?mn(t):Ei(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=go(t);return(e==O?cn:e==E?hn:za)(t)}function pa(t){return t?(t=va(t))===f||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ma(t){var e=pa(t),n=e%1;return e==e?n?e-n:e:0}function ga(t){return t?lr(ma(t),0,g):0}function va(t){if("number"==typeof t)return t;if(ca(t))return m;if(ea(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ea(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ze(t);var n=vt.test(t);return n||yt.test(t)?he(t.slice(2),n?2:8):gt.test(t)?m:+t}function ba(t){return Di(t,ja(t))}function ya(t){return null==t?"":ui(t)}var xa=ji((function(t,e){if(Oo(e)||Gs(e))Di(e,Pa(e),t);else for(var n in e)Nt.call(e,n)&&nr(t,n,e[n])})),wa=ji((function(t,e){Di(e,ja(e),t)})),ka=ji((function(t,e,n,r){Di(e,ja(e),t,r)})),_a=ji((function(t,e,n,r){Di(e,Pa(e),t,r)})),Sa=ro(ar);var Oa=Jr((function(t,e){t=Ct(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&wo(e[0],e[1],o)&&(r=1);++n<r;)for(var s=e[n],a=ja(s),l=-1,c=a.length;++l<c;){var u=a[l],d=t[u];(d===i||zs(d,jt[u])&&!Nt.call(t,u))&&(t[u]=s[u])}return t})),Ma=Jr((function(t){return t.push(i,to),Ce(Ia,i,t)}));function Ca(t,e,n){var r=null==t?i:Sr(t,e);return r===i?n:r}function Aa(t,e){return null!=t&&vo(t,e,Tr)}var Ta=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Bt.call(e)),t[e]=n}),el(il)),Ea=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Bt.call(e)),Nt.call(t,e)?t[e].push(n):t[e]=[n]}),co),Da=Jr(Dr);function Pa(t){return Gs(t)?Jn(t):Rr(t)}function ja(t){return Gs(t)?Jn(t,!0):$r(t)}var La=ji((function(t,e,n){Yr(t,e,n)})),Ia=ji((function(t,e,n,r){Yr(t,e,n,r)})),Na=ro((function(t,e){var n={};if(null==t)return n;var r=!1;e=Ie(e,(function(e){return e=xi(e,t),r||(r=e.length>1),e})),Di(t,oo(t),n),r&&(n=cr(n,7,eo));for(var i=e.length;i--;)hi(n,e[i]);return n}));var Ra=ro((function(t,e){return null==t?{}:function(t,e){return Ur(t,e,(function(e,n){return Aa(t,n)}))}(t,e)}));function $a(t,e){if(null==t)return{};var n=Ie(oo(t),(function(t){return[t]}));return e=co(e),Ur(t,n,(function(t,n){return e(t,n[0])}))}var Ba=Ji(Pa),Fa=Ji(ja);function za(t){return null==t?[]:tn(t,Pa(t))}var Ha=Ri((function(t,e,n){return e=e.toLowerCase(),t+(n?Ya(e):e)}));function Ya(t){return Ja(ya(t).toLowerCase())}function Wa(t){return(t=ya(t))&&t.replace(wt,on).replace(ee,"")}var Va=Ri((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ua=Ri((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ga=Ni("toLowerCase");var Xa=Ri((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var qa=Ri((function(t,e,n){return t+(n?" ":"")+Ja(e)}));var Ka=Ri((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ja=Ni("toUpperCase");function Za(t,e,n){return t=ya(t),(e=n?i:e)===i?function(t){return oe.test(t)}(t)?function(t){return t.match(re)||[]}(t):function(t){return t.match(dt)||[]}(t):t.match(e)||[]}var Qa=Jr((function(t,e){try{return Ce(t,i,e)}catch(t){return Js(t)?t:new St(t)}})),tl=ro((function(t,e){return Te(e,(function(e){e=$o(e),sr(t,e,Es(t[e],t))})),t}));function el(t){return function(){return t}}var nl=Fi(),rl=Fi(!0);function il(t){return t}function ol(t){return Nr("function"==typeof t?t:cr(t,1))}var sl=Jr((function(t,e){return function(n){return Dr(n,t,e)}})),al=Jr((function(t,e){return function(n){return Dr(t,n,e)}}));function ll(t,e,n){var r=Pa(e),i=_r(e,r);null!=n||ea(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=_r(e,Pa(e)));var o=!(ea(n)&&"chain"in n&&!n.chain),s=Zs(t);return Te(i,(function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ei(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Ne([this.value()],arguments))})})),t}function cl(){}var ul=Wi(Ie),dl=Wi(De),hl=Wi(Be);function fl(t){return ko(t)?Ge($o(t)):function(t){return function(e){return Sr(e,t)}}(t)}var pl=Ui(),ml=Ui(!0);function gl(){return[]}function vl(){return!1}var bl=Yi((function(t,e){return t+e}),0),yl=qi("ceil"),xl=Yi((function(t,e){return t/e}),1),wl=qi("floor");var kl,_l=Yi((function(t,e){return t*e}),1),Sl=qi("round"),Ol=Yi((function(t,e){return t-e}),0);return zn.after=function(t,e){if("function"!=typeof e)throw new Et(o);return t=ma(t),function(){if(--t<1)return e.apply(this,arguments)}},zn.ary=As,zn.assign=xa,zn.assignIn=wa,zn.assignInWith=ka,zn.assignWith=_a,zn.at=Sa,zn.before=Ts,zn.bind=Es,zn.bindAll=tl,zn.bindKey=Ds,zn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Vs(t)?t:[t]},zn.chain=fs,zn.chunk=function(t,e,n){e=(n?wo(t,e,n):e===i)?1:yn(ma(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,a=0,l=r(pe(o/e));s<o;)l[a++]=ii(t,s,s+=e);return l},zn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},zn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Ne(Vs(n)?Ei(n):[n],br(e,1))},zn.cond=function(t){var e=null==t?0:t.length,n=co();return t=e?Ie(t,(function(t){if("function"!=typeof t[1])throw new Et(o);return[n(t[0]),t[1]]})):[],Jr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Ce(i[0],this,n))return Ce(i[1],this,n)}}))},zn.conforms=function(t){return function(t){var e=Pa(t);return function(n){return ur(n,t,e)}}(cr(t,1))},zn.constant=el,zn.countBy=gs,zn.create=function(t,e){var n=Hn(t);return null==e?n:or(n,e)},zn.curry=function t(e,n,r){var o=Zi(e,8,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},zn.curryRight=function t(e,n,r){var o=Zi(e,l,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},zn.debounce=Ps,zn.defaults=Oa,zn.defaultsDeep=Ma,zn.defer=js,zn.delay=Ls,zn.difference=zo,zn.differenceBy=Ho,zn.differenceWith=Yo,zn.drop=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=n||e===i?1:ma(e))<0?0:e,r):[]},zn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,0,(e=r-(e=n||e===i?1:ma(e)))<0?0:e):[]},zn.dropRightWhile=function(t,e){return t&&t.length?pi(t,co(e,3),!0,!0):[]},zn.dropWhile=function(t,e){return t&&t.length?pi(t,co(e,3),!0):[]},zn.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&wo(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=ma(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:ma(r))<0&&(r+=o),r=n>r?0:ga(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},zn.filter=function(t,e){return(Vs(t)?Pe:vr)(t,co(e,3))},zn.flatMap=function(t,e){return br(Ss(t,e),1)},zn.flatMapDeep=function(t,e){return br(Ss(t,e),f)},zn.flatMapDepth=function(t,e,n){return n=n===i?1:ma(n),br(Ss(t,e),n)},zn.flatten=Uo,zn.flattenDeep=function(t){return(null==t?0:t.length)?br(t,f):[]},zn.flattenDepth=function(t,e){return(null==t?0:t.length)?br(t,e=e===i?1:ma(e)):[]},zn.flip=function(t){return Zi(t,512)},zn.flow=nl,zn.flowRight=rl,zn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},zn.functions=function(t){return null==t?[]:_r(t,Pa(t))},zn.functionsIn=function(t){return null==t?[]:_r(t,ja(t))},zn.groupBy=ws,zn.initial=function(t){return(null==t?0:t.length)?ii(t,0,-1):[]},zn.intersection=Xo,zn.intersectionBy=qo,zn.intersectionWith=Ko,zn.invert=Ta,zn.invertBy=Ea,zn.invokeMap=ks,zn.iteratee=ol,zn.keyBy=_s,zn.keys=Pa,zn.keysIn=ja,zn.map=Ss,zn.mapKeys=function(t,e){var n={};return e=co(e,3),wr(t,(function(t,r,i){sr(n,e(t,r,i),t)})),n},zn.mapValues=function(t,e){var n={};return e=co(e,3),wr(t,(function(t,r,i){sr(n,r,e(t,r,i))})),n},zn.matches=function(t){return zr(cr(t,1))},zn.matchesProperty=function(t,e){return Hr(t,cr(e,1))},zn.memoize=Is,zn.merge=La,zn.mergeWith=Ia,zn.method=sl,zn.methodOf=al,zn.mixin=ll,zn.negate=Ns,zn.nthArg=function(t){return t=ma(t),Jr((function(e){return Wr(e,t)}))},zn.omit=Na,zn.omitBy=function(t,e){return $a(t,Ns(co(e)))},zn.once=function(t){return Ts(2,t)},zn.orderBy=function(t,e,n,r){return null==t?[]:(Vs(e)||(e=null==e?[]:[e]),Vs(n=r?i:n)||(n=null==n?[]:[n]),Vr(t,e,n))},zn.over=ul,zn.overArgs=Rs,zn.overEvery=dl,zn.overSome=hl,zn.partial=$s,zn.partialRight=Bs,zn.partition=Os,zn.pick=Ra,zn.pickBy=$a,zn.property=fl,zn.propertyOf=function(t){return function(e){return null==t?i:Sr(t,e)}},zn.pull=Zo,zn.pullAll=Qo,zn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Gr(t,e,co(n,2)):t},zn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Gr(t,e,i,n):t},zn.pullAt=ts,zn.range=pl,zn.rangeRight=ml,zn.rearg=Fs,zn.reject=function(t,e){return(Vs(t)?Pe:vr)(t,Ns(co(e,3)))},zn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=co(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return Xr(t,i),n},zn.rest=function(t,e){if("function"!=typeof t)throw new Et(o);return Jr(t,e=e===i?e:ma(e))},zn.reverse=es,zn.sampleSize=function(t,e,n){return e=(n?wo(t,e,n):e===i)?1:ma(e),(Vs(t)?Qn:Qr)(t,e)},zn.set=function(t,e,n){return null==t?t:ti(t,e,n)},zn.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:ti(t,e,n,r)},zn.shuffle=function(t){return(Vs(t)?tr:ri)(t)},zn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&wo(t,e,n)?(e=0,n=r):(e=null==e?0:ma(e),n=n===i?r:ma(n)),ii(t,e,n)):[]},zn.sortBy=Ms,zn.sortedUniq=function(t){return t&&t.length?li(t):[]},zn.sortedUniqBy=function(t,e){return t&&t.length?li(t,co(e,2)):[]},zn.split=function(t,e,n){return n&&"number"!=typeof n&&wo(t,e,n)&&(e=n=i),(n=n===i?g:n>>>0)?(t=ya(t))&&("string"==typeof e||null!=e&&!sa(e))&&!(e=ui(e))&&ln(t)?ki(mn(t),0,n):t.split(e,n):[]},zn.spread=function(t,e){if("function"!=typeof t)throw new Et(o);return e=null==e?0:yn(ma(e),0),Jr((function(n){var r=n[e],i=ki(n,0,e);return r&&Ne(i,r),Ce(t,this,i)}))},zn.tail=function(t){var e=null==t?0:t.length;return e?ii(t,1,e):[]},zn.take=function(t,e,n){return t&&t.length?ii(t,0,(e=n||e===i?1:ma(e))<0?0:e):[]},zn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=r-(e=n||e===i?1:ma(e)))<0?0:e,r):[]},zn.takeRightWhile=function(t,e){return t&&t.length?pi(t,co(e,3),!1,!0):[]},zn.takeWhile=function(t,e){return t&&t.length?pi(t,co(e,3)):[]},zn.tap=function(t,e){return e(t),t},zn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Et(o);return ea(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ps(t,e,{leading:r,maxWait:e,trailing:i})},zn.thru=ps,zn.toArray=fa,zn.toPairs=Ba,zn.toPairsIn=Fa,zn.toPath=function(t){return Vs(t)?Ie(t,$o):ca(t)?[t]:Ei(Ro(ya(t)))},zn.toPlainObject=ba,zn.transform=function(t,e,n){var r=Vs(t),i=r||qs(t)||ua(t);if(e=co(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:ea(t)&&Zs(o)?Hn(Gt(t)):{}}return(i?Te:wr)(t,(function(t,r,i){return e(n,t,r,i)})),n},zn.unary=function(t){return As(t,1)},zn.union=ns,zn.unionBy=rs,zn.unionWith=is,zn.uniq=function(t){return t&&t.length?di(t):[]},zn.uniqBy=function(t,e){return t&&t.length?di(t,co(e,2)):[]},zn.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?di(t,i,e):[]},zn.unset=function(t,e){return null==t||hi(t,e)},zn.unzip=os,zn.unzipWith=ss,zn.update=function(t,e,n){return null==t?t:fi(t,e,yi(n))},zn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:fi(t,e,yi(n),r)},zn.values=za,zn.valuesIn=function(t){return null==t?[]:tn(t,ja(t))},zn.without=as,zn.words=Za,zn.wrap=function(t,e){return $s(yi(e),t)},zn.xor=ls,zn.xorBy=cs,zn.xorWith=us,zn.zip=ds,zn.zipObject=function(t,e){return vi(t||[],e||[],nr)},zn.zipObjectDeep=function(t,e){return vi(t||[],e||[],ti)},zn.zipWith=hs,zn.entries=Ba,zn.entriesIn=Fa,zn.extend=wa,zn.extendWith=ka,ll(zn,zn),zn.add=bl,zn.attempt=Qa,zn.camelCase=Ha,zn.capitalize=Ya,zn.ceil=yl,zn.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=va(n))==n?n:0),e!==i&&(e=(e=va(e))==e?e:0),lr(va(t),e,n)},zn.clone=function(t){return cr(t,4)},zn.cloneDeep=function(t){return cr(t,5)},zn.cloneDeepWith=function(t,e){return cr(t,5,e="function"==typeof e?e:i)},zn.cloneWith=function(t,e){return cr(t,4,e="function"==typeof e?e:i)},zn.conformsTo=function(t,e){return null==e||ur(t,e,Pa(e))},zn.deburr=Wa,zn.defaultTo=function(t,e){return null==t||t!=t?e:t},zn.divide=xl,zn.endsWith=function(t,e,n){t=ya(t),e=ui(e);var r=t.length,o=n=n===i?r:lr(ma(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},zn.eq=zs,zn.escape=function(t){return(t=ya(t))&&J.test(t)?t.replace(q,sn):t},zn.escapeRegExp=function(t){return(t=ya(t))&&ot.test(t)?t.replace(it,"\\$&"):t},zn.every=function(t,e,n){var r=Vs(t)?De:mr;return n&&wo(t,e,n)&&(e=i),r(t,co(e,3))},zn.find=vs,zn.findIndex=Wo,zn.findKey=function(t,e){return ze(t,co(e,3),wr)},zn.findLast=bs,zn.findLastIndex=Vo,zn.findLastKey=function(t,e){return ze(t,co(e,3),kr)},zn.floor=wl,zn.forEach=ys,zn.forEachRight=xs,zn.forIn=function(t,e){return null==t?t:yr(t,co(e,3),ja)},zn.forInRight=function(t,e){return null==t?t:xr(t,co(e,3),ja)},zn.forOwn=function(t,e){return t&&wr(t,co(e,3))},zn.forOwnRight=function(t,e){return t&&kr(t,co(e,3))},zn.get=Ca,zn.gt=Hs,zn.gte=Ys,zn.has=function(t,e){return null!=t&&vo(t,e,Ar)},zn.hasIn=Aa,zn.head=Go,zn.identity=il,zn.includes=function(t,e,n,r){t=Gs(t)?t:za(t),n=n&&!r?ma(n):0;var i=t.length;return n<0&&(n=yn(i+n,0)),la(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Ye(t,e,n)>-1},zn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ma(n);return i<0&&(i=yn(r+i,0)),Ye(t,e,i)},zn.inRange=function(t,e,n){return e=pa(e),n===i?(n=e,e=0):n=pa(n),function(t,e,n){return t>=xn(e,n)&&t<yn(e,n)}(t=va(t),e,n)},zn.invoke=Da,zn.isArguments=Ws,zn.isArray=Vs,zn.isArrayBuffer=Us,zn.isArrayLike=Gs,zn.isArrayLikeObject=Xs,zn.isBoolean=function(t){return!0===t||!1===t||na(t)&&Mr(t)==x},zn.isBuffer=qs,zn.isDate=Ks,zn.isElement=function(t){return na(t)&&1===t.nodeType&&!oa(t)},zn.isEmpty=function(t){if(null==t)return!0;if(Gs(t)&&(Vs(t)||"string"==typeof t||"function"==typeof t.splice||qs(t)||ua(t)||Ws(t)))return!t.length;var e=go(t);if(e==O||e==E)return!t.size;if(Oo(t))return!Rr(t).length;for(var n in t)if(Nt.call(t,n))return!1;return!0},zn.isEqual=function(t,e){return jr(t,e)},zn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?jr(t,e,i,n):!!r},zn.isError=Js,zn.isFinite=function(t){return"number"==typeof t&&xe(t)},zn.isFunction=Zs,zn.isInteger=Qs,zn.isLength=ta,zn.isMap=ra,zn.isMatch=function(t,e){return t===e||Lr(t,e,ho(e))},zn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,Lr(t,e,ho(e),n)},zn.isNaN=function(t){return ia(t)&&t!=+t},zn.isNative=function(t){if(So(t))throw new St("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ir(t)},zn.isNil=function(t){return null==t},zn.isNull=function(t){return null===t},zn.isNumber=ia,zn.isObject=ea,zn.isObjectLike=na,zn.isPlainObject=oa,zn.isRegExp=sa,zn.isSafeInteger=function(t){return Qs(t)&&t>=-9007199254740991&&t<=p},zn.isSet=aa,zn.isString=la,zn.isSymbol=ca,zn.isTypedArray=ua,zn.isUndefined=function(t){return t===i},zn.isWeakMap=function(t){return na(t)&&go(t)==j},zn.isWeakSet=function(t){return na(t)&&"[object WeakSet]"==Mr(t)},zn.join=function(t,e){return null==t?"":Fe.call(t,e)},zn.kebabCase=Va,zn.last=Jo,zn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=ma(n))<0?yn(r+o,0):xn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):He(t,Ve,o,!0)},zn.lowerCase=Ua,zn.lowerFirst=Ga,zn.lt=da,zn.lte=ha,zn.max=function(t){return t&&t.length?gr(t,il,Cr):i},zn.maxBy=function(t,e){return t&&t.length?gr(t,co(e,2),Cr):i},zn.mean=function(t){return Ue(t,il)},zn.meanBy=function(t,e){return Ue(t,co(e,2))},zn.min=function(t){return t&&t.length?gr(t,il,Br):i},zn.minBy=function(t,e){return t&&t.length?gr(t,co(e,2),Br):i},zn.stubArray=gl,zn.stubFalse=vl,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=_l,zn.nth=function(t,e){return t&&t.length?Wr(t,ma(e)):i},zn.noConflict=function(){return me._===this&&(me._=zt),this},zn.noop=cl,zn.now=Cs,zn.pad=function(t,e,n){t=ya(t);var r=(e=ma(e))?pn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Vi(ge(i),n)+t+Vi(pe(i),n)},zn.padEnd=function(t,e,n){t=ya(t);var r=(e=ma(e))?pn(t):0;return e&&r<e?t+Vi(e-r,n):t},zn.padStart=function(t,e,n){t=ya(t);var r=(e=ma(e))?pn(t):0;return e&&r<e?Vi(e-r,n)+t:t},zn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),kn(ya(t).replace(st,""),e||0)},zn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&wo(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=pa(t),e===i?(e=t,t=0):e=pa(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=_n();return xn(t+o*(e-t+de("1e-"+((o+"").length-1))),e)}return qr(t,e)},zn.reduce=function(t,e,n){var r=Vs(t)?Re:qe,i=arguments.length<3;return r(t,co(e,4),n,i,fr)},zn.reduceRight=function(t,e,n){var r=Vs(t)?$e:qe,i=arguments.length<3;return r(t,co(e,4),n,i,pr)},zn.repeat=function(t,e,n){return e=(n?wo(t,e,n):e===i)?1:ma(e),Kr(ya(t),e)},zn.replace=function(){var t=arguments,e=ya(t[0]);return t.length<3?e:e.replace(t[1],t[2])},zn.result=function(t,e,n){var r=-1,o=(e=xi(e,t)).length;for(o||(o=1,t=i);++r<o;){var s=null==t?i:t[$o(e[r])];s===i&&(r=o,s=n),t=Zs(s)?s.call(t):s}return t},zn.round=Sl,zn.runInContext=t,zn.sample=function(t){return(Vs(t)?Zn:Zr)(t)},zn.size=function(t){if(null==t)return 0;if(Gs(t))return la(t)?pn(t):t.length;var e=go(t);return e==O||e==E?t.size:Rr(t).length},zn.snakeCase=Xa,zn.some=function(t,e,n){var r=Vs(t)?Be:oi;return n&&wo(t,e,n)&&(e=i),r(t,co(e,3))},zn.sortedIndex=function(t,e){return si(t,e)},zn.sortedIndexBy=function(t,e,n){return ai(t,e,co(n,2))},zn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=si(t,e);if(r<n&&zs(t[r],e))return r}return-1},zn.sortedLastIndex=function(t,e){return si(t,e,!0)},zn.sortedLastIndexBy=function(t,e,n){return ai(t,e,co(n,2),!0)},zn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=si(t,e,!0)-1;if(zs(t[n],e))return n}return-1},zn.startCase=qa,zn.startsWith=function(t,e,n){return t=ya(t),n=null==n?0:lr(ma(n),0,t.length),e=ui(e),t.slice(n,n+e.length)==e},zn.subtract=Ol,zn.sum=function(t){return t&&t.length?Ke(t,il):0},zn.sumBy=function(t,e){return t&&t.length?Ke(t,co(e,2)):0},zn.template=function(t,e,n){var r=zn.templateSettings;n&&wo(t,e,n)&&(e=i),t=ya(t),e=ka({},e,r,Qi);var o,s,a=ka({},e.imports,r.imports,Qi),l=Pa(a),c=tn(a,l),u=0,d=e.interpolate||kt,h="__p += '",f=At((e.escape||kt).source+"|"+d.source+"|"+(d===tt?pt:kt).source+"|"+(e.evaluate||kt).source+"|$","g"),p="//# sourceURL="+(Nt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ae+"]")+"\n";t.replace(f,(function(e,n,r,i,a,l){return r||(r=i),h+=t.slice(u,l).replace(_t,an),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),h+="';\n";var m=Nt.call(e,"variable")&&e.variable;if(m){if(ht.test(m))throw new St("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(s?h.replace(V,""):h).replace(U,"$1").replace(G,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Qa((function(){return Ot(l,p+"return "+h).apply(i,c)}));if(g.source=h,Js(g))throw g;return g},zn.times=function(t,e){if((t=ma(t))<1||t>p)return[];var n=g,r=xn(t,g);e=co(e),t-=g;for(var i=Je(r,e);++n<t;)e(n);return i},zn.toFinite=pa,zn.toInteger=ma,zn.toLength=ga,zn.toLower=function(t){return ya(t).toLowerCase()},zn.toNumber=va,zn.toSafeInteger=function(t){return t?lr(ma(t),-9007199254740991,p):0===t?t:0},zn.toString=ya,zn.toUpper=function(t){return ya(t).toUpperCase()},zn.trim=function(t,e,n){if((t=ya(t))&&(n||e===i))return Ze(t);if(!t||!(e=ui(e)))return t;var r=mn(t),o=mn(e);return ki(r,nn(r,o),rn(r,o)+1).join("")},zn.trimEnd=function(t,e,n){if((t=ya(t))&&(n||e===i))return t.slice(0,gn(t)+1);if(!t||!(e=ui(e)))return t;var r=mn(t);return ki(r,0,rn(r,mn(e))+1).join("")},zn.trimStart=function(t,e,n){if((t=ya(t))&&(n||e===i))return t.replace(st,"");if(!t||!(e=ui(e)))return t;var r=mn(t);return ki(r,nn(r,mn(e))).join("")},zn.truncate=function(t,e){var n=30,r="...";if(ea(e)){var o="separator"in e?e.separator:o;n="length"in e?ma(e.length):n,r="omission"in e?ui(e.omission):r}var s=(t=ya(t)).length;if(ln(t)){var a=mn(t);s=a.length}if(n>=s)return t;var l=n-pn(r);if(l<1)return r;var c=a?ki(a,0,l).join(""):t.slice(0,l);if(o===i)return c+r;if(a&&(l+=c.length-l),sa(o)){if(t.slice(l).search(o)){var u,d=c;for(o.global||(o=At(o.source,ya(mt.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var h=u.index;c=c.slice(0,h===i?l:h)}}else if(t.indexOf(ui(o),l)!=l){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r},zn.unescape=function(t){return(t=ya(t))&&K.test(t)?t.replace(X,vn):t},zn.uniqueId=function(t){var e=++Rt;return ya(t)+e},zn.upperCase=Ka,zn.upperFirst=Ja,zn.each=ys,zn.eachRight=xs,zn.first=Go,ll(zn,(kl={},wr(zn,(function(t,e){Nt.call(zn.prototype,e)||(kl[e]=t)})),kl),{chain:!1}),zn.VERSION="4.17.21",Te(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){zn[t].placeholder=zn})),Te(["drop","take"],(function(t,e){Vn.prototype[t]=function(n){n=n===i?1:yn(ma(n),0);var r=this.__filtered__&&!e?new Vn(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,g),type:t+(r.__dir__<0?"Right":"")}),r},Vn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Te(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Vn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:co(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Te(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Vn.prototype[t]=function(){return this[n](1).value()[0]}})),Te(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Vn.prototype[t]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(il)},Vn.prototype.find=function(t){return this.filter(t).head()},Vn.prototype.findLast=function(t){return this.reverse().find(t)},Vn.prototype.invokeMap=Jr((function(t,e){return"function"==typeof t?new Vn(this):this.map((function(n){return Dr(n,t,e)}))})),Vn.prototype.reject=function(t){return this.filter(Ns(co(t)))},Vn.prototype.slice=function(t,e){t=ma(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Vn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=ma(e))<0?n.dropRight(-e):n.take(e-t)),n)},Vn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Vn.prototype.toArray=function(){return this.take(g)},wr(Vn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=zn[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(zn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof Vn,c=a[0],u=l||Vs(e),d=function(t){var e=o.apply(zn,Ne([t],a));return r&&h?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var h=this.__chain__,f=!!this.__actions__.length,p=s&&!h,m=l&&!f;if(!s&&u){e=m?e:new Vn(this);var g=t.apply(e,a);return g.__actions__.push({func:ps,args:[d],thisArg:i}),new Wn(g,h)}return p&&m?t.apply(this,a):(g=this.thru(d),p?r?g.value()[0]:g.value():g)})})),Te(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Dt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);zn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Vs(i)?i:[],t)}return this[n]((function(n){return e.apply(Vs(n)?n:[],t)}))}})),wr(Vn.prototype,(function(t,e){var n=zn[e];if(n){var r=n.name+"";Nt.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:e,func:n})}})),Pn[zi(i,2).name]=[{name:"wrapper",func:i}],Vn.prototype.clone=function(){var t=new Vn(this.__wrapped__);return t.__actions__=Ei(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ei(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ei(this.__views__),t},Vn.prototype.reverse=function(){if(this.__filtered__){var t=new Vn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Vn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Vs(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=xn(e,t+s);break;case"takeRight":t=yn(t,e-s)}}return{start:t,end:e}}(0,i,this.__views__),s=o.start,a=o.end,l=a-s,c=r?a:s-1,u=this.__iteratees__,d=u.length,h=0,f=xn(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return mi(t,this.__actions__);var p=[];t:for(;l--&&h<f;){for(var m=-1,g=t[c+=e];++m<d;){var v=u[m],b=v.iteratee,y=v.type,x=b(g);if(2==y)g=x;else if(!x){if(1==y)continue t;break t}}p[h++]=g}return p},zn.prototype.at=ms,zn.prototype.chain=function(){return fs(this)},zn.prototype.commit=function(){return new Wn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===i&&(this.__values__=fa(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},zn.prototype.plant=function(t){for(var e,n=this;n instanceof Yn;){var r=Fo(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},zn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Vn){var e=t;return this.__actions__.length&&(e=new Vn(this)),(e=e.reverse()).__actions__.push({func:ps,args:[es],thisArg:i}),new Wn(e,this.__chain__)}return this.thru(es)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Zt&&(zn.prototype[Zt]=function(){return this}),zn}();me._=bn,(r=function(){return bn}.call(e,n,e,t))===i||(t.exports=r)}.call(this)},48972:(t,e,n)=>{var r=n(49869);t.exports=function(){return r.Date.now()}},34766:(t,e,n)=>{var r=n(37296),i=n(44381),o=n(57130),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=a.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):s.test(t)?NaN:+t}},69129:function(t,e){var n,r,i;r=[],n=function t(){"use strict";var e="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{},n=!e.document&&!!e.postMessage,r=e.IS_PAPA_WORKER||!1,i={},o=0,s={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(w(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!w(r.transform)&&r.transform,r.worker&&s.WORKERS_SUPPORTED){var l=function(){if(!s.WORKERS_SUPPORTED)return!1;var n,r,a=(n=e.URL||e.webkitURL||null,r=t.toString(),s.BLOB_URL||(s.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new e.Worker(a);return l.onmessage=g,l.id=o++,i[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=w(r.step),r.chunk=w(r.chunk),r.complete=w(r.complete),r.error=w(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return s.NODE_STREAM_INPUT,"string"==typeof n?(n=function(t){return 65279===t.charCodeAt(0)?t.slice(1):t}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&w(n.read)&&w(n.on)?f=new h(r):(e.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(t,e){var n=!1,r=!0,i=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof e){if("string"!=typeof e.delimiter||s.BAD_DELIMITERS.filter((function(t){return-1!==e.delimiter.indexOf(t)})).length||(i=e.delimiter),("boolean"==typeof e.quotes||"function"==typeof e.quotes||Array.isArray(e.quotes))&&(n=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(c=e.skipEmptyLines),"string"==typeof e.newline&&(o=e.newline),"string"==typeof e.quoteChar&&(a=e.quoteChar),"boolean"==typeof e.header&&(r=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");u=e.columns}void 0!==e.escapeChar&&(l=e.escapeChar+a),("boolean"==typeof e.escapeFormulae||e.escapeFormulae instanceof RegExp)&&(d=e.escapeFormulae instanceof RegExp?e.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var h=new RegExp(p(a),"g");if("string"==typeof t&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return f(null,t,c);if("object"==typeof t[0])return f(u||Object.keys(t[0]),t,c)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||u),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:"object"==typeof t.data[0]?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),f(t.fields||[],t.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(t,e,n){var s="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e));var a=Array.isArray(t)&&0<t.length,l=!Array.isArray(e[0]);if(a&&r){for(var c=0;c<t.length;c++)0<c&&(s+=i),s+=m(t[c],c);0<e.length&&(s+=o)}for(var u=0;u<e.length;u++){var d=a?t.length:e[u].length,h=!1,f=a?0===Object.keys(e[u]).length:0===e[u].length;if(n&&!a&&(h="greedy"===n?""===e[u].join("").trim():1===e[u].length&&0===e[u][0].length),"greedy"===n&&a){for(var p=[],g=0;g<d;g++){var v=l?t[g]:g;p.push(e[u][v])}h=""===p.join("").trim()}if(!h){for(var b=0;b<d;b++){0<b&&!f&&(s+=i);var y=a&&l?t[b]:b;s+=m(e[u][y],b)}u<e.length-1&&(!n||0<d&&!f)&&(s+=o)}}return s}function m(t,e){if(null==t)return"";if(t.constructor===Date)return JSON.stringify(t).slice(1,25);var r=!1;d&&"string"==typeof t&&d.test(t)&&(t="'"+t,r=!0);var o=t.toString().replace(h,l);return(r=r||!0===n||"function"==typeof n&&n(t,e)||Array.isArray(n)&&n[e]||function(t,e){for(var n=0;n<e.length;n++)if(-1<t.indexOf(e[n]))return!0;return!1}(o,s.BAD_DELIMITERS)||-1<o.indexOf(i)||" "===o.charAt(0)||" "===o.charAt(o.length-1))?a+o+a:o}}};if(s.RECORD_SEP=String.fromCharCode(30),s.UNIT_SEP=String.fromCharCode(31),s.BYTE_ORDER_MARK="\ufeff",s.BAD_DELIMITERS=["\r","\n",'"',s.BYTE_ORDER_MARK],s.WORKERS_SUPPORTED=!n&&!!e.Worker,s.NODE_STREAM_INPUT=1,s.LocalChunkSize=10485760,s.RemoteChunkSize=5242880,s.DefaultDelimiter=",",s.Parser=m,s.ParserHandle=f,s.NetworkStreamer=c,s.FileStreamer=u,s.StringStreamer=d,s.ReadableStreamStreamer=h,e.jQuery){var a=e.jQuery;a.fn.parse=function(t){var n=t.config||{},r=[];return this.each((function(t){if("INPUT"!==a(this).prop("tagName").toUpperCase()||"file"!==a(this).attr("type").toLowerCase()||!e.FileReader||!this.files||0===this.files.length)return!0;for(var i=0;i<this.files.length;i++)r.push({file:this.files[i],inputElem:this,instanceConfig:a.extend({},n)})})),i(),this;function i(){if(0!==r.length){var e,n,i,l,c=r[0];if(w(t.before)){var u=t.before(c.file,c.inputElem);if("object"==typeof u){if("abort"===u.action)return e="AbortError",n=c.file,i=c.inputElem,l=u.reason,void(w(t.error)&&t.error({name:e},n,i,l));if("skip"===u.action)return void o();"object"==typeof u.config&&(c.instanceConfig=a.extend(c.instanceConfig,u.config))}else if("skip"===u)return void o()}var d=c.instanceConfig.complete;c.instanceConfig.complete=function(t){w(d)&&d(t,c.file,c.inputElem),o()},s.parse(c.file,c.instanceConfig)}else w(t.complete)&&t.complete()}function o(){r.splice(0,1),i()}}}function l(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=y(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null),this._handle=new f(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,n){if(this.isFirstChunk&&w(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(t);void 0!==i&&(t=i)}this.isFirstChunk=!1,this._halted=!1;var o=this._partialLine+t;this._partialLine="";var a=this._handle.parse(o,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var l=a.meta.cursor;this._finished||(this._partialLine=o.substring(l-this._baseIndex),this._baseIndex=l),a&&a.data&&(this._rowCount+=a.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)e.postMessage({results:a,workerId:s.WORKER_ID,finished:c});else if(w(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!w(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(t){w(this._config.error)?this._config.error(t):r&&this._config.error&&e.postMessage({workerId:s.WORKER_ID,error:t,finished:!1})}}function c(t){var e;(t=t||{}).chunkSize||(t.chunkSize=s.RemoteChunkSize),l.call(this,t),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),n||(e.onload=x(this._chunkLoaded,this),e.onerror=x(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var r in t)e.setRequestHeader(r,t[r])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;e.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{e.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}n&&0===e.status&&this._chunkError()}},this._chunkLoaded=function(){4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:e.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(t){var e=t.getResponseHeader("Content-Range");return null===e?-1:parseInt(e.substring(e.lastIndexOf("/")+1))}(e),this.parseChunk(e.responseText)))},this._chunkError=function(t){var n=e.statusText||t;this._sendError(new Error(n))}}function u(t){var e,n;(t=t||{}).chunkSize||(t.chunkSize=s.LocalChunkSize),l.call(this,t);var r="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,n=t.slice||t.webkitSlice||t.mozSlice,r?((e=new FileReader).onload=x(this._chunkLoaded,this),e.onerror=x(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input;if(this._config.chunkSize){var i=Math.min(this._start+this._config.chunkSize,this._input.size);t=n.call(t,this._start,i)}var o=e.readAsText(t,this._config.encoding);r||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function d(t){var e;l.call(this,t=t||{}),this.stream=function(t){return e=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t,n=this._config.chunkSize;return n?(t=e.substring(0,n),e=e.substring(n)):(t=e,e=""),this._finished=!e,this.parseChunk(t)}}}function h(t){l.call(this,t=t||{});var e=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===e.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):n=!0},this._streamData=x((function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}}),this),this._streamError=x((function(t){this._streamCleanUp(),this._sendError(t)}),this),this._streamEnd=x((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(t){var e,n,r,i=Math.pow(2,53),o=-i,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,h=!1,f=!1,g=[],v={data:[],errors:[],meta:{}};if(w(t.step)){var b=t.step;t.step=function(e){if(v=e,_())k();else{if(k(),0===v.data.length)return;u+=e.data.length,t.preview&&u>t.preview?n.abort():(v.data=v.data[0],b(v,c))}}}function x(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function k(){return v&&r&&(O("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+s.DefaultDelimiter+"'"),r=!1),t.skipEmptyLines&&(v.data=v.data.filter((function(t){return!x(t)}))),_()&&function(){if(v)if(Array.isArray(v.data[0])){for(var e=0;_()&&e<v.data.length;e++)v.data[e].forEach(n);v.data.splice(0,1)}else v.data.forEach(n);function n(e,n){w(t.transformHeader)&&(e=t.transformHeader(e,n)),g.push(e)}}(),function(){if(!v||!t.header&&!t.dynamicTyping&&!t.transform)return v;function e(e,n){var r,i=t.header?{}:[];for(r=0;r<e.length;r++){var o=r,s=e[r];t.header&&(o=r>=g.length?"__parsed_extra":g[r]),t.transform&&(s=t.transform(s,o)),s=S(o,s),"__parsed_extra"===o?(i[o]=i[o]||[],i[o].push(s)):i[o]=s}return t.header&&(r>g.length?O("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r<g.length&&O("FieldMismatch","TooFewFields","Too few fields: expected "+g.length+" fields but parsed "+r,d+n)),i}var n=1;return!v.data.length||Array.isArray(v.data[0])?(v.data=v.data.map(e),n=v.data.length):v.data=e(v.data,0),t.header&&v.meta&&(v.meta.fields=g),d+=n,v}()}function _(){return t.header&&0===g.length}function S(e,n){return r=e,t.dynamicTypingFunction&&void 0===t.dynamicTyping[r]&&(t.dynamicTyping[r]=t.dynamicTypingFunction(r)),!0===(t.dynamicTyping[r]||t.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(function(t){if(a.test(t)){var e=parseFloat(t);if(o<e&&e<i)return!0}return!1}(n)?parseFloat(n):l.test(n)?new Date(n):""===n?null:n):n;var r}function O(t,e,n,r){var i={type:t,code:e,message:n};void 0!==r&&(i.row=r),v.errors.push(i)}this.parse=function(i,o,a){var l=t.quoteChar||'"';if(t.newline||(t.newline=function(t,e){t=t.substring(0,1048576);var n=new RegExp(p(e)+"([^]*?)"+p(e),"gm"),r=(t=t.replace(n,"")).split("\r"),i=t.split("\n"),o=1<i.length&&i[0].length<r[0].length;if(1===r.length||o)return"\n";for(var s=0,a=0;a<r.length;a++)"\n"===r[a][0]&&s++;return s>=r.length/2?"\r\n":"\r"}(i,l)),r=!1,t.delimiter)w(t.delimiter)&&(t.delimiter=t.delimiter(i),v.meta.delimiter=t.delimiter);else{var c=function(e,n,r,i,o){var a,l,c,u;o=o||[",","\t","|",";",s.RECORD_SEP,s.UNIT_SEP];for(var d=0;d<o.length;d++){var h=o[d],f=0,p=0,g=0;c=void 0;for(var v=new m({comments:i,delimiter:h,newline:n,preview:10}).parse(e),b=0;b<v.data.length;b++)if(r&&x(v.data[b]))g++;else{var y=v.data[b].length;p+=y,void 0!==c?0<y&&(f+=Math.abs(y-c),c=y):c=y}0<v.data.length&&(p/=v.data.length-g),(void 0===l||f<=l)&&(void 0===u||u<p)&&1.99<p&&(l=f,a=h,u=p)}return{successful:!!(t.delimiter=a),bestDelimiter:a}}(i,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess);c.successful?t.delimiter=c.bestDelimiter:(r=!0,t.delimiter=s.DefaultDelimiter),v.meta.delimiter=t.delimiter}var u=y(t);return t.preview&&t.header&&u.preview++,e=i,n=new m(u),v=n.parse(e,o,a),k(),h?{meta:{paused:!0}}:v||{meta:{paused:!1}}},this.paused=function(){return h},this.pause=function(){h=!0,n.abort(),e=w(t.chunk)?"":e.substring(n.getCharIndex())},this.resume=function(){c.streamer._halted?(h=!1,c.streamer.parseChunk(e,!0)):setTimeout(c.resume,3)},this.aborted=function(){return f},this.abort=function(){f=!0,n.abort(),v.meta.aborted=!0,w(t.complete)&&t.complete(v),e=""}}function p(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(t){var e,n=(t=t||{}).delimiter,r=t.newline,i=t.comments,o=t.step,a=t.preview,l=t.fastMode,c=e=void 0===t.quoteChar||null===t.quoteChar?'"':t.quoteChar;if(void 0!==t.escapeChar&&(c=t.escapeChar),("string"!=typeof n||-1<s.BAD_DELIMITERS.indexOf(n))&&(n=","),i===n)throw new Error("Comment character same as delimiter");!0===i?i="#":("string"!=typeof i||-1<s.BAD_DELIMITERS.indexOf(i))&&(i=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var u=0,d=!1;this.parse=function(s,h,f){if("string"!=typeof s)throw new Error("Input must be a string");var m=s.length,g=n.length,v=r.length,b=i.length,y=w(o),x=[],k=[],_=[],S=u=0;if(!s)return U();if(t.header&&!h){var O=s.split(r)[0].split(n),M=[],C={},A=!1;for(var T in O){var E=O[T];w(t.transformHeader)&&(E=t.transformHeader(E,T));var D=E,P=C[E]||0;for(0<P&&(A=!0,D=E+"_"+P),C[E]=P+1;M.includes(D);)D=D+"_"+P;M.push(D)}if(A){var j=s.split(r);j[0]=M.join(n),s=j.join(r)}}if(l||!1!==l&&-1===s.indexOf(e)){for(var L=s.split(r),I=0;I<L.length;I++){if(_=L[I],u+=_.length,I!==L.length-1)u+=r.length;else if(f)return U();if(!i||_.substring(0,b)!==i){if(y){if(x=[],H(_.split(n)),G(),d)return U()}else H(_.split(n));if(a&&a<=I)return x=x.slice(0,a),U(!0)}}return U()}for(var N=s.indexOf(n,u),R=s.indexOf(r,u),$=new RegExp(p(c)+p(e),"g"),B=s.indexOf(e,u);;)if(s[u]!==e)if(i&&0===_.length&&s.substring(u,u+b)===i){if(-1===R)return U();u=R+v,R=s.indexOf(r,u),N=s.indexOf(n,u)}else if(-1!==N&&(N<R||-1===R))_.push(s.substring(u,N)),u=N+g,N=s.indexOf(n,u);else{if(-1===R)break;if(_.push(s.substring(u,R)),V(R+v),y&&(G(),d))return U();if(a&&x.length>=a)return U(!0)}else for(B=u,u++;;){if(-1===(B=s.indexOf(e,B+1)))return f||k.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:u}),W();if(B===m-1)return W(s.substring(u,B).replace($,e));if(e!==c||s[B+1]!==c){if(e===c||0===B||s[B-1]!==c){-1!==N&&N<B+1&&(N=s.indexOf(n,B+1)),-1!==R&&R<B+1&&(R=s.indexOf(r,B+1));var F=Y(-1===R?N:Math.min(N,R));if(s.substr(B+1+F,g)===n){_.push(s.substring(u,B).replace($,e)),s[u=B+1+F+g]!==e&&(B=s.indexOf(e,u)),N=s.indexOf(n,u),R=s.indexOf(r,u);break}var z=Y(R);if(s.substring(B+1+z,B+1+z+v)===r){if(_.push(s.substring(u,B).replace($,e)),V(B+1+z+v),N=s.indexOf(n,u),B=s.indexOf(e,u),y&&(G(),d))return U();if(a&&x.length>=a)return U(!0);break}k.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:x.length,index:u}),B++}}else B++}return W();function H(t){x.push(t),S=u}function Y(t){var e=0;if(-1!==t){var n=s.substring(B+1,t);n&&""===n.trim()&&(e=n.length)}return e}function W(t){return f||(void 0===t&&(t=s.substring(u)),_.push(t),u=m,H(_),y&&G()),U()}function V(t){u=t,H(_),_=[],R=s.indexOf(r,u)}function U(t){return{data:x,errors:k,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!t,cursor:S+(h||0)}}}function G(){o(U()),x=[],k=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(t){var e=t.data,n=i[e.workerId],r=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var o={abort:function(){r=!0,v(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(w(n.userStep)){for(var s=0;s<e.results.data.length&&(n.userStep({data:e.results.data[s],errors:e.results.errors,meta:e.results.meta},o),!r);s++);delete e.results}else w(n.userChunk)&&(n.userChunk(e.results,o,e.file),delete e.results)}e.finished&&!r&&v(e.workerId,e.results)}function v(t,e){var n=i[t];w(n.userComplete)&&n.userComplete(e),n.terminate(),delete i[t]}function b(){throw new Error("Not implemented.")}function y(t){if("object"!=typeof t||null===t)return t;var e=Array.isArray(t)?[]:{};for(var n in t)e[n]=y(t[n]);return e}function x(t,e){return function(){t.apply(e,arguments)}}function w(t){return"function"==typeof t}return r&&(e.onmessage=function(t){var n=t.data;if(void 0===s.WORKER_ID&&n&&(s.WORKER_ID=n.workerId),"string"==typeof n.input)e.postMessage({workerId:s.WORKER_ID,results:s.parse(n.input,n.config),finished:!0});else if(e.File&&n.input instanceof File||n.input instanceof Object){var r=s.parse(n.input,n.config);r&&e.postMessage({workerId:s.WORKER_ID,results:r,finished:!0})}}),(c.prototype=Object.create(l.prototype)).constructor=c,(u.prototype=Object.create(l.prototype)).constructor=u,(d.prototype=Object.create(d.prototype)).constructor=d,(h.prototype=Object.create(l.prototype)).constructor=h,s},void 0===(i="function"==typeof n?n.apply(e,r):n)||(t.exports=i)},9670:t=>{var e,n,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var a,l=[],c=!1,u=-1;function d(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&h())}function h(){if(!c){var t=s(d);c=!0;for(var e=l.length;e;){for(a=l,l=[];++u<e;)a&&a[u].run();u=-1,e=l.length}a=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function p(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new f(t,e)),1!==l.length||c||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},99695:function(t,e,n){var r,i;void 0===(i="function"==typeof(r=function(){"use strict";function t(e,n,r){if(void 0===n)return t.get(e);null===n?t.remove(e):t.set(e,n,r)}function e(t){return t.replace(/[.*+?^$|[\](){}\\-]/g,"\\$&")}function n(t){var e="";for(var n in t)if(t.hasOwnProperty(n)){if("expires"===n){var i=t[n];"object"!=typeof i&&(i=r(i+="number"==typeof i?"D":"")),t[n]=i.toUTCString()}if("secure"===n){t[n]&&(e+=";"+n);continue}e+=";"+n+"="+t[n]}return t.hasOwnProperty("path")||(e+=";path=/"),e}function r(t){var e=new Date,n=t.charAt(t.length-1),r=parseInt(t,10);switch(n){case"Y":e.setFullYear(e.getFullYear()+r);break;case"M":e.setMonth(e.getMonth()+r);break;case"D":e.setDate(e.getDate()+r);break;case"h":e.setHours(e.getHours()+r);break;case"m":e.setMinutes(e.getMinutes()+r);break;case"s":e.setSeconds(e.getSeconds()+r);break;default:e=new Date(t)}return e}return t.enabled=function(){var e,n="__test_key";return document.cookie=n+"=1",(e=!!document.cookie)&&t.remove(n),e},t.get=function(t,n){if("string"!=typeof t||!t)return null;t="(?:^|; )"+e(t)+"(?:=([^;]*?))?(?:;|$)";var r=new RegExp(t).exec(document.cookie);return null!==r?n?r[1]:decodeURIComponent(r[1]):null},t.getRaw=function(e){return t.get(e,!0)},t.set=function(t,e,r,i){!0!==r&&(i=r,r=!1),i=n(i||{});var o=t+"="+(r?e:encodeURIComponent(e))+i;document.cookie=o},t.setRaw=function(e,n,r){t.set(e,n,!0,r)},t.remove=function(e){t.set(e,"a",{expires:new Date})},t})?r.call(e,n,e,t):r)||(t.exports=i)},19882:function(t,e,n){var r;"undefined"!=typeof self&&self,r=function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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")}({"00fd":function(t,e,n){var r=n("9e69"),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=s.call(t);return r&&(e?t[a]=n:delete t[a]),i}},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="keys",p="values",m=function(){return this};t.exports=function(t,e,n,g,v,b,y){l(n,e,g);var x,w,k,_=function(t){if(!h&&t in C)return C[t];switch(t){case f:case p:return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",O=v==p,M=!1,C=t.prototype,A=C[d]||C["@@iterator"]||v&&C[v],T=A||_(v),E=v?O?_("entries"):T:void 0,D="Array"==e&&C.entries||A;if(D&&(k=u(D.call(new t)))!==Object.prototype&&k.next&&(c(k,S,!0),r||"function"==typeof k[d]||s(k,d,m)),O&&A&&A.name!==p&&(M=!0,T=function(){return A.call(this)}),r&&!y||!h&&!M&&C[d]||s(C,d,T),a[e]=T,a[S]=m,v)if(x={values:O?T:_(p),keys:b?T:_(f),entries:E},y)for(w in x)w in C||o(C,w,x[w]);else i(i.P+i.F*(h||M),e,x);return x}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),l=r(n),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l))<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"03dd":function(t,e,n){var r=n("eac5"),i=n("57a5"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},"04d4":function(t,e,n){"use strict";var r=n("c539");n.n(r).a},"0621":function(t,e,n){var r=n("9e69"),i=n("d370"),o=n("6747"),s=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(s&&t&&t[s])}},"07c7":function(t,e){t.exports=function(){return!1}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"087d":function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},"08cc":function(t,e,n){var r=n("1a8c");t.exports=function(t){return t==t&&!r(t)}},"099a":function(t,e){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},"0b07":function(t,e,n){var r=n("34ac"),i=n("3698");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d24":function(t,e,n){(function(t){var r=n("2b3e"),i=n("07c7"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0,l=(a?a.isBuffer:void 0)||i;t.exports=l}).call(this,n("62e4")(t))},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0f0f":function(t,e,n){var r=n("8eeb"),i=n("9934");t.exports=function(t,e){return t&&r(e,i(e),t)}},"0f5c":function(t,e,n){var r=n("159a");t.exports=function(t,e,n){return null==t?t:r(t,e,n)}},"100e":function(t,e,n){var r=n("cd9d"),i=n("2286"),o=n("c1c9");t.exports=function(t,e){return o(i(t,e,r),t+"")}},1041:function(t,e,n){var r=n("8eeb"),i=n("a029");t.exports=function(t,e){return r(t,i(t),e)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?c:function(t,e){if(t=o(t),e=s(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},"126d":function(t,e,n){var r=n("6da8"),i=n("aaec"),o=n("d094");t.exports=function(t){return i(t)?o(t):r(t)}},1290:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},1310:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},1349:function(t,e,n){var r=n("f064");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("61acf245",r,!0,{sourceMap:!1,shadowMode:!1})},1368:function(t,e,n){var r,i=n("da03"),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,l=0;a>l;)r.f(t,n=s[l++],e[n]);return t}},"159a":function(t,e,n){var r=n("32b3"),i=n("e2e4"),o=n("c098"),s=n("1a8c"),a=n("f4d6");t.exports=function(t,e,n,l){if(!s(t))return t;for(var c=-1,u=(e=i(e,t)).length,d=u-1,h=t;null!=h&&++c<u;){var f=a(e[c]),p=n;if(c!=d){var m=h[f];void 0===(p=l?l(m,f,h):void 0)&&(p=s(m)?m:o(e[c+1])?[]:{})}r(h,f,p),h=h[f]}return t}},"15f3":function(t,e,n){var r=n("89d9"),i=n("8604");t.exports=function(t,e){return r(t,e,(function(e,n){return i(t,n)}))}},1838:function(t,e,n){var r=n("c05f"),i=n("9b02"),o=n("8604"),s=n("f608"),a=n("08cc"),l=n("20ec"),c=n("f4d6");t.exports=function(t,e){return s(t)&&a(e)?l(c(t),e):function(n){var s=i(n,t);return void 0===s&&s===e?o(n,t):r(e,s,3)}}},"18d8":function(t,e,n){var r=n("234d"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=s},"1a2d":function(t,e,n){var r=n("42a2"),i=n("1310");t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},"1a8c":function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},"1bac":function(t,e,n){var r=n("7d1f"),i=n("a029"),o=n("9934");t.exports=function(t){return r(t,o,i)}},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1c3c":function(t,e,n){var r=n("9e69"),i=n("2474"),o=n("9638"),s=n("a2be"),a=n("edfa"),l=n("ac41"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,d,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=a;case"[object Set]":var p=1&r;if(f||(f=l),t.size!=e.size&&!p)return!1;var m=h.get(t);if(m)return m==e;r|=2,h.set(t,e);var g=s(f(t),f(e),r,c,d,h);return h.delete(t),g;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},"1cec":function(t,e,n){var r=n("0b07")(n("2b3e"),"Promise");t.exports=r},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"1efc":function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},"1fc8":function(t,e,n){var r=n("4245");t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},"20ec":function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),l=n("520a"),c=a("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=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 h=a(t),f=!o((function(){var e={};return e[h]=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[c]=function(){return n}),n[h](""),!e})):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!d){var m=/./[h],g=n(s,h,""[t],(function(t,e,n,r,i){return e.exec===l?f&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=g[0],b=g[1];r(String.prototype,t,v),i(RegExp.prototype,h,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},2285:function(t,e,n){"use strict";var r=n("6f6a");n.n(r).a},2286:function(t,e,n){var r=n("85e3"),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,a=i(o.length-e,0),l=Array(a);++s<a;)l[s]=o[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=o[s];return c[e]=n(l),r(t,this,c)}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"234d":function(t,e,n){var r=n("e380");t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},2350:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,r=t[1]||"",i=t[3];if(!i)return r;if(e&&"function"==typeof btoa){var o=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),s=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[r].concat(s).concat([o]).join("\n")}return[r].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},"23a5":function(t){t.exports=JSON.parse('{"maxSwipeTime":300,"minHorizontalSwipeDistance":60,"maxVerticalSwipeDistance":80}')},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},2411:function(t,e,n){var r=n("f909"),i=n("2ec1")((function(t,e,n,i){r(t,e,n,i)}));t.exports=i},"242e":function(t,e,n){var r=n("72af"),i=n("ec69");t.exports=function(t,e){return t&&r(t,e,i)}},2474:function(t,e,n){var r=n("2b3e").Uint8Array;t.exports=r},2478:function(t,e,n){var r=n("4245");t.exports=function(t){return r(this,t).get(t)}},2524:function(t,e,n){var r=n("6044");t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},"253c":function(t,e,n){var r=n("3729"),i=n("1310");t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},2593:function(t,e,n){var r=n("15f3"),i=n("c6cf")((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},"26e8":function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},2768:function(t,e){t.exports=function(t){return null==t}},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),s=n("0390"),a=n("9def"),l=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,h=[].push,f="split",p="length",m="lastIndex",g=4294967295,v=!u((function(){RegExp(g,"y")}));n("214f")("split",2,(function(t,e,n,u){var b;return b="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,s,a,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,f=void 0===e?g:e>>>0,v=new RegExp(t.source,u+"g");(o=c.call(v,i))&&!((s=v[m])>d&&(l.push(i.slice(d,o.index)),o[p]>1&&o.index<i[p]&&h.apply(l,o.slice(1)),a=o[0][p],d=s,l[p]>=f));)v[m]===o.index&&v[m]++;return d===i[p]?!a&&v.test("")||l.push(""):l.push(i.slice(d)),l[p]>f?l.slice(0,f):l}:"0"[f](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):b.call(String(i),n,r)},function(t,e){var r=u(b,t,this,e,b!==n);if(r.done)return r.value;var c=i(t),h=String(this),f=o(c,RegExp),p=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),y=new f(v?c:"^(?:"+c.source+")",m),x=void 0===e?g:e>>>0;if(0===x)return[];if(0===h.length)return null===l(y,h)?[h]:[];for(var w=0,k=0,_=[];k<h.length;){y.lastIndex=v?k:0;var S,O=l(y,v?h:h.slice(k));if(null===O||(S=d(a(y.lastIndex+(v?0:k)),h.length))===w)k=s(h,k,p);else{if(_.push(h.slice(w,k)),_.length===x)return _;for(var M=1;M<=O.length-1;M++)if(_.push(O[M]),_.length===x)return _;k=w=S}}return _.push(h.slice(w)),_}]}))},"28c9":function(t,e){t.exports=function(){this.__data__=[],this.size=0}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"29f3":function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),l="toString",c=(""+a).split(l);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(l&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=n("230e")("iframe"),r=o.length;for(e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c[l][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[l]=r(t),n=new a,a[l]=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},"2b03":function(t,e){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},"2b10":function(t,e){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},"2b3e":function(t,e,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},"2c66":function(t,e,n){var r=n("d612"),i=n("8db3"),o=n("5edf"),s=n("c584"),a=n("750a"),l=n("ac41");t.exports=function(t,e,n){var c=-1,u=i,d=t.length,h=!0,f=[],p=f;if(n)h=!1,u=o;else if(d>=200){var m=e?null:a(t);if(m)return l(m);h=!1,u=s,p=new r}else p=e?[]:f;t:for(;++c<d;){var g=t[c],v=e?e(g):g;if(g=n||0!==g?g:0,h&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue t;e&&p.push(v),f.push(g)}else u(p,v,n)||(p!==f&&p.push(v),f.push(g))}return f}},"2d00":function(t,e){t.exports=!1},"2d7c":function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2dcb":function(t,e,n){var r=n("91e9")(Object.getPrototypeOf,Object);t.exports=r},"2ec1":function(t,e,n){var r=n("100e"),i=n("9aff");t.exports=function(t){return r((function(e,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);++r<o;){var l=n[r];l&&t(e,l,r,s)}return e}))}},"2fcc":function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},3092:function(t,e,n){var r=n("4284"),i=n("badf"),o=n("361d"),s=n("6747"),a=n("9aff");t.exports=function(t,e,n){var l=s(t)?r:o;return n&&a(t,e,n)&&(e=void 0),l(t,i(e,3))}},"30c9":function(t,e,n){var r=n("9520"),i=n("b218");t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},"32b3":function(t,e,n){var r=n("872a"),i=n("9638"),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var s=t[e];o.call(t,e)&&i(s,n)&&(void 0!==n||e in t)||r(t,e,n)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32f4":function(t,e,n){var r=n("2d7c"),i=n("d327"),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(e){return o.call(t,e)})))}:i;t.exports=a},"34ac":function(t,e,n){var r=n("9520"),i=n("1368"),o=n("1a8c"),s=n("dc57"),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?h:a).test(s(t))}},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"361d":function(t,e,n){var r=n("48a0");t.exports=function(t,e){var n;return r(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}},3698:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},3729:function(t,e,n){var r=n("9e69"),i=n("00fd"),o=n("29f3"),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},"375a":function(t,e,n){var r=n("b20a")((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}));t.exports=r},3818:function(t,e,n){var r=n("7e64"),i=n("8057"),o=n("32b3"),s=n("5b01"),a=n("0f0f"),l=n("e538"),c=n("4359"),u=n("54eb"),d=n("1041"),h=n("a994"),f=n("1bac"),p=n("42a2"),m=n("c87c"),g=n("c2b6"),v=n("fa21"),b=n("6747"),y=n("0d24"),x=n("cc45"),w=n("1a8c"),k=n("d7ee"),_=n("ec69"),S="[object Arguments]",O="[object Function]",M="[object Object]",C={};C[S]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[M]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[O]=C["[object WeakMap]"]=!1,t.exports=function t(e,n,A,T,E,D){var P,j=1&n,L=2&n,I=4&n;if(A&&(P=E?A(e,T,E,D):A(e)),void 0!==P)return P;if(!w(e))return e;var N=b(e);if(N){if(P=m(e),!j)return c(e,P)}else{var R=p(e),$=R==O||"[object GeneratorFunction]"==R;if(y(e))return l(e,j);if(R==M||R==S||$&&!E){if(P=L||$?{}:v(e),!j)return L?d(e,a(P,e)):u(e,s(P,e))}else{if(!C[R])return E?e:{};P=g(e,R,j)}}D||(D=new r);var B=D.get(e);if(B)return B;D.set(e,P),k(e)?e.forEach((function(r){P.add(t(r,n,A,r,e,D))})):x(e)&&e.forEach((function(r,i){P.set(i,t(r,n,A,i,e,D))}));var F=I?L?f:h:L?keysIn:_,z=N?void 0:F(e);return i(z||e,(function(r,i){z&&(r=e[i=r]),o(P,i,t(r,n,A,i,e,D))})),P}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},3852:function(t,e,n){var r=n("96f3"),i=n("e2c0");t.exports=function(t,e){return null!=t&&i(t,e,r)}},"386d":function(t,e,n){"use strict";var r=n("cb7c"),i=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,s){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var a=r(t),l=String(this),c=a.lastIndex;i(c,0)||(a.lastIndex=0);var u=o(a,l);return i(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]}))},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"39ff":function(t,e,n){var r=n("0b07")(n("2b3e"),"WeakMap");t.exports=r},"3b2b":function(t,e,n){var r=n("7726"),i=n("5dbc"),o=n("86cc").f,s=n("9093").f,a=n("aae3"),l=n("0bfb"),c=r.RegExp,u=c,d=c.prototype,h=/a/g,f=/a/g,p=new c(h)!==h;if(n("9e1e")&&(!p||n("79e5")((function(){return f[n("2b4c")("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")})))){c=function(t,e){var n=this instanceof c,r=a(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(p?new u(r&&!o?t.source:t,e):u((r=t instanceof c)?t.source:t,r&&o?l.call(t):e),n?this:d,c)};for(var m=function(t){t in c||o(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},g=s(u),v=0;g.length>v;)m(g[v++]);d.constructor=c,c.prototype=d,n("2aba")(r,"RegExp",c)}n("7a56")("RegExp")},"3b4a":function(t,e,n){var r=n("0b07"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},"3bb4":function(t,e,n){var r=n("08cc"),i=n("ec69");t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],s=t[o];e[n]=[o,s,r(s)]}return e}},"3d14":function(t,e,n){"use strict";var r=n("c724");n.n(r).a},"3eea":function(t,e,n){var r=n("7948"),i=n("3818"),o=n("4bb5"),s=n("e2e4"),a=n("8eeb"),l=n("e0e7"),c=n("c6cf"),u=n("1bac"),d=c((function(t,e){var n={};if(null==t)return n;var c=!1;e=r(e,(function(e){return e=s(e,t),c||(c=e.length>1),e})),a(t,u(t),n),c&&(n=i(n,7,l));for(var d=e.length;d--;)o(n,e[d]);return n}));t.exports=d},"3f84":function(t,e,n){var r=n("85e3"),i=n("100e"),o=n("e031"),s=n("2411"),a=i((function(t){return t.push(void 0,o),r(s,void 0,t)}));t.exports=a},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"41c3":function(t,e,n){var r=n("1a8c"),i=n("eac5"),o=n("ec8c"),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&n.push(a);return n}},4245:function(t,e,n){var r=n("1290");t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},4284:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},"42a2":function(t,e,n){var r=n("b5a7"),i=n("79bc"),o=n("1cec"),s=n("c869"),a=n("39ff"),l=n("3729"),c=n("dc57"),u="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",m=c(r),g=c(i),v=c(o),b=c(s),y=c(a),x=l;(r&&x(new r(new ArrayBuffer(1)))!=p||i&&x(new i)!=u||o&&x(o.resolve())!=d||s&&x(new s)!=h||a&&x(new a)!=f)&&(x=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return p;case g:return u;case v:return d;case b:return h;case y:return f}return e}),t.exports=x},4359:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},4416:function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47f5":function(t,e,n){var r=n("2b03"),i=n("d9a8"),o=n("099a");t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},"48a0":function(t,e,n){var r=n("242e"),i=n("950a")(r);t.exports=i},4917:function(t,e,n){"use strict";var r=n("cb7c"),i=n("9def"),o=n("0390"),s=n("5f1b");n("214f")("match",1,(function(t,e,n,a){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var l=r(t),c=String(this);if(!l.global)return s(l,c);var u=l.unicode;l.lastIndex=0;for(var d,h=[],f=0;null!==(d=s(l,c));){var p=String(d[0]);h[f]=p,""===p&&(l.lastIndex=o(c,i(l.lastIndex),u)),f++}return 0===f?null:h}]}))},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){c=n,d=i||{};var s=r(t,e);return m(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i];(l=o[a.id]).refs--,n.push(l)}for(e?m(s=r(t,e)):s=[],i=0;i<n.length;i++){var l;if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,r=document.querySelector("style["+h+'~="'+t.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=a||(a=g()),e=x.bind(null,r,i,!1),n=x.bind(null,r,i,!0)}else r=g(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b,y=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function x(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function w(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),d.ssrId&&t.setAttribute(h,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"49e7":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-svg-icon[data-v-63f7b5ec]{display:inline-block;stroke:currentColor;stroke-width:0}.vc-svg-icon path[data-v-63f7b5ec]{fill:currentColor}",""])},"49f4":function(t,e,n){var r=n("6044");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},"4bb5":function(t,e,n){var r=n("e2e4"),i=n("4416"),o=n("8296"),s=n("f4d6");t.exports=function(t,e){return e=r(e,t),null==(t=o(t,e))||delete t[s(i(e))]}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4caa":function(t,e,n){var r=n("a919"),i=n("76dd"),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(o,r).replace(s,"")}},"4cfe":function(t,e){t.exports=function(t){return void 0===t}},"4d8c":function(t,e,n){var r=n("5c69");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},"4f50":function(t,e,n){var r=n("b760"),i=n("e538"),o=n("c8fe"),s=n("4359"),a=n("fa21"),l=n("d370"),c=n("6747"),u=n("dcbe"),d=n("0d24"),h=n("9520"),f=n("1a8c"),p=n("60ed"),m=n("73ac"),g=n("8adb"),v=n("8de2");t.exports=function(t,e,n,b,y,x,w){var k=g(t,n),_=g(e,n),S=w.get(_);if(S)r(t,n,S);else{var O=x?x(k,_,n+"",t,e,w):void 0,M=void 0===O;if(M){var C=c(_),A=!C&&d(_),T=!C&&!A&&m(_);O=_,C||A||T?c(k)?O=k:u(k)?O=s(k):A?(M=!1,O=i(_,!0)):T?(M=!1,O=o(_,!0)):O=[]:p(_)||l(_)?(O=k,l(k)?O=v(k):f(k)&&!h(k)||(O=a(_))):M=!1}M&&(w.set(_,O),y(O,_,b,x,w),w.delete(_)),r(t,n,O)}}},"501e":function(t,e,n){var r=n("3729"),i=n("1310");t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==r(t)}},"50d8":function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},"520a":function(t,e,n){"use strict";var r,i,o=n("0bfb"),s=RegExp.prototype.exec,a=String.prototype.replace,l=s,c="lastIndex",u=(r=/a/,i=/b*/g,s.call(r,"a"),s.call(i,"a"),0!==r[c]||0!==i[c]),d=void 0!==/()??/.exec("")[1];(u||d)&&(l=function(t){var e,n,r,i,l=this;return d&&(n=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),u&&(e=l[c]),r=s.call(l,t),u&&r&&(l[c]=l.global?r.index+r[0].length:e),d&&r&&r.length>1&&a.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=l},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"54eb":function(t,e,n){var r=n("8eeb"),i=n("32f4");t.exports=function(t,e){return r(t,i(t),e)}},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"55a3":function(t,e){t.exports=function(t){return this.__data__.has(t)}},"57a5":function(t,e,n){var r=n("91e9")(Object.keys,Object);t.exports=r},"584a":function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},"585a":function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("c8ba"))},"5b01":function(t,e,n){var r=n("8eeb"),i=n("ec69");t.exports=function(t,e){return t&&r(e,i(e),t)}},"5c69":function(t,e,n){var r=n("087d"),i=n("0621");t.exports=function t(e,n,o,s,a){var l=-1,c=e.length;for(o||(o=i),a||(a=[]);++l<c;){var u=e[l];n>0&&o(u)?n>1?t(u,n-1,o,s,a):r(a,u):s||(a[a.length]=u)}return a}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),l="prototype",c=function(t,e,n){var u,d,h,f,p=t&c.F,m=t&c.G,g=t&c.S,v=t&c.P,b=t&c.B,y=m?r:g?r[e]||(r[e]={}):(r[e]||{})[l],x=m?i:i[e]||(i[e]={}),w=x[l]||(x[l]={});for(u in m&&(n=e),n)h=((d=!p&&y&&void 0!==y[u])?y:n)[u],f=b&&d?a(h,r):v&&"function"==typeof h?a(Function.call,h):h,y&&s(y,u,h,t&c.U),x[u]!=h&&o(x,u,f),v&&w[u]!=h&&(w[u]=h)};r.core=i,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},"5cab":function(t,e,n){var r=n("961c");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("bce10684",r,!0,{sourceMap:!1,shadowMode:!1})},"5d89":function(t,e,n){var r=n("f8af");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5e2e":function(t,e,n){var r=n("28c9"),i=n("69d5"),o=n("b4c0"),s=n("fba5"),a=n("67ca");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},"5edf":function(t,e){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=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"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"5fa8":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,"[data-v-56ae83be] .vc-container{border:none}",""])},6044:function(t,e,n){var r=n("0b07")(Object,"create");t.exports=r},"60ed":function(t,e,n){var r=n("3729"),i=n("2dcb"),o=n("1310"),s=Function.prototype,a=Object.prototype,l=s.toString,c=a.hasOwnProperty,u=l.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},6220:function(t,e,n){var r=n("b1d2"),i=n("b047"),o=n("99d3"),s=o&&o.isDate,a=s?i(s):r;t.exports=a},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},6300:function(t,e,n){var r=n("5fa8");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("896f0928",r,!0,{sourceMap:!1,shadowMode:!1})},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),l="prototype",c=function(t,e,n){var u,d,h,f=t&c.F,p=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,b=t&c.W,y=p?i:i[e]||(i[e]={}),x=y[l],w=p?r:m?r[e]:(r[e]||{})[l];for(u in p&&(n=e),n)(d=!f&&w&&void 0!==w[u])&&a(y,u)||(h=d?w[u]:n[u],y[u]=p&&"function"!=typeof w[u]?n[u]:v&&d?o(h,r):b&&w[u]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[u]=h,t&c.R&&x&&!x[u]&&s(x,u,h)))};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},"642a":function(t,e,n){var r=n("966f"),i=n("3bb4"),o=n("20ec");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},"656b":function(t,e,n){var r=n("e2e4"),i=n("f4d6");t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},6679:function(t,e,n){var r=n("3729"),i=n("1310");t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==r(t)}},6747:function(t,e){var n=Array.isArray;t.exports=n},"67ca":function(t,e,n){var r=n("cb5a");t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"694d":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-container{--slide-translate:22px;--slide-duration:0.15s;--slide-timing:ease;--header-padding:10px 10px 0 10px;--title-padding:0 8px;--arrows-padding:8px 10px;--arrow-font-size:26px;--weekday-padding:5px 0;--weeks-padding:5px 6px 7px 6px;--nav-container-width:170px;--day-min-height:28px;--day-content-width:28px;--day-content-height:28px;--day-content-margin:1.6px auto;--day-content-transition-time:0.13s ease-in;--day-content-bg-color-hover:rgba(204,214,224,0.3);--day-content-dark-bg-color-hover:rgba(114,129,151,0.3);--day-content-bg-color-focus:rgba(204,214,224,0.4);--day-content-dark-bg-color-focus:rgba(114,129,151,0.4);--highlight-height:28px;--dot-diameter:5px;--dot-border-radius:50%;--dot-spacing:3px;--bar-height:3px;--bars-width:75%;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative;width:-webkit-max-content;width:max-content;-webkit-tap-highlight-color:transparent}.vc-arrows-container{width:100%;position:absolute;top:0;display:flex;justify-content:space-between;padding:var(--arrows-padding);pointer-events:none}.vc-arrows-container.title-left{justify-content:flex-end}.vc-arrows-container.title-right{justify-content:flex-start}",""])},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d5":function(t,e,n){var r=n("cb5a"),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6ac0":function(t,e){t.exports=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],l=function(t){n("2aba")(RegExp.prototype,s,t,!0)};n("79e5")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):a.name!=s&&l((function(){return a.call(this)}))},"6da8":function(t,e){t.exports=function(t){return t.split("")}},"6f6a":function(t,e,n){var r=n("ee59");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("5ac13234",r,!0,{sourceMap:!1,shadowMode:!1})},"6f6c":function(t,e){var n=/\w*$/;t.exports=function(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}},"6fcd":function(t,e,n){var r=n("50d8"),i=n("d370"),o=n("6747"),s=n("0d24"),a=n("c098"),l=n("73ac"),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),u=!n&&i(t),d=!n&&!u&&s(t),h=!n&&!u&&!d&&l(t),f=n||u||d||h,p=f?r(t.length,String):[],m=p.length;for(var g in t)!e&&!c.call(t,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||p.push(g);return p}},"72af":function(t,e,n){var r=n("99cd")();t.exports=r},"72f0":function(t,e){t.exports=function(t){return function(){return t}}},7365:function(t,e,n){"use strict";var r=n("87e8");n.n(r).a},"73ac":function(t,e,n){var r=n("743f"),i=n("b047"),o=n("99d3"),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},"743f":function(t,e,n){var r=n("3729"),i=n("b218"),o=n("1310"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!s[r(t)]}},"750a":function(t,e,n){var r=n("c869"),i=n("bcdf"),o=n("ac41"),s=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=s},7530:function(t,e,n){var r=n("1a8c"),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},7559:function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(n)||[]}},"76dd":function(t,e,n){var r=n("ce86");t.exports=function(t){return null==t?"":r(t)}},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 r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},7948:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79bc":function(t,e,n){var r=n("0b07")(n("2b3e"),"Map");t.exports=r},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7a48":function(t,e,n){var r=n("6044"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},"7b83":function(t,e,n){var r=n("7c64"),i=n("93ed"),o=n("2478"),s=n("a524"),a=n("1fc8");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},"7b97":function(t,e,n){var r=n("7e64"),i=n("a2be"),o=n("1c3c"),s=n("b1e5"),a=n("42a2"),l=n("6747"),c=n("0d24"),u=n("73ac"),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,m,g,v){var b=l(t),y=l(e),x=b?h:a(t),w=y?h:a(e),k=(x=x==d?f:x)==f,_=(w=w==d?f:w)==f,S=x==w;if(S&&c(t)){if(!c(e))return!1;b=!0,k=!1}if(S&&!k)return v||(v=new r),b||u(t)?i(t,e,n,m,g,v):o(t,e,x,n,m,g,v);if(!(1&n)){var O=k&&p.call(t,"__wrapped__"),M=_&&p.call(e,"__wrapped__");if(O||M){var C=O?t.value():t,A=M?e.value():e;return v||(v=new r),g(C,A,n,m,v)}}return!!S&&(v||(v=new r),s(t,e,n,m,g,v))}},"7c64":function(t,e,n){var r=n("e24b"),i=n("5e2e"),o=n("79bc");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},"7d1f":function(t,e,n){var r=n("087d"),i=n("6747");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},"7e64":function(t,e,n){var r=n("5e2e"),i=n("efb6"),o=n("2fcc"),s=n("802a"),a=n("55a3"),l=n("d02c");function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,t.exports=c},"7e8e":function(t,e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return n.test(t)}},"7ed2":function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},"7efe":function(t){t.exports=JSON.parse('{"title":"MMMM YYYY","weekdays":"W","navMonths":"MMM","input":["L","YYYY-MM-DD","YYYY/MM/DD"],"dayPopover":"WWW, MMM D, YYYY","data":["L","YYYY-MM-DD","YYYY/MM/DD"]}')},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"802a":function(t,e){t.exports=function(t){return this.__data__.get(t)}},8057:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},8103:function(t,e,n){var r=n("d194")("toUpperCase");t.exports=r},8296:function(t,e,n){var r=n("656b"),i=n("2b10");t.exports=function(t,e){return e.length<2?t:r(t,i(e,0,-1))}},8378:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},8384:function(t,e){t.exports=function(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},"84f2":function(t,e){t.exports={}},"85a9":function(t){t.exports=JSON.parse('{"sm":"640px","md":"768px","lg":"1024px","xl":"1280px"}')},"85e3":function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},"85f2":function(t,e,n){t.exports=n("454f")},8604:function(t,e,n){var r=n("26e8"),i=n("e2c0");t.exports=function(t,e){return null!=t&&i(t,e,r)}},"86aa":function(t,e,n){"use strict";var r=n("9349");n.n(r).a},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},"872a":function(t,e,n){var r=n("3b4a");t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},"87e8":function(t,e,n){var r=n("c631");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("475a7ea0",r,!0,{sourceMap:!1,shadowMode:!1})},"89d9":function(t,e,n){var r=n("656b"),i=n("159a"),o=n("e2e4");t.exports=function(t,e,n){for(var s=-1,a=e.length,l={};++s<a;){var c=e[s],u=r(t,c);n(u,c)&&i(l,o(c,t),u)}return l}},"8adb":function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8bbf":function(e,n){e.exports=t},"8db3":function(t,e,n){var r=n("47f5");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},"8de2":function(t,e,n){var r=n("8eeb"),i=n("9934");t.exports=function(t){return r(t,i(t))}},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8eeb":function(t,e,n){var r=n("32b3"),i=n("872a");t.exports=function(t,e,n,o){var s=!n;n||(n={});for(var a=-1,l=e.length;++a<l;){var c=e[a],u=o?o(n[c],t[c],c,n,t):void 0;void 0===u&&(u=t[c]),s?i(n,c,u):r(n,c,u)}return n}},9010:function(t,e,n){"use strict";var r=n("9740");n.n(r).a},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"91e9":function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},9349:function(t,e,n){var r=n("b6dd");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("f4e80066",r,!0,{sourceMap:!1,shadowMode:!1})},"93ed":function(t,e,n){var r=n("4245");t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},"950a":function(t,e,n){var r=n("30c9");t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,s=e?o:-1,a=Object(n);(e?s--:++s<o)&&!1!==i(a[s],s,a););return n}}},9520:function(t,e,n){var r=n("3729"),i=n("1a8c");t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},"95ae":function(t,e,n){var r=n("100e"),i=n("9638"),o=n("9aff"),s=n("9934"),a=Object.prototype,l=a.hasOwnProperty,c=r((function(t,e){t=Object(t);var n=-1,r=e.length,c=r>2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n<r;)for(var u=e[n],d=s(u),h=-1,f=d.length;++h<f;){var p=d[h],m=t[p];(void 0===m||i(m,a[p])&&!l.call(t,p))&&(t[p]=u[p])}return t}));t.exports=c},"961c":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-day[data-v-2aac4f42]{position:relative;min-height:var(--day-min-height);width:100%;height:100%;z-index:1}.vc-day-layer[data-v-2aac4f42]{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.vc-day-box-center-center[data-v-2aac4f42]{display:flex;justify-content:center;align-items:center;height:100%;transform-origin:50% 50%}.vc-day-box-left-center[data-v-2aac4f42]{display:flex;justify-content:flex-start;align-items:center;height:100%;transform-origin:0 50%}.vc-day-box-right-center[data-v-2aac4f42]{display:flex;justify-content:flex-end;align-items:center;height:100%;transform-origin:100% 50%}.vc-day-box-center-bottom[data-v-2aac4f42]{display:flex;justify-content:center;align-items:flex-end}.vc-day-content[data-v-2aac4f42]{display:flex;justify-content:center;align-items:center;width:var(--day-content-width);height:var(--day-content-height);margin:var(--day-content-margin);-webkit-user-select:none;-ms-user-select:none;user-select:none}.vc-day-content[data-v-2aac4f42]:hover{background-color:var(--day-content-bg-color-hover)}.vc-day-content:hover.vc-is-dark[data-v-2aac4f42]{background-color:var(--day-content-dark-bg-color-hover)}.vc-day-content[data-v-2aac4f42]:focus{background-color:var(--day-content-bg-color-focus)}.vc-day-content:focus.vc-is-dark[data-v-2aac4f42]{background-color:var(--day-content-dark-bg-color-focus)}.vc-highlights[data-v-2aac4f42]{overflow:hidden;pointer-events:none;z-index:-1}.vc-highlight[data-v-2aac4f42]{width:var(--highlight-height);height:var(--highlight-height)}.vc-highlight.vc-highlight-base-start[data-v-2aac4f42]{width:50%!important;border-radius:0!important;border-right-width:0!important}.vc-highlight.vc-highlight-base-end[data-v-2aac4f42]{width:50%!important;border-radius:0!important;border-left-width:0!important}.vc-highlight.vc-highlight-base-middle[data-v-2aac4f42]{width:100%;border-radius:0!important;border-left-width:0!important;border-right-width:0!important;margin:0 -1px}.vc-dots[data-v-2aac4f42]{display:flex;justify-content:center;align-items:center}.vc-dot[data-v-2aac4f42]{width:var(--dot-diameter);height:var(--dot-diameter);border-radius:var(--dot-border-radius);transition:all var(--day-content-transition-time)}.vc-dot[data-v-2aac4f42]:not(:last-child){margin-right:var(--dot-spacing)}.vc-bars[data-v-2aac4f42]{display:flex;justify-content:flex-start;align-items:center;width:var(--bars-width)}.vc-bar[data-v-2aac4f42]{flex-grow:1;height:var(--bar-height);transition:all var(--day-content-transition-time)}",""])},9638:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},"966f":function(t,e,n){var r=n("7e64"),i=n("c05f");t.exports=function(t,e,n,o){var s=n.length,a=s,l=!o;if(null==t)return!a;for(t=Object(t);s--;){var c=n[s];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s<a;){var u=(c=n[s])[0],d=t[u],h=c[1];if(l&&c[2]){if(void 0===d&&!(u in t))return!1}else{var f=new r;if(o)var p=o(d,h,u,t,e,f);if(!(void 0===p?i(h,d,3,o,f):p))return!1}}return!0}},"96f3":function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},9740:function(t,e,n){var r=n("49e7");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("90070284",r,!0,{sourceMap:!1,shadowMode:!1})},"97d3":function(t,e,n){var r=n("48a0"),i=n("30c9");t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},9934:function(t,e,n){var r=n("6fcd"),i=n("41c3"),o=n("30c9");t.exports=function(t){return o(t)?r(t,!0):i(t)}},"998b":function(t,e,n){"use strict";var r=n("1349");n.n(r).a},"99cd":function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===n(o[l],l,o))break}return e}}},"99d3":function(t,e,n){(function(t){var r=n("585a"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.process,a=function(){try{var t=o&&o.require&&o.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a}).call(this,n("62e4")(t))},"9aff":function(t,e,n){var r=n("9638"),i=n("30c9"),o=n("c098"),s=n("1a8c");t.exports=function(t,e,n){if(!s(n))return!1;var a=typeof e;return!!("number"==a?i(n)&&o(e,n.length):"string"==a&&e in n)&&r(n[e],t)}},"9b02":function(t,e,n){var r=n("656b");t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;null==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9e69":function(t,e,n){var r=n("2b3e").Symbol;t.exports=r},"9e86":function(t,e,n){var r=n("872a"),i=n("242e"),o=n("badf");t.exports=function(t,e){var n={};return e=o(e,3),i(t,(function(t,i,o){r(n,i,e(t,i,o))})),n}},a029:function(t,e,n){var r=n("087d"),i=n("2dcb"),o=n("32f4"),s=n("d327"),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:s;t.exports=a},a2be:function(t,e,n){var r=n("d612"),i=n("4284"),o=n("c584");t.exports=function(t,e,n,s,a,l){var c=1&n,u=t.length,d=e.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(t);if(h&&l.get(e))return h==e;var f=-1,p=!0,m=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++f<u;){var g=t[f],v=e[f];if(s)var b=c?s(v,g,f,e,t,l):s(g,v,f,t,e,l);if(void 0!==b){if(b)continue;p=!1;break}if(m){if(!i(e,(function(t,e){if(!o(m,e)&&(g===t||a(g,t,n,s,l)))return m.push(e)}))){p=!1;break}}else if(g!==v&&!a(g,v,n,s,l)){p=!1;break}}return l.delete(t),l.delete(e),p}},a2db:function(t,e,n){var r=n("9e69"),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},a3fd:function(t,e,n){var r=n("7948");t.exports=function(t,e){return r(e,(function(e){return[e,t[e]]}))}},a454:function(t,e,n){var r=n("72f0"),i=n("3b4a"),o=n("cd9d"),s=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=s},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(t,e,n,p){return[function(r,i){var o=t(this),s=null==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=p(n,t,this,e);if(i.done)return i.value;var d=r(t),h=String(this),f="function"==typeof e;f||(e=String(e));var g=d.global;if(g){var v=d.unicode;d.lastIndex=0}for(var b=[];;){var y=l(d,h);if(null===y)break;if(b.push(y),!g)break;""===String(y[0])&&(d.lastIndex=a(h,o(d.lastIndex),v))}for(var x,w="",k=0,_=0;_<b.length;_++){y=b[_];for(var S=String(y[0]),O=c(u(s(y.index),h.length),0),M=[],C=1;C<y.length;C++)M.push(void 0===(x=y[C])?x:String(x));var A=y.groups;if(f){var T=[S].concat(M,O,h);void 0!==A&&T.push(A);var E=String(e.apply(void 0,T))}else E=m(S,h,O,M,A,e);O>=k&&(w+=h.slice(k,O)+E,k=O+S.length)}return w+h.slice(k)}];function m(t,e,r,o,s,a){var l=r+t.length,c=o.length,u=f;return void 0!==s&&(s=i(s),u=h),n.call(a,u,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":a=s[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>c){var h=d(u/10);return 0===h?n:h<=c?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}a=o[u-1]}return void 0===a?"":a}))}}))},a524:function(t,e,n){var r=n("4245");t.exports=function(t){return r(this,t).has(t)}},a59b:function(t,e){t.exports=function(t){return t&&t.length?t[0]:void 0}},a919:function(t,e,n){var r=n("ddc6")({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"});t.exports=r},a994:function(t,e,n){var r=n("7d1f"),i=n("32f4"),o=n("ec69");t.exports=function(t){return r(t,o,i)}},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},aaec:function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},ac41:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),h=l.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=i(f),m=0;m<p.length;m++){var g,v=p[m],b=f[v],y=s[v],x=y&&y.prototype;if(x&&(x[u]||a(x,u,h),x[d]||a(x,d,v),l[v]=h,b))for(g in r)x[g]||o(x,g,r[g],!0)}},aeb4:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-pane[data-v-4a5f2beb]{flex-grow:1;flex-shrink:1;display:flex;flex-direction:column;justify-content:center;align-items:stretch}.vc-horizontal-divider[data-v-4a5f2beb]{align-self:center}.vc-header[data-v-4a5f2beb]{flex-shrink:0;display:flex;align-items:stretch;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding:var(--header-padding)}.vc-header.align-left[data-v-4a5f2beb]{order:-1;justify-content:flex-start}.vc-header.align-right[data-v-4a5f2beb]{order:1;justify-content:flex-end}.vc-title-layout[data-v-4a5f2beb]{display:flex;justify-content:center;align-items:center;flex-grow:1}.vc-title-layout.align-left[data-v-4a5f2beb]{justify-content:flex-start}.vc-title-layout.align-right[data-v-4a5f2beb]{justify-content:flex-end}.vc-title-wrapper[data-v-4a5f2beb]{position:relative}.vc-title[data-v-4a5f2beb]{cursor:pointer;white-space:nowrap;padding:var(--title-padding)}.vc-title[data-v-4a5f2beb],.vc-weekday[data-v-4a5f2beb]{-webkit-user-select:none;-ms-user-select:none;user-select:none}.vc-weekday[data-v-4a5f2beb]{display:flex;justify-content:center;align-items:center;flex:1;padding:var(--weekday-padding);cursor:default}.vc-weeks[data-v-4a5f2beb]{flex-shrink:1;flex-grow:1;padding:var(--weeks-padding)}",""])},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b047:function(t,e){t.exports=function(t){return function(e){return t(e)}}},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b1d2:function(t,e,n){var r=n("3729"),i=n("1310");t.exports=function(t){return i(t)&&"[object Date]"==r(t)}},b1e5:function(t,e,n){var r=n("a994"),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,s,a){var l=1&n,c=r(t),u=c.length;if(u!=r(e).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in e:i.call(e,h)))return!1}var f=a.get(t);if(f&&a.get(e))return f==e;var p=!0;a.set(t,e),a.set(e,t);for(var m=l;++d<u;){var g=t[h=c[d]],v=e[h];if(o)var b=l?o(v,g,h,e,t,a):o(g,v,h,t,e,a);if(!(void 0===b?g===v||s(g,v,n,o,a):b)){p=!1;break}m||(m="constructor"==h)}if(p&&!m){var y=t.constructor,x=e.constructor;y==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(p=!1)}return a.delete(t),a.delete(e),p}},b20a:function(t,e,n){var r=n("6ac0"),i=n("4caa"),o=n("ea72"),s=RegExp("['’]","g");t.exports=function(t){return function(e){return r(o(i(e).replace(s,"")),t,"")}}},b218:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},b4b0:function(t,e,n){var r=n("1a8c"),i=n("ffd6"),o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=a.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):s.test(t)?NaN:+t}},b4c0:function(t,e,n){var r=n("cb5a");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},b5a7:function(t,e,n){var r=n("0b07")(n("2b3e"),"DataView");t.exports=r},b6dd:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,'.vc-popover-content-wrapper[data-v-7605e1b2]{--popover-horizontal-content-offset:8px;--popover-vertical-content-offset:10px;--popover-slide-translation:15px;--popover-transition-time:0.14s ease-in-out;--popover-caret-horizontal-offset:18px;--popover-caret-vertical-offset:8px;position:absolute;display:block;outline:none;z-index:10}.vc-popover-content-wrapper[data-v-7605e1b2]:not(.is-interactive){pointer-events:none}.vc-popover-content[data-v-7605e1b2]{position:relative;outline:none;z-index:10}.vc-popover-content.direction-bottom[data-v-7605e1b2]{margin-top:var(--popover-vertical-content-offset)}.vc-popover-content.direction-top[data-v-7605e1b2]{margin-bottom:var(--popover-vertical-content-offset)}.vc-popover-content.direction-left[data-v-7605e1b2]{margin-right:var(--popover-horizontal-content-offset)}.vc-popover-content.direction-right[data-v-7605e1b2]{margin-left:var(--popover-horizontal-content-offset)}.vc-popover-caret[data-v-7605e1b2]{content:"";position:absolute;display:block;width:12px;height:12px;border-top:inherit;border-left:inherit;background:inherit;z-index:-1}.vc-popover-caret.direction-bottom[data-v-7605e1b2]{top:0}.vc-popover-caret.direction-bottom.align-left[data-v-7605e1b2]{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-center[data-v-7605e1b2]{transform:translateX(-50%) translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-right[data-v-7605e1b2]{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-top[data-v-7605e1b2]{top:100%}.vc-popover-caret.direction-top.align-left[data-v-7605e1b2]{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-center[data-v-7605e1b2]{transform:translateX(-50%) translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-right[data-v-7605e1b2]{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-left[data-v-7605e1b2]{left:100%}.vc-popover-caret.direction-left.align-top[data-v-7605e1b2]{transform:translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-middle[data-v-7605e1b2]{transform:translateY(-50%) translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-bottom[data-v-7605e1b2]{transform:translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-right[data-v-7605e1b2]{left:0}.vc-popover-caret.direction-right.align-top[data-v-7605e1b2]{transform:translateX(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-middle[data-v-7605e1b2]{transform:translateY(-50%) translateX(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-bottom[data-v-7605e1b2]{transform:translateX(-50%) rotate(-45deg)}.vc-popover-caret.align-left[data-v-7605e1b2]{left:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-center[data-v-7605e1b2]{left:50%}.vc-popover-caret.align-right[data-v-7605e1b2]{right:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-top[data-v-7605e1b2]{top:var(--popover-caret-vertical-offset)}.vc-popover-caret.align-middle[data-v-7605e1b2]{top:50%}.vc-popover-caret.align-bottom[data-v-7605e1b2]{bottom:var(--popover-caret-vertical-offset)}.fade-enter-active[data-v-7605e1b2],.fade-leave-active[data-v-7605e1b2],.slide-fade-enter-active[data-v-7605e1b2],.slide-fade-leave-active[data-v-7605e1b2]{transition:all var(--popover-transition-time);pointer-events:none}.fade-enter[data-v-7605e1b2],.fade-leave-to[data-v-7605e1b2],.slide-fade-enter[data-v-7605e1b2],.slide-fade-leave-to[data-v-7605e1b2]{opacity:0}.slide-fade-enter.direction-bottom[data-v-7605e1b2],.slide-fade-leave-to.direction-bottom[data-v-7605e1b2]{transform:translateY(calc(-1*var(--popover-slide-translation)))}.slide-fade-enter.direction-top[data-v-7605e1b2],.slide-fade-leave-to.direction-top[data-v-7605e1b2]{transform:translateY(var(--popover-slide-translation))}.slide-fade-enter.direction-left[data-v-7605e1b2],.slide-fade-leave-to.direction-left[data-v-7605e1b2]{transform:translateX(var(--popover-slide-translation))}.slide-fade-enter.direction-right[data-v-7605e1b2],.slide-fade-leave-to.direction-right[data-v-7605e1b2]{transform:translateX(calc(-1*var(--popover-slide-translation)))}',""])},b760:function(t,e,n){var r=n("872a"),i=n("9638");t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},badf:function(t,e,n){var r=n("642a"),i=n("1838"),o=n("cd9d"),s=n("6747"),a=n("f9ce");t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?s(t)?i(t[0],t[1]):r(t):a(t)}},bbc0:function(t,e,n){var r=n("6044"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},bcdf:function(t,e){t.exports=function(){}},bdab:function(t,e,n){var r=n("f498");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("1ee16f20",r,!0,{sourceMap:!1,shadowMode:!1})},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},c05f:function(t,e,n){var r=n("7b97"),i=n("1310");t.exports=function t(e,n,o,s,a){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,s,t,a))}},c098:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},c1c9:function(t,e,n){var r=n("a454"),i=n("f3c1")(r);t.exports=i},c2b6:function(t,e,n){var r=n("f8af"),i=n("5d89"),o=n("6f6c"),s=n("a2db"),a=n("c8fe");t.exports=function(t,e,n){var l=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new l(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(t,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(t);case"[object RegExp]":return o(t);case"[object Symbol]":return s(t)}}},c32f:function(t,e,n){var r=n("2b10");t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,l=r(e),c=i(l.length),u=o(s,c);if(t&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},c3fc:function(t,e,n){var r=n("42a2"),i=n("1310");t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},c539:function(t,e,n){var r=n("694d");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("19ad7201",r,!0,{sourceMap:!1,shadowMode:!1})},c584:function(t,e){t.exports=function(t,e){return t.has(e)}},c631:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-day-popover-row[data-v-28ced894]{--day-content-transition-time:0.13s ease-in;display:flex;align-items:center;transition:all var(--day-content-transition-time)}.vc-day-popover-row[data-v-28ced894]:not(:first-child){margin-top:3px}.vc-day-popover-row-indicator[data-v-28ced894]{display:flex;justify-content:center;align-items:center;flex-grow:0;width:15px;margin-right:3px}.vc-day-popover-row-indicator span[data-v-28ced894]{transition:all var(--day-content-transition-time)}.vc-day-popover-row-content[data-v-28ced894]{display:flex;align-items:center;flex-wrap:none;flex-grow:1;width:-webkit-max-content;width:max-content}",""])},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}))},c6cf:function(t,e,n){var r=n("4d8c"),i=n("2286"),o=n("c1c9");t.exports=function(t){return o(i(t,void 0,r),t+"")}},c724:function(t,e,n){var r=n("aeb4");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("f2c4f118",r,!0,{sourceMap:!1,shadowMode:!1})},c869:function(t,e,n){var r=n("0b07")(n("2b3e"),"Set");t.exports=r},c87c:function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},c8fe:function(t,e,n){var r=n("f8af");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb5a:function(t,e,n){var r=n("9638");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cc45:function(t,e,n){var r=n("1a2d"),i=n("b047"),o=n("99d3"),s=o&&o.isMap,a=s?i(s):r;t.exports=a},cd9d:function(t,e){t.exports=function(t){return t}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),l=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>l;)r(a,n=e[l++])&&(~o(c,n)||c.push(n));return c}},ce86:function(t,e,n){var r=n("9e69"),i=n("7948"),o=n("6747"),s=n("ffd6"),a=r?r.prototype:void 0,l=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(s(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},cebd:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}},d02c:function(t,e,n){var r=n("5e2e"),i=n("79bc"),o=n("7b83");t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<199)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(t,e),this.size=n.size,this}},d094:function(t,e){var n="\\ud800-\\udfff",r="["+n+"]",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",s="[^"+n+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+i+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",d=u+c+"(?:\\u200d(?:"+[s,a,l].join("|")+")"+u+c+")*",h="(?:"+[s+i+"?",i,a,l,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+h+d,"g");t.exports=function(t){return t.match(f)||[]}},d0d6:function(t,e,n){"use strict";var r=n("6300");n.n(r).a},d194:function(t,e,n){var r=n("c32f"),i=n("aaec"),o=n("126d"),s=n("76dd");t.exports=function(t){return function(e){e=s(e);var n=i(e)?o(e):void 0,a=n?n[0]:e.charAt(0),l=n?r(n,1).join(""):e.slice(1);return a[t]()+l}}},d327:function(t,e){t.exports=function(){return[]}},d370:function(t,e,n){var r=n("253c"),i=n("1310"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},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}}},d581:function(t,e,n){"use strict";var r=n("5cab");n.n(r).a},d612:function(t,e,n){var r=n("7b83"),i=n("7ed2"),o=n("dc0f");function s(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,t.exports=s},d7ee:function(t,e,n){var r=n("c3fc"),i=n("b047"),o=n("99d3"),s=o&&o.isSet,a=s?i(s):r;t.exports=a},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9a8:function(t,e){t.exports=function(t){return t!=t}},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},da03:function(t,e,n){var r=n("2b3e")["__core-js_shared__"];t.exports=r},dc0f:function(t,e){t.exports=function(t){return this.__data__.has(t)}},dc57:function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},dcbe:function(t,e,n){var r=n("30c9"),i=n("1310");t.exports=function(t){return i(t)&&r(t)}},dd61:function(t,e,n){var r=n("7948"),i=n("badf"),o=n("97d3"),s=n("6747");t.exports=function(t,e){return(s(t)?r:o)(t,i(e,3))}},ddc6:function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},e031:function(t,e,n){var r=n("f909"),i=n("1a8c");t.exports=function t(e,n,o,s,a,l){return i(e)&&i(n)&&(l.set(n,e),r(e,n,void 0,t,l),l.delete(n)),e}},e0e7:function(t,e,n){var r=n("60ed");t.exports=function(t){return r(t)?void 0:t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e24b:function(t,e,n){var r=n("49f4"),i=n("1efc"),o=n("bbc0"),s=n("7a48"),a=n("2524");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},e2a0:function(t,e,n){var r=n("3729"),i=n("6747"),o=n("1310");t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},e2c0:function(t,e,n){var r=n("e2e4"),i=n("d370"),o=n("6747"),s=n("c098"),a=n("b218"),l=n("f4d6");t.exports=function(t,e,n){for(var c=-1,u=(e=r(e,t)).length,d=!1;++c<u;){var h=l(e[c]);if(!(d=null!=t&&n(t,h)))break;t=t[h]}return d||++c!=u?d:!!(u=null==t?0:t.length)&&a(u)&&s(h,u)&&(o(t)||i(t))}},e2e4:function(t,e,n){var r=n("6747"),i=n("f608"),o=n("18d8"),s=n("76dd");t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(s(t))}},e380:function(t,e,n){var r=n("7b83");function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},e3f8:function(t,e,n){var r=n("656b");t.exports=function(t){return function(e){return r(e,t)}}},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e538:function(t,e,n){(function(t){var r=n("2b3e"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i?r.Buffer:void 0,a=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=a?a(n):new t.constructor(n);return t.copy(r),r}}).call(this,n("62e4")(t))},e53d: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)},e9a7:function(t,e,n){var r=n("76dd"),i=n("8103");t.exports=function(t){return i(r(t).toLowerCase())}},ea72:function(t,e,n){var r=n("7559"),i=n("7e8e"),o=n("76dd"),s=n("f4d9");t.exports=function(t,e,n){return t=o(t),void 0===(e=n?void 0:e)?i(t)?s(t):r(t):t.match(e)||[]}},eac5:function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||null==(n=r(s)[o])?e:i(n)}},ec47:function(t,e,n){var r=n("a3fd"),i=n("42a2"),o=n("edfa"),s=n("cebd");t.exports=function(t){return function(e){var n=i(e);return"[object Map]"==n?o(e):"[object Set]"==n?s(e):r(e,t(e))}}},ec69:function(t,e,n){var r=n("6fcd"),i=n("03dd"),o=n("30c9");t.exports=function(t){return o(t)?r(t):i(t)}},ec8c:function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},edfa:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},ee59:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".none-enter-active[data-v-5be4b00c],.none-leave-active[data-v-5be4b00c]{transition-duration:0s}.fade-enter-active[data-v-5be4b00c],.fade-leave-active[data-v-5be4b00c],.slide-down-enter-active[data-v-5be4b00c],.slide-down-leave-active[data-v-5be4b00c],.slide-left-enter-active[data-v-5be4b00c],.slide-left-leave-active[data-v-5be4b00c],.slide-right-enter-active[data-v-5be4b00c],.slide-right-leave-active[data-v-5be4b00c],.slide-up-enter-active[data-v-5be4b00c],.slide-up-leave-active[data-v-5be4b00c]{transition:transform var(--slide-duration) var(--slide-timing),opacity var(--slide-duration) var(--slide-timing);-webkit-backface-visibility:hidden;backface-visibility:hidden}.fade-leave-active[data-v-5be4b00c],.none-leave-active[data-v-5be4b00c],.slide-down-leave-active[data-v-5be4b00c],.slide-left-leave-active[data-v-5be4b00c],.slide-right-leave-active[data-v-5be4b00c],.slide-up-leave-active[data-v-5be4b00c]{position:absolute;width:100%}.fade-enter[data-v-5be4b00c],.fade-leave-to[data-v-5be4b00c],.none-enter[data-v-5be4b00c],.none-leave-to[data-v-5be4b00c],.slide-down-enter[data-v-5be4b00c],.slide-down-leave-to[data-v-5be4b00c],.slide-left-enter[data-v-5be4b00c],.slide-left-leave-to[data-v-5be4b00c],.slide-right-enter[data-v-5be4b00c],.slide-right-leave-to[data-v-5be4b00c],.slide-up-enter[data-v-5be4b00c],.slide-up-leave-to[data-v-5be4b00c]{opacity:0}.slide-left-enter[data-v-5be4b00c],.slide-right-leave-to[data-v-5be4b00c]{transform:translateX(var(--slide-translate))}.slide-left-leave-to[data-v-5be4b00c],.slide-right-enter[data-v-5be4b00c]{transform:translateX(calc(-1*var(--slide-translate)))}.slide-down-leave-to[data-v-5be4b00c],.slide-up-enter[data-v-5be4b00c]{transform:translateY(var(--slide-translate))}.slide-down-enter[data-v-5be4b00c],.slide-up-leave-to[data-v-5be4b00c]{transform:translateY(calc(-1*var(--slide-translate)))}",""])},eed6:function(t,e,n){var r=n("2c66");t.exports=function(t){return t&&t.length?r(t):[]}},ef5d:function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},efb6:function(t,e,n){var r=n("5e2e");t.exports=function(){this.__data__=new r,this.size=0}},f064:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-grid-container[data-v-3ca35a05]{position:relative;flex-shrink:1;display:grid;overflow:auto;-webkit-overflow-scrolling:touch}.vc-grid-cell[data-v-3ca35a05]{display:flex;justify-content:center;align-items:center}",""])},f0bd:function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}(),i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:l(a(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?u:10===t?d:u||d}function f(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?f(n):n:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var s,a,l=o.commonAncestorContainer;if(t!==l&&e!==l||r.contains(i))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&f(s.firstElementChild)!==s?f(l):l;var c=p(t);return c.host?m(c.host,e):m(t,p(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function b(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,r=h(10)&&getComputedStyle(n);return{height:b("Height",e,n,r),width:b("Width",e,n,r)}}var x=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),w=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function _(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function S(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?y(t.ownerDocument):{},a=o.width||t.clientWidth||i.width,l=o.height||t.clientHeight||i.height,c=t.offsetWidth-a,u=t.offsetHeight-l;if(c||u){var d=s(t);c-=v(d,"x"),u-=v(d,"y"),i.width-=c,i.height-=u}return _(i)}function O(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===e.nodeName,o=S(t),a=S(e),c=l(t),u=s(e),d=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=_({top:o.top-a.top-d,left:o.left-a.left-f,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var m=parseFloat(u.marginTop),v=parseFloat(u.marginLeft);p.top-=d-m,p.bottom-=d-m,p.left-=f-v,p.right-=f-v,p.marginTop=m,p.marginLeft=v}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(p,e)),p}function M(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=a(t);return!!n&&M(n)}function C(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function A(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},s=i?C(t):m(t,c(e));if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=O(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left");return _({top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:o})}(s,i);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(a(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===r?t.ownerDocument.documentElement:r;var d=O(u,s,i);if("HTML"!==u.nodeName||M(s))o=d;else{var h=y(t.ownerDocument),f=h.height,p=h.width;o.top+=d.top-d.marginTop,o.bottom=f+d.top,o.left+=d.left-d.marginLeft,o.right=p+d.left}}var v="number"==typeof(n=n||0);return o.left+=v?n:n.left||0,o.top+=v?n:n.top||0,o.right-=v?n:n.right||0,o.bottom-=v?n:n.bottom||0,o}function T(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=A(n,r,o,i),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return k({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function E(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return O(n,r?C(e):m(e,c(n)),r)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function P(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function j(t,e,n){n=n.split("-")[0];var r=D(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[s]=e[s]+e[l]/2-r[l]/2,i[a]=n===a?e[a]-r[c]:e[P(a)],i}function L(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function I(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=L(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=_(e.offsets.popper),e.offsets.reference=_(e.offsets.reference),e=n(e,t))})),e}function N(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=E(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=j(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=I(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function R(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function $(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function B(){return this.state.isDestroyed=!0,R(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[$("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function F(t){var e=t.ownerDocument;return e?e.defaultView:window}function z(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||z(l(o.parentNode),e,n,r),r.push(o)}function H(t,e,n,r){n.updateBound=r,F(t).addEventListener("resize",n.updateBound,{passive:!0});var i=l(t);return z(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function Y(){this.state.eventsEnabled||(this.state=H(this.reference,this.options,this.state,this.scheduleUpdate))}function W(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,F(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function V(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function U(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&V(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var G=n&&/Firefox/i.test(navigator.userAgent);function X(t,e,n){var r=L(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],K=q.slice(3);function J(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(t),r=K.slice(n+1).concat(K.slice(0,n));return e?r.reverse():r}var Z="flip",Q="clockwise",tt="counterclockwise";function et(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(L(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],s=i[2];return o?0===s.indexOf("%")?_("%p"===s?n:r)[e]/100*o:"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:t}(t,i,e,n)}))})),c.forEach((function(t,e){t.forEach((function(n,r){V(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var nt={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:w({},l,o[l]),end:w({},l,o[l]+o[c]-s[c])};t.offsets.popper=k({},s,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,s=i.reference,a=r.split("-")[0],l=void 0;return l=V(+n)?[+n,0]:et(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||f(t.instance.popper);t.instance.reference===n&&(n=f(n));var r=$("transform"),i=t.instance.popper.style,o=i.top,s=i.left,a=i[r];i.top="",i.left="",i[r]="";var l=A(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=s,i[r]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),w({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),w({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=k({},u,d[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<o(r[l])&&(t.offsets.popper[l]=o(r[l])-n[c]),n[l]>o(r[a])&&(t.offsets.popper[l]=o(r[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!X(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,l=o.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=D(r)[u];l[p]-m<a[h]&&(t.offsets.popper[h]-=a[h]-(l[p]-m)),l[h]+m>a[p]&&(t.offsets.popper[h]+=l[h]+m-a[p]),t.offsets.popper=_(t.offsets.popper);var g=l[h]+l[u]/2-m/2,v=s(t.instance.popper),b=parseFloat(v["margin"+d]),y=parseFloat(v["border"+d+"Width"]),x=g-t.offsets.popper[h]-b-y;return x=Math.max(Math.min(a[u]-m,x),0),t.arrowElement=r,t.offsets.arrow=(w(n={},h,Math.round(x)),w(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(R(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=A(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=P(r),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case Z:s=[r,i];break;case Q:s=J(r);break;case tt:s=J(r,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(r!==a||s.length===l+1)return t;r=t.placement.split("-")[0],i=P(r);var c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===o&&f||b&&"end"===o&&p||!b&&"start"===o&&m||!b&&"end"===o&&g),x=!!e.flipVariationsByContent&&(b&&"start"===o&&p||b&&"end"===o&&f||!b&&"start"===o&&g||!b&&"end"===o&&m),w=y||x;(h||v||w)&&(t.flipped=!0,(h||v)&&(r=s[l+1]),w&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=k({},t.offsets.popper,j(t.instance.popper,t.offsets.reference,t.placement)),t=I(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=o[n]-(a?i[s?"width":"height"]:0),t.placement=P(e),t.offsets.popper=_(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!X(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=L(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=L(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:e.gpuAcceleration,a=f(t.instance.popper),l=S(a),c={position:i.position},u=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,s=Math.floor,a=function(t){return t},l=o(i.width),c=o(r.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),h=e?u||d||l%2==c%2?o:s:a,f=e?o:a;return{left:h(l%2==1&&c%2==1&&!d&&e?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!G),d="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=$("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===h?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,b="right"===h?-1:1;c[d]=g*v,c[h]=m*b,c.willChange=d+", "+h}var y={"x-placement":t.placement};return t.attributes=k({},y,t.attributes),t.styles=k({},c,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return U(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&U(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=E(i,e,t,n.positionFixed),s=T(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),U(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},rt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:nt},it=function(){function t(e,n){var r=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=k({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){r.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return k({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return x(t,[{key:"update",value:function(){return N.call(this)}},{key:"destroy",value:function(){return B.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),t}();it.Utils=("undefined"!=typeof window?window:t).PopperUtils,it.placements=q,it.Defaults=rt,e.a=it}).call(this,n("c8ba"))},f3c1:function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},f498:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-reset,.vc-reset *{line-height:1.5;box-sizing:border-box}.vc-reset:focus,.vc-reset :focus{outline:none}.vc-reset [role=button],.vc-reset button{cursor:pointer}.vc-border,.vc-border-2,.vc-border-3{border-style:solid}.vc-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.vc-bg-fixed{background-attachment:fixed}.vc-bg-local{background-attachment:local}.vc-bg-scroll{background-attachment:scroll}.vc-bg-transparent{background-color:initial}.vc-bg-black{background-color:#000}.vc-bg-white{background-color:#fff}.vc-bg-gray-100{background-color:#f7fafc}.vc-bg-gray-200{background-color:#edf2f7}.vc-bg-gray-300{background-color:#e2e8f0}.vc-bg-gray-400{background-color:#cbd5e0}.vc-bg-gray-500{background-color:#a0aec0}.vc-bg-gray-600{background-color:#718096}.vc-bg-gray-700{background-color:#4a5568}.vc-bg-gray-800{background-color:#2d3748}.vc-bg-gray-900{background-color:#1a202c}.vc-bg-red-100{background-color:#fff5f5}.vc-bg-red-200{background-color:#fed7d7}.vc-bg-red-300{background-color:#feb2b2}.vc-bg-red-400{background-color:#fc8181}.vc-bg-red-500{background-color:#f56565}.vc-bg-red-600{background-color:#e53e3e}.vc-bg-red-700{background-color:#c53030}.vc-bg-red-800{background-color:#9b2c2c}.vc-bg-red-900{background-color:#742a2a}.vc-bg-orange-100{background-color:#fffaf0}.vc-bg-orange-200{background-color:#feebc8}.vc-bg-orange-300{background-color:#fbd38d}.vc-bg-orange-400{background-color:#f6ad55}.vc-bg-orange-500{background-color:#ed8936}.vc-bg-orange-600{background-color:#dd6b20}.vc-bg-orange-700{background-color:#c05621}.vc-bg-orange-800{background-color:#9c4221}.vc-bg-orange-900{background-color:#7b341e}.vc-bg-yellow-100{background-color:ivory}.vc-bg-yellow-200{background-color:#fefcbf}.vc-bg-yellow-300{background-color:#faf089}.vc-bg-yellow-400{background-color:#f6e05e}.vc-bg-yellow-500{background-color:#ecc94b}.vc-bg-yellow-600{background-color:#d69e2e}.vc-bg-yellow-700{background-color:#b7791f}.vc-bg-yellow-800{background-color:#975a16}.vc-bg-yellow-900{background-color:#744210}.vc-bg-green-100{background-color:#f0fff4}.vc-bg-green-200{background-color:#c6f6d5}.vc-bg-green-300{background-color:#9ae6b4}.vc-bg-green-400{background-color:#68d391}.vc-bg-green-500{background-color:#48bb78}.vc-bg-green-600{background-color:#38a169}.vc-bg-green-700{background-color:#2f855a}.vc-bg-green-800{background-color:#276749}.vc-bg-green-900{background-color:#22543d}.vc-bg-teal-100{background-color:#e6fffa}.vc-bg-teal-200{background-color:#b2f5ea}.vc-bg-teal-300{background-color:#81e6d9}.vc-bg-teal-400{background-color:#4fd1c5}.vc-bg-teal-500{background-color:#38b2ac}.vc-bg-teal-600{background-color:#319795}.vc-bg-teal-700{background-color:#2c7a7b}.vc-bg-teal-800{background-color:#285e61}.vc-bg-teal-900{background-color:#234e52}.vc-bg-blue-100{background-color:#ebf8ff}.vc-bg-blue-200{background-color:#bee3f8}.vc-bg-blue-300{background-color:#90cdf4}.vc-bg-blue-400{background-color:#63b3ed}.vc-bg-blue-500{background-color:#4299e1}.vc-bg-blue-600{background-color:#3182ce}.vc-bg-blue-700{background-color:#2b6cb0}.vc-bg-blue-800{background-color:#2c5282}.vc-bg-blue-900{background-color:#2a4365}.vc-bg-indigo-100{background-color:#ebf4ff}.vc-bg-indigo-200{background-color:#c3dafe}.vc-bg-indigo-300{background-color:#a3bffa}.vc-bg-indigo-400{background-color:#7f9cf5}.vc-bg-indigo-500{background-color:#667eea}.vc-bg-indigo-600{background-color:#5a67d8}.vc-bg-indigo-700{background-color:#4c51bf}.vc-bg-indigo-800{background-color:#434190}.vc-bg-indigo-900{background-color:#3c366b}.vc-bg-purple-100{background-color:#faf5ff}.vc-bg-purple-200{background-color:#e9d8fd}.vc-bg-purple-300{background-color:#d6bcfa}.vc-bg-purple-400{background-color:#b794f4}.vc-bg-purple-500{background-color:#9f7aea}.vc-bg-purple-600{background-color:#805ad5}.vc-bg-purple-700{background-color:#6b46c1}.vc-bg-purple-800{background-color:#553c9a}.vc-bg-purple-900{background-color:#44337a}.vc-bg-pink-100{background-color:#fff5f7}.vc-bg-pink-200{background-color:#fed7e2}.vc-bg-pink-300{background-color:#fbb6ce}.vc-bg-pink-400{background-color:#f687b3}.vc-bg-pink-500{background-color:#ed64a6}.vc-bg-pink-600{background-color:#d53f8c}.vc-bg-pink-700{background-color:#b83280}.vc-bg-pink-800{background-color:#97266d}.vc-bg-pink-900{background-color:#702459}.hover\\:vc-bg-transparent:hover{background-color:initial}.hover\\:vc-bg-black:hover{background-color:#000}.hover\\:vc-bg-white:hover{background-color:#fff}.hover\\:vc-bg-gray-100:hover{background-color:#f7fafc}.hover\\:vc-bg-gray-200:hover{background-color:#edf2f7}.hover\\:vc-bg-gray-300:hover{background-color:#e2e8f0}.hover\\:vc-bg-gray-400:hover{background-color:#cbd5e0}.hover\\:vc-bg-gray-500:hover{background-color:#a0aec0}.hover\\:vc-bg-gray-600:hover{background-color:#718096}.hover\\:vc-bg-gray-700:hover{background-color:#4a5568}.hover\\:vc-bg-gray-800:hover{background-color:#2d3748}.hover\\:vc-bg-gray-900:hover{background-color:#1a202c}.hover\\:vc-bg-red-100:hover{background-color:#fff5f5}.hover\\:vc-bg-red-200:hover{background-color:#fed7d7}.hover\\:vc-bg-red-300:hover{background-color:#feb2b2}.hover\\:vc-bg-red-400:hover{background-color:#fc8181}.hover\\:vc-bg-red-500:hover{background-color:#f56565}.hover\\:vc-bg-red-600:hover{background-color:#e53e3e}.hover\\:vc-bg-red-700:hover{background-color:#c53030}.hover\\:vc-bg-red-800:hover{background-color:#9b2c2c}.hover\\:vc-bg-red-900:hover{background-color:#742a2a}.hover\\:vc-bg-orange-100:hover{background-color:#fffaf0}.hover\\:vc-bg-orange-200:hover{background-color:#feebc8}.hover\\:vc-bg-orange-300:hover{background-color:#fbd38d}.hover\\:vc-bg-orange-400:hover{background-color:#f6ad55}.hover\\:vc-bg-orange-500:hover{background-color:#ed8936}.hover\\:vc-bg-orange-600:hover{background-color:#dd6b20}.hover\\:vc-bg-orange-700:hover{background-color:#c05621}.hover\\:vc-bg-orange-800:hover{background-color:#9c4221}.hover\\:vc-bg-orange-900:hover{background-color:#7b341e}.hover\\:vc-bg-yellow-100:hover{background-color:ivory}.hover\\:vc-bg-yellow-200:hover{background-color:#fefcbf}.hover\\:vc-bg-yellow-300:hover{background-color:#faf089}.hover\\:vc-bg-yellow-400:hover{background-color:#f6e05e}.hover\\:vc-bg-yellow-500:hover{background-color:#ecc94b}.hover\\:vc-bg-yellow-600:hover{background-color:#d69e2e}.hover\\:vc-bg-yellow-700:hover{background-color:#b7791f}.hover\\:vc-bg-yellow-800:hover{background-color:#975a16}.hover\\:vc-bg-yellow-900:hover{background-color:#744210}.hover\\:vc-bg-green-100:hover{background-color:#f0fff4}.hover\\:vc-bg-green-200:hover{background-color:#c6f6d5}.hover\\:vc-bg-green-300:hover{background-color:#9ae6b4}.hover\\:vc-bg-green-400:hover{background-color:#68d391}.hover\\:vc-bg-green-500:hover{background-color:#48bb78}.hover\\:vc-bg-green-600:hover{background-color:#38a169}.hover\\:vc-bg-green-700:hover{background-color:#2f855a}.hover\\:vc-bg-green-800:hover{background-color:#276749}.hover\\:vc-bg-green-900:hover{background-color:#22543d}.hover\\:vc-bg-teal-100:hover{background-color:#e6fffa}.hover\\:vc-bg-teal-200:hover{background-color:#b2f5ea}.hover\\:vc-bg-teal-300:hover{background-color:#81e6d9}.hover\\:vc-bg-teal-400:hover{background-color:#4fd1c5}.hover\\:vc-bg-teal-500:hover{background-color:#38b2ac}.hover\\:vc-bg-teal-600:hover{background-color:#319795}.hover\\:vc-bg-teal-700:hover{background-color:#2c7a7b}.hover\\:vc-bg-teal-800:hover{background-color:#285e61}.hover\\:vc-bg-teal-900:hover{background-color:#234e52}.hover\\:vc-bg-blue-100:hover{background-color:#ebf8ff}.hover\\:vc-bg-blue-200:hover{background-color:#bee3f8}.hover\\:vc-bg-blue-300:hover{background-color:#90cdf4}.hover\\:vc-bg-blue-400:hover{background-color:#63b3ed}.hover\\:vc-bg-blue-500:hover{background-color:#4299e1}.hover\\:vc-bg-blue-600:hover{background-color:#3182ce}.hover\\:vc-bg-blue-700:hover{background-color:#2b6cb0}.hover\\:vc-bg-blue-800:hover{background-color:#2c5282}.hover\\:vc-bg-blue-900:hover{background-color:#2a4365}.hover\\:vc-bg-indigo-100:hover{background-color:#ebf4ff}.hover\\:vc-bg-indigo-200:hover{background-color:#c3dafe}.hover\\:vc-bg-indigo-300:hover{background-color:#a3bffa}.hover\\:vc-bg-indigo-400:hover{background-color:#7f9cf5}.hover\\:vc-bg-indigo-500:hover{background-color:#667eea}.hover\\:vc-bg-indigo-600:hover{background-color:#5a67d8}.hover\\:vc-bg-indigo-700:hover{background-color:#4c51bf}.hover\\:vc-bg-indigo-800:hover{background-color:#434190}.hover\\:vc-bg-indigo-900:hover{background-color:#3c366b}.hover\\:vc-bg-purple-100:hover{background-color:#faf5ff}.hover\\:vc-bg-purple-200:hover{background-color:#e9d8fd}.hover\\:vc-bg-purple-300:hover{background-color:#d6bcfa}.hover\\:vc-bg-purple-400:hover{background-color:#b794f4}.hover\\:vc-bg-purple-500:hover{background-color:#9f7aea}.hover\\:vc-bg-purple-600:hover{background-color:#805ad5}.hover\\:vc-bg-purple-700:hover{background-color:#6b46c1}.hover\\:vc-bg-purple-800:hover{background-color:#553c9a}.hover\\:vc-bg-purple-900:hover{background-color:#44337a}.hover\\:vc-bg-pink-100:hover{background-color:#fff5f7}.hover\\:vc-bg-pink-200:hover{background-color:#fed7e2}.hover\\:vc-bg-pink-300:hover{background-color:#fbb6ce}.hover\\:vc-bg-pink-400:hover{background-color:#f687b3}.hover\\:vc-bg-pink-500:hover{background-color:#ed64a6}.hover\\:vc-bg-pink-600:hover{background-color:#d53f8c}.hover\\:vc-bg-pink-700:hover{background-color:#b83280}.hover\\:vc-bg-pink-800:hover{background-color:#97266d}.hover\\:vc-bg-pink-900:hover{background-color:#702459}.vc-bg-bottom{background-position:bottom}.vc-bg-center{background-position:50%}.vc-bg-left{background-position:0}.vc-bg-left-bottom{background-position:0 100%}.vc-bg-left-top{background-position:0 0}.vc-bg-right{background-position:100%}.vc-bg-right-bottom{background-position:100% 100%}.vc-bg-right-top{background-position:100% 0}.vc-bg-top{background-position:top}.vc-bg-repeat{background-repeat:repeat}.vc-bg-no-repeat{background-repeat:no-repeat}.vc-bg-repeat-x{background-repeat:repeat-x}.vc-bg-repeat-y{background-repeat:repeat-y}.vc-bg-repeat-round{background-repeat:round}.vc-bg-repeat-space{background-repeat:space}.vc-bg-auto{background-size:auto}.vc-bg-cover{background-size:cover}.vc-bg-contain{background-size:contain}.vc-border-collapse{border-collapse:collapse}.vc-border-separate{border-collapse:initial}.vc-border-transparent{border-color:transparent}.vc-border-black{border-color:#000}.vc-border-white{border-color:#fff}.vc-border-gray-100{border-color:#f7fafc}.vc-border-gray-200{border-color:#edf2f7}.vc-border-gray-300{border-color:#e2e8f0}.vc-border-gray-400{border-color:#cbd5e0}.vc-border-gray-500{border-color:#a0aec0}.vc-border-gray-600{border-color:#718096}.vc-border-gray-700{border-color:#4a5568}.vc-border-gray-800{border-color:#2d3748}.vc-border-gray-900{border-color:#1a202c}.vc-border-red-100{border-color:#fff5f5}.vc-border-red-200{border-color:#fed7d7}.vc-border-red-300{border-color:#feb2b2}.vc-border-red-400{border-color:#fc8181}.vc-border-red-500{border-color:#f56565}.vc-border-red-600{border-color:#e53e3e}.vc-border-red-700{border-color:#c53030}.vc-border-red-800{border-color:#9b2c2c}.vc-border-red-900{border-color:#742a2a}.vc-border-orange-100{border-color:#fffaf0}.vc-border-orange-200{border-color:#feebc8}.vc-border-orange-300{border-color:#fbd38d}.vc-border-orange-400{border-color:#f6ad55}.vc-border-orange-500{border-color:#ed8936}.vc-border-orange-600{border-color:#dd6b20}.vc-border-orange-700{border-color:#c05621}.vc-border-orange-800{border-color:#9c4221}.vc-border-orange-900{border-color:#7b341e}.vc-border-yellow-100{border-color:ivory}.vc-border-yellow-200{border-color:#fefcbf}.vc-border-yellow-300{border-color:#faf089}.vc-border-yellow-400{border-color:#f6e05e}.vc-border-yellow-500{border-color:#ecc94b}.vc-border-yellow-600{border-color:#d69e2e}.vc-border-yellow-700{border-color:#b7791f}.vc-border-yellow-800{border-color:#975a16}.vc-border-yellow-900{border-color:#744210}.vc-border-green-100{border-color:#f0fff4}.vc-border-green-200{border-color:#c6f6d5}.vc-border-green-300{border-color:#9ae6b4}.vc-border-green-400{border-color:#68d391}.vc-border-green-500{border-color:#48bb78}.vc-border-green-600{border-color:#38a169}.vc-border-green-700{border-color:#2f855a}.vc-border-green-800{border-color:#276749}.vc-border-green-900{border-color:#22543d}.vc-border-teal-100{border-color:#e6fffa}.vc-border-teal-200{border-color:#b2f5ea}.vc-border-teal-300{border-color:#81e6d9}.vc-border-teal-400{border-color:#4fd1c5}.vc-border-teal-500{border-color:#38b2ac}.vc-border-teal-600{border-color:#319795}.vc-border-teal-700{border-color:#2c7a7b}.vc-border-teal-800{border-color:#285e61}.vc-border-teal-900{border-color:#234e52}.vc-border-blue-100{border-color:#ebf8ff}.vc-border-blue-200{border-color:#bee3f8}.vc-border-blue-300{border-color:#90cdf4}.vc-border-blue-400{border-color:#63b3ed}.vc-border-blue-500{border-color:#4299e1}.vc-border-blue-600{border-color:#3182ce}.vc-border-blue-700{border-color:#2b6cb0}.vc-border-blue-800{border-color:#2c5282}.vc-border-blue-900{border-color:#2a4365}.vc-border-indigo-100{border-color:#ebf4ff}.vc-border-indigo-200{border-color:#c3dafe}.vc-border-indigo-300{border-color:#a3bffa}.vc-border-indigo-400{border-color:#7f9cf5}.vc-border-indigo-500{border-color:#667eea}.vc-border-indigo-600{border-color:#5a67d8}.vc-border-indigo-700{border-color:#4c51bf}.vc-border-indigo-800{border-color:#434190}.vc-border-indigo-900{border-color:#3c366b}.vc-border-purple-100{border-color:#faf5ff}.vc-border-purple-200{border-color:#e9d8fd}.vc-border-purple-300{border-color:#d6bcfa}.vc-border-purple-400{border-color:#b794f4}.vc-border-purple-500{border-color:#9f7aea}.vc-border-purple-600{border-color:#805ad5}.vc-border-purple-700{border-color:#6b46c1}.vc-border-purple-800{border-color:#553c9a}.vc-border-purple-900{border-color:#44337a}.vc-border-pink-100{border-color:#fff5f7}.vc-border-pink-200{border-color:#fed7e2}.vc-border-pink-300{border-color:#fbb6ce}.vc-border-pink-400{border-color:#f687b3}.vc-border-pink-500{border-color:#ed64a6}.vc-border-pink-600{border-color:#d53f8c}.vc-border-pink-700{border-color:#b83280}.vc-border-pink-800{border-color:#97266d}.vc-border-pink-900{border-color:#702459}.hover\\:vc-border-transparent:hover{border-color:transparent}.hover\\:vc-border-black:hover{border-color:#000}.hover\\:vc-border-white:hover{border-color:#fff}.hover\\:vc-border-gray-100:hover{border-color:#f7fafc}.hover\\:vc-border-gray-200:hover{border-color:#edf2f7}.hover\\:vc-border-gray-300:hover{border-color:#e2e8f0}.hover\\:vc-border-gray-400:hover{border-color:#cbd5e0}.hover\\:vc-border-gray-500:hover{border-color:#a0aec0}.hover\\:vc-border-gray-600:hover{border-color:#718096}.hover\\:vc-border-gray-700:hover{border-color:#4a5568}.hover\\:vc-border-gray-800:hover{border-color:#2d3748}.hover\\:vc-border-gray-900:hover{border-color:#1a202c}.hover\\:vc-border-red-100:hover{border-color:#fff5f5}.hover\\:vc-border-red-200:hover{border-color:#fed7d7}.hover\\:vc-border-red-300:hover{border-color:#feb2b2}.hover\\:vc-border-red-400:hover{border-color:#fc8181}.hover\\:vc-border-red-500:hover{border-color:#f56565}.hover\\:vc-border-red-600:hover{border-color:#e53e3e}.hover\\:vc-border-red-700:hover{border-color:#c53030}.hover\\:vc-border-red-800:hover{border-color:#9b2c2c}.hover\\:vc-border-red-900:hover{border-color:#742a2a}.hover\\:vc-border-orange-100:hover{border-color:#fffaf0}.hover\\:vc-border-orange-200:hover{border-color:#feebc8}.hover\\:vc-border-orange-300:hover{border-color:#fbd38d}.hover\\:vc-border-orange-400:hover{border-color:#f6ad55}.hover\\:vc-border-orange-500:hover{border-color:#ed8936}.hover\\:vc-border-orange-600:hover{border-color:#dd6b20}.hover\\:vc-border-orange-700:hover{border-color:#c05621}.hover\\:vc-border-orange-800:hover{border-color:#9c4221}.hover\\:vc-border-orange-900:hover{border-color:#7b341e}.hover\\:vc-border-yellow-100:hover{border-color:ivory}.hover\\:vc-border-yellow-200:hover{border-color:#fefcbf}.hover\\:vc-border-yellow-300:hover{border-color:#faf089}.hover\\:vc-border-yellow-400:hover{border-color:#f6e05e}.hover\\:vc-border-yellow-500:hover{border-color:#ecc94b}.hover\\:vc-border-yellow-600:hover{border-color:#d69e2e}.hover\\:vc-border-yellow-700:hover{border-color:#b7791f}.hover\\:vc-border-yellow-800:hover{border-color:#975a16}.hover\\:vc-border-yellow-900:hover{border-color:#744210}.hover\\:vc-border-green-100:hover{border-color:#f0fff4}.hover\\:vc-border-green-200:hover{border-color:#c6f6d5}.hover\\:vc-border-green-300:hover{border-color:#9ae6b4}.hover\\:vc-border-green-400:hover{border-color:#68d391}.hover\\:vc-border-green-500:hover{border-color:#48bb78}.hover\\:vc-border-green-600:hover{border-color:#38a169}.hover\\:vc-border-green-700:hover{border-color:#2f855a}.hover\\:vc-border-green-800:hover{border-color:#276749}.hover\\:vc-border-green-900:hover{border-color:#22543d}.hover\\:vc-border-teal-100:hover{border-color:#e6fffa}.hover\\:vc-border-teal-200:hover{border-color:#b2f5ea}.hover\\:vc-border-teal-300:hover{border-color:#81e6d9}.hover\\:vc-border-teal-400:hover{border-color:#4fd1c5}.hover\\:vc-border-teal-500:hover{border-color:#38b2ac}.hover\\:vc-border-teal-600:hover{border-color:#319795}.hover\\:vc-border-teal-700:hover{border-color:#2c7a7b}.hover\\:vc-border-teal-800:hover{border-color:#285e61}.hover\\:vc-border-teal-900:hover{border-color:#234e52}.hover\\:vc-border-blue-100:hover{border-color:#ebf8ff}.hover\\:vc-border-blue-200:hover{border-color:#bee3f8}.hover\\:vc-border-blue-300:hover{border-color:#90cdf4}.hover\\:vc-border-blue-400:hover{border-color:#63b3ed}.hover\\:vc-border-blue-500:hover{border-color:#4299e1}.hover\\:vc-border-blue-600:hover{border-color:#3182ce}.hover\\:vc-border-blue-700:hover{border-color:#2b6cb0}.hover\\:vc-border-blue-800:hover{border-color:#2c5282}.hover\\:vc-border-blue-900:hover{border-color:#2a4365}.hover\\:vc-border-indigo-100:hover{border-color:#ebf4ff}.hover\\:vc-border-indigo-200:hover{border-color:#c3dafe}.hover\\:vc-border-indigo-300:hover{border-color:#a3bffa}.hover\\:vc-border-indigo-400:hover{border-color:#7f9cf5}.hover\\:vc-border-indigo-500:hover{border-color:#667eea}.hover\\:vc-border-indigo-600:hover{border-color:#5a67d8}.hover\\:vc-border-indigo-700:hover{border-color:#4c51bf}.hover\\:vc-border-indigo-800:hover{border-color:#434190}.hover\\:vc-border-indigo-900:hover{border-color:#3c366b}.hover\\:vc-border-purple-100:hover{border-color:#faf5ff}.hover\\:vc-border-purple-200:hover{border-color:#e9d8fd}.hover\\:vc-border-purple-300:hover{border-color:#d6bcfa}.hover\\:vc-border-purple-400:hover{border-color:#b794f4}.hover\\:vc-border-purple-500:hover{border-color:#9f7aea}.hover\\:vc-border-purple-600:hover{border-color:#805ad5}.hover\\:vc-border-purple-700:hover{border-color:#6b46c1}.hover\\:vc-border-purple-800:hover{border-color:#553c9a}.hover\\:vc-border-purple-900:hover{border-color:#44337a}.hover\\:vc-border-pink-100:hover{border-color:#fff5f7}.hover\\:vc-border-pink-200:hover{border-color:#fed7e2}.hover\\:vc-border-pink-300:hover{border-color:#fbb6ce}.hover\\:vc-border-pink-400:hover{border-color:#f687b3}.hover\\:vc-border-pink-500:hover{border-color:#ed64a6}.hover\\:vc-border-pink-600:hover{border-color:#d53f8c}.hover\\:vc-border-pink-700:hover{border-color:#b83280}.hover\\:vc-border-pink-800:hover{border-color:#97266d}.hover\\:vc-border-pink-900:hover{border-color:#702459}.focus\\:vc-border-transparent:focus{border-color:transparent}.focus\\:vc-border-black:focus{border-color:#000}.focus\\:vc-border-white:focus{border-color:#fff}.focus\\:vc-border-gray-100:focus{border-color:#f7fafc}.focus\\:vc-border-gray-200:focus{border-color:#edf2f7}.focus\\:vc-border-gray-300:focus{border-color:#e2e8f0}.focus\\:vc-border-gray-400:focus{border-color:#cbd5e0}.focus\\:vc-border-gray-500:focus{border-color:#a0aec0}.focus\\:vc-border-gray-600:focus{border-color:#718096}.focus\\:vc-border-gray-700:focus{border-color:#4a5568}.focus\\:vc-border-gray-800:focus{border-color:#2d3748}.focus\\:vc-border-gray-900:focus{border-color:#1a202c}.focus\\:vc-border-red-100:focus{border-color:#fff5f5}.focus\\:vc-border-red-200:focus{border-color:#fed7d7}.focus\\:vc-border-red-300:focus{border-color:#feb2b2}.focus\\:vc-border-red-400:focus{border-color:#fc8181}.focus\\:vc-border-red-500:focus{border-color:#f56565}.focus\\:vc-border-red-600:focus{border-color:#e53e3e}.focus\\:vc-border-red-700:focus{border-color:#c53030}.focus\\:vc-border-red-800:focus{border-color:#9b2c2c}.focus\\:vc-border-red-900:focus{border-color:#742a2a}.focus\\:vc-border-orange-100:focus{border-color:#fffaf0}.focus\\:vc-border-orange-200:focus{border-color:#feebc8}.focus\\:vc-border-orange-300:focus{border-color:#fbd38d}.focus\\:vc-border-orange-400:focus{border-color:#f6ad55}.focus\\:vc-border-orange-500:focus{border-color:#ed8936}.focus\\:vc-border-orange-600:focus{border-color:#dd6b20}.focus\\:vc-border-orange-700:focus{border-color:#c05621}.focus\\:vc-border-orange-800:focus{border-color:#9c4221}.focus\\:vc-border-orange-900:focus{border-color:#7b341e}.focus\\:vc-border-yellow-100:focus{border-color:ivory}.focus\\:vc-border-yellow-200:focus{border-color:#fefcbf}.focus\\:vc-border-yellow-300:focus{border-color:#faf089}.focus\\:vc-border-yellow-400:focus{border-color:#f6e05e}.focus\\:vc-border-yellow-500:focus{border-color:#ecc94b}.focus\\:vc-border-yellow-600:focus{border-color:#d69e2e}.focus\\:vc-border-yellow-700:focus{border-color:#b7791f}.focus\\:vc-border-yellow-800:focus{border-color:#975a16}.focus\\:vc-border-yellow-900:focus{border-color:#744210}.focus\\:vc-border-green-100:focus{border-color:#f0fff4}.focus\\:vc-border-green-200:focus{border-color:#c6f6d5}.focus\\:vc-border-green-300:focus{border-color:#9ae6b4}.focus\\:vc-border-green-400:focus{border-color:#68d391}.focus\\:vc-border-green-500:focus{border-color:#48bb78}.focus\\:vc-border-green-600:focus{border-color:#38a169}.focus\\:vc-border-green-700:focus{border-color:#2f855a}.focus\\:vc-border-green-800:focus{border-color:#276749}.focus\\:vc-border-green-900:focus{border-color:#22543d}.focus\\:vc-border-teal-100:focus{border-color:#e6fffa}.focus\\:vc-border-teal-200:focus{border-color:#b2f5ea}.focus\\:vc-border-teal-300:focus{border-color:#81e6d9}.focus\\:vc-border-teal-400:focus{border-color:#4fd1c5}.focus\\:vc-border-teal-500:focus{border-color:#38b2ac}.focus\\:vc-border-teal-600:focus{border-color:#319795}.focus\\:vc-border-teal-700:focus{border-color:#2c7a7b}.focus\\:vc-border-teal-800:focus{border-color:#285e61}.focus\\:vc-border-teal-900:focus{border-color:#234e52}.focus\\:vc-border-blue-100:focus{border-color:#ebf8ff}.focus\\:vc-border-blue-200:focus{border-color:#bee3f8}.focus\\:vc-border-blue-300:focus{border-color:#90cdf4}.focus\\:vc-border-blue-400:focus{border-color:#63b3ed}.focus\\:vc-border-blue-500:focus{border-color:#4299e1}.focus\\:vc-border-blue-600:focus{border-color:#3182ce}.focus\\:vc-border-blue-700:focus{border-color:#2b6cb0}.focus\\:vc-border-blue-800:focus{border-color:#2c5282}.focus\\:vc-border-blue-900:focus{border-color:#2a4365}.focus\\:vc-border-indigo-100:focus{border-color:#ebf4ff}.focus\\:vc-border-indigo-200:focus{border-color:#c3dafe}.focus\\:vc-border-indigo-300:focus{border-color:#a3bffa}.focus\\:vc-border-indigo-400:focus{border-color:#7f9cf5}.focus\\:vc-border-indigo-500:focus{border-color:#667eea}.focus\\:vc-border-indigo-600:focus{border-color:#5a67d8}.focus\\:vc-border-indigo-700:focus{border-color:#4c51bf}.focus\\:vc-border-indigo-800:focus{border-color:#434190}.focus\\:vc-border-indigo-900:focus{border-color:#3c366b}.focus\\:vc-border-purple-100:focus{border-color:#faf5ff}.focus\\:vc-border-purple-200:focus{border-color:#e9d8fd}.focus\\:vc-border-purple-300:focus{border-color:#d6bcfa}.focus\\:vc-border-purple-400:focus{border-color:#b794f4}.focus\\:vc-border-purple-500:focus{border-color:#9f7aea}.focus\\:vc-border-purple-600:focus{border-color:#805ad5}.focus\\:vc-border-purple-700:focus{border-color:#6b46c1}.focus\\:vc-border-purple-800:focus{border-color:#553c9a}.focus\\:vc-border-purple-900:focus{border-color:#44337a}.focus\\:vc-border-pink-100:focus{border-color:#fff5f7}.focus\\:vc-border-pink-200:focus{border-color:#fed7e2}.focus\\:vc-border-pink-300:focus{border-color:#fbb6ce}.focus\\:vc-border-pink-400:focus{border-color:#f687b3}.focus\\:vc-border-pink-500:focus{border-color:#ed64a6}.focus\\:vc-border-pink-600:focus{border-color:#d53f8c}.focus\\:vc-border-pink-700:focus{border-color:#b83280}.focus\\:vc-border-pink-800:focus{border-color:#97266d}.focus\\:vc-border-pink-900:focus{border-color:#702459}.vc-rounded-none{border-radius:0}.vc-rounded-sm{border-radius:18px}.vc-rounded{border-radius:4px}.vc-rounded-lg{border-radius:8px}.vc-rounded-full{border-radius:9999px}.vc-rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.vc-rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.vc-rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.vc-rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.vc-rounded-t-sm{border-top-left-radius:18px;border-top-right-radius:18px}.vc-rounded-r-sm{border-top-right-radius:18px;border-bottom-right-radius:18px}.vc-rounded-b-sm{border-bottom-right-radius:18px;border-bottom-left-radius:18px}.vc-rounded-l-sm{border-top-left-radius:18px;border-bottom-left-radius:18px}.vc-rounded-t{border-top-left-radius:4px;border-top-right-radius:4px}.vc-rounded-r{border-top-right-radius:4px}.vc-rounded-b,.vc-rounded-r{border-bottom-right-radius:4px}.vc-rounded-b,.vc-rounded-l{border-bottom-left-radius:4px}.vc-rounded-l{border-top-left-radius:4px}.vc-rounded-t-lg{border-top-left-radius:8px;border-top-right-radius:8px}.vc-rounded-r-lg{border-top-right-radius:8px;border-bottom-right-radius:8px}.vc-rounded-b-lg{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.vc-rounded-l-lg{border-top-left-radius:8px;border-bottom-left-radius:8px}.vc-rounded-t-full{border-top-left-radius:9999px;border-top-right-radius:9999px}.vc-rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.vc-rounded-b-full{border-bottom-right-radius:9999px;border-bottom-left-radius:9999px}.vc-rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.vc-rounded-tl-none{border-top-left-radius:0}.vc-rounded-tr-none{border-top-right-radius:0}.vc-rounded-br-none{border-bottom-right-radius:0}.vc-rounded-bl-none{border-bottom-left-radius:0}.vc-rounded-tl-sm{border-top-left-radius:18px}.vc-rounded-tr-sm{border-top-right-radius:18px}.vc-rounded-br-sm{border-bottom-right-radius:18px}.vc-rounded-bl-sm{border-bottom-left-radius:18px}.vc-rounded-tl{border-top-left-radius:4px}.vc-rounded-tr{border-top-right-radius:4px}.vc-rounded-br{border-bottom-right-radius:4px}.vc-rounded-bl{border-bottom-left-radius:4px}.vc-rounded-tl-lg{border-top-left-radius:8px}.vc-rounded-tr-lg{border-top-right-radius:8px}.vc-rounded-br-lg{border-bottom-right-radius:8px}.vc-rounded-bl-lg{border-bottom-left-radius:8px}.vc-rounded-tl-full{border-top-left-radius:9999px}.vc-rounded-tr-full{border-top-right-radius:9999px}.vc-rounded-br-full{border-bottom-right-radius:9999px}.vc-rounded-bl-full{border-bottom-left-radius:9999px}.vc-border-solid{border-style:solid}.vc-border-dashed{border-style:dashed}.vc-border-dotted{border-style:dotted}.vc-border-double{border-style:double}.vc-border-none{border-style:none}.vc-border-0{border-width:0}.vc-border-2{border-width:2px}.vc-border-4{border-width:4px}.vc-border-8{border-width:8px}.vc-border{border-width:1px}.vc-border-t-0{border-top-width:0}.vc-border-r-0{border-right-width:0}.vc-border-b-0{border-bottom-width:0}.vc-border-l-0{border-left-width:0}.vc-border-t-2{border-top-width:2px}.vc-border-r-2{border-right-width:2px}.vc-border-b-2{border-bottom-width:2px}.vc-border-l-2{border-left-width:2px}.vc-border-t-4{border-top-width:4px}.vc-border-r-4{border-right-width:4px}.vc-border-b-4{border-bottom-width:4px}.vc-border-l-4{border-left-width:4px}.vc-border-t-8{border-top-width:8px}.vc-border-r-8{border-right-width:8px}.vc-border-b-8{border-bottom-width:8px}.vc-border-l-8{border-left-width:8px}.vc-border-t{border-top-width:1px}.vc-border-r{border-right-width:1px}.vc-border-b{border-bottom-width:1px}.vc-border-l{border-left-width:1px}.vc-cursor-pointer{cursor:pointer}.vc-cursor-not-allowed{cursor:not-allowed}.vc-flex{display:flex}.vc-items-center{align-items:center}.vc-justify-center{justify-content:center}.vc-font-medium{font-weight:500}.vc-font-semibold{font-weight:600}.focus\\:vc-font-bold:focus,.vc-font-bold{font-weight:700}.vc-h-full{height:100%}.vc-leading-tight{line-height:1.25}.vc-leading-snug{line-height:1.375}.vc-mr-auto{margin-right:auto}.vc-ml-auto{margin-left:auto}.vc-min-w-full{min-width:100%}.vc-opacity-0{opacity:0}.vc-opacity-25{opacity:.25}.vc-opacity-75{opacity:.75}.hover\\:vc-opacity-50:hover{opacity:.5}.hover\\:vc-opacity-75:hover{opacity:.75}.focus\\:vc-outline-none:focus{outline:0}.vc-overflow-hidden{overflow:hidden}.vc-p-1{padding:4px}.vc-py-1{padding-top:4px;padding-bottom:4px}.vc-py-2{padding-top:8px;padding-bottom:8px}.vc-px-2{padding-left:8px;padding-right:8px}.vc-px-3{padding-left:12px;padding-right:12px}.vc-pointer-events-none{pointer-events:none}.vc-pointer-events-auto{pointer-events:auto}.vc-relative{position:relative}.vc-shadow{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.hover\\:vc-shadow-inner:hover{box-shadow:inset 0 2px 4px 0 rgba(0,0,0,.06)}.focus\\:vc-shadow:focus{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.vc-text-left{text-align:left}.vc-text-center{text-align:center}.vc-text-right{text-align:right}.vc-text-justify{text-align:justify}.vc-text-transparent{color:transparent}.vc-text-black{color:#000}.vc-text-white{color:#fff}.vc-text-gray-100{color:#f7fafc}.vc-text-gray-200{color:#edf2f7}.vc-text-gray-300{color:#e2e8f0}.vc-text-gray-400{color:#cbd5e0}.vc-text-gray-500{color:#a0aec0}.vc-text-gray-600{color:#718096}.vc-text-gray-700{color:#4a5568}.vc-text-gray-800{color:#2d3748}.vc-text-gray-900{color:#1a202c}.vc-text-red-100{color:#fff5f5}.vc-text-red-200{color:#fed7d7}.vc-text-red-300{color:#feb2b2}.vc-text-red-400{color:#fc8181}.vc-text-red-500{color:#f56565}.vc-text-red-600{color:#e53e3e}.vc-text-red-700{color:#c53030}.vc-text-red-800{color:#9b2c2c}.vc-text-red-900{color:#742a2a}.vc-text-orange-100{color:#fffaf0}.vc-text-orange-200{color:#feebc8}.vc-text-orange-300{color:#fbd38d}.vc-text-orange-400{color:#f6ad55}.vc-text-orange-500{color:#ed8936}.vc-text-orange-600{color:#dd6b20}.vc-text-orange-700{color:#c05621}.vc-text-orange-800{color:#9c4221}.vc-text-orange-900{color:#7b341e}.vc-text-yellow-100{color:ivory}.vc-text-yellow-200{color:#fefcbf}.vc-text-yellow-300{color:#faf089}.vc-text-yellow-400{color:#f6e05e}.vc-text-yellow-500{color:#ecc94b}.vc-text-yellow-600{color:#d69e2e}.vc-text-yellow-700{color:#b7791f}.vc-text-yellow-800{color:#975a16}.vc-text-yellow-900{color:#744210}.vc-text-green-100{color:#f0fff4}.vc-text-green-200{color:#c6f6d5}.vc-text-green-300{color:#9ae6b4}.vc-text-green-400{color:#68d391}.vc-text-green-500{color:#48bb78}.vc-text-green-600{color:#38a169}.vc-text-green-700{color:#2f855a}.vc-text-green-800{color:#276749}.vc-text-green-900{color:#22543d}.vc-text-teal-100{color:#e6fffa}.vc-text-teal-200{color:#b2f5ea}.vc-text-teal-300{color:#81e6d9}.vc-text-teal-400{color:#4fd1c5}.vc-text-teal-500{color:#38b2ac}.vc-text-teal-600{color:#319795}.vc-text-teal-700{color:#2c7a7b}.vc-text-teal-800{color:#285e61}.vc-text-teal-900{color:#234e52}.vc-text-blue-100{color:#ebf8ff}.vc-text-blue-200{color:#bee3f8}.vc-text-blue-300{color:#90cdf4}.vc-text-blue-400{color:#63b3ed}.vc-text-blue-500{color:#4299e1}.vc-text-blue-600{color:#3182ce}.vc-text-blue-700{color:#2b6cb0}.vc-text-blue-800{color:#2c5282}.vc-text-blue-900{color:#2a4365}.vc-text-indigo-100{color:#ebf4ff}.vc-text-indigo-200{color:#c3dafe}.vc-text-indigo-300{color:#a3bffa}.vc-text-indigo-400{color:#7f9cf5}.vc-text-indigo-500{color:#667eea}.vc-text-indigo-600{color:#5a67d8}.vc-text-indigo-700{color:#4c51bf}.vc-text-indigo-800{color:#434190}.vc-text-indigo-900{color:#3c366b}.vc-text-purple-100{color:#faf5ff}.vc-text-purple-200{color:#e9d8fd}.vc-text-purple-300{color:#d6bcfa}.vc-text-purple-400{color:#b794f4}.vc-text-purple-500{color:#9f7aea}.vc-text-purple-600{color:#805ad5}.vc-text-purple-700{color:#6b46c1}.vc-text-purple-800{color:#553c9a}.vc-text-purple-900{color:#44337a}.vc-text-pink-100{color:#fff5f7}.vc-text-pink-200{color:#fed7e2}.vc-text-pink-300{color:#fbb6ce}.vc-text-pink-400{color:#f687b3}.vc-text-pink-500{color:#ed64a6}.vc-text-pink-600{color:#d53f8c}.vc-text-pink-700{color:#b83280}.vc-text-pink-800{color:#97266d}.vc-text-pink-900{color:#702459}.hover\\:vc-text-transparent:hover{color:transparent}.hover\\:vc-text-black:hover{color:#000}.hover\\:vc-text-white:hover{color:#fff}.hover\\:vc-text-gray-100:hover{color:#f7fafc}.hover\\:vc-text-gray-200:hover{color:#edf2f7}.hover\\:vc-text-gray-300:hover{color:#e2e8f0}.hover\\:vc-text-gray-400:hover{color:#cbd5e0}.hover\\:vc-text-gray-500:hover{color:#a0aec0}.hover\\:vc-text-gray-600:hover{color:#718096}.hover\\:vc-text-gray-700:hover{color:#4a5568}.hover\\:vc-text-gray-800:hover{color:#2d3748}.hover\\:vc-text-gray-900:hover{color:#1a202c}.hover\\:vc-text-red-100:hover{color:#fff5f5}.hover\\:vc-text-red-200:hover{color:#fed7d7}.hover\\:vc-text-red-300:hover{color:#feb2b2}.hover\\:vc-text-red-400:hover{color:#fc8181}.hover\\:vc-text-red-500:hover{color:#f56565}.hover\\:vc-text-red-600:hover{color:#e53e3e}.hover\\:vc-text-red-700:hover{color:#c53030}.hover\\:vc-text-red-800:hover{color:#9b2c2c}.hover\\:vc-text-red-900:hover{color:#742a2a}.hover\\:vc-text-orange-100:hover{color:#fffaf0}.hover\\:vc-text-orange-200:hover{color:#feebc8}.hover\\:vc-text-orange-300:hover{color:#fbd38d}.hover\\:vc-text-orange-400:hover{color:#f6ad55}.hover\\:vc-text-orange-500:hover{color:#ed8936}.hover\\:vc-text-orange-600:hover{color:#dd6b20}.hover\\:vc-text-orange-700:hover{color:#c05621}.hover\\:vc-text-orange-800:hover{color:#9c4221}.hover\\:vc-text-orange-900:hover{color:#7b341e}.hover\\:vc-text-yellow-100:hover{color:ivory}.hover\\:vc-text-yellow-200:hover{color:#fefcbf}.hover\\:vc-text-yellow-300:hover{color:#faf089}.hover\\:vc-text-yellow-400:hover{color:#f6e05e}.hover\\:vc-text-yellow-500:hover{color:#ecc94b}.hover\\:vc-text-yellow-600:hover{color:#d69e2e}.hover\\:vc-text-yellow-700:hover{color:#b7791f}.hover\\:vc-text-yellow-800:hover{color:#975a16}.hover\\:vc-text-yellow-900:hover{color:#744210}.hover\\:vc-text-green-100:hover{color:#f0fff4}.hover\\:vc-text-green-200:hover{color:#c6f6d5}.hover\\:vc-text-green-300:hover{color:#9ae6b4}.hover\\:vc-text-green-400:hover{color:#68d391}.hover\\:vc-text-green-500:hover{color:#48bb78}.hover\\:vc-text-green-600:hover{color:#38a169}.hover\\:vc-text-green-700:hover{color:#2f855a}.hover\\:vc-text-green-800:hover{color:#276749}.hover\\:vc-text-green-900:hover{color:#22543d}.hover\\:vc-text-teal-100:hover{color:#e6fffa}.hover\\:vc-text-teal-200:hover{color:#b2f5ea}.hover\\:vc-text-teal-300:hover{color:#81e6d9}.hover\\:vc-text-teal-400:hover{color:#4fd1c5}.hover\\:vc-text-teal-500:hover{color:#38b2ac}.hover\\:vc-text-teal-600:hover{color:#319795}.hover\\:vc-text-teal-700:hover{color:#2c7a7b}.hover\\:vc-text-teal-800:hover{color:#285e61}.hover\\:vc-text-teal-900:hover{color:#234e52}.hover\\:vc-text-blue-100:hover{color:#ebf8ff}.hover\\:vc-text-blue-200:hover{color:#bee3f8}.hover\\:vc-text-blue-300:hover{color:#90cdf4}.hover\\:vc-text-blue-400:hover{color:#63b3ed}.hover\\:vc-text-blue-500:hover{color:#4299e1}.hover\\:vc-text-blue-600:hover{color:#3182ce}.hover\\:vc-text-blue-700:hover{color:#2b6cb0}.hover\\:vc-text-blue-800:hover{color:#2c5282}.hover\\:vc-text-blue-900:hover{color:#2a4365}.hover\\:vc-text-indigo-100:hover{color:#ebf4ff}.hover\\:vc-text-indigo-200:hover{color:#c3dafe}.hover\\:vc-text-indigo-300:hover{color:#a3bffa}.hover\\:vc-text-indigo-400:hover{color:#7f9cf5}.hover\\:vc-text-indigo-500:hover{color:#667eea}.hover\\:vc-text-indigo-600:hover{color:#5a67d8}.hover\\:vc-text-indigo-700:hover{color:#4c51bf}.hover\\:vc-text-indigo-800:hover{color:#434190}.hover\\:vc-text-indigo-900:hover{color:#3c366b}.hover\\:vc-text-purple-100:hover{color:#faf5ff}.hover\\:vc-text-purple-200:hover{color:#e9d8fd}.hover\\:vc-text-purple-300:hover{color:#d6bcfa}.hover\\:vc-text-purple-400:hover{color:#b794f4}.hover\\:vc-text-purple-500:hover{color:#9f7aea}.hover\\:vc-text-purple-600:hover{color:#805ad5}.hover\\:vc-text-purple-700:hover{color:#6b46c1}.hover\\:vc-text-purple-800:hover{color:#553c9a}.hover\\:vc-text-purple-900:hover{color:#44337a}.hover\\:vc-text-pink-100:hover{color:#fff5f7}.hover\\:vc-text-pink-200:hover{color:#fed7e2}.hover\\:vc-text-pink-300:hover{color:#fbb6ce}.hover\\:vc-text-pink-400:hover{color:#f687b3}.hover\\:vc-text-pink-500:hover{color:#ed64a6}.hover\\:vc-text-pink-600:hover{color:#d53f8c}.hover\\:vc-text-pink-700:hover{color:#b83280}.hover\\:vc-text-pink-800:hover{color:#97266d}.hover\\:vc-text-pink-900:hover{color:#702459}.vc-text-xs{font-size:12px}.vc-text-sm{font-size:14px}.vc-text-base{font-size:16px}.vc-text-lg{font-size:18px}.vc-text-xl{font-size:20px}.vc-text-2xl{font-size:24px}.vc-select-none{-webkit-user-select:none;-ms-user-select:none;user-select:none}.vc-w-12{width:48px}.vc-w-full{width:100%}@media (min-width:640px){.sm\\:vc-bg-fixed{background-attachment:fixed}.sm\\:vc-bg-local{background-attachment:local}.sm\\:vc-bg-scroll{background-attachment:scroll}.sm\\:vc-bg-bottom{background-position:bottom}.sm\\:vc-bg-center{background-position:50%}.sm\\:vc-bg-left{background-position:0}.sm\\:vc-bg-left-bottom{background-position:0 100%}.sm\\:vc-bg-left-top{background-position:0 0}.sm\\:vc-bg-right{background-position:100%}.sm\\:vc-bg-right-bottom{background-position:100% 100%}.sm\\:vc-bg-right-top{background-position:100% 0}.sm\\:vc-bg-top{background-position:top}.sm\\:vc-bg-repeat{background-repeat:repeat}.sm\\:vc-bg-no-repeat{background-repeat:no-repeat}.sm\\:vc-bg-repeat-x{background-repeat:repeat-x}.sm\\:vc-bg-repeat-y{background-repeat:repeat-y}.sm\\:vc-bg-repeat-round{background-repeat:round}.sm\\:vc-bg-repeat-space{background-repeat:space}.sm\\:vc-bg-auto{background-size:auto}.sm\\:vc-bg-cover{background-size:cover}.sm\\:vc-bg-contain{background-size:contain}.sm\\:vc-border-collapse{border-collapse:collapse}.sm\\:vc-border-separate{border-collapse:initial}.sm\\:vc-border-solid{border-style:solid}.sm\\:vc-border-dashed{border-style:dashed}.sm\\:vc-border-dotted{border-style:dotted}.sm\\:vc-border-double{border-style:double}.sm\\:vc-border-none{border-style:none}.sm\\:vc-border-0{border-width:0}.sm\\:vc-border-2{border-width:2px}.sm\\:vc-border-4{border-width:4px}.sm\\:vc-border-8{border-width:8px}.sm\\:vc-border{border-width:1px}.sm\\:vc-border-t-0{border-top-width:0}.sm\\:vc-border-r-0{border-right-width:0}.sm\\:vc-border-b-0{border-bottom-width:0}.sm\\:vc-border-l-0{border-left-width:0}.sm\\:vc-border-t-2{border-top-width:2px}.sm\\:vc-border-r-2{border-right-width:2px}.sm\\:vc-border-b-2{border-bottom-width:2px}.sm\\:vc-border-l-2{border-left-width:2px}.sm\\:vc-border-t-4{border-top-width:4px}.sm\\:vc-border-r-4{border-right-width:4px}.sm\\:vc-border-b-4{border-bottom-width:4px}.sm\\:vc-border-l-4{border-left-width:4px}.sm\\:vc-border-t-8{border-top-width:8px}.sm\\:vc-border-r-8{border-right-width:8px}.sm\\:vc-border-b-8{border-bottom-width:8px}.sm\\:vc-border-l-8{border-left-width:8px}.sm\\:vc-border-t{border-top-width:1px}.sm\\:vc-border-r{border-right-width:1px}.sm\\:vc-border-b{border-bottom-width:1px}.sm\\:vc-border-l{border-left-width:1px}.sm\\:vc-text-left{text-align:left}.sm\\:vc-text-center{text-align:center}.sm\\:vc-text-right{text-align:right}.sm\\:vc-text-justify{text-align:justify}.sm\\:vc-text-xs{font-size:12px}.sm\\:vc-text-sm{font-size:14px}.sm\\:vc-text-base{font-size:16px}.sm\\:vc-text-lg{font-size:18px}.sm\\:vc-text-xl{font-size:20px}.sm\\:vc-text-2xl{font-size:24px}}@media (min-width:768px){.md\\:vc-bg-fixed{background-attachment:fixed}.md\\:vc-bg-local{background-attachment:local}.md\\:vc-bg-scroll{background-attachment:scroll}.md\\:vc-bg-bottom{background-position:bottom}.md\\:vc-bg-center{background-position:50%}.md\\:vc-bg-left{background-position:0}.md\\:vc-bg-left-bottom{background-position:0 100%}.md\\:vc-bg-left-top{background-position:0 0}.md\\:vc-bg-right{background-position:100%}.md\\:vc-bg-right-bottom{background-position:100% 100%}.md\\:vc-bg-right-top{background-position:100% 0}.md\\:vc-bg-top{background-position:top}.md\\:vc-bg-repeat{background-repeat:repeat}.md\\:vc-bg-no-repeat{background-repeat:no-repeat}.md\\:vc-bg-repeat-x{background-repeat:repeat-x}.md\\:vc-bg-repeat-y{background-repeat:repeat-y}.md\\:vc-bg-repeat-round{background-repeat:round}.md\\:vc-bg-repeat-space{background-repeat:space}.md\\:vc-bg-auto{background-size:auto}.md\\:vc-bg-cover{background-size:cover}.md\\:vc-bg-contain{background-size:contain}.md\\:vc-border-collapse{border-collapse:collapse}.md\\:vc-border-separate{border-collapse:initial}.md\\:vc-border-solid{border-style:solid}.md\\:vc-border-dashed{border-style:dashed}.md\\:vc-border-dotted{border-style:dotted}.md\\:vc-border-double{border-style:double}.md\\:vc-border-none{border-style:none}.md\\:vc-border-0{border-width:0}.md\\:vc-border-2{border-width:2px}.md\\:vc-border-4{border-width:4px}.md\\:vc-border-8{border-width:8px}.md\\:vc-border{border-width:1px}.md\\:vc-border-t-0{border-top-width:0}.md\\:vc-border-r-0{border-right-width:0}.md\\:vc-border-b-0{border-bottom-width:0}.md\\:vc-border-l-0{border-left-width:0}.md\\:vc-border-t-2{border-top-width:2px}.md\\:vc-border-r-2{border-right-width:2px}.md\\:vc-border-b-2{border-bottom-width:2px}.md\\:vc-border-l-2{border-left-width:2px}.md\\:vc-border-t-4{border-top-width:4px}.md\\:vc-border-r-4{border-right-width:4px}.md\\:vc-border-b-4{border-bottom-width:4px}.md\\:vc-border-l-4{border-left-width:4px}.md\\:vc-border-t-8{border-top-width:8px}.md\\:vc-border-r-8{border-right-width:8px}.md\\:vc-border-b-8{border-bottom-width:8px}.md\\:vc-border-l-8{border-left-width:8px}.md\\:vc-border-t{border-top-width:1px}.md\\:vc-border-r{border-right-width:1px}.md\\:vc-border-b{border-bottom-width:1px}.md\\:vc-border-l{border-left-width:1px}.md\\:vc-text-left{text-align:left}.md\\:vc-text-center{text-align:center}.md\\:vc-text-right{text-align:right}.md\\:vc-text-justify{text-align:justify}.md\\:vc-text-xs{font-size:12px}.md\\:vc-text-sm{font-size:14px}.md\\:vc-text-base{font-size:16px}.md\\:vc-text-lg{font-size:18px}.md\\:vc-text-xl{font-size:20px}.md\\:vc-text-2xl{font-size:24px}}@media (min-width:1024px){.lg\\:vc-bg-fixed{background-attachment:fixed}.lg\\:vc-bg-local{background-attachment:local}.lg\\:vc-bg-scroll{background-attachment:scroll}.lg\\:vc-bg-bottom{background-position:bottom}.lg\\:vc-bg-center{background-position:50%}.lg\\:vc-bg-left{background-position:0}.lg\\:vc-bg-left-bottom{background-position:0 100%}.lg\\:vc-bg-left-top{background-position:0 0}.lg\\:vc-bg-right{background-position:100%}.lg\\:vc-bg-right-bottom{background-position:100% 100%}.lg\\:vc-bg-right-top{background-position:100% 0}.lg\\:vc-bg-top{background-position:top}.lg\\:vc-bg-repeat{background-repeat:repeat}.lg\\:vc-bg-no-repeat{background-repeat:no-repeat}.lg\\:vc-bg-repeat-x{background-repeat:repeat-x}.lg\\:vc-bg-repeat-y{background-repeat:repeat-y}.lg\\:vc-bg-repeat-round{background-repeat:round}.lg\\:vc-bg-repeat-space{background-repeat:space}.lg\\:vc-bg-auto{background-size:auto}.lg\\:vc-bg-cover{background-size:cover}.lg\\:vc-bg-contain{background-size:contain}.lg\\:vc-border-collapse{border-collapse:collapse}.lg\\:vc-border-separate{border-collapse:initial}.lg\\:vc-border-solid{border-style:solid}.lg\\:vc-border-dashed{border-style:dashed}.lg\\:vc-border-dotted{border-style:dotted}.lg\\:vc-border-double{border-style:double}.lg\\:vc-border-none{border-style:none}.lg\\:vc-border-0{border-width:0}.lg\\:vc-border-2{border-width:2px}.lg\\:vc-border-4{border-width:4px}.lg\\:vc-border-8{border-width:8px}.lg\\:vc-border{border-width:1px}.lg\\:vc-border-t-0{border-top-width:0}.lg\\:vc-border-r-0{border-right-width:0}.lg\\:vc-border-b-0{border-bottom-width:0}.lg\\:vc-border-l-0{border-left-width:0}.lg\\:vc-border-t-2{border-top-width:2px}.lg\\:vc-border-r-2{border-right-width:2px}.lg\\:vc-border-b-2{border-bottom-width:2px}.lg\\:vc-border-l-2{border-left-width:2px}.lg\\:vc-border-t-4{border-top-width:4px}.lg\\:vc-border-r-4{border-right-width:4px}.lg\\:vc-border-b-4{border-bottom-width:4px}.lg\\:vc-border-l-4{border-left-width:4px}.lg\\:vc-border-t-8{border-top-width:8px}.lg\\:vc-border-r-8{border-right-width:8px}.lg\\:vc-border-b-8{border-bottom-width:8px}.lg\\:vc-border-l-8{border-left-width:8px}.lg\\:vc-border-t{border-top-width:1px}.lg\\:vc-border-r{border-right-width:1px}.lg\\:vc-border-b{border-bottom-width:1px}.lg\\:vc-border-l{border-left-width:1px}.lg\\:vc-text-left{text-align:left}.lg\\:vc-text-center{text-align:center}.lg\\:vc-text-right{text-align:right}.lg\\:vc-text-justify{text-align:justify}.lg\\:vc-text-xs{font-size:12px}.lg\\:vc-text-sm{font-size:14px}.lg\\:vc-text-base{font-size:16px}.lg\\:vc-text-lg{font-size:18px}.lg\\:vc-text-xl{font-size:20px}.lg\\:vc-text-2xl{font-size:24px}}@media (min-width:1280px){.xl\\:vc-bg-fixed{background-attachment:fixed}.xl\\:vc-bg-local{background-attachment:local}.xl\\:vc-bg-scroll{background-attachment:scroll}.xl\\:vc-bg-bottom{background-position:bottom}.xl\\:vc-bg-center{background-position:50%}.xl\\:vc-bg-left{background-position:0}.xl\\:vc-bg-left-bottom{background-position:0 100%}.xl\\:vc-bg-left-top{background-position:0 0}.xl\\:vc-bg-right{background-position:100%}.xl\\:vc-bg-right-bottom{background-position:100% 100%}.xl\\:vc-bg-right-top{background-position:100% 0}.xl\\:vc-bg-top{background-position:top}.xl\\:vc-bg-repeat{background-repeat:repeat}.xl\\:vc-bg-no-repeat{background-repeat:no-repeat}.xl\\:vc-bg-repeat-x{background-repeat:repeat-x}.xl\\:vc-bg-repeat-y{background-repeat:repeat-y}.xl\\:vc-bg-repeat-round{background-repeat:round}.xl\\:vc-bg-repeat-space{background-repeat:space}.xl\\:vc-bg-auto{background-size:auto}.xl\\:vc-bg-cover{background-size:cover}.xl\\:vc-bg-contain{background-size:contain}.xl\\:vc-border-collapse{border-collapse:collapse}.xl\\:vc-border-separate{border-collapse:initial}.xl\\:vc-border-solid{border-style:solid}.xl\\:vc-border-dashed{border-style:dashed}.xl\\:vc-border-dotted{border-style:dotted}.xl\\:vc-border-double{border-style:double}.xl\\:vc-border-none{border-style:none}.xl\\:vc-border-0{border-width:0}.xl\\:vc-border-2{border-width:2px}.xl\\:vc-border-4{border-width:4px}.xl\\:vc-border-8{border-width:8px}.xl\\:vc-border{border-width:1px}.xl\\:vc-border-t-0{border-top-width:0}.xl\\:vc-border-r-0{border-right-width:0}.xl\\:vc-border-b-0{border-bottom-width:0}.xl\\:vc-border-l-0{border-left-width:0}.xl\\:vc-border-t-2{border-top-width:2px}.xl\\:vc-border-r-2{border-right-width:2px}.xl\\:vc-border-b-2{border-bottom-width:2px}.xl\\:vc-border-l-2{border-left-width:2px}.xl\\:vc-border-t-4{border-top-width:4px}.xl\\:vc-border-r-4{border-right-width:4px}.xl\\:vc-border-b-4{border-bottom-width:4px}.xl\\:vc-border-l-4{border-left-width:4px}.xl\\:vc-border-t-8{border-top-width:8px}.xl\\:vc-border-r-8{border-right-width:8px}.xl\\:vc-border-b-8{border-bottom-width:8px}.xl\\:vc-border-l-8{border-left-width:8px}.xl\\:vc-border-t{border-top-width:1px}.xl\\:vc-border-r{border-right-width:1px}.xl\\:vc-border-b{border-bottom-width:1px}.xl\\:vc-border-l{border-left-width:1px}.xl\\:vc-text-left{text-align:left}.xl\\:vc-text-center{text-align:center}.xl\\:vc-text-right{text-align:right}.xl\\:vc-text-justify{text-align:justify}.xl\\:vc-text-xs{font-size:12px}.xl\\:vc-text-sm{font-size:14px}.xl\\:vc-text-base{font-size:16px}.xl\\:vc-text-lg{font-size:18px}.xl\\:vc-text-xl{font-size:20px}.xl\\:vc-text-2xl{font-size:24px}}",""])},f4d6:function(t,e,n){var r=n("ffd6");t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},f4d9:function(t,e){var n="\\ud800-\\udfff",r="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+s+"]",l="\\d+",c="["+r+"]",u="["+i+"]",d="[^"+n+s+l+r+i+o+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+o+"]",m="(?:"+u+"|"+d+")",g="(?:"+p+"|"+d+")",v="(?:['’](?:d|ll|m|re|s|t|ve))?",b="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?",w=x+y+"(?:\\u200d(?:"+["[^"+n+"]",h,f].join("|")+")"+x+y+")*",k="(?:"+[c,h,f].join("|")+")"+w,_=RegExp([p+"?"+u+"+"+v+"(?="+[a,p,"$"].join("|")+")",g+"+"+b+"(?="+[a,p+m,"$"].join("|")+")",p+"?"+m+"+"+v,p+"+"+b,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,k].join("|"),"g");t.exports=function(t){return t.match(_)||[]}},f542:function(t,e,n){var r=n("ec47")(n("ec69"));t.exports=r},f608:function(t,e,n){var r=n("6747"),i=n("ffd6"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||s.test(t)||!o.test(t)||null!=e&&t in Object(e)}},f678:function(t,e,n){var r=n("8384"),i=n("b4b0");t.exports=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=i(n))==n?n:0),void 0!==e&&(e=(e=i(e))==e?e:0),r(i(t),e,n)}},f772:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},f8af:function(t,e,n){var r=n("2474");t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},f909:function(t,e,n){var r=n("7e64"),i=n("b760"),o=n("72af"),s=n("4f50"),a=n("1a8c"),l=n("9934"),c=n("8adb");t.exports=function t(e,n,u,d,h){e!==n&&o(n,(function(o,l){if(h||(h=new r),a(o))s(e,n,l,u,t,d,h);else{var f=d?d(c(e,l),o,l+"",e,n,h):void 0;void 0===f&&(f=o),i(e,l,f)}}),l)}},f9ce:function(t,e,n){var r=n("ef5d"),i=n("e3f8"),o=n("f608"),s=n("f4d6");t.exports=function(t){return o(t)?r(s(t)):i(t)}},fa21:function(t,e,n){var r=n("7530"),i=n("2dcb"),o=n("eac5");t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;n.r(e),"undefined"!=typeof window&&(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]),n("ac6a");var i=n("85f2"),o=n.n(i);function s(t,e,n){return e in t?o()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function l(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function c(t){l(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function u(t,e){l(2,arguments);var n=c(t),r=a(e);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function d(t,e){l(2,arguments);var n=c(t),r=a(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());return o.setMonth(n.getMonth()+r+1,0),i>=o.getDate()?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function h(t,e){return l(2,arguments),d(t,12*a(e))}n("6b54"),n("28a5");var f=n("f0bd"),p=(n("6679"),n("501e")),m=n.n(p),g=n("e2a0"),v=n.n(g),b=n("dcbe"),y=n.n(b),x=n("9520"),w=n.n(x),k=n("4cfe"),_=n.n(k),S=(n("2768"),n("6220")),O=n.n(S),M=n("f678"),C=n.n(M),A=(n("375a"),n("e9a7"),n("8103")),T=n.n(A),E=n("9b02"),D=n.n(E),P=n("0f5c"),j=n.n(P),L=n("9e86"),I=n.n(L),N=n("f542"),R=n.n(N),$=n("95ae"),B=n.n($),F=n("3f84"),z=n.n(F),H=(n("2593"),n("3eea")),Y=n.n(H),W=n("3852"),V=n.n(W),U=n("dd61"),G=n.n(U),X=n("a59b"),q=n.n(X),K=n("4416"),J=n.n(K),Z=n("eed6"),Q=n.n(Z),tt=n("3092"),et=n.n(tt);const nt=function(t){return O()(t)&&!isNaN(t.getTime())},rt=function(t){return"Object"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)},it=V.a,ot=function(t,e){return et()(e,(function(e){return V()(t,e)}))},st=et.a;function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const ct={},ut={data:()=>({popovers$:ct}),computed:{$popovers(){return this.popovers$}},methods:{$popoverExists(t){return this.$popovers&&this.$popovers[t]},$popoverIsActive(t,e){const n=this.$popovers&&this.$popovers[t]&&this.$popovers[t].ref;return!(!n||e&&e!==n)},$popoverHasPriority(t){const e=this.$popovers[t.id];return!e||!e.priority||t.priority>e.priority},$showPopover(t){var e=this;if(!this.$popoverHasPriority(t))return;const{id:n,ref:r}=t,i=this.$popovers[n];B()(t,i),t.next=function(){i&&r===i.ref||e.$set(e.$popovers,n,lt(lt({},t),{},{priority:0}))},this.handleStateTimer(t,"show")},$hidePopover(t){var e=this;if(!this.$popoverHasPriority(t))return;const{id:n,ref:r}=t;B()(t,this.$popovers[n]),t.next=function(){r&&r!==e.$popovers[n].ref||e.$set(e.$popovers,n,{})},this.handleStateTimer(t,"hide")},$updatePopover(t){const{id:e,ref:n}=t;B()(t,this.$popovers[e]),n&&n!==this.$popovers[e].ref||this.$set(this.$popovers,e,t)},handleStateTimer(t){t.timer&&(clearTimeout(t.timer),t.timer=void 0),t.delay?this.$set(this.$popovers,t.id,lt(lt({},t),{},{timer:setTimeout(t.next,t.delay)})):t.next()}}};function dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ht(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const ft=function(t){return!!(t&&t.month&&t.year)},pt=function(t,e){return!(!ft(t)||!ft(e))&&(t.year===e.year?t.month<e.month:t.year<e.year)},mt=function(t,e){return!(!ft(t)||!ft(e))&&(t.year===e.year?t.month>e.month:t.year>e.year)},gt=function(t,e){return!(!t&&e||t&&!e||(t||e)&&(t.month!==e.month||t.year!==e.year))},vt=function(t){return t?{month:t.getMonth()+1,year:t.getFullYear()}:null},bt=function({month:t,year:e},n){const r=n>0?1:-1;for(let i=0;i<Math.abs(n);i++)(t+=r)>12?(t=1,e++):t<1&&(t=12,e--);return{month:t,year:e}},yt=function(){return vt(new Date)},xt=function(...t){return t.reduce((function(t,e){return t?e&&mt(e,t)?e:t:e}))};function wt(t,e){const n=nt(t),r=nt(e);return!n&&!r||n===r&&t.getTime()===e.getTime()}const kt=function(t){return y()(t)&&t.length},_t=function(t,e,n){const r=[];return n.forEach((function(n){const i=n.name||n.toString(),o=n.mixin,s=n.validate;if(Object.prototype.hasOwnProperty.call(t,i)){const n=s?s(t[i]):t[i];e[i]=o&&rt(n)?ht(ht({},o),n):n,r.push(i)}})),{target:e,assigned:r.length?r:null}},St=function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)},Ot=function(t,e,n){t&&e&&t.removeEventListener(e,n,!1)},Mt=function(t,e){return!!t&&!!e&&(t===e||t.contains(e))},Ct=function(t,e){" "!==t.key&&"Enter"!==t.key||(e(t),t.preventDefault())},At=function(){function t(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`},Tt=function(t,e){if(!t||!t.addEventListener||!w()(e))return null;let n=!1,r=!1;const i=function(){return n=!0},o=function(){return n=!1},s=function(t){if(n)return n=!1,r=!0,void e(t);"click"!==t.type||r||e(t),r=!1};return St(t,"touchstart",i),St(t,"touchmove",o),St(t,"click",s),St(t,"touchend",s),function(){Ot(t,"touchstart",i),Ot(t,"touchmove",o),Ot(t,"click",s),Ot(t,"touchend",s)}};function Et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Dt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Pt={name:"Popover",render(t){return t("div",{class:["vc-popover-content-wrapper",{"is-interactive":this.isInteractive}],ref:"popover"},[t("transition",{props:{name:this.transition,appear:!0},on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter,beforeLeave:this.beforeLeave,afterLeave:this.afterLeave}},[this.isVisible&&t("div",{attrs:{tabindex:-1},class:["vc-popover-content",`direction-${this.direction}`,this.contentClass]},[this.content,t("span",{class:["vc-popover-caret",`direction-${this.direction}`,`align-${this.alignment}`]})])])])},mixins:[ut],props:{id:{type:String,required:!0},transition:{type:String,default:"slide-fade"},contentClass:String},data:()=>({ref:null,args:null,visibility:"",placement:"bottom",positionFixed:!1,modifiers:{},isInteractive:!1,delay:10,popperEl:null}),computed:{content(){var t=this;return w()(this.$scopedSlots.default)&&this.$scopedSlots.default({direction:this.direction,alignment:this.alignment,args:this.args,updateLayout:this.scheduleUpdate,hide:function(e){return t.hide(e)}})||this.$slots.default},popperOptions(){return{placement:this.placement,positionFixed:this.positionFixed,modifiers:Dt({hide:{enabled:!1},preventOverflow:{enabled:!1}},this.modifiers),onCreate:this.onPopperUpdate,onUpdate:this.onPopperUpdate}},isVisible(){return!(!this.ref||!this.$scopedSlots.default&&!this.$slots.default||"hidden"===this.visibility)},direction(){return this.placement&&this.placement.split("-")[0]||"bottom"},alignment(){const t="left"===this.direction||"right"===this.direction;let e=this.placement.split("-");return e=e.length>1?e[1]:"",["start","top","left"].includes(e)?t?"top":"left":["end","bottom","right"].includes(e)?t?"bottom":"right":t?"middle":"center"},state(){return this.$popovers[this.id]}},watch:{state:{immediate:!0,handler(t){t&&(this.ref=t.ref,this.args=t.args,this.visibility=t.visibility,this.placement=t.placement,this.positionFixed=t.positionFixed,this.modifiers=t.modifiers,this.isInteractive=t.isInteractive,this.setupPopper())}}},mounted(){this.popoverEl=this.$refs.popover,this.addEvents()},beforeDestroy(){this.removeEvents()},methods:{addEvents(){St(this.popoverEl,"click",this.onClick),St(this.popoverEl,"mouseover",this.onMouseOver),St(this.popoverEl,"mouseleave",this.onMouseLeave),St(this.popoverEl,"focusin",this.onFocusIn),St(this.popoverEl,"focusout",this.onFocusOut),St(document,"keydown",this.onDocumentKeydown),this.removeDocHandler=Tt(document,this.onDocumentClick)},removeEvents(){Ot(this.popoverEl,"click",this.onClick),Ot(this.popoverEl,"mouseover",this.onMouseOver),Ot(this.popoverEl,"mouseleave",this.onMouseLeave),Ot(this.popoverEl,"focusin",this.onFocusIn),Ot(this.popoverEl,"focusout",this.onFocusOut),Ot(document,"keydown",this.onDocumentKeydown),this.removeDocHandler&&this.removeDocHandler()},onClick(t){t.stopPropagation()},onMouseOver(){this.isInteractive&&"hover"===this.visibility&&this.show()},onMouseLeave(){this.isInteractive&&"hover"===this.visibility&&this.hide()},onFocusIn(){this.isInteractive&&"focus"===this.visibility&&this.show()},onFocusOut(t){this.isInteractive&&"focus"===this.visibility&&t.relatedTarget&&!Mt(this.popoverEl,t.relatedTarget)&&this.hide()},onDocumentClick(t){this.$refs.popover&&this.ref&&(Mt(this.popoverEl,t.target)||Mt(this.ref,t.target)||this.hide())},onDocumentKeydown(t){"Esc"!==t.key&&"Escape"!==t.key||this.hide()},show(){this.$showPopover({id:this.id,ref:this.ref,delay:0})},hide(t){this.$hidePopover(Dt(Dt({},t),{},{id:this.id,ref:this.ref}))},onUpdate({args:t}){this.args=t,this.setupPopper()},setupPopper(){var t=this;this.$nextTick((function(){t.ref&&t.$refs.popover&&(t.popper&&t.popper.reference!==t.ref&&(t.popper.destroy(),t.popper=null),t.popper?t.popper.scheduleUpdate():t.popper=new f.a(t.ref,t.popoverEl,t.popperOptions))}))},onPopperUpdate(t){this.placement=t.placement},scheduleUpdate(){this.popper&&this.popper.scheduleUpdate()},beforeEnter(t){this.$emit("beforeShow",t)},afterEnter(t){this.$emit("afterShow",t)},beforeLeave(t){this.$emit("beforeHide",t)},afterLeave(t){this.destroyPopper(),this.$emit("afterHide",t)},destroyPopper(){this.popper&&(this.popper.destroy(),this.popper=null)}}};function jt(t,e,n,r,i,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n("86aa");var Lt=jt(Pt,void 0,void 0,!1,null,"7605e1b2",null).exports,It=n("8bbf"),Nt=n.n(It),Rt=n("23a5"),$t=n("7efe"),Bt=n("85a9"),Ft={color:"blue",isDark:!1,container:{light:"vc-text-gray-900 vc-bg-white vc-border vc-border-gray-400 vc-rounded-lg",dark:"vc-text-gray-200 vc-bg-gray-900 vc-border vc-border-gray-700 vc-rounded-lg"},header:{light:"vc-text-gray-900",dark:"vc-text-gray-200"},title:{light:"vc-text-lg vc-text-gray-800 vc-font-semibold hover:vc-opacity-75",dark:"vc-text-lg vc-text-gray-100 vc-font-semibold hover:vc-opacity-75"},arrows:{light:"vc-text-gray-600 vc-rounded vc-border-2 vc-border-transparent hover:vc-opacity-50 hover:vc-bg-gray-300 focus:vc-border-gray-300",dark:"vc-text-white vc-rounded vc-border-2 vc-border-transparent hover:vc-opacity-50 focus:vc-border-gray-700"},weekdays:{light:"vc-text-sm vc-font-bold vc-text-gray-500",dark:"vc-text-sm vc-font-bold vc-text-{color}-200"},navPopoverContainer:{light:"vc-rounded-lg vc-text-sm vc-font-semibold vc-text-white vc-bg-gray-800 vc-border vc-border-gray-700 vc-p-1 vc-shadow",dark:"vc-rounded-lg vc-text-sm vc-font-semibold vc-text-gray-800 vc-bg-white vc-border vc-border-gray-100 vc-p-1 vc-shadow"},navTitle:{light:"vc-text-{color}-100 vc-font-bold vc-leading-snug vc-px-2 vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-900 focus:vc-border-{color}-600",dark:"vc-text-gray-900 vc-font-bold vc-leading-snug vc-px-2 vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-200 focus:vc-border-{color}-400"},navArrows:{light:"vc-leading-snug vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-900 focus:vc-border-{color}-600",dark:"vc-leading-snug vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-200 focus:vc-border-{color}-400"},navCell:{light:"vc-w-12 vc-font-semibold vc-cursor-pointer vc-text-center vc-leading-snug vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-900 hover:vc-shadow-inner hover:vc-text-white focus:vc-border-{color}-600",dark:"vc-w-12 vc-font-semibold vc-cursor-pointer vc-text-center vc-leading-snug vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-200 hover:vc-text-gray-900 focus:vc-border-{color}-400"},navCellInactive:"vc-border-transparent",navCellInactiveCurrent:{light:"vc-text-{color}-100 vc-font-bold vc-border-{color}-100",dark:"vc-text-{color}-600 vc-font-bold vc-border-{color}-500"},navCellActive:{light:"vc-bg-{color}-100 vc-text-{color}-900 vc-border-transparent vc-font-bold vc-shadow",dark:"vc-bg-{color}-500 vc-text-white vc-border-transparent vc-font-bold vc-shadow"},dayNotInMonth:"vc-opacity-0 vc-pointer-events-none",dayContent:"vc-font-medium vc-text-sm vc-cursor-pointer focus:vc-font-bold vc-rounded-full",dayContentDisabled:{light:"vc-text-gray-400",dark:"vc-text-gray-600"},dayPopoverContainer:{light:"vc-rounded vc-text-xs vc-text-white vc-font-medium vc-bg-gray-800 vc-border vc-border-gray-700 vc-px-2 vc-py-1 vc-shadow",dark:"vc-rounded vc-text-xs vc-text-gray-900 vc-font-medium vc-bg-white vc-border vc-border-gray-200 vc-px-2 vc-py-1 vc-shadow"},dayPopoverHeader:{light:"vc-text-xs vc-text-gray-300 vc-font-semibold",dark:"vc-text-xs vc-text-gray-700 vc-font-semibold"},highlightBaseFillMode:"light",highlightStartEndFillMode:"solid",highlightStartEndClass:"vc-rounded-full",bgLow:{light:"vc-bg-white vc-border-2 vc-border-{color}-700",dark:"vc-bg-gray-900 vc-border-2 vc-border-{color}-200"},bgAccentLow:{light:"vc-bg-{color}-200",dark:"vc-bg-{color}-800 vc-opacity-75"},bgAccentHigh:{light:"vc-bg-{color}-600",dark:"vc-bg-{color}-500"},contentAccent:{light:"vc-font-bold vc-text-{color}-900",dark:"vc-font-bold vc-text-{color}-100"},contentAccentContrast:"vc-font-bold vc-text-white",datePickerInput:"vc-appearance-none vc-text-base vc-text-gray-800 vc-bg-white vc-border vc-border-gray-400 vc-rounded vc-w-full vc-py-2 vc-px-3 vc-leading-tight focus:vc-outline-none focus:vc-shadow",datePickerInputDrag:"vc-appearance-none vc-text-base vc-text-gray-500 vc-bg-white vc-border vc-border-gray-400 vc-rounded vc-w-full vc-py-2 vc-px-3 vc-leading-tight focus:vc-outline-none focus:vc-shadow"};const zt={ar:{dow:7,L:"D/‏M/‏YYYY"},bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYY年M月D日"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};zt.en=zt["en-US"],zt.es=zt["es-ES"],zt.no=zt.nb,zt.zh=zt["zh-CN"],R()(zt).forEach((function([t,{dow:e,L:n}]){zt[t]={id:t,firstDayOfWeek:e,masks:{L:n}}}));var Ht=zt;const Yt={componentPrefix:"v",navVisibility:"click",titlePosition:"center",transition:"slide-h",touch:Rt,masks:$t,screens:Bt,theme:Ft,locales:Ht,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",keepVisibleOnInput:!1}}};let Wt=null;const Vt={beforeCreate(){var t;Wt||(Wt=new Nt.a({data:()=>({defaults:z()(t,Yt)}),computed:{locales(){var t=this;return I()(this.defaults.locales,(function(e){return e.masks=z()(e.masks,t.defaults.masks),e}))}}})),Wt.defaults},computed:{$defaults:()=>Wt.defaults,$locales:()=>Wt.locales}},Ut={inject:["sharedState"],mixins:[Vt,ut],computed:{masks(){return this.sharedState.masks},theme(){return this.sharedState.theme},locale(){return this.sharedState.locale},dayPopoverId(){return this.sharedState.dayPopoverId}},methods:{format(t,e){return this.locale.format(t,e)}}};function Gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gt(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n("a481");const qt=["base","start","end","startEnd"],Kt=["class","color","fillMode"];function Jt(t,e,n){t&&e&&n&&(t[e]=`${t[e]?`${t[e]} `:""}${n}`)}class Zt{constructor(t){var e=this;this._config=B()(t,Ft),R()(this._config).forEach((function([t]){Object.defineProperty(e,t,{enumerable:!0,get(){return this.getConfig(t,{})}})})),this.buildNormalizedAttrs()}buildNormalizedAttrs(){var t=this;this.normalizedAttrs={highlight:{opts:["fillMode","class","contentClass"]},dot:{opts:["class"]},bar:{opts:["class"]},content:{opts:["class"]}},R()(this.normalizedAttrs).forEach((function([e,n]){const r={base:{},start:{},end:{}};n.opts.forEach((function(n){const i=e,o=T()(n),s=t[`${i}Base${o}`],a=t[`${i}StartEnd${o}`]||s,l=t[`${i}Start${o}`]||a,c=t[`${i}End${o}`]||l;_()(s)||(r.base[n]=s),_()(l)||(r.start[n]=l),_()(c)||(r.end[n]=c)})),n.attr=r}))}getConfig(t,{color:e=this._config.color,isDark:n=this._config.isDark}){if(!it(this._config,t))return;let r=D()(this._config,t);return rt(r)&&ot(r,["light","dark"])&&(r=n?r.dark:r.light),v()(r)?r.replace(/{color}/g,e):r}mergeTargets(t,e){const n={};return z()(n,t,e),t.class&&e.class&&!t.class.includes(e.class)&&(n.class=`${t.class} ${e.class}`),n}normalizeAttr({config:t,type:e}){var n=this;let r=this.color,i={};const o=this.normalizedAttrs[e].attr;if(!0===t||v()(t))r=v()(t)?t:r,i=Xt({},o);else{if(!rt(t))return null;i=ot(t,qt)?Xt({},t):{base:Xt({},t),start:Xt({},t),end:Xt({},t)}}return B()(i,{start:i.startEnd,end:i.startEnd},o),R()(i).forEach((function([t,e]){let s=r;!0===e||v()(e)?(s=v()(e)?e:s,i[t]={color:s}):rt(e)&&(ot(e,Kt)?i[t]=Xt({},e):i[t]={}),i[t]=n.mergeTargets(i[t],o[t]),it(i,`${t}.color`)||j()(i,`${t}.color`,s)})),i}getHighlightBgClass(t,e=this._config){switch(t){case"none":return this.getConfig("bgLow",e);case"light":return this.getConfig("bgAccentLow",e);case"solid":return this.getConfig("bgAccentHigh",e);default:return""}}getHighlightContentClass(t,e=this._config){switch(t){case"none":case"light":return this.getConfig("contentAccent",e);case"solid":return this.getConfig("contentAccentContrast",e);default:return""}}normalizeHighlight(t){var e=this;const n=this.normalizeAttr({config:t,type:"highlight"});return R()(n).forEach((function([t,n]){const{fillMode:r}=B()(n,{isDark:e.isDark,color:e.color});Jt(n,"class",e.getHighlightBgClass(r,n)),Jt(n,"contentClass",e.getHighlightContentClass(r,n))})),n}normalizeDot(t){var e=this;const n=this.normalizeAttr({config:t,type:"dot"});return R()(n).forEach((function([t,n]){B()(n,{isDark:e.isDark,color:e.color}),Jt(n,"class",e.getConfig("bgAccentHigh",n))})),n}normalizeBar(t){var e=this;const n=this.normalizeAttr({config:t,type:"bar"});return R()(n).forEach((function([t,n]){B()(n,{isDark:e.isDark,color:e.color}),Jt(n,"class",e.getConfig("bgAccentHigh",n))})),n}normalizeContent(t){var e=this;const n=this.normalizeAttr({config:t,type:"content"});return R()(n).forEach((function([t,n]){B()(n,{isDark:e.isDark,color:e.color}),Jt(n,"class",e.getConfig("contentAccent",n))})),n}}n("386d"),n("4917"),n("3b2b");const Qt=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,te=/\d\d?/,ee=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ne=/\[([^]*?)\]/gm,re=function(){};function ie(t){return function(e,n,r){const i=r[t].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~i&&(e.month=i)}}function oe(t,e){for(t=String(t),e=e||2;t.length<e;)t=`0${t}`;return t}const se={D:t=>t.getDate(),DD:t=>oe(t.getDate()),Do:(t,e)=>e.DoFn(t.getDate()),d:t=>t.getDay(),dd:t=>oe(t.getDay()),W:(t,e)=>e.dayNamesNarrow[t.getDay()],WW:(t,e)=>e.dayNamesShorter[t.getDay()],WWW:(t,e)=>e.dayNamesShort[t.getDay()],WWWW:(t,e)=>e.dayNames[t.getDay()],M:t=>t.getMonth()+1,MM:t=>oe(t.getMonth()+1),MMM:(t,e)=>e.monthNamesShort[t.getMonth()],MMMM:(t,e)=>e.monthNames[t.getMonth()],YY:t=>String(t.getFullYear()).substr(2),YYYY:t=>oe(t.getFullYear(),4),h:t=>t.getHours()%12||12,hh:t=>oe(t.getHours()%12||12),H:t=>t.getHours(),HH:t=>oe(t.getHours()),m:t=>t.getMinutes(),mm:t=>oe(t.getMinutes()),s:t=>t.getSeconds(),ss:t=>oe(t.getSeconds()),S:t=>Math.round(t.getMilliseconds()/100),SS:t=>oe(Math.round(t.getMilliseconds()/10),2),SSS:t=>oe(t.getMilliseconds(),3),a:(t,e)=>t.getHours()<12?e.amPm[0]:e.amPm[1],A:(t,e)=>t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase(),ZZ(t){const e=t.getTimezoneOffset();return(e>0?"-":"+")+oe(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)}},ae={D:[te,function(t,e){t.day=e}],Do:[new RegExp(te.source+ee.source),function(t,e){t.day=parseInt(e,10)}],d:[te,re],W:[ee,re],M:[te,function(t,e){t.month=e-1}],MMM:[ee,ie("monthNamesShort")],MMMM:[ee,ie("monthNames")],YY:[te,function(t,e){const n=+(new Date).getFullYear().toString().substr(0,2);t.year=`${e>68?n-1:n}${e}`}],YYYY:[/\d{4}/,function(t,e){t.year=e}],S:[/\d/,function(t,e){t.millisecond=100*e}],SS:[/\d{2}/,function(t,e){t.millisecond=10*e}],SSS:[/\d{3}/,function(t,e){t.millisecond=e}],h:[te,function(t,e){t.hour=e}],m:[te,function(t,e){t.minute=e}],s:[te,function(t,e){t.second=e}],a:[ee,function(t,e,n){const r=e.toLowerCase();r===n.amPm[0]?t.isPm=!1:r===n.amPm[1]&&(t.isPm=!0)}],ZZ:[/([\+\-]\d\d:?\d\d|Z)/,function(t,e){"Z"===e&&(e="+00:00");const n=`${e}`.match(/([+-]|\d\d)/gi);if(n){const e=60*n[1]+parseInt(n[2],10);t.timezoneOffset="+"===n[0]?e:-e}}]};ae.DD=ae.D,ae.dd=ae.d,ae.WWWW=ae.WWW=ae.WW=ae.W,ae.MM=ae.M,ae.mm=ae.m,ae.hh=ae.H=ae.HH=ae.h,ae.ss=ae.s,ae.A=ae.a;const le=function(t,e,n){return(y()(e)&&e||[v()(e)&&e||"YYYY-MM-DD"]).map((function(e){return function(t,e,n){if("string"!=typeof e)throw new Error("Invalid mask in fecha.parse");if(e=n.masks[e]||e,t.length>1e3)return!1;let r=!0;const i={};if(e.replace(Qt,(function(e){if(ae[e]){const o=ae[e],s=t.search(o[0]);~s?t.replace(o[0],(function(e){return o[1](i,e,n),t=t.substr(s+e.length),e})):r=!1}return ae[e]?"":e.slice(1,e.length-1)})),!r)return!1;const o=new Date;let s;return!0===i.isPm&&null!=i.hour&&12!=+i.hour?i.hour=+i.hour+12:!1===i.isPm&&12==+i.hour&&(i.hour=0),null!=i.timezoneOffset?(i.minute=+(i.minute||0)-+i.timezoneOffset,s=new Date(Date.UTC(i.year||o.getFullYear(),i.month||0,i.day||1,i.hour||0,i.minute||0,i.second||0,i.millisecond||0))):s=new Date(i.year||o.getFullYear(),i.month||0,i.day||1,i.hour||0,i.minute||0,i.second||0,i.millisecond||0),s}(t,e,n)})).find((function(t){return t}))||new Date(t)};function ce(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ue(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ce(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const de=[31,28,31,30,31,30,31,31,30,31,30,31];class he{constructor(t,e=Ht){const{id:n,firstDayOfWeek:r,masks:i}=function(t,e){const n=(new Intl.DateTimeFormat).resolvedOptions().locale;let r;v()(t)?r=t:it(t,"id")&&(r=t.id),r=(r||n).toLowerCase();const i=Object.keys(e),o=function(t){return i.find((function(e){return e.toLowerCase()===t}))};r=o(r)||o(r.substring(0,2))||n;const s=ue(ue(ue({},e["en-IE"]),e[r]),{},{id:r});return rt(t)?z()(t,s):s}(t,e);this.id=n,this.firstDayOfWeek=C()(r,1,7),this.masks=i,this.dayNames=this.getDayNames("long"),this.dayNamesShort=this.getDayNames("short"),this.dayNamesShorter=this.dayNamesShort.map((function(t){return t.substring(0,2)})),this.dayNamesNarrow=this.getDayNames("narrow"),this.monthNames=this.getMonthNames("long"),this.monthNamesShort=this.getMonthNames("short"),this.monthData={},this.getMonthComps=this.getMonthComps.bind(this),this.parse=this.parse.bind(this),this.format=this.format.bind(this),this.toDate=this.toDate.bind(this),this.toPage=this.toPage.bind(this)}parse(t,e){return le(t,e||this.masks.L,this)}format(t,e){return function(t,e,n){if(m.a&&(t=new Date(t)),!nt(t))throw new Error("Invalid Date in fecha.format");e=n.masks[e]||e;const r=[];return(e=(e=e.replace(ne,(function(t,e){return r.push(e),"??"}))).replace(Qt,(function(e){return e in se?se[e](t,n):e.slice(1,e.length-1)}))).replace(/\?\?/g,(function(){return r.shift()}))}(t,e||this.masks.L,this)}toDate(t,e){if(nt(t))return new Date(t.getTime());if(m()(t))return new Date(t);if(v()(t))return this.parse(t,e);if(rt(t)){const e=new Date;return new Date(t.year||e.getFullYear(),t.month||e.getMonth(),t.day||e.getDate())}return t}toPage(t,e){return m()(t)?bt(e,t):v()(t)?vt(this.toDate(t)):nt(t)?vt(t):rt(t)?t:null}getMonthDates(t=2e3){const e=[];for(let n=0;n<12;n++)e.push(new Date(t,n,15));return e}getMonthNames(t){const e=new Intl.DateTimeFormat(this.id,{month:t,timezome:"UTC"});return this.getMonthDates().map((function(t){return e.format(t)}))}getWeekdayDates({year:t=2e3,utc:e=!1,firstDayOfWeek:n=this.firstDayOfWeek}={}){const r=[];for(let i=1,o=0;o<7;i++){const s=e?new Date(Date.UTC(t,0,i)):new Date(t,0,i);((e?s.getUTCDay():s.getDay())===n-1||o>0)&&(r.push(s),o++)}return r}getDayNames(t){const e=new Intl.DateTimeFormat(this.id,{weekday:t,timeZone:"UTC"});return this.getWeekdayDates({firstDayOfWeek:1,utc:!0}).map((function(t){return e.format(t)}))}getMonthComps(t,e){const n=`${t}-${e}`;let r=this.monthData[n];if(!r){const i=e%4==0&&e%100!=0||e%400==0,o=new Date(e,t-1,1).getDay()+1,s=2===t&&i?29:de[t-1],a=Math.ceil((s+Math.abs(o-this.firstDayOfWeek))/7);r={firstDayOfWeek:this.firstDayOfWeek,inLeapYear:i,firstWeekday:o,days:s,weeks:a,month:t,year:e},this.monthData[n]=r}return r}getThisMonthComps(){const t=new Date;return this.getMonthComps(t.getMonth()+1,t.getFullYear())}getPrevMonthComps(t,e){return 1===t?this.getMonthComps(12,e-1):this.getMonthComps(t-1,e)}getNextMonthComps(t,e){return 12===t?this.getMonthComps(1,e+1):this.getMonthComps(t+1,e)}getDayFromDate(t){if(!t)return null;const e=t.getMonth()+1,n=t.getUTCFullYear(),r=this.getMonthComps(e,n),i=t.getDate(),o=r.days-i+1,s=t.getDay()+1,a=Math.floor((i-1)/7+1),l=Math.floor((r.days-i)/7+1),c=Math.ceil((i+Math.abs(r.firstWeekday-r.firstDayOfWeek))/7);return{day:i,dayFromEnd:o,weekday:s,weekdayOrdinal:a,weekdayOrdinalFromEnd:l,week:c,weekFromEnd:r.weeks-c+1,month:e,year:n,date:t,dateTime:t.getTime()}}getCalendarDays({monthComps:t,prevMonthComps:e,nextMonthComps:n}){const r=[],{firstDayOfWeek:i,firstWeekday:o}=t,s=o+(o<i?7:0)-i;let a=!0,l=!1,c=!1;const u=new Intl.DateTimeFormat(this.id,{weekday:"long",year:"numeric",month:"long",day:"numeric"});let d=e.days-s+1,h=e.days-d+1,f=Math.floor((d-1)/7+1),p=1,m=e.weeks,g=1,v=e.month,b=e.year;const y=new Date,x=y.getDate(),w=y.getMonth()+1,k=y.getFullYear();for(let e=1;e<=6;e++){for(let s=1,y=i;s<=7;s++,y+=7===y?-6:1){a&&y===o&&(d=1,h=t.days,f=Math.floor((d-1)/7+1),p=Math.floor((t.days-d)/7+1),m=1,g=t.weeks,v=t.month,b=t.year,a=!1,l=!0);const i=new Date(b,v-1,d),_=this.format(i,"YYYY-MM-DD"),S=s,O=7-s,M=d===x&&v===w&&b===k,C=l&&1===d,A=l&&d===t.days,T=1===e,E=6===e,D=1===s,P=7===s;r.push({id:_,label:d.toString(),ariaLabel:u.format(i),day:d,dayFromEnd:h,weekday:y,weekdayPosition:S,weekdayPositionFromEnd:O,weekdayOrdinal:f,weekdayOrdinalFromEnd:p,week:m,weekFromEnd:g,month:v,year:b,date:i,dateTime:i.getTime(),isToday:M,isFirstDay:C,isLastDay:A,inMonth:l,inPrevMonth:a,inNextMonth:c,onTop:T,onBottom:E,onLeft:D,onRight:P,classes:[`id-${_}`,`day-${d}`,`day-from-end-${h}`,`weekday-${y}`,`weekday-position-${S}`,`weekday-ordinal-${f}`,`weekday-ordinal-from-end-${p}`,`week-${m}`,`week-from-end-${g}`,{"is-today":M,"is-first-day":C,"is-last-day":A,"in-month":l,"in-prev-month":a,"in-next-month":c,"on-top":T,"on-bottom":E,"on-left":D,"on-right":P}]}),l&&A?(l=!1,c=!0,d=1,h=n.days,f=1,p=Math.floor((n.days-d)/7+1),m=1,g=n.weeks,v=n.month,b=n.year):(d++,h--,f=Math.floor((d-1)/7+1),p=Math.floor((t.days-d)/7+1))}m++,g--}return r}}let fe=!1,pe=!1,me=null;function ge(t=Bt,e){me&&!e||fe||(fe=!0,pe=!0,me=new Nt.a({data:()=>({matches:[],queries:[]}),methods:{refreshQueries(){var e=this;this.queries=I()(t,(function(t){const n=window.matchMedia(function(t){return v()(t)&&(t={min:t}),y()(t)||(t=[t]),t.map((function(t){return it(t,"raw")?t.raw:G()(t,(function(t,e){return`(${e=D()({min:"min-width",max:"max-width"},e,e)}: ${t})`})).join(" and ")})).join(", ")}(t));return n.addListener(e.refreshMatches),n})),this.refreshMatches()},refreshMatches(){this.matches=R()(this.queries).filter((function(t){return t[1].matches})).map((function(t){return t[0]}))}}}),fe=!1)}function ve(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function be(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ve(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Nt.a.mixin({beforeCreate(){fe||ge()},mounted(){pe&&me&&(me.refreshQueries(),pe=!1)},computed:{$screens:()=>function(t,e){return me.matches.reduce((function(e,n){return it(t,n)?t[n]:e}),_()(e)?t.default:e)}}});class ye{constructor(t,{order:e=0,locale:n=new he}={}){if(this.isDateInfo=!0,this.isRange=rt(t)||w()(t),this.isDate=!this.isRange,this.order=e,this.locale=n,this.mask=n.masks.data,this.getMonthComps=n.getMonthComps,this.firstDayOfWeek=n.firstDayOfWeek,this.opts={order:e,locale:n},this.isDate){this.type="date";let e=this.toDate(t);e=nt(e)?e:new Date,e.setHours(0,0,0,0),this.date=e,this.dateTime=e.getTime()}if(this.isRange){if(this.type="range",w()(t))this.on={and:t};else{let e=this.toDate(t.start),n=this.toDate(t.end);if(e&&n&&e>n){const t=e;e=n,n=t}else e&&t.span>=1&&(n=u(e,t.span-1));e&&(nt(e)?e.setHours(0,0,0,0):e=null),n&&(nt(n)?n.setHours(0,0,0,0):n=null),this.start=e,this.end=n,this.startTime=e&&e.getTime(),this.endTime=n&&n.getTime(),e&&n&&(this.daySpan=this.diffInDays(e,n),this.weekSpan=this.diffInWeeks(e,n),this.monthSpan=this.diffInMonths(e,n),this.yearSpan=this.diffInYears(e,n));const r=_t(t,{},ye.patternProps);if(r.assigned&&(this.on={and:r.target}),t.on){const e=(y()(t.on)?t.on:[t.on]).map((function(t){if(w()(t))return t;const e=_t(t,{},ye.patternProps);return e.assigned?e.target:null})).filter((function(t){return t}));e.length&&(this.on=be(be({},this.on),{},{or:e}))}}this.isComplex=!!this.on}}toDate(t){const e=this.locale.masks.data;return this.locale.toDate(t,e)}toDateInfo(t){return t.isDateInfo?t:new ye(t,this.opts)}startOfWeek(t){const e=t.getDay()+1;return u(t,e>=this.firstDayOfWeek?this.firstDayOfWeek-e:-(7-(this.firstDayOfWeek-e)))}diffInDays(t,e){return Math.round((e-t)/864e5)}diffInWeeks(t,e){return this.diffInDays(this.startOfWeek(t),this.startOfWeek(e))}diffInYears(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}diffInMonths(t,e){return 12*this.diffInYears(t,e)+(e.getMonth()-t.getMonth())}static get patterns(){return{dailyInterval:{test:function(t,e,n){return n.diffInDays(n.start||new Date,t.date)%e==0}},weeklyInterval:{test:function(t,e,n){return n.diffInWeeks(n.start||new Date,t.date)%e==0}},monthlyInterval:{test:function(t,e,n){return n.diffInMonths(n.start||new Date,t.date)%e==0}},yearlyInterval:{test:function(){return function(t,e,n){return n.diffInYears(n.start||new Date,t.date)%e==0}}},days:{validate:function(t){return y()(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.day)||e.includes(-t.dayFromEnd)}},weekdays:{validate:function(t){return y()(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.weekday)}},ordinalWeekdays:{validate:function(t){return Object.keys(t).reduce((function(e,n){const r=t[n];return r?(e[n]=y()(r)?r:[parseInt(r,10)],e):e}),{})},test:function(t,e){return Object.keys(e).map((function(t){return parseInt(t,10)})).find((function(n){return e[n].includes(t.weekday)&&(n===t.weekdayOrdinal||n===-t.weekdayOrdinalFromEnd)}))}},weekends:{validate:function(t){return t},test:function(t){return 1===t.weekday||7===t.weekday}},workweek:{validate:function(t){return t},test:function(t){return t.weekday>=2&&t.weekday<=6}},weeks:{validate:function(t){return y()(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.week)||e.includes(-t.weekFromEnd)}},months:{validate:function(t){return y()(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.month)}},years:{validate:function(t){return y()(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.year)}}}}static get patternProps(){return Object.keys(ye.patterns).map((function(t){return{name:t,validate:ye.patterns[t].validate}}))}static testConfig(t,e,n){return w()(t)?t(e):rt(t)?Object.keys(t).every((function(r){return ye.patterns[r].test(e,t[r],n)})):null}iterateDatesInRange({start:t,end:e},n){if(!t||!e||!w()(n))return null;const r={i:0,date:t,day:this.locale.getDayFromDate(t),finished:!1};let i=null;for(;!r.finished&&r.date<=e;r.i++)i=n(r),r.date=u(r.date,1),r.day=this.locale.getDayFromDate(r.date);return i}shallowIntersectingRange(t){return this.rangeShallowIntersectingRange(this,t)}rangeShallowIntersectingRange(t,e){if(t=this.toDateInfo(t),e=this.toDateInfo(e),!this.dateShallowIntersectsDate(t,e))return null;const n=t.toRange(),r=e.toRange();let i=null,o=null;return n.start?i=r.start?n.start>r.start?n.start:r.start:n.start:r.start&&(i=r.start),n.end?o=r.end?n.end<r.end?n.end:r.end:n.end:r.end&&(o=r.end),{start:i,end:o}}intersectsDate(t){var e=this;const n=this.toDateInfo(t);if(!this.shallowIntersectsDate(n))return null;if(!this.on)return this;const r=this.rangeShallowIntersectingRange(this,n);let i=!1;return this.iterateDatesInRange(r,(function(t){e.matchesDay(t.day)&&(i=i||n.matchesDay(t.day),t.finished=i)})),i}shallowIntersectsDate(t){return this.dateShallowIntersectsDate(this,this.toDateInfo(t))}dateShallowIntersectsDate(t,e){return t.isDate?e.isDate?t.dateTime===e.dateTime:this.dateShallowIncludesDate(e,t):e.isDate?this.dateShallowIncludesDate(t,e):!(t.start&&e.end&&t.start>e.end||t.end&&e.start&&t.end<e.start)}includesDate(t){var e=this;const n=this.toDateInfo(t);if(!this.shallowIncludesDate(n))return!1;if(!this.on)return!0;const r=this.rangeShallowIntersectingRange(this,n);let i=!0;return this.iterateDatesInRange(r,(function(t){e.matchesDay(t.day)&&(i=i&&n.matchesDay(t.day),t.finished=!i)})),i}shallowIncludesDate(t){return this.dateShallowIncludesDate(this,t.isDate?t:new ye(t,this.opts))}dateShallowIncludesDate(t,e){return t.isDate?e.isDate?t.dateTime===e.dateTime:!(!e.startTime||!e.endTime)&&t.dateTime===e.startTime&&t.dateTime===e.endTime:e.isDate?!(t.start&&e.date<t.start||t.end&&e.date>t.end):!(t.start&&(!e.start||e.start<t.start)||t.end&&(!e.end||e.end>t.end))}includesDay(t){return this.shallowIncludesDate(t.date)&&this.matchesDay(t)?this:null}matchesDay(t){var e=this;return!(this.on&&(this.on.and&&!ye.testConfig(this.on.and,t,this)||this.on.or&&!this.on.or.some((function(n){return ye.testConfig(n,t,e)}))))}toRange(){return this.isDate?new ye({start:this.date,end:this.date},this.opts):new ye({start:this.start,end:this.end},this.opts)}compare(t){if(this.order!==t.order)return this.order-t.order;if(this.type!==t.type)return this.isDate?1:-1;if(this.isDate)return 0;const e=this.start-t.start;return 0!==e?e:this.end-t.end}}class xe{constructor({key:t,hashcode:e,highlight:n,content:r,dot:i,bar:o,popover:s,dates:a,excludeDates:l,excludeMode:c,customData:u,order:d,pinPage:h},f,p){var m=this;this.key=_()(t)?At():t,this.hashcode=e,this.customData=u,this.order=d||0,this.dateOpts={order:d,locale:p},this.pinPage=h,n&&(this.highlight=f.normalizeHighlight(n)),r&&(this.content=f.normalizeContent(r)),i&&(this.dot=f.normalizeDot(i)),o&&(this.bar=f.normalizeBar(o)),s&&(this.popover=s),a&&(this.dates=y()(a)?a:[a]),this.hasDates=kt(this.dates),l&&(this.excludeDates=y()(l)?l:[l]),this.hasExcludeDates=kt(this.excludeDates),this.excludeMode=c||"intersects",this.dates=(this.hasDates&&this.dates||this.hasExcludeDates&&[{}]||[]).map((function(t){return t&&(t instanceof ye?t:new ye(t,m.dateOpts))})).filter((function(t){return t})),this.excludeDates=(this.hasExcludeDates&&this.excludeDates||[]).map((function(t){return t&&(t instanceof ye?t:new ye(t,m.dateOpts))})).filter((function(t){return t})),this.isComplex=st(this.dates,(function(t){return t.isComplex}))}intersectsDate(t){return!this.excludesDate(t)&&(this.dates.find((function(e){return e.intersectsDate(t)}))||!1)}includesDate(t){return t=t instanceof ye?t:new ye(t,this.dateOpts),!this.excludesDate(t)&&(this.dates.find((function(e){return e.includesDate(t)}))||!1)}excludesDate(t){var e=this;return t=t instanceof ye?t:new ye(t,this.dateOpts),this.hasExcludeDates&&this.excludeDates.find((function(n){return"intersects"===e.excludeMode&&n.intersectsDate(t)||"includes"===e.excludeMode&&n.includesDate(t)}))}includesDay(t){return!this.excludesDay(t)&&(this.dates.find((function(e){return e.includesDay(t)}))||!1)}excludesDay(t){return this.hasExcludeDates&&this.excludeDates.find((function(e){return e.includesDay(t)}))}}const we=Ut,ke={mixins:[Vt,ut],props:{color:String,isDark:Boolean,theme:Object,firstDayOfWeek:Number,masks:Object,locale:[String,Object],minDate:null,maxDate:null,disabledDates:null,availableDates:null},computed:{$theme(){if(this.theme instanceof Zt)return this.theme;const t=z()(this.theme,this.$defaults.theme);return t.color=this.passedProp("color",t.color),t.isDark=this.passedProp("isDark",t.isDark),new Zt(t)},$locale(){if(this.locale instanceof he)return this.locale;const t=rt(this.locale)?this.locale:{id:this.locale,firstDayOfWeek:this.firstDayOfWeek,masks:this.masks};return new he(t,this.$locales)},format(){var t=this;return function(e,n){return t.$locale?t.$locale.format(e,n):""}},disabledAttribute(){let t=[];this.disabledDates&&(t=y()(this.disabledDates)?this.disabledDates:[this.disabledDates]);const e=this.$locale.toDate(this.minDate),n=this.$locale.toDate(this.maxDate);return e&&t.push({start:null,end:u(e,-1)}),n&&t.push({start:u(n,1),end:null}),new xe({key:"disabled",dates:t,excludeDates:this.availableDates,excludeMode:"includes",order:100},this.$theme,this.$locale)}},created(){ge(this.$defaults.screens)}},_e={methods:{propOrDefault(t,e,n){return this.passedProp(t,D()(this.$defaults,e),n)},passedProp(t,e,n){if(it(this.$options.propsData,t)){const r=this[t];return rt(r)&&"merge"===n?z()(r,e):r}return e}}},Se={methods:{safeScopedSlot(t,e,n=null){return w()(this.$scopedSlots[t])?this.$scopedSlots[t](e):n}}};var Oe={name:"PopoverRow",mixins:[we],props:{attribute:Object},computed:{indicator(){const{highlight:t,dot:e,bar:n,content:r,popover:i}=this.attribute;if(i&&i.hideIndicator)return null;if(t){const{color:e,isDark:n}=t.start;return{class:this.theme.getConfig("bgAccentHigh",{color:e,isDark:!n}),style:{width:"10px",height:"5px",borderRadius:"3px"}}}if(e){const{color:t,isDark:n}=e.start;return{class:this.theme.getConfig("bgAccentHigh",{color:t,isDark:!n}),style:{width:"5px",height:"5px",borderRadius:"50%"}}}if(n){const{color:t,isDark:e}=n.start;return{class:this.theme.getConfig("bgAccentHigh",{color:t,isDark:!e}),style:{width:"10px",height:"3px"}}}if(r){const{color:t,isDark:e}=r.start;return{class:this.theme.getConfig("contentContrast",{color:t,isDark:!e})}}return null}}},Me=(n("7365"),jt(Oe,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-day-popover-row"},[t.indicator?n("div",{staticClass:"vc-day-popover-row-indicator"},[n("span",{class:t.indicator.class,style:t.indicator.style})]):t._e(),n("div",{staticClass:"vc-day-popover-row-content"},[t._t("default",[t._v(t._s(t.attribute.popover?t.attribute.popover.label:"No content provided"))])],2)])}),[],!1,null,"28ced894",null).exports);const Ce="vertical-leading",Ae="vertical-trailing",Te="horizontal-leading",Ee="horizontal-trailing";var De={name:"Grid",render(t){var e=this;const n=function({nodes:t,position:n,row:r,column:i}){return t.length>=n?t[n-1]:e.$scopedSlots.default?e.$scopedSlots.default({position:n,row:r,column:i}):null};return t("div",{class:"vc-grid-container",style:this.containerStyle},[...function(){const r=[],i=e.$slots.default&&e.$slots.default.filter((function(t){return void 0!==t.tag}))||[];for(let o=1,s=1;o<=e.rows;o++)for(let a=1;a<=e.columns;a++){const l=o-e.rows-1,c=a-e.columns-1;r.push(t("div",{class:["vc-grid-cell",`vc-grid-cell-row-${o}`,`vc-grid-cell-row-${l}`,`vc-grid-cell-col-${a}`,`vc-grid-cell-col-${c}`],style:{"grid-row":o,"grid-column":a},on:{keydown:function(t){return e.handleCellKeydown({row:o,column:a,event:t})}}},[n({nodes:i,position:s++,row:o,column:a})]))}return r}()])},props:{count:Number,rows:{type:Number,default:1},columns:{type:Number,default:1},gap:{type:String,default:"0px"},autofit:Boolean,columnWidth:{type:String,default:"1fr"},disableFocus:{type:Boolean,default:!1}},computed:{containerStyle(){return{gridTemplateColumns:this.gridTemplateColumns,gridGap:this.gap}},gridTemplateColumns(){return`repeat(${this.autofit?"auto-fit":this.columns}, ${this.columnWidth})`}},methods:{handleCellKeydown({row:t,column:e,event:n}){if(this.disableFocus)return;const r={row:t,column:e,alt:!1,handled:!1};switch(n.key){case"ArrowUp":r.row--;break;case"ArrowDown":r.row++;break;case"ArrowLeft":r.column--;break;case"ArrowRight":r.column++;break;case"Home":r.column=1;break;case"End":r.column=this.columns;break;case"PageUp":r.alt=n.altKey,r.direction=Ce;break;case"PageDown":r.alt=n.altKey,r.direction=Ae;break;default:return}if(r.row<1?(r.direction=Ce,r.row=this.rows):r.row>this.rows&&(r.direction=Ae,r.row=1),r.column<1?(r.direction=Te,r.column=this.columns):r.column>this.columns&&(r.direction=Ee,r.column=1),r.direction&&this.$emit("rollover",r),!r.handled){const t=`.vc-grid-cell-row-${r.row}.vc-grid-cell-col-${r.column}`,e=this.$el.querySelector(t);e&&this.tryFocus(e)}n.stopPropagation(),n.preventDefault()},tryFocus(t=this.$el){this.$nextTick((function(){const e=[".vc-grid-focus",'button, [href], input, select, textarea, [tabindex="0"]','[tabindex]:not([tabindex="undefined"])'].map((function(e){return t.querySelector(e)})).find((function(t){return t}));return!!e&&(e.focus(),!0)}))}}},Pe=(n("998b"),jt(De,void 0,void 0,!1,null,"3ca35a05",null).exports),je=jt({name:"PopoverRef",mixins:[ut],props:{id:{type:String,default:"default"},element:null,args:null,visibility:{type:String,default:"hover-focus",validator:function(t){return-1!==["hover-focus","hover","focus","click","visible","hidden"].indexOf(t)}},placement:{type:String,default:"bottom"},positionFixed:Boolean,modifiers:{type:Object,default:function(){}},isInteractive:Boolean,showDelay:{type:Number,default:10},hideDelay:{type:Number,default:150}},data:()=>({reference:null,isHovered:!1,isFocused:!1}),computed:{isActive(){return this.$popoverIsActive(this.id,this.reference)}},render(){return this.$slots.default[0]},watch:{visibility(){this.refreshVisibility()},args(){var t=this;this.$nextTick((function(){t.isActive&&t.update()}))}},mounted(){var t=this;this.reference=this.element||this.$slots.default[0].elm,this.addEvents(),this.$once("beforeDestroy",(function(){return t.removeEvents()})),this.refreshVisibility()},methods:{addEvents(){St(this.reference,"click",this.onClick),St(this.reference,"mouseover",this.onMouseOver),St(this.reference,"mouseleave",this.onMouseLeave),St(this.reference,"focusin",this.onFocusIn),St(this.reference,"focusout",this.onFocusOut)},removeEvents(){Ot(this.reference,"click",this.onClick),Ot(this.reference,"mouseover",this.onMouseOver),Ot(this.reference,"mouseleave",this.onMouseLeave),Ot(this.reference,"focusin",this.onFocusIn),Ot(this.reference,"focusout",this.onFocusOut)},onClick(){"click"===this.visibility&&this.toggle()},onMouseOver(){this.isHovered||(this.isHovered=!0,this.visibility.includes("hover")&&this.refreshVisibility())},onMouseLeave(){this.isHovered&&(this.isHovered=!1,("hover"===this.visibility||"hover-focus"===this.visibility&&!this.isFocused)&&this.refreshVisibility())},onFocusIn(){this.isFocused||(this.isFocused=!0,this.visibility.includes("focus")&&this.refreshVisibility())},onFocusOut(t){this.isFocused&&!Mt(this.reference,t.relatedTarget)&&(this.isFocused=!1,this.visibility.includes("focus")&&this.refreshVisibility())},refreshVisibility(){switch(this.visibility){case"hover":this.isHovered?this.show():this.isActive&&this.hide();break;case"focus":this.isFocused?this.show():this.isActive&&this.hide();break;case"hover-focus":this.isHovered||this.isFocused?this.show({visibility:this.isFocused?"focus":"hover"}):this.isActive&&this.hide();break;case"visible":this.show();break;case"hidden":this.isActive&&this.hide()}},toggle(){var t=this;this.isActive?this.hide():this.$nextTick((function(){t.show()}))},show({visibility:t}={}){this.$showPopover({id:this.id,ref:this.reference,args:this.args,visibility:t||this.visibility,placement:this.placement,positionFixed:this.positionFixed,modifiers:this.modifiers,isInteractive:this.isInteractive,delay:this.showDelay})},hide({delay:t=this.hideDelay}={}){this.$hidePopover({id:this.id,ref:this.reference,delay:t})},update(){this.$updatePopover({id:this.id,ref:this.reference,args:this.args})}}},void 0,void 0,!1,null,null,null).exports;const Le="26px",Ie={"left-arrow":{viewBox:"0 -1 16 34",path:"M11.196 10c0 0.143-0.071 0.304-0.179 0.411l-7.018 7.018 7.018 7.018c0.107 0.107 0.179 0.268 0.179 0.411s-0.071 0.304-0.179 0.411l-0.893 0.893c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-8.321-8.321c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l8.321-8.321c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l0.893 0.893c0.107 0.107 0.179 0.25 0.179 0.411z"},"right-arrow":{viewBox:"-5 -1 16 34",path:"M10.625 17.429c0 0.143-0.071 0.304-0.179 0.411l-8.321 8.321c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-0.893-0.893c-0.107-0.107-0.179-0.25-0.179-0.411 0-0.143 0.071-0.304 0.179-0.411l7.018-7.018-7.018-7.018c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l0.893-0.893c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l8.321 8.321c0.107 0.107 0.179 0.268 0.179 0.411z"}};var Ne={props:["name"],data:()=>({width:Le,height:Le,viewBox:"0 0 32 32",path:"",isBaseline:!1}),mounted(){this.updateIcon()},watch:{name(){this.updateIcon()}},methods:{updateIcon(){const t=Ie[this.name];t&&(this.width=t.width||Le,this.height=t.height||Le,this.viewBox=t.viewBox,this.path=t.path)}}},Re=(n("9010"),jt(Ne,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",t._g({staticClass:"vc-svg-icon",attrs:{width:t.width,height:t.height,viewBox:t.viewBox}},t.$listeners),[n("path",{attrs:{d:t.path}})])}),[],!1,null,"63f7b5ec",null).exports),$e=jt({name:"CalendarNav",components:{Grid:Pe,SvgIcon:Re},mixins:[we],props:{value:{type:Object,default:function(){return{month:0,year:0}}},validator:{type:Function,default:function(){return function(){return!0}}}},data:()=>({monthMode:!0,yearIndex:0,yearGroupIndex:0,onSpaceOrEnter:Ct}),computed:{month(){return this.value&&this.value.month||0},year(){return this.value&&this.value.year||0},title(){return this.monthMode?this.yearIndex:`${this.firstYear} - ${this.lastYear}`},monthItems(){var t=this;const{month:e,year:n}=vt(new Date);return this.locale.getMonthDates().map((function(r,i){const o=i+1;return{label:t.locale.format(r,t.masks.navMonths),ariaLabel:t.locale.format(r,"MMMM YYYY"),isActive:o===t.month&&t.yearIndex===t.year,isCurrent:o===e&&t.yearIndex===n,isDisabled:!t.validator({month:o,year:t.yearIndex}),click:function(){return t.monthClick(o)}}}))},yearItems(){var t=this;const{_:e,year:n}=vt(new Date),r=12*this.yearGroupIndex,i=r+12,o=[];for(let e=r;e<i;e+=1)o.push({year:e,label:e,ariaLabel:e,isActive:e===this.year,isCurrent:e===n,isDisabled:!this.validator({month:this.month,year:e}),click:function(){return t.yearClick(e)}});return o},activeItems(){return this.monthMode?this.monthItems:this.yearItems},firstYear(){return q()(this.yearItems.map((function(t){return t.year})))},lastYear(){return J()(this.yearItems.map((function(t){return t.year})))}},watch:{year(){this.yearIndex=this.year},yearIndex(t){this.yearGroupIndex=this.getYearGroupIndex(t)}},created(){this.yearIndex=this.year},mounted(){this.$refs.itemsGrid.tryFocus()},methods:{getItemClasses({isActive:t,isCurrent:e,isDisabled:n}){const r=[this.theme.navCell];return t?r.push(this.theme.navCellActive,"vc-grid-focus"):e?r.push(this.theme.navCellInactiveCurrent):r.push(this.theme.navCellInactive),n&&r.push("vc-opacity-25 vc-pointer-events-none"),r},getYearGroupIndex:t=>Math.floor(t/12),monthClick(t){this.$emit("input",{month:t,year:this.yearIndex})},yearClick(t){this.yearIndex=t,this.monthMode=!0,this.$refs.itemsGrid.tryFocus()},toggleMode(){this.monthMode=!this.monthMode},movePrev(){this.monthMode&&this.movePrevYear(),this.movePrevYearGroup()},moveNext(){this.monthMode&&this.moveNextYear(),this.moveNextYearGroup()},movePrevYear(){this.yearIndex--},moveNextYear(){this.yearIndex++},movePrevYearGroup(){this.yearGroupIndex--},moveNextYearGroup(){this.yearGroupIndex++},onHeaderRollover(t){"vertical-trailing"===t.direction&&this.$refs.itemsGrid.tryFocus(),t.handled=!0},onItemsRollover(t){switch(t.direction){case"horizontal-leading":this.movePrev();break;case"horizontal-trailing":this.moveNext();break;case"vertical-leading":this.$refs.headerGrid.tryFocus(),t.handled=!0;break;case"vertical-trailing":t.handled=!0}}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-nav-container"},[n("grid",{ref:"headerGrid",attrs:{columns:3},on:{rollover:t.onHeaderRollover}},[n("span",{ref:"prevButton",staticClass:"vc-nav-arrow vc-flex vc-justify-center vc-items-center vc-mr-auto",class:t.theme.navArrows,attrs:{role:"button",tabindex:"-1"},on:{click:t.movePrev,keydown:function(e){return t.onSpaceOrEnter(e,t.movePrev)}}},[t._t("nav-left-button",[n("svg-icon",{attrs:{name:"left-arrow",width:"20px",height:"24px"}})])],2),n("span",{ref:"titleButton",staticClass:"vc-nav-title vc-grid-focus",class:t.theme.navTitle,style:{whiteSpace:"nowrap"},attrs:{role:"button",tabindex:"0"},on:{click:t.toggleMode,keydown:function(e){return t.onSpaceOrEnter(e,t.toggleMode)}}},[t._v("\n      "+t._s(t.title)+"\n    ")]),n("span",{ref:"nextButton",staticClass:"vc-nav-arrow vc-flex vc-justify-center vc-items-center vc-ml-auto",class:t.theme.navArrows,attrs:{role:"button",tabindex:"-1"},on:{click:t.moveNext,keydown:function(e){return t.onSpaceOrEnter(e,t.moveNext)}}},[t._t("nav-right-button",[n("svg-icon",{attrs:{name:"right-arrow",width:"20px",height:"24px"}})])],2)]),n("grid",{ref:"itemsGrid",attrs:{rows:4,columns:3,gap:"2px 5px"},on:{rollover:t.onItemsRollover}},t._l(t.activeItems,(function(e){return n("span",{key:e.label,ref:"items",refInFor:!0,class:t.getItemClasses(e),attrs:{role:"button","aria-label":e.ariaLabel,tabindex:e.isDisabled?void 0:e.isActive?0:-1},on:{click:e.click,keydown:function(n){return t.onSpaceOrEnter(n,e.click)}}},[t._v("\n      "+t._s(e.label)+"\n    ")])})),0)],1)}),[],!1,null,null,null).exports;function Be(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Fe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ze={name:"CalendarDay",mixins:[we,Se],render(t){var e=this;const n=function(){return e.safeScopedSlot("day-content",{day:e.day,attributes:e.day.attributes,attributesMap:e.day.attributesMap,dayProps:e.dayContentProps,dayEvents:e.dayContentEvents})||t("span",{class:e.dayContentClass,attrs:Fe({},e.dayContentProps),on:e.dayContentEvents,ref:"content"},[e.day.label])};return t("div",{class:["vc-day",...this.day.classes,{"vc-day-box-center-center":!this.$scopedSlots["day-content"]}]},[t("div",{class:["vc-h-full",{[this.theme.dayNotInMonth]:!this.inMonth}]},[e.hasBackgrounds&&t("div",{class:"vc-highlights vc-day-layer"},e.backgrounds.map((function({key:e,wrapperClass:n,class:r}){return t("div",{key:e,class:n},[t("div",{class:r})])}))),function(){if(!e.hasPopovers)return n();const{visibility:r,placement:i,isInteractive:o}=e.popoverState;return t(je,{props:{id:e.dayPopoverId,args:e.dayEvent,visibility:r,placement:i,isInteractive:o}},[n()])}(),e.hasDots&&t("div",{class:"vc-day-layer vc-day-box-center-bottom"},[t("div",{class:"vc-dots"},e.dots.map((function({key:e,class:n}){return t("span",{class:n,key:e})})))]),e.hasBars&&t("div",{class:"vc-day-layer vc-day-box-center-bottom"},[t("div",{class:"vc-bars"},e.bars.map((function({key:e,class:n}){return t("span",{class:n,key:e})})))])])])},inject:["sharedState"],props:{day:{type:Object,required:!0}},data:()=>({glyphs:{},popoverState:{}}),computed:{label(){return this.day.label},dateTime(){return this.day.dateTime},inMonth(){return this.day.inMonth},isDisabled(){return this.day.isDisabled},backgrounds(){return this.glyphs.backgrounds},hasBackgrounds(){return!!kt(this.backgrounds)},content(){return this.glyphs.content},dots(){return this.glyphs.dots},hasDots(){return!!kt(this.dots)},bars(){return this.glyphs.bars},hasBars(){return!!kt(this.bars)},popovers(){return this.glyphs.popovers},hasPopovers(){return!!kt(this.popovers)},dayContentClass(){return["vc-day-content vc-focusable",D()(J()(this.content),"class")||"",this.isDisabled?this.theme.dayContentDisabled:"",this.theme.isDark?"vc-is-dark":"",this.theme.dayContent]},dayContentProps(){let t;return this.day.isFocusable?t="0":this.day.inMonth&&(t="-1"),{tabindex:t,"aria-label":this.day.ariaLabel}},dayContentEvents(){return{click:this.click,mouseenter:this.mouseenter,mouseleave:this.mouseleave,focusin:this.focusin,focusout:this.focusout,keydown:this.keydown}},dayEvent(){return Fe(Fe({},this.day),{},{el:this.$refs.content,popovers:this.popovers})}},watch:{theme(){this.refresh()},popovers(){const t=["click","focus","hover","visible"];let e="",n=!1,r=-1;this.popovers.forEach((function(i){const o=t.indexOf(i.visibility);r=o>r?o:r,e=e||i.placement,n=n||i.isInteractive})),this.popoverState={visibility:r>=0?t[r]:"hidden",placement:e||"bottom",isInteractive:n}}},methods:{getDayEvent(t){return Fe(Fe({},this.dayEvent),{},{event:t})},click(t){this.$emit("dayclick",this.getDayEvent(t))},mouseenter(t){this.$emit("daymouseenter",this.getDayEvent(t))},mouseleave(t){this.$emit("daymouseleave",this.getDayEvent(t))},focusin(t){this.$emit("dayfocusin",this.getDayEvent(t))},focusout(t){this.$emit("dayfocusout",this.getDayEvent(t))},keydown(t){this.$emit("daykeydown",this.getDayEvent(t))},refresh(){var t=this;if(!this.day.refresh)return;this.day.refresh=!1;const e={backgrounds:[],dots:[],bars:[],popovers:[],content:[]};this.day.attributes=Object.values(this.day.attributesMap||{}).sort((function(t,e){return t.order-e.order})),this.day.attributes.forEach((function(n){const{targetDate:r}=n,{isDate:i,isComplex:o,startTime:s,endTime:a}=r,l=s===t.dateTime,c=a===t.dateTime,u={isDate:i,isComplex:o,onStart:l,onEnd:c,onStartAndEnd:l&&c,onStartOrEnd:l||c};t.processHighlight(n,u,e),t.processContent(n,u,e),t.processDot(n,u,e),t.processBar(n,u,e),t.processPopover(n,e)})),this.glyphs=e},processHighlight({key:t,highlight:e},{isDate:n,isComplex:r,onStart:i,onEnd:o,onStartAndEnd:s},{backgrounds:a,content:l}){if(!e)return;const{base:c,start:u,end:d}=e;n||r||s?(a.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:`vc-highlight ${u.class}`}),l.push({key:`${t}-content`,class:u.contentClass})):i?(a.push({key:`${t}-base`,wrapperClass:"vc-day-layer vc-day-box-right-center",class:`vc-highlight vc-highlight-base-start ${c.class}`}),a.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:`vc-highlight ${u.class}`}),l.push({key:`${t}-content`,class:u.contentClass})):o?(a.push({key:`${t}-base`,wrapperClass:"vc-day-layer vc-day-box-left-center",class:`vc-highlight vc-highlight-base-end ${c.class}`}),a.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:`vc-highlight ${d.class}`}),l.push({key:`${t}-content`,class:d.contentClass})):(a.push({key:`${t}-middle`,wrapperClass:"vc-day-layer vc-day-box-center-center",class:`vc-highlight vc-highlight-base-middle ${c.class}`}),l.push({key:`${t}-content`,class:c.contentClass}))},processContent({key:t,content:e},{isDate:n,onStart:r,onEnd:i},{content:o}){if(!e)return;const{base:s,start:a,end:l}=e;n||r?o.push({key:t,class:a.class}):i?o.push({key:t,class:l.class}):o.push({key:t,class:s.class})},processDot({key:t,dot:e},{isDate:n,onStart:r,onEnd:i},{dots:o}){if(!e)return;const{base:s,start:a,end:l}=e;n||r?o.push({key:t,class:`vc-dot ${a.class}`}):i?o.push({key:t,class:`vc-dot ${l.class}`}):o.push({key:t,class:`vc-dot ${s.class}`})},processBar({key:t,bar:e},{isDate:n,onStart:r,onEnd:i},{bars:o}){if(!e)return;const{base:s,start:a,end:l}=e;n||r?o.push({key:t,class:`vc-bar ${a.class}`}):i?o.push({key:t,class:`vc-bar ${l.class}`}):o.push({key:t,class:`vc-bar ${s.class}`})},processPopover(t,{popovers:e}){const{key:n,customData:r,popover:i}=t;if(!i)return;const o=B()({key:n,customData:r,attribute:t},Fe({},i),{visibility:i.label?"hover":"click",placement:"bottom",isInteractive:!i.label});e.splice(0,0,o)}}},He=(n("d581"),jt(ze,void 0,void 0,!1,null,"2aac4f42",null).exports);function Ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function We(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ye(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ve={name:"CalendarPane",mixins:[_e,we,Se],render(t){var e=this;const n=this.safeScopedSlot("header",this.page)||t("div",{class:["vc-header",this.theme.header]},[t("div",{class:`vc-title-layout align-${this.titlePosition}`},[t("div",{class:"vc-title-wrapper"},[t(je,{props:{id:this.navPopoverId,visibility:this.navVisibility_,placement:this.navPlacement,modifiers:{flip:{behavior:["bottom"]}},isInteractive:!0}},[t("div",{class:["vc-title",this.theme.title]},[this.safeScopedSlot("header-title",this.page,this.page.title)])]),t(Lt,{props:{id:this.navPopoverId,contentClass:this.theme.navPopoverContainer}},[t($e,{props:{value:this.page,validator:this.canMove},on:{input:function(t){return e.move(t)}},scopedSlots:this.$scopedSlots})])])])]),r=t(Pe,{class:"vc-weeks",props:{rows:7,columns:7,columnWidth:"1fr",disableFocus:!0}},[...this.weekdayLabels.map((function(n,r){return t("div",{key:r+1,class:["vc-weekday",e.theme.weekdays]},[n])})),...this.page.days.map((function(n){return t(He,{attrs:We(We({},e.$attrs),{},{day:n}),on:We({},e.$listeners),scopedSlots:e.$scopedSlots,key:n.id,ref:"days",refInFor:!0})}))]);return t("div",{class:"vc-pane",ref:"pane"},[n,r])},props:{page:Object,titlePosition:String,navVisibility:String,canMove:{type:Function,default:function(){return!0}}},data:()=>({navPopoverId:At()}),computed:{navVisibility_(){return this.propOrDefault("navVisibility","navVisibility")},navPlacement(){switch(this.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}},weekdayLabels(){var t=this;return this.locale.getWeekdayDates().map((function(e){return t.format(e,t.masks.weekdays)}))}},methods:{move(t){this.$emit("update:page",t)},refresh(){this.$refs.days.forEach((function(t){return t.refresh()}))}}},Ue=(n("3d14"),jt(Ve,void 0,void 0,!1,null,"4a5f2beb",null).exports),Ge={name:"CustomTransition",render(t){return t("transition",{props:{name:this.name_,appear:this.appear},on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter}},[this.$slots.default])},props:{name:String,appear:Boolean},computed:{name_(){return this.name||"none"}},methods:{beforeEnter(t){this.$emit("beforeEnter",t),this.$emit("beforeTransition",t)},afterEnter(t){this.$emit("afterEnter",t),this.$emit("afterTransition",t)}}},Xe=(n("2285"),jt(Ge,void 0,void 0,!1,null,"5be4b00c",null).exports);function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}class Ke{constructor(t,e,n){this.theme=t,this.locale=e,this.map={},this.refresh(n,!0)}refresh(t,e){var n=this;const r={},i=[];let o=null;const a=[],l=e?new Set:new Set(Object.keys(this.map));return kt(t)&&t.forEach((function(t,c){if(!t||!t.dates)return;const u=t.key?t.key.toString():c.toString(),d=t.order||0,h=function(t){let e,n=0,r=0;if(0===t.length)return n;for(r=0;r<t.length;r++)e=t.charCodeAt(r),n=(n<<5)-n+e,n|=0;return n}(JSON.stringify(t));let f=n.map[u];!e&&f&&f.hashcode===h?l.delete(u):(f=new xe(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({key:u,order:d,hashcode:h},t),n.theme,n.locale),a.push(f)),f&&f.pinPage&&(o=f),r[u]=f,i.push(f)})),this.map=r,this.list=i,this.pinAttr=o,{adds:a,deletes:Array.from(l)}}}function Je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ze(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n("bdab");var Qe={name:"Calendar",render(t){var e=this;const n=this.pages.map((function(n,r){return t(Ue,{attrs:Ze(Ze({},e.$attrs),{},{attributes:e.store}),props:{titlePosition:e.titlePosition_,page:n,minPage:e.minPage_,maxPage:e.maxPage_,canMove:e.canMove},on:Ze(Ze({},e.$listeners),{},{"update:page":function(t){return e.refreshPages({page:t,position:r+1})},dayfocusin:function(t){e.lastFocusedDay=t,e.$emit("dayfocusin",t)},dayfocusout:function(t){e.lastFocusedDay=null,e.$emit("dayfocusout",t)}}),scopedSlots:e.$scopedSlots,key:n.key,ref:"pages",refInFor:!0})})),r=function(n){const r=function(){return e.move(n?-e.step_:e.step_)},i=n?!e.canMovePrev:!e.canMoveNext;return t("div",{class:["vc-flex vc-justify-center vc-items-center vc-cursor-pointer vc-select-none "+(i?"vc-opacity-25 vc-pointer-events-none vc-cursor-not-allowed":"vc-pointer-events-auto"),e.$theme.arrows],attrs:{role:"button"},on:{click:r,keydown:function(t){return Ct(t,r)}}},[(n?e.safeScopedSlot("header-left-button",{click:r}):e.safeScopedSlot("header-right-button",{click:r}))||t(Re,{props:{name:n?"left-arrow":"right-arrow"}})])};return t("div",{attrs:{"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year"},class:["vc-container","vc-reset",{"vc-min-w-full":e.isExpanded},e.$theme.container],on:{keydown:e.handleKeydown,mouseup:function(t){return t.preventDefault()}},ref:"container"},[t("div",{class:["vc-w-full vc-relative",{"vc-overflow-hidden":e.inTransition}]},[t(Xe,{props:{name:e.transitionName},on:{beforeEnter:function(){e.inTransition=!0},afterEnter:function(){e.inTransition=!1}}},[t(Pe,{class:"grid",props:{rows:e.rows,columns:e.columns,columnWidth:"minmax(256px, 1fr)",disableFocus:!0},attrs:Ze({},e.$attrs),key:kt(e.pages)?e.pages[0].key:""},n)]),t("div",{class:[`vc-arrows-container title-${e.titlePosition_}`]},[r(!0),r(!1)])]),t(Lt,{props:{id:e.sharedState.dayPopoverId,contentClass:e.$theme.dayPopoverContainer},scopedSlots:{default:function({args:n,updateLayout:r,hide:i}){const o=Object.values(n.attributes).filter((function(t){return t.popover})),s=e.$locale.masks,a=e.format,l=a(n.date,s.dayPopover);return e.safeScopedSlot("day-popover",{day:n,attributes:o,masks:s,format:a,dayTitle:l,updateLayout:r,hide:i})||t("div",[s.dayPopover&&t("div",{class:["vc-text-center",e.$theme.dayPopoverHeader]},[l]),o.map((function(e){return t(Me,{key:e.key,props:{attribute:e}})}))])}}})])},mixins:[_e,ke,Se],provide(){return{sharedState:this.sharedState}},props:{rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:String,isExpanded:Boolean,fromDate:Date,toDate:Date,fromPage:Object,toPage:Object,minPage:Object,maxPage:Object,transition:String,attributes:[Object,Array],disablePageSwipe:Boolean},data:()=>({pages:[],store:null,lastFocusedDay:null,focusableDay:(new Date).getDate(),transitionName:"",inTransition:!1,sharedState:{dayPopoverId:At(),theme:{},masks:{},locale:{}}}),computed:{titlePosition_(){return this.propOrDefault("titlePosition","titlePosition")},minPage_(){return this.minPage||vt(this.$locale.toDate(this.minDate))},maxPage_(){return this.maxPage||vt(this.$locale.toDate(this.maxDate))},count(){return this.rows*this.columns},step_(){return this.step||this.count},canMovePrev(){return!ft(this.minPage_)||mt(this.pages[0],this.minPage_)},canMoveNext(){return!ft(this.maxPage_)||pt(this.pages[this.pages.length-1],this.maxPage_)}},watch:{$locale(){this.refreshLocale(),this.refreshPages({page:q()(this.pages),ignoreCache:!0}),this.initStore()},$theme(){this.refreshTheme(),this.initStore()},fromDate(){this.refreshPages()},fromPage(t){const e=this.pages&&this.pages[0];gt(t,e)||this.refreshPages()},toPage(t){const e=this.pages&&this.pages[this.pages.length-1];gt(t,e)||this.refreshPages()},count(){this.refreshPages()},attributes(t){const{adds:e,deletes:n}=this.store.refresh(t);this.refreshAttrs(this.pages,e,n)},pages(t){this.refreshAttrs(t,this.store.list,null,!0)},disabledAttribute(){this.refreshDisabledDays()},lastFocusedDay(t){t&&(this.focusableDay=t.day,this.refreshFocusableDays())},inTransition(t){t?this.$emit("transition-start"):(this.$emit("transition-end"),this.transitionPromise&&(this.transitionPromise.resolve(),this.transitionPromise=null))}},created(){this.refreshLocale(),this.refreshTheme(),this.initStore(),this.refreshPages()},mounted(){var t=this;if(!this.disablePageSwipe){const e=function(t,e,{maxSwipeTime:n,minHorizontalSwipeDistance:r,maxVerticalSwipeDistance:i}){if(!t||!t.addEventListener||!w()(e))return null;let o=0,s=0,a=null,l=!1;function c(t){const e=t.changedTouches[0];o=e.screenX,s=e.screenY,a=(new Date).getTime(),l=!0}function u(t){if(!l)return;l=!1;const c=t.changedTouches[0],u=c.screenX-o,d=c.screenY-s;if((new Date).getTime()-a<n&&Math.abs(u)>=r&&Math.abs(d)<=i){const t={toLeft:!1,toRight:!1};u<0?t.toLeft=!0:t.toRight=!0,e(t)}}return St(t,"touchstart",c),St(t,"touchend",u),function(){Ot(t,"touchstart",c),Ot(t,"touchend",u)}}(this.$refs.container,(function({toLeft:e,toRight:n}){e?t.moveNext():n&&t.movePrev()}),this.$defaults.touch);this.$once("beforeDestroy",(function(){return e()}))}},methods:{refreshLocale(){this.sharedState.locale=this.$locale,this.sharedState.masks=this.$locale.masks},refreshTheme(){this.sharedState.theme=this.$theme},canMove(t){return function(t,e,n){return!!t&&!pt(t,e)&&!mt(t,n)}(t,this.minPage_,this.maxPage_)},async movePrev(t){return await this.move(-this.step_,t)},async moveNext(t){return this.move(this.step_,t)},async move(t,e){const n=this.$locale.toPage(t,this.pages[0]);return n?await this.refreshPages(Ze(Ze({},e),{},{page:n})):null},async focusDate(t,e={}){const n=vt(t);let r=null;e.position?r=this.getTargetPageRange(n,e.position).fromPage:pt(n,this.pages[0])?r=this.getTargetPageRange(n,-1).fromPage:mt(n,J()(this.pages))&&(r=this.getTargetPageRange(n,1).fromPage),r&&!gt(r,this.pages[0])&&await this.refreshPages(Ze(Ze({},e),{},{position:1,page:r}));const i=this.$el.querySelector(`.id-${this.$locale.format(t,"YYYY-MM-DD")}.in-month .vc-focusable`);i&&i.focus()},async showPageRange(t,e){let n,r;if(nt(t))n=vt(t);else{if(!rt(t))return;{const{month:e,year:i}=t,{from:o,to:s}=t;m()(e)&&m()(i)?n=t:(o||s)&&(n=nt(o)?vt(o):o,r=nt(s)?vt(s):s)}}const i=J()(this.pages);let o=n;mt(r,i)&&(o=bt(r,-(this.pages.length-1))),pt(n,o)&&(o=n),await this.refreshPages(Ze(Ze({},e),{},{page:o}))},getTargetPageRange(t,e){let n=null;if(ft(t)){const r=e>0?1-e:-(this.count+e);n=bt(t,r)}else if(n=this.fromPage||vt(this.$locale.toDate(this.fromDate)),!ft(n)){const t=this.toPage||vt(this.$locale.toDate(this.toPage));n=ft(t)?bt(t,1-this.count):this.getPageForAttributes()}n=ft(n)?n:yt();const r=bt(n,this.count-1);return pt(n,this.minPage_)?n=this.minPage_:mt(r,this.maxPage_)&&(n=bt(this.maxPage_,1-this.count)),{fromPage:n,toPage:r}},async refreshPages({page:t,position:e=1,transition:n,ignoreCache:r}={}){var i=this;return new Promise((function(o,s){const{fromPage:a,toPage:l}=i.getTargetPageRange(t,e),c=[];for(let t=0;t<i.count;t++)c.push(i.buildPage(bt(a,t),r));i.refreshDisabledDays(c),i.refreshFocusableDays(c),i.transitionName=i.getPageTransition(i.pages[0],c[0],n),i.pages=c,i.$emit("update:from-page",a),i.$emit("update:to-page",l),i.transitionName&&"none"!==i.transitionName?i.transitionPromise={resolve:o,reject:s}:o()}))},refreshDisabledDays(t){var e=this;this.getPageDays(t).forEach((function(t){t.isDisabled=!!e.disabledAttribute&&e.disabledAttribute.includesDay(t)}))},refreshFocusableDays(t){var e=this;this.getPageDays(t).forEach((function(t){t.isFocusable=t.inMonth&&t.day===e.focusableDay}))},getPageDays(t=this.pages){return t.reduce((function(t,e){return t.concat(e.days)}),[])},getPageTransition(t,e,n=this.transition){if("none"===n)return n;if("fade"===n||!n&&this.count>1||!ft(t)||!ft(e))return"fade";const r=pt(e,t);return"slide-v"===n?r?"slide-down":"slide-up":r?"slide-right":"slide-left"},getPageForAttributes(){let t=null;const e=this.store.pinAttr;if(e&&e.hasDates){let[n]=e.dates;n=n.start||n.date,t=vt(this.$locale.toDate(n))}return t},buildPage({month:t,year:e},n){var r=this;const i=`${e.toString()}-${t.toString()}`;let o=this.pages.find((function(t){return t.key===i}));if(!o||n){const n=new Date(e,t-1,15),s=this.$locale.getMonthComps(t,e),a=this.$locale.getPrevMonthComps(t,e),l=this.$locale.getNextMonthComps(t,e);o={key:i,month:t,year:e,title:this.$locale.format(n,this.$locale.masks.title),shortMonthLabel:this.$locale.format(n,"MMM"),monthLabel:this.$locale.format(n,"MMMM"),shortYearLabel:e.toString().substring(2),yearLabel:e.toString(),monthComps:s,prevMonthComps:a,nextMonthComps:l,canMove:function(t){return r.canMove(t)},move:function(t){return r.move(t)},moveThisMonth:function(){return r.moveThisMonth()},movePrevMonth:function(){return r.move(a)},moveNextMonth:function(){return r.move(l)},refresh:!0},o.days=this.$locale.getCalendarDays(o)}return o},initStore(){this.store=new Ke(this.$theme,this.$locale,this.attributes),this.refreshAttrs(this.pages,this.store.list,[],!0)},refreshAttrs(t=[],e=[],n=[],r){var i=this;kt(t)&&(t.forEach((function(t){t.days.forEach((function(t){let i={};r?t.refresh=kt(t.attributes):ot(t.attributesMap,n)?(i=Y()(t.attributesMap,n),t.refresh=!0):i=t.attributesMap||{},e.forEach((function(e){const n=e.includesDay(t);if(n){const r=Ze(Ze({},e),{},{targetDate:n});i[e.key]=r,t.refresh=!0}})),t.refresh&&(t.attributesMap=i)}))})),this.$nextTick((function(){i.$refs.pages.forEach((function(t){return t.refresh()}))})))},handleKeydown(t){const e=this.lastFocusedDay;null!=e&&(e.event=t,this.handleDayKeydown(e))},handleDayKeydown(t){const{date:e,event:n}=t;let r=null;switch(n.key){case"ArrowLeft":r=u(e,-1);break;case"ArrowRight":r=u(e,1);break;case"ArrowUp":r=u(e,-7);break;case"ArrowDown":r=u(e,7);break;case"Home":r=u(e,1-t.weekdayPosition);break;case"End":r=u(e,t.weekdayPositionFromEnd);break;case"PageUp":r=n.altKey?h(e,-1):d(e,-1);break;case"PageDown":r=n.altKey?h(e,1):d(e,1)}r&&(n.preventDefault(),this.focusDate(r))}}},tn=(n("04d4"),jt(Qe,void 0,void 0,!1,null,null,null).exports);class en{constructor({format:t,parse:e}){this._format=t,this._parse=e}hasValue(t){return nt(t)}format(t){return this.hasValue(t)?this._format(t):""}parse(t){const e=this._parse(t);return nt(e)?e:null}normalize(t){return t&&new Date(t)}filterDisabled({value:t,isRequired:e,disabled:n,fallbackValue:r}){return!this.hasValue(t)&&e?r:this.hasValue(t)&&n&&n.intersectsDate(t)?null:t}valuesAreEqual(t,e){return wt(t,e)}getPageRange(t){if(!this.hasValue(t))return null;const e=vt(t);return{from:e,to:e}}handleDayClick(t,e){e.dateIsValid(t.date)&&(this.valuesAreEqual(t.date,e.value_)?e.isRequired||(e.value_=null):(e.doFormatInput=!0,e.doHidePopover=!0,e.value_=t.date))}handleDayMouseEnter(){}}class nn{constructor({format:t,parse:e}){this._format=t,this._parse=e}hasValue(t){return kt(t)}format(t){var e=this;return this.hasValue(t)?t.map((function(t){return e._format(t)})).join(", "):""}parse(t){var e=this;return v()(t)?t.split(",").map((function(t){return e._parse(t)})).filter((function(t){return nt(t)})):[]}normalize(t){return this.hasValue(t)?Q()(t).sort((function(t,e){return t.getTime()-e.getTime()})):[]}filterDisabled({value:t,isRequired:e,disabled:n,fallbackValue:r}){if(!this.hasValue(t))return[];if(!n)return t;const i=t.filter((function(t){return!n.intersectsDate(t)}));return!this.hasValue(i)&&e?r:i}valuesAreEqual(t,e){const n=this.hasValue(t),r=this.hasValue(e);return!n&&!r||n===r&&t.length===e.length&&!t.some((function(t){return!e.includes(t)}))&&!e.some((function(e){return!t.includes(e)}))}getPageRange(t){if(!this.hasValue(t))return null;const e=vt(t[0]);return{from:e,to:xt(vt(J()(t)),bt(e,1))}}handleDayClick(t,e){if(!e.dateIsValid(t.date))return;let n=[];this.hasValue(e.value_)?e.value_.some((function(e){return e.getTime()===t.dateTime}))?(n=e.value_.filter((function(e){return!wt(e,t.date)})),!this.hasValue(n)&&e.isRequired&&(n=[t.date])):n=[...e.value_,t.date]:n=[t.date],this.doFormatInput=!0,this.doHidePopover=!1,e.value_=this.normalize(n)}handleDayMouseEnter(){}}class rn{constructor({locale:t,format:e,parse:n}){this._locale=t,this._format=e,this._parse=n}hasValue(t){return rt(t)&&nt(t.start)&&nt(t.end)}normalize(t){if(!this.hasValue(t))return null;const{start:e,end:n}=new ye({start:new Date(t.start),end:new Date(t.end)},{locale:this._locale});return{start:e,end:n}}format(t){const e=this.normalize(t);if(!e)return"";const{start:n,end:r}=e,i=this._format(n),o=this._format(r);return i&&o?`${i} - ${o}`:""}parse(t){let e,n;const r=[" - ","-"].find((function(e){return t.includes(e)})),i=t.split(r).map((function(t){return t.trim()}));return i.length>=2&&(e=this._parse(i[0]),n=this._parse(i[1])),e&&n?this.normalize({start:e,end:n}):null}filterDisabled({value:t,isRequired:e,disabled:n,fallbackValue:r}){let i=e?r:null;return!this.hasValue(t)||n&&n.intersectsDate(t)||(i=t),i}valuesAreEqual(t,e){const n=this.hasValue(t),r=this.hasValue(e);return!n&&!r||n===r&&wt(t.start,e.start)&&wt(t.end,e.end)}getPageRange(t){if(!this.hasValue(t))return null;const e=vt(t.start);return{from:e,to:xt(vt(t.end),bt(e,1))}}handleDayClick(t,e){const{dateTime:n}=t;if(e.dragValue){const t=this.normalize({start:new Date(e.dragValue.start.getTime()),end:new Date(n)});e.dateIsValid(t)&&(e.doFormatInput=!0,e.doHidePopover=!0,e.dragValue=null,e.value_=t)}else{const t={start:new Date(n),end:new Date(n)};e.dateIsValid(t)&&(e.dragValue=t)}}handleDayMouseEnter(t,e){const{dateTime:n}=t;if(e.dragValue){const t={start:new Date(e.dragValue.start.getTime()),end:new Date(n)};e.dateIsValid(t)&&(e.dragValue=t)}}}function on(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function sn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?on(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var an={name:"DatePicker",render(t){var e=this;const n=function(){return t(tn,{attrs:sn(sn({},e.$attrs),{},{attributes:e.attributes_,theme:e.$theme,locale:e.$locale}),props:{minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,availableDates:e.availableDates},on:sn(sn({},e.$listeners),{},{dayclick:e.onDayClick,daymouseenter:e.onDayMouseEnter,daykeydown:e.onDayKeydown,dayfocusin:e.onDayFocusIn}),scopedSlots:e.$scopedSlots,ref:"calendar"})};if(this.isInline)return n();const r=this.safeScopedSlot("default",{inputClass:this.inputClass,inputValue:this.inputValue,inputProps:this.inputProps_,inputEvents:this.inputEvents,isDragging:!!this.dragValue,updateValue:this.updateValue,hidePopover:this.hidePopover})||t("input",{class:this.inputClass,attrs:this.inputProps_,domProps:{value:this.inputValue},on:this.inputEvents});return t("span",[t(je,{props:sn(sn({},this.popover_),{},{id:this.datePickerPopoverId,isInteractive:!0})},[r]),t(Lt,{props:{id:this.datePickerPopoverId,placement:"bottom-start",contentClass:this.$theme.container},on:{beforeShow:function(t){return e.$emit("popoverWillShow",t)},afterShow:function(t){return e.$emit("popoverDidShow",t)},beforeHide:function(t){return e.$emit("popoverWillHide",t)},afterHide:function(t){return e.$emit("popoverDidHide",t)}},scopedSlots:{default:()=>n()},ref:"popover"})])},mixins:[ke,_e,Se],props:{mode:{type:String,default:"single"},value:{type:null,required:!0},isRequired:Boolean,isInline:Boolean,updateOnInput:Boolean,inputDebounce:Number,inputProps:{type:Object,default:function(){return{}}},popover:{type:Object,default:function(){return{}}},dragAttribute:Object,selectAttribute:Object,attributes:Array},data:()=>({value_:null,dragValue:null,inputValue:"",doFormatInput:!0,doHidePopover:!1,doAdjustPageRange:!1,updateTimeout:null,datePickerPopoverId:At()}),computed:{updateOnInput_(){return this.propOrDefault("updateOnInput","datePicker.updateOnInput")},inputDebounce_(){return this.propOrDefault("inputDebounce","datePicker.inputDebounce")},inputMasks(){const t=this.$locale.masks.input;return y()(t)&&t||[t]},inputClass(){const t=this.inputProps.class||this.$theme.datePickerInput,e=this.inputProps.dragClass||this.$theme.datePickerInputDrag;return this.picker.hasValue(this.dragValue)&&e||t},inputProps_(){const t=sn(sn({},this.inputProps),{},{value:this.inputValue,type:"input"});return delete t.class,delete t.dragClass,t},inputEvents(){return{input:this.inputInput,change:this.inputChange,keyup:this.inputKeyup}},popover_(){return this.propOrDefault("popover","datePicker.popover","merge")},canHidePopover(){return!(this.popover.keepVisibleOnInput||"visible"!==this.popover_.visibility)},selectAttribute_(){if(!this.picker.hasValue(this.value_))return null;const t=sn(sn({key:"select-drag"},this.selectAttribute),{},{dates:this.value_,pinPage:!0}),{dot:e,bar:n,highlight:r,content:i}=t;return e||n||r||i||(t.highlight=!0),t},dragAttribute_(){if("range"!==this.mode||!this.picker.hasValue(this.dragValue))return null;const t=sn(sn({key:"select-drag"},this.dragAttribute),{},{dates:this.dragValue}),{dot:e,bar:n,highlight:r,content:i}=t;return e||n||r||i||(t.highlight={startEnd:{fillMode:"none"}}),t},attributes_(){const t=y()(this.attributes)?[...this.attributes]:[];return this.dragAttribute_?t.push(this.dragAttribute_):this.selectAttribute_&&t.push(this.selectAttribute_),t},picker(){var t=this;const e={locale:this.$locale,format:function(e){return t.$locale.format(e,t.inputMasks[0])},parse:function(e){return t.$locale.parse(e,t.inputMasks)}};switch(this.mode){case"multiple":return new nn(e);case"range":return new rn(e);default:return new en(e)}}},watch:{mode(){this.value_=null},value:{handler(){this.value_=this.picker.filterDisabled({value:this.value,isRequired:this.isRequired,disabled:this.disabledAttribute,fallbackValue:null}),this.value&&!this.value_&&this.$emit("input",null)},immediate:!0},value_:{handler(t){this.picker.valuesAreEqual(t,this.value)||this.$emit("input",t),this.isInline||(this.doFormatInput&&this.formatInput(),this.doHidePopover&&this.hidePopover(),this.doAdjustPageRange&&this.adjustPageRange()),this.doFormatInput=!0,this.doHidePopover=!1,this.doAdjustPageRange=!1},immediate:!0},dragValue(t){this.formatInput(),this.$emit("drag",this.picker.normalize(t))}},mounted(){var t=this;St(document,"keydown",this.onDocumentKeyDown);const e=Tt(document,(function(e){document.body.contains(e.target)&&!Mt(t.$el,e.target)&&t.dragValue&&(t.dragValue=null)}));this.$once("beforeDestroy",(function(){Ot(document,"keydown",t.onDocumentKeyDown),e()}))},methods:{dateIsValid(t){return!t||!!this.disabledAttribute&&!this.disabledAttribute.intersectsDate(t)},onDocumentKeyDown(t){this.dragValue&&27===t.keyCode&&(this.dragValue=null)},onDayClick(t){this.picker.handleDayClick(t,this),this.$emit("dayclick",t)},onDayMouseEnter(t){this.picker.handleDayMouseEnter(t,this),this.$emit("daymouseenter",t)},onDayFocusIn(t){this.picker.handleDayMouseEnter(t,this),this.$emit("dayfocusin",t)},onDayKeydown(t){switch(t.event.key){case" ":case"Enter":this.picker.handleDayClick(t,this),t.event.preventDefault();break;case"Escape":this.hidePopover()}this.$emit("daykeydown",t)},inputInput(t){this.inputValue=t.target.value,this.updateOnInput_&&this.updateValue(this.inputValue,{formatInput:!1,hidePopover:!1,adjustPageRange:!0,debounce:this.inputDebounce_})},inputChange(){this.updateValue(this.inputValue,{formatInput:!0,hidePopover:!1,adjustPageRange:!1})},inputKeyup(t){27===t.keyCode&&this.updateValue(this.value_,{formatInput:!0,hidePopover:!0,adjustPageRange:!1})},updateValue(t=this.inputValue,{formatInput:e,hidePopover:n,adjustPageRange:r,debounce:i}={}){var o=this;clearTimeout(this.updateTimeout),void 0===i||i<0?this.forceUpdateValue(t,{formatInput:e,hidePopover:n,adjustPageRange:r}):this.updateTimeout=setTimeout((function(){o.updateTimeout=null,o.forceUpdateValue(t,{formatInput:e,hidePopover:n,adjustPageRange:r})}),i)},forceUpdateValue(t,{formatInput:e,hidePopover:n,adjustPageRange:r}){this.inputValue=v()(t)?t:this.inputValue;const i=v()(t)?this.picker.parse(t):t;this.doFormatInput=e,this.doHidePopover=n,this.doAdjustPageRange=r,this.value_=this.picker.filterDisabled({value:this.picker.normalize(i),disabled:this.disabledAttribute,fallbackValue:this.value_})},formatInput(){var t=this;this.$nextTick((function(){const e=t.picker.hasValue(t.dragValue)?t.dragValue:t.value_;t.inputValue=t.picker.format(e)}))},hidePopover(){const t=this.$refs.popover;t&&t.hide({priority:10,delay:250})},adjustPageRange(){this.picker.hasValue(this.value_)&&this.$refs.calendar&&this.$refs.calendar.showPageRange(this.picker.getPageRange(this.value_))}}},ln=(n("d0d6"),jt(an,void 0,void 0,!1,null,"56ae83be",null).exports);e.default=ln},fba5:function(t,e,n){var r=n("cb5a");t.exports=function(t){return r(this.__data__,t)>-1}},ffd6:function(t,e,n){var r=n("3729"),i=n("1310");t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}}}).default},t.exports=r(n(1837))},28093:function(t,e,n){var r;"undefined"!=typeof self&&self,t.exports=(r=n(1837),function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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")}({"00fd":function(t,e,n){var r=n("9e69"),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;function l(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=s.call(t);return r&&(e?t[a]=n:delete t[a]),i}t.exports=l},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",g=function(){return this};t.exports=function(t,e,n,v,b,y,x){l(n,e,v);var w,k,_,S=function(t){if(!h&&t in A)return A[t];switch(t){case p:case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",M=b==m,C=!1,A=t.prototype,T=A[d]||A[f]||b&&A[b],E=T||S(b),D=b?M?S("entries"):E:void 0,P="Array"==e&&A.entries||T;if(P&&(_=u(P.call(new t)))!==Object.prototype&&_.next&&(c(_,O,!0),r||"function"==typeof _[d]||s(_,d,g)),M&&T&&T.name!==m&&(C=!0,E=function(){return T.call(this)}),r&&!x||!h&&!C&&A[d]||s(A,d,E),a[e]=E,a[O]=g,b)if(w={values:M?E:S(m),keys:y?E:S(p),entries:D},x)for(k in w)k in A||o(A,k,w[k]);else i(i.P+i.F*(h||C),e,w);return w}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),l=r(n),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l))<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"03dd":function(t,e,n){var r=n("eac5"),i=n("57a5"),o=Object.prototype.hasOwnProperty;function s(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}t.exports=s},"04d4":function(t,e,n){"use strict";var r=n("c539");n.n(r).a},"0621":function(t,e,n){var r=n("9e69"),i=n("d370"),o=n("6747"),s=r?r.isConcatSpreadable:void 0;function a(t){return o(t)||i(t)||!!(s&&t&&t[s])}t.exports=a},"0733":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var r=n("2fa3"),i=n("9404");const o=function(t,e){if(!t||!t.addEventListener||!Object(i.j)(e))return null;let n=!1,o=!1;const s=function(){return n=!0},a=function(){return n=!1},l=function(t){if(n)return n=!1,o=!0,void e(t);"click"!==t.type||o||e(t),o=!1};return Object(r.n)(t,"touchstart",s),Object(r.n)(t,"touchmove",a),Object(r.n)(t,"click",l),Object(r.n)(t,"touchend",l),function(){Object(r.m)(t,"touchstart",s),Object(r.m)(t,"touchmove",a),Object(r.m)(t,"click",l),Object(r.m)(t,"touchend",l)}},s=function(t,e,{maxSwipeTime:n,minHorizontalSwipeDistance:o,maxVerticalSwipeDistance:s}){if(!t||!t.addEventListener||!Object(i.j)(e))return null;let a=0,l=0,c=null,u=!1;function d(t){const e=t.changedTouches[0];a=e.screenX,l=e.screenY,c=(new Date).getTime(),u=!0}function h(t){if(!u)return;u=!1;const r=t.changedTouches[0],i=r.screenX-a,d=r.screenY-l;if((new Date).getTime()-c<n&&Math.abs(i)>=o&&Math.abs(d)<=s){const t={toLeft:!1,toRight:!1};i<0?t.toLeft=!0:t.toRight=!0,e(t)}}return Object(r.n)(t,"touchstart",d),Object(r.n)(t,"touchend",h),function(){Object(r.m)(t,"touchstart",d),Object(r.m)(t,"touchend",h)}}},"07c7":function(t,e){function n(){return!1}t.exports=n},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"087d":function(t,e){function n(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}t.exports=n},"08cc":function(t,e,n){var r=n("1a8c");function i(t){return t==t&&!r(t)}t.exports=i},"099a":function(t,e){function n(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}t.exports=n},"0b07":function(t,e,n){var r=n("34ac"),i=n("3698");function o(t,e){var n=i(t,e);return r(n)?n:void 0}t.exports=o},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d24":function(t,e,n){(function(t){var r=n("2b3e"),i=n("07c7"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0,l=(a?a.isBuffer:void 0)||i;t.exports=l}).call(this,n("62e4")(t))},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0f0f":function(t,e,n){var r=n("8eeb"),i=n("9934");function o(t,e){return t&&r(e,i(e),t)}t.exports=o},"0f5c":function(t,e,n){var r=n("159a");function i(t,e,n){return null==t?t:r(t,e,n)}t.exports=i},"100e":function(t,e,n){var r=n("cd9d"),i=n("2286"),o=n("c1c9");function s(t,e){return o(i(t,e,r),t+"")}t.exports=s},1041:function(t,e,n){var r=n("8eeb"),i=n("a029");function o(t,e){return r(t,i(t),e)}t.exports=o},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?c:function(t,e){if(t=o(t),e=s(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},"126d":function(t,e,n){var r=n("6da8"),i=n("aaec"),o=n("d094");function s(t){return i(t)?o(t):r(t)}t.exports=s},1290:function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},1310:function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},1315:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n("8bbf"),i=n.n(r),o=n("9404");function s(t){return Object(o.m)(t)&&(t={min:t}),Object(o.h)(t)||(t=[t]),t.map((function(t){return Object(o.e)(t,"raw")?t.raw:Object(o.p)(t,(function(t,e){return`(${e=Object(o.d)({min:"min-width",max:"max-width"},e,e)}: ${t})`})).join(" and ")})).join(", ")}var a=n("85a9");let l=!1,c=!1,u=null;function d(t=a,e){u&&!e||l||(l=!0,c=!0,u=new i.a({data:()=>({matches:[],queries:[]}),methods:{refreshQueries(){var e=this;this.queries=Object(o.q)(t,(function(t){const n=window.matchMedia(s(t));return n.addListener(e.refreshMatches),n})),this.refreshMatches()},refreshMatches(){this.matches=Object(o.u)(this.queries).filter((function(t){return t[1].matches})).map((function(t){return t[0]}))}}}),l=!1)}i.a.mixin({beforeCreate(){l||d()},mounted(){c&&u&&(u.refreshQueries(),c=!1)},computed:{$screens:()=>function(t,e){return u.matches.reduce((function(e,n){return Object(o.e)(t,n)?t[n]:e}),Object(o.n)(e)?t.default:e)}}})},1349:function(t,e,n){var r=n("f064");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("61acf245",r,!0,{sourceMap:!1,shadowMode:!1})},1368:function(t,e,n){var r=n("da03"),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function o(t){return!!i&&i in t}t.exports=o},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,l=0;a>l;)r.f(t,n=s[l++],e[n]);return t}},"159a":function(t,e,n){var r=n("32b3"),i=n("e2e4"),o=n("c098"),s=n("1a8c"),a=n("f4d6");function l(t,e,n,l){if(!s(t))return t;for(var c=-1,u=(e=i(e,t)).length,d=u-1,h=t;null!=h&&++c<u;){var f=a(e[c]),p=n;if(c!=d){var m=h[f];void 0===(p=l?l(m,f,h):void 0)&&(p=s(m)?m:o(e[c+1])?[]:{})}r(h,f,p),h=h[f]}return t}t.exports=l},"15f3":function(t,e,n){var r=n("89d9"),i=n("8604");function o(t,e){return r(t,e,(function(e,n){return i(t,n)}))}t.exports=o},1838:function(t,e,n){var r=n("c05f"),i=n("9b02"),o=n("8604"),s=n("f608"),a=n("08cc"),l=n("20ec"),c=n("f4d6"),u=1,d=2;function h(t,e){return s(t)&&a(e)?l(c(t),e):function(n){var s=i(n,t);return void 0===s&&s===e?o(n,t):r(e,s,u|d)}}t.exports=h},"18d8":function(t,e,n){var r=n("234d"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=s},"1a2d":function(t,e,n){var r=n("42a2"),i=n("1310"),o="[object Map]";function s(t){return i(t)&&r(t)==o}t.exports=s},"1a8c":function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},"1bac":function(t,e,n){var r=n("7d1f"),i=n("a029"),o=n("9934");function s(t){return r(t,o,i)}t.exports=s},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1c3c":function(t,e,n){var r=n("9e69"),i=n("2474"),o=n("9638"),s=n("a2be"),a=n("edfa"),l=n("ac41"),c=1,u=2,d="[object Boolean]",h="[object Date]",f="[object Error]",p="[object Map]",m="[object Number]",g="[object RegExp]",v="[object Set]",b="[object String]",y="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",k=r?r.prototype:void 0,_=k?k.valueOf:void 0;function S(t,e,n,r,k,S,O){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!S(new i(t),new i(e)));case d:case h:case m:return o(+t,+e);case f:return t.name==e.name&&t.message==e.message;case g:case b:return t==e+"";case p:var M=a;case v:var C=r&c;if(M||(M=l),t.size!=e.size&&!C)return!1;var A=O.get(t);if(A)return A==e;r|=u,O.set(t,e);var T=s(M(t),M(e),r,k,S,O);return O.delete(t),T;case y:if(_)return _.call(t)==_.call(e)}return!1}t.exports=S},"1cec":function(t,e,n){var r=n("0b07")(n("2b3e"),"Promise");t.exports=r},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"1efc":function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},"1fc8":function(t,e,n){var r=n("4245");function i(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}t.exports=i},"20ec":function(t,e){function n(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}t.exports=n},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),l=n("520a"),c=a("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=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 h=a(t),f=!o((function(){var e={};return e[h]=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[c]=function(){return n}),n[h](""),!e})):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!d){var m=/./[h],g=n(s,h,""[t],(function(t,e,n,r,i){return e.exec===l?f&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=g[0],b=g[1];r(String.prototype,t,v),i(RegExp.prototype,h,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},2285:function(t,e,n){"use strict";var r=n("6f6a");n.n(r).a},2286:function(t,e,n){var r=n("85e3"),i=Math.max;function o(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,a=i(o.length-e,0),l=Array(a);++s<a;)l[s]=o[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=o[s];return c[e]=n(l),r(t,this,c)}}t.exports=o},"22f3":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("cfe5"),i=n("2fa3"),o=n("9404");class s{constructor({key:t,hashcode:e,highlight:n,content:s,dot:a,bar:l,popover:c,dates:u,excludeDates:d,excludeMode:h,customData:f,order:p,pinPage:m},g,v){var b=this;this.key=Object(o.n)(t)?Object(i.c)():t,this.hashcode=e,this.customData=f,this.order=p||0,this.dateOpts={order:p,locale:v},this.pinPage=m,n&&(this.highlight=g.normalizeHighlight(n)),s&&(this.content=g.normalizeContent(s)),a&&(this.dot=g.normalizeDot(a)),l&&(this.bar=g.normalizeBar(l)),c&&(this.popover=c),u&&(this.dates=Object(o.h)(u)?u:[u]),this.hasDates=Object(i.b)(this.dates),d&&(this.excludeDates=Object(o.h)(d)?d:[d]),this.hasExcludeDates=Object(i.b)(this.excludeDates),this.excludeMode=h||"intersects",this.dates=(this.hasDates&&this.dates||this.hasExcludeDates&&[{}]||[]).map((function(t){return t&&(t instanceof r.a?t:new r.a(t,b.dateOpts))})).filter((function(t){return t})),this.excludeDates=(this.hasExcludeDates&&this.excludeDates||[]).map((function(t){return t&&(t instanceof r.a?t:new r.a(t,b.dateOpts))})).filter((function(t){return t})),this.isComplex=Object(o.t)(this.dates,(function(t){return t.isComplex}))}intersectsDate(t){return!this.excludesDate(t)&&(this.dates.find((function(e){return e.intersectsDate(t)}))||!1)}includesDate(t){return t=t instanceof r.a?t:new r.a(t,this.dateOpts),!this.excludesDate(t)&&(this.dates.find((function(e){return e.includesDate(t)}))||!1)}excludesDate(t){var e=this;return t=t instanceof r.a?t:new r.a(t,this.dateOpts),this.hasExcludeDates&&this.excludeDates.find((function(n){return"intersects"===e.excludeMode&&n.intersectsDate(t)||"includes"===e.excludeMode&&n.includesDate(t)}))}includesDay(t){return!this.excludesDay(t)&&(this.dates.find((function(e){return e.includesDay(t)}))||!1)}excludesDay(t){return this.hasExcludeDates&&this.excludeDates.find((function(e){return e.includesDay(t)}))}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"234d":function(t,e,n){var r=n("e380"),i=500;function o(t){var e=r(t,(function(t){return n.size===i&&n.clear(),t})),n=e.cache;return e}t.exports=o},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i),s=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(s).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},"23a5":function(t){t.exports=JSON.parse('{"maxSwipeTime":300,"minHorizontalSwipeDistance":60,"maxVerticalSwipeDistance":80}')},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(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),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},2411:function(t,e,n){var r=n("f909"),i=n("2ec1")((function(t,e,n,i){r(t,e,n,i)}));t.exports=i},"242e":function(t,e,n){var r=n("72af"),i=n("ec69");function o(t,e){return t&&r(t,e,i)}t.exports=o},2474:function(t,e,n){var r=n("2b3e").Uint8Array;t.exports=r},2478:function(t,e,n){var r=n("4245");function i(t){return r(this,t).get(t)}t.exports=i},2524:function(t,e,n){var r=n("6044"),i="__lodash_hash_undefined__";function o(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?i:e,this}t.exports=o},"253c":function(t,e,n){var r=n("3729"),i=n("1310"),o="[object Arguments]";function s(t){return i(t)&&r(t)==o}t.exports=s},2593:function(t,e,n){var r=n("15f3"),i=n("c6cf")((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},"26e8":function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},2768:function(t,e){function n(t){return null==t}t.exports=n},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),s=n("0390"),a=n("9def"),l=n("5f1b"),c=n("520a"),u=n("79e5"),d=Math.min,h=[].push,f="split",p="length",m="lastIndex",g=4294967295,v=!u((function(){RegExp(g,"y")}));n("214f")("split",2,(function(t,e,n,u){var b;return b="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||"."[f](/()()/)[p]>1||""[f](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,s,a,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,f=void 0===e?g:e>>>0,v=new RegExp(t.source,u+"g");(o=c.call(v,i))&&!((s=v[m])>d&&(l.push(i.slice(d,o.index)),o[p]>1&&o.index<i[p]&&h.apply(l,o.slice(1)),a=o[0][p],d=s,l[p]>=f));)v[m]===o.index&&v[m]++;return d===i[p]?!a&&v.test("")||l.push(""):l.push(i.slice(d)),l[p]>f?l.slice(0,f):l}:"0"[f](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):b.call(String(i),n,r)},function(t,e){var r=u(b,t,this,e,b!==n);if(r.done)return r.value;var c=i(t),h=String(this),f=o(c,RegExp),p=c.unicode,m=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),y=new f(v?c:"^(?:"+c.source+")",m),x=void 0===e?g:e>>>0;if(0===x)return[];if(0===h.length)return null===l(y,h)?[h]:[];for(var w=0,k=0,_=[];k<h.length;){y.lastIndex=v?k:0;var S,O=l(y,v?h:h.slice(k));if(null===O||(S=d(a(y.lastIndex+(v?0:k)),h.length))===w)k=s(h,k,p);else{if(_.push(h.slice(w,k)),_.length===x)return _;for(var M=1;M<=O.length-1;M++)if(_.push(O[M]),_.length===x)return _;k=w=S}}return _.push(h.slice(w)),_}]}))},"28c9":function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"29ae":function(t,e,n){"use strict";n.d(e,"a",(function(){return M})),n("6b54");var r=n("bd86"),i=(n("ac6a"),n("386d"),n("a481"),n("4917"),n("3b2b"),n("9404"));const o=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s=/\d\d?/,a=/\d{3}/,l=/\d{4}/,c=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,u=/\[([^]*?)\]/gm,d=function(){};function h(t){return function(e,n,r){const i=r[t].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~i&&(e.month=i)}}function f(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}const p={D:t=>t.getDate(),DD:t=>f(t.getDate()),Do:(t,e)=>e.DoFn(t.getDate()),d:t=>t.getDay(),dd:t=>f(t.getDay()),W:(t,e)=>e.dayNamesNarrow[t.getDay()],WW:(t,e)=>e.dayNamesShorter[t.getDay()],WWW:(t,e)=>e.dayNamesShort[t.getDay()],WWWW:(t,e)=>e.dayNames[t.getDay()],M:t=>t.getMonth()+1,MM:t=>f(t.getMonth()+1),MMM:(t,e)=>e.monthNamesShort[t.getMonth()],MMMM:(t,e)=>e.monthNames[t.getMonth()],YY:t=>String(t.getFullYear()).substr(2),YYYY:t=>f(t.getFullYear(),4),h:t=>t.getHours()%12||12,hh:t=>f(t.getHours()%12||12),H:t=>t.getHours(),HH:t=>f(t.getHours()),m:t=>t.getMinutes(),mm:t=>f(t.getMinutes()),s:t=>t.getSeconds(),ss:t=>f(t.getSeconds()),S:t=>Math.round(t.getMilliseconds()/100),SS:t=>f(Math.round(t.getMilliseconds()/10),2),SSS:t=>f(t.getMilliseconds(),3),a:(t,e)=>t.getHours()<12?e.amPm[0]:e.amPm[1],A:(t,e)=>t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase(),ZZ(t){const e=t.getTimezoneOffset();return(e>0?"-":"+")+f(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)}},m={D:[s,function(t,e){t.day=e}],Do:[new RegExp(s.source+c.source),function(t,e){t.day=parseInt(e,10)}],d:[s,d],W:[c,d],M:[s,function(t,e){t.month=e-1}],MMM:[c,h("monthNamesShort")],MMMM:[c,h("monthNames")],YY:[s,function(t,e){const n=+(new Date).getFullYear().toString().substr(0,2);t.year=`${e>68?n-1:n}${e}`}],YYYY:[l,function(t,e){t.year=e}],S:[/\d/,function(t,e){t.millisecond=100*e}],SS:[/\d{2}/,function(t,e){t.millisecond=10*e}],SSS:[a,function(t,e){t.millisecond=e}],h:[s,function(t,e){t.hour=e}],m:[s,function(t,e){t.minute=e}],s:[s,function(t,e){t.second=e}],a:[c,function(t,e,n){const r=e.toLowerCase();r===n.amPm[0]?t.isPm=!1:r===n.amPm[1]&&(t.isPm=!0)}],ZZ:[/([\+\-]\d\d:?\d\d|Z)/,function(t,e){"Z"===e&&(e="+00:00");const n=(""+e).match(/([+-]|\d\d)/gi);if(n){const e=60*n[1]+parseInt(n[2],10);t.timezoneOffset="+"===n[0]?e:-e}}]};m.DD=m.D,m.dd=m.d,m.WWWW=m.WWW=m.WW=m.W,m.MM=m.M,m.mm=m.m,m.hh=m.H=m.HH=m.h,m.ss=m.s,m.A=m.a;const g=function(t,e,n){if(i.k&&(t=new Date(t)),!Object(i.i)(t))throw new Error("Invalid Date in fecha.format");e=n.masks[e]||e;const r=[];return(e=(e=e.replace(u,(function(t,e){return r.push(e),"??"}))).replace(o,(function(e){return e in p?p[e](t,n):e.slice(1,e.length-1)}))).replace(/\?\?/g,(function(){return r.shift()}))},v=function(t,e,n){if("string"!=typeof e)throw new Error("Invalid mask in fecha.parse");if(e=n.masks[e]||e,t.length>1e3)return!1;let r=!0;const i={};if(e.replace(o,(function(e){if(m[e]){const o=m[e],s=t.search(o[0]);~s?t.replace(o[0],(function(e){return o[1](i,e,n),t=t.substr(s+e.length),e})):r=!1}return m[e]?"":e.slice(1,e.length-1)})),!r)return!1;const s=new Date;let a;return!0===i.isPm&&null!=i.hour&&12!=+i.hour?i.hour=+i.hour+12:!1===i.isPm&&12==+i.hour&&(i.hour=0),null!=i.timezoneOffset?(i.minute=+(i.minute||0)-+i.timezoneOffset,a=new Date(Date.UTC(i.year||s.getFullYear(),i.month||0,i.day||1,i.hour||0,i.minute||0,i.second||0,i.millisecond||0))):a=new Date(i.year||s.getFullYear(),i.month||0,i.day||1,i.hour||0,i.minute||0,i.second||0,i.millisecond||0),a},b=function(t,e,n){return(Object(i.h)(e)&&e||[Object(i.m)(e)&&e||"YYYY-MM-DD"]).map((function(e){return v(t,e,n)})).find((function(t){return t}))||new Date(t)};var y=n("f15d"),x=n("2fa3");function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function k(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const _=7,S=[31,28,31,30,31,30,31,31,30,31,30,31];function O(t,e){const n=(new Intl.DateTimeFormat).resolvedOptions().locale;let r;Object(i.m)(t)?r=t:Object(i.e)(t,"id")&&(r=t.id),r=(r||n).toLowerCase();const o=Object.keys(e),s=function(t){return o.find((function(e){return e.toLowerCase()===t}))};r=s(r)||s(r.substring(0,2))||n;const a=k(k(k({},e["en-IE"]),e[r]),{},{id:r});return t=Object(i.l)(t)?Object(i.c)(t,a):a}class M{constructor(t,e=y.a){const{id:n,firstDayOfWeek:r,masks:o}=O(t,e);this.id=n,this.firstDayOfWeek=Object(i.a)(r,1,_),this.masks=o,this.dayNames=this.getDayNames("long"),this.dayNamesShort=this.getDayNames("short"),this.dayNamesShorter=this.dayNamesShort.map((function(t){return t.substring(0,2)})),this.dayNamesNarrow=this.getDayNames("narrow"),this.monthNames=this.getMonthNames("long"),this.monthNamesShort=this.getMonthNames("short"),this.monthData={},this.getMonthComps=this.getMonthComps.bind(this),this.parse=this.parse.bind(this),this.format=this.format.bind(this),this.toDate=this.toDate.bind(this),this.toPage=this.toPage.bind(this)}parse(t,e){return b(t,e||this.masks.L,this)}format(t,e){return g(t,e||this.masks.L,this)}toDate(t,e){if(Object(i.i)(t))return new Date(t.getTime());if(Object(i.k)(t))return new Date(t);if(Object(i.m)(t))return this.parse(t,e);if(Object(i.l)(t)){const e=new Date;return new Date(t.year||e.getFullYear(),t.month||e.getMonth(),t.day||e.getDate())}return t}toPage(t,e){return Object(i.k)(t)?Object(x.a)(e,t):Object(i.m)(t)?Object(x.p)(this.toDate(t)):Object(i.i)(t)?Object(x.p)(t):Object(i.l)(t)?t:null}getMonthDates(t=2e3){const e=[];for(let n=0;n<12;n++)e.push(new Date(t,n,15));return e}getMonthNames(t){const e=new Intl.DateTimeFormat(this.id,{month:t,timezome:"UTC"});return this.getMonthDates().map((function(t){return e.format(t)}))}getWeekdayDates({year:t=2e3,utc:e=!1,firstDayOfWeek:n=this.firstDayOfWeek}={}){const r=[];for(let i=1,o=0;o<_;i++){const s=e?new Date(Date.UTC(t,0,i)):new Date(t,0,i);((e?s.getUTCDay():s.getDay())===n-1||o>0)&&(r.push(s),o++)}return r}getDayNames(t){const e=new Intl.DateTimeFormat(this.id,{weekday:t,timeZone:"UTC"});return this.getWeekdayDates({firstDayOfWeek:1,utc:!0}).map((function(t){return e.format(t)}))}getMonthComps(t,e){const n=`${t}-${e}`;let r=this.monthData[n];if(!r){const i=e%4==0&&e%100!=0||e%400==0,o=new Date(e,t-1,1).getDay()+1,s=2===t&&i?29:S[t-1],a=Math.ceil((s+Math.abs(o-this.firstDayOfWeek))/_);r={firstDayOfWeek:this.firstDayOfWeek,inLeapYear:i,firstWeekday:o,days:s,weeks:a,month:t,year:e},this.monthData[n]=r}return r}getThisMonthComps(){const t=new Date;return this.getMonthComps(t.getMonth()+1,t.getFullYear())}getPrevMonthComps(t,e){return 1===t?this.getMonthComps(12,e-1):this.getMonthComps(t-1,e)}getNextMonthComps(t,e){return 12===t?this.getMonthComps(1,e+1):this.getMonthComps(t+1,e)}getDayFromDate(t){if(!t)return null;const e=t.getMonth()+1,n=t.getUTCFullYear(),r=this.getMonthComps(e,n),i=t.getDate(),o=r.days-i+1,s=t.getDay()+1,a=Math.floor((i-1)/7+1),l=Math.floor((r.days-i)/7+1),c=Math.ceil((i+Math.abs(r.firstWeekday-r.firstDayOfWeek))/7);return{day:i,dayFromEnd:o,weekday:s,weekdayOrdinal:a,weekdayOrdinalFromEnd:l,week:c,weekFromEnd:r.weeks-c+1,month:e,year:n,date:t,dateTime:t.getTime()}}getCalendarDays({monthComps:t,prevMonthComps:e,nextMonthComps:n}){const r=[],{firstDayOfWeek:i,firstWeekday:o}=t,s=o+(o<i?_:0)-i;let a=!0,l=!1,c=!1;const u=new Intl.DateTimeFormat(this.id,{weekday:"long",year:"numeric",month:"long",day:"numeric"});let d=e.days-s+1,h=e.days-d+1,f=Math.floor((d-1)/_+1),p=1,m=e.weeks,g=1,v=e.month,b=e.year;const y=new Date,x=y.getDate(),w=y.getMonth()+1,k=y.getFullYear();for(let e=1;e<=6;e++){for(let s=1,y=i;s<=_;s++,y+=y===_?1-_:1){a&&y===o&&(d=1,h=t.days,f=Math.floor((d-1)/_+1),p=Math.floor((t.days-d)/_+1),m=1,g=t.weeks,v=t.month,b=t.year,a=!1,l=!0);const i=new Date(b,v-1,d),S=this.format(i,"YYYY-MM-DD"),O=s,M=_-s,C=d===x&&v===w&&b===k,A=l&&1===d,T=l&&d===t.days,E=1===e,D=6===e,P=1===s,j=s===_;r.push({id:S,label:d.toString(),ariaLabel:u.format(i),day:d,dayFromEnd:h,weekday:y,weekdayPosition:O,weekdayPositionFromEnd:M,weekdayOrdinal:f,weekdayOrdinalFromEnd:p,week:m,weekFromEnd:g,month:v,year:b,date:i,dateTime:i.getTime(),isToday:C,isFirstDay:A,isLastDay:T,inMonth:l,inPrevMonth:a,inNextMonth:c,onTop:E,onBottom:D,onLeft:P,onRight:j,classes:["id-"+S,"day-"+d,"day-from-end-"+h,"weekday-"+y,"weekday-position-"+O,"weekday-ordinal-"+f,"weekday-ordinal-from-end-"+p,"week-"+m,"week-from-end-"+g,{"is-today":C,"is-first-day":A,"is-last-day":T,"in-month":l,"in-prev-month":a,"in-next-month":c,"on-top":E,"on-bottom":D,"on-left":P,"on-right":j}]}),l&&T?(l=!1,c=!0,d=1,h=n.days,f=1,p=Math.floor((n.days-d)/_+1),m=1,g=n.weeks,v=n.month,b=n.year):(d++,h--,f=Math.floor((d-1)/_+1),p=Math.floor((t.days-d)/_+1))}m++,g--}return r}}},"29f3":function(t,e){var n=Object.prototype.toString;function r(t){return n.call(t)}t.exports=r},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),l="toString",c=(""+a).split(l);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(l&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},l="prototype",c=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",s=">";for(e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),c=t.F;r--;)delete c[l][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[l]=r(t),n=new a,a[l]=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},"2af9":function(t,e,n){"use strict";n.r(e),n.d(e,"Calendar",(function(){return Vt})),n.d(e,"CalendarNav",(function(){return bt})),n.d(e,"DatePicker",(function(){return ne})),n.d(e,"Popover",(function(){return O})),n.d(e,"PopoverRef",(function(){return ot})),n.d(e,"Grid",(function(){return rt})),n("6b54"),n("ac6a");var r=n("bd86"),i=n("f7f1"),o=n("fe1f"),s=n("fd3a"),a=n("8c86");function l(t,e){Object(a.a)(2,arguments);var n=Object(s.a)(t),r=Object(o.a)(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+r+1,0),i>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),i),n)}function c(t,e){return Object(a.a)(2,arguments),l(t,12*Object(o.a)(e))}n("28a5");var u=n("f0bd"),d=n("9404");function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const p={},m={data:()=>({popovers$:p}),computed:{$popovers(){return this.popovers$}},methods:{$popoverExists(t){return this.$popovers&&this.$popovers[t]},$popoverIsActive(t,e){const n=this.$popovers&&this.$popovers[t]&&this.$popovers[t].ref;return!(!n||e&&e!==n)},$popoverHasPriority(t){const e=this.$popovers[t.id];return!e||!e.priority||t.priority>e.priority},$showPopover(t){var e=this;if(!this.$popoverHasPriority(t))return;const{id:n,ref:r}=t,i=this.$popovers[n];Object(d.b)(t,i),t.next=function(){i&&r===i.ref||e.$set(e.$popovers,n,f(f({},t),{},{priority:0}))},this.handleStateTimer(t,"show")},$hidePopover(t){var e=this;if(!this.$popoverHasPriority(t))return;const{id:n,ref:r}=t;Object(d.b)(t,this.$popovers[n]),t.next=function(){r&&r!==e.$popovers[n].ref||e.$set(e.$popovers,n,{})},this.handleStateTimer(t,"hide")},$updatePopover(t){const{id:e,ref:n}=t;Object(d.b)(t,this.$popovers[e]),n&&n!==this.$popovers[e].ref||this.$set(this.$popovers,e,t)},handleStateTimer(t){t.timer&&(clearTimeout(t.timer),t.timer=void 0),t.delay?this.$set(this.$popovers,t.id,f(f({},t),{},{timer:setTimeout(t.next,t.delay)})):t.next()}}};var g=n("2fa3"),v=n("0733");function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var x,w,k={name:"Popover",render(t){return t("div",{class:["vc-popover-content-wrapper",{"is-interactive":this.isInteractive}],ref:"popover"},[t("transition",{props:{name:this.transition,appear:!0},on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter,beforeLeave:this.beforeLeave,afterLeave:this.afterLeave}},[this.isVisible&&t("div",{attrs:{tabindex:-1},class:["vc-popover-content","direction-"+this.direction,this.contentClass]},[this.content,t("span",{class:["vc-popover-caret","direction-"+this.direction,"align-"+this.alignment]})])])])},mixins:[m],props:{id:{type:String,required:!0},transition:{type:String,default:"slide-fade"},contentClass:String},data:()=>({ref:null,args:null,visibility:"",placement:"bottom",positionFixed:!1,modifiers:{},isInteractive:!1,delay:10,popperEl:null}),computed:{content(){var t=this;return Object(d.j)(this.$scopedSlots.default)&&this.$scopedSlots.default({direction:this.direction,alignment:this.alignment,args:this.args,updateLayout:this.scheduleUpdate,hide:function(e){return t.hide(e)}})||this.$slots.default},popperOptions(){return{placement:this.placement,positionFixed:this.positionFixed,modifiers:y({hide:{enabled:!1},preventOverflow:{enabled:!1}},this.modifiers),onCreate:this.onPopperUpdate,onUpdate:this.onPopperUpdate}},isVisible(){return!(!this.ref||!this.$scopedSlots.default&&!this.$slots.default||"hidden"===this.visibility)},direction(){return this.placement&&this.placement.split("-")[0]||"bottom"},alignment(){const t="left"===this.direction||"right"===this.direction;let e=this.placement.split("-");return e=e.length>1?e[1]:"",["start","top","left"].includes(e)?t?"top":"left":["end","bottom","right"].includes(e)?t?"bottom":"right":t?"middle":"center"},state(){return this.$popovers[this.id]}},watch:{state:{immediate:!0,handler(t){t&&(this.ref=t.ref,this.args=t.args,this.visibility=t.visibility,this.placement=t.placement,this.positionFixed=t.positionFixed,this.modifiers=t.modifiers,this.isInteractive=t.isInteractive,this.setupPopper())}}},mounted(){this.popoverEl=this.$refs.popover,this.addEvents()},beforeDestroy(){this.removeEvents()},methods:{addEvents(){Object(g.n)(this.popoverEl,"click",this.onClick),Object(g.n)(this.popoverEl,"mouseover",this.onMouseOver),Object(g.n)(this.popoverEl,"mouseleave",this.onMouseLeave),Object(g.n)(this.popoverEl,"focusin",this.onFocusIn),Object(g.n)(this.popoverEl,"focusout",this.onFocusOut),Object(g.n)(document,"keydown",this.onDocumentKeydown),this.removeDocHandler=Object(v.b)(document,this.onDocumentClick)},removeEvents(){Object(g.m)(this.popoverEl,"click",this.onClick),Object(g.m)(this.popoverEl,"mouseover",this.onMouseOver),Object(g.m)(this.popoverEl,"mouseleave",this.onMouseLeave),Object(g.m)(this.popoverEl,"focusin",this.onFocusIn),Object(g.m)(this.popoverEl,"focusout",this.onFocusOut),Object(g.m)(document,"keydown",this.onDocumentKeydown),this.removeDocHandler&&this.removeDocHandler()},onClick(t){t.stopPropagation()},onMouseOver(){this.isInteractive&&"hover"===this.visibility&&this.show()},onMouseLeave(){this.isInteractive&&"hover"===this.visibility&&this.hide()},onFocusIn(){this.isInteractive&&"focus"===this.visibility&&this.show()},onFocusOut(t){this.isInteractive&&"focus"===this.visibility&&t.relatedTarget&&!Object(g.e)(this.popoverEl,t.relatedTarget)&&this.hide()},onDocumentClick(t){this.$refs.popover&&this.ref&&(Object(g.e)(this.popoverEl,t.target)||Object(g.e)(this.ref,t.target)||this.hide())},onDocumentKeydown(t){"Esc"!==t.key&&"Escape"!==t.key||this.hide()},show(){this.$showPopover({id:this.id,ref:this.ref,delay:0})},hide(t){this.$hidePopover(y(y({},t),{},{id:this.id,ref:this.ref}))},onUpdate({args:t}){this.args=t,this.setupPopper()},setupPopper(){var t=this;this.$nextTick((function(){t.ref&&t.$refs.popover&&(t.popper&&t.popper.reference!==t.ref&&(t.popper.destroy(),t.popper=null),t.popper?t.popper.scheduleUpdate():t.popper=new u.a(t.ref,t.popoverEl,t.popperOptions))}))},onPopperUpdate(t){this.placement=t.placement},scheduleUpdate(){this.popper&&this.popper.scheduleUpdate()},beforeEnter(t){this.$emit("beforeShow",t)},afterEnter(t){this.$emit("afterShow",t)},beforeLeave(t){this.$emit("beforeHide",t)},afterLeave(t){this.destroyPopper(),this.$emit("afterHide",t)},destroyPopper(){this.popper&&(this.popper.destroy(),this.popper=null)}}},_=k;function S(t,e,n,r,i,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n("86aa");var O=S(_,x,w,!1,null,"7605e1b2",null).exports,M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-day-popover-row"},[t.indicator?n("div",{staticClass:"vc-day-popover-row-indicator"},[n("span",{class:t.indicator.class,style:t.indicator.style})]):t._e(),n("div",{staticClass:"vc-day-popover-row-content"},[t._t("default",[t._v(t._s(t.attribute.popover?t.attribute.popover.label:"No content provided"))])],2)])},C=[],A=n("51ec");const T={inject:["sharedState"],mixins:[A.a,m],computed:{masks(){return this.sharedState.masks},theme(){return this.sharedState.theme},locale(){return this.sharedState.locale},dayPopoverId(){return this.sharedState.dayPopoverId}},methods:{format(t,e){return this.locale.format(t,e)}}};n("a481");var E=n("5ca5");function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const j=["base","start","end","startEnd"],L=["class","color","fillMode"];function I(t,e,n){t&&e&&n&&(t[e]=`${t[e]?t[e]+" ":""}${n}`)}class N{constructor(t){var e=this;this._config=Object(d.b)(t,E.a),Object(d.u)(this._config).forEach((function([t]){Object.defineProperty(e,t,{enumerable:!0,get(){return this.getConfig(t,{})}})})),this.buildNormalizedAttrs()}buildNormalizedAttrs(){var t=this;this.normalizedAttrs={highlight:{opts:["fillMode","class","contentClass"]},dot:{opts:["class"]},bar:{opts:["class"]},content:{opts:["class"]}},Object(d.u)(this.normalizedAttrs).forEach((function([e,n]){const r={base:{},start:{},end:{}};n.opts.forEach((function(n){const i=e,o=Object(d.w)(n),s=t[`${i}Base${o}`],a=t[`${i}StartEnd${o}`]||s,l=t[`${i}Start${o}`]||a,c=t[`${i}End${o}`]||l;Object(d.n)(s)||(r.base[n]=s),Object(d.n)(l)||(r.start[n]=l),Object(d.n)(c)||(r.end[n]=c)})),n.attr=r}))}getConfig(t,{color:e=this._config.color,isDark:n=this._config.isDark}){if(!Object(d.e)(this._config,t))return;let r=Object(d.d)(this._config,t);return Object(d.l)(r)&&Object(d.f)(r,["light","dark"])&&(r=n?r.dark:r.light),Object(d.m)(r)?r.replace(/{color}/g,e):r}mergeTargets(t,e){const n={};return Object(d.c)(n,t,e),t.class&&e.class&&!t.class.includes(e.class)&&(n.class=`${t.class} ${e.class}`),n}normalizeAttr({config:t,type:e}){var n=this;let r=this.color,i={};const o=this.normalizedAttrs[e].attr;if(!0===t||Object(d.m)(t))r=Object(d.m)(t)?t:r,i=P({},o);else{if(!Object(d.l)(t))return null;i=Object(d.f)(t,j)?P({},t):{base:P({},t),start:P({},t),end:P({},t)}}return Object(d.b)(i,{start:i.startEnd,end:i.startEnd},o),Object(d.u)(i).forEach((function([t,e]){let s=r;!0===e||Object(d.m)(e)?(s=Object(d.m)(e)?e:s,i[t]={color:s}):Object(d.l)(e)&&(Object(d.f)(e,L)?i[t]=P({},e):i[t]={}),i[t]=n.mergeTargets(i[t],o[t]),Object(d.e)(i,t+".color")||Object(d.s)(i,t+".color",s)})),i}getHighlightBgClass(t,e=this._config){switch(t){case"none":return this.getConfig("bgLow",e);case"light":return this.getConfig("bgAccentLow",e);case"solid":return this.getConfig("bgAccentHigh",e);default:return""}}getHighlightContentClass(t,e=this._config){switch(t){case"none":case"light":return this.getConfig("contentAccent",e);case"solid":return this.getConfig("contentAccentContrast",e);default:return""}}normalizeHighlight(t){var e=this;const n=this.normalizeAttr({config:t,type:"highlight"});return Object(d.u)(n).forEach((function([t,n]){const{fillMode:r}=Object(d.b)(n,{isDark:e.isDark,color:e.color});I(n,"class",e.getHighlightBgClass(r,n)),I(n,"contentClass",e.getHighlightContentClass(r,n))})),n}normalizeDot(t){var e=this;const n=this.normalizeAttr({config:t,type:"dot"});return Object(d.u)(n).forEach((function([t,n]){Object(d.b)(n,{isDark:e.isDark,color:e.color}),I(n,"class",e.getConfig("bgAccentHigh",n))})),n}normalizeBar(t){var e=this;const n=this.normalizeAttr({config:t,type:"bar"});return Object(d.u)(n).forEach((function([t,n]){Object(d.b)(n,{isDark:e.isDark,color:e.color}),I(n,"class",e.getConfig("bgAccentHigh",n))})),n}normalizeContent(t){var e=this;const n=this.normalizeAttr({config:t,type:"content"});return Object(d.u)(n).forEach((function([t,n]){Object(d.b)(n,{isDark:e.isDark,color:e.color}),I(n,"class",e.getConfig("contentAccent",n))})),n}}var R=n("29ae"),$=n("1315"),B=n("22f3");const F={mixins:[A.a,m],props:{color:String,isDark:Boolean,theme:Object,firstDayOfWeek:Number,masks:Object,locale:[String,Object],minDate:null,maxDate:null,disabledDates:null,availableDates:null},computed:{$theme(){if(this.theme instanceof N)return this.theme;const t=Object(d.c)(this.theme,this.$defaults.theme);return t.color=this.passedProp("color",t.color),t.isDark=this.passedProp("isDark",t.isDark),new N(t)},$locale(){if(this.locale instanceof R.a)return this.locale;const t=Object(d.l)(this.locale)?this.locale:{id:this.locale,firstDayOfWeek:this.firstDayOfWeek,masks:this.masks};return new R.a(t,this.$locales)},format(){var t=this;return function(e,n){return t.$locale?t.$locale.format(e,n):""}},disabledAttribute(){let t=[];this.disabledDates&&(t=Object(d.h)(this.disabledDates)?this.disabledDates:[this.disabledDates]);const e=this.$locale.toDate(this.minDate),n=this.$locale.toDate(this.maxDate);return e&&t.push({start:null,end:Object(i.a)(e,-1)}),n&&t.push({start:Object(i.a)(n,1),end:null}),new B.a({key:"disabled",dates:t,excludeDates:this.availableDates,excludeMode:"includes",order:100},this.$theme,this.$locale)}},created(){Object($.a)(this.$defaults.screens)}},z={methods:{propOrDefault(t,e,n){return this.passedProp(t,Object(d.d)(this.$defaults,e),n)},passedProp(t,e,n){if(Object(d.e)(this.$options.propsData,t)){const r=this[t];return Object(d.l)(r)&&"merge"===n?Object(d.c)(r,e):r}return e}}},H={methods:{safeScopedSlot(t,e,n=null){return Object(d.j)(this.$scopedSlots[t])?this.$scopedSlots[t](e):n}}},Y=T,W=F,V=z,U=H;var G={name:"PopoverRow",mixins:[Y],props:{attribute:Object},computed:{indicator(){const{highlight:t,dot:e,bar:n,content:r,popover:i}=this.attribute;if(i&&i.hideIndicator)return null;if(t){const{color:e,isDark:n}=t.start;return{class:this.theme.getConfig("bgAccentHigh",{color:e,isDark:!n}),style:{width:"10px",height:"5px",borderRadius:"3px"}}}if(e){const{color:t,isDark:n}=e.start;return{class:this.theme.getConfig("bgAccentHigh",{color:t,isDark:!n}),style:{width:"5px",height:"5px",borderRadius:"50%"}}}if(n){const{color:t,isDark:e}=n.start;return{class:this.theme.getConfig("bgAccentHigh",{color:t,isDark:!e}),style:{width:"10px",height:"3px"}}}if(r){const{color:t,isDark:e}=r.start;return{class:this.theme.getConfig("contentContrast",{color:t,isDark:!e})}}return null}}},X=G,q=(n("7365"),S(X,M,C,!1,null,"28ced894",null)).exports;const K={vLeading:"vertical-leading",vTrailing:"vertical-trailing",hLeading:"horizontal-leading",hTrailing:"horizontal-trailing"};var J,Z,Q,tt,et={name:"Grid",render(t){var e=this;const n=function({nodes:t,position:n,row:r,column:i}){return t.length>=n?t[n-1]:e.$scopedSlots.default?e.$scopedSlots.default({position:n,row:r,column:i}):null},r=function(){const r=[],i=e.$slots.default&&e.$slots.default.filter((function(t){return void 0!==t.tag}))||[];for(let o=1,s=1;o<=e.rows;o++)for(let a=1;a<=e.columns;a++){const l=o-e.rows-1,c=a-e.columns-1;r.push(t("div",{class:["vc-grid-cell","vc-grid-cell-row-"+o,"vc-grid-cell-row-"+l,"vc-grid-cell-col-"+a,"vc-grid-cell-col-"+c],style:{"grid-row":o,"grid-column":a},on:{keydown:function(t){return e.handleCellKeydown({row:o,column:a,event:t})}}},[n({nodes:i,position:s++,row:o,column:a})]))}return r};return t("div",{class:"vc-grid-container",style:this.containerStyle},[...r()])},props:{count:Number,rows:{type:Number,default:1},columns:{type:Number,default:1},gap:{type:String,default:"0px"},autofit:Boolean,columnWidth:{type:String,default:"1fr"},disableFocus:{type:Boolean,default:!1}},computed:{containerStyle(){return{gridTemplateColumns:this.gridTemplateColumns,gridGap:this.gap}},gridTemplateColumns(){return`repeat(${this.autofit?"auto-fit":this.columns}, ${this.columnWidth})`}},methods:{handleCellKeydown({row:t,column:e,event:n}){if(this.disableFocus)return;const r={row:t,column:e,alt:!1,handled:!1};switch(n.key){case"ArrowUp":r.row--;break;case"ArrowDown":r.row++;break;case"ArrowLeft":r.column--;break;case"ArrowRight":r.column++;break;case"Home":r.column=1;break;case"End":r.column=this.columns;break;case"PageUp":r.alt=n.altKey,r.direction=K.vLeading;break;case"PageDown":r.alt=n.altKey,r.direction=K.vTrailing;break;default:return}if(r.row<1?(r.direction=K.vLeading,r.row=this.rows):r.row>this.rows&&(r.direction=K.vTrailing,r.row=1),r.column<1?(r.direction=K.hLeading,r.column=this.columns):r.column>this.columns&&(r.direction=K.hTrailing,r.column=1),r.direction&&this.$emit("rollover",r),!r.handled){const t=`.vc-grid-cell-row-${r.row}.vc-grid-cell-col-${r.column}`,e=this.$el.querySelector(t);e&&this.tryFocus(e)}n.stopPropagation(),n.preventDefault()},tryFocus(t=this.$el){this.$nextTick((function(){const e=[".vc-grid-focus",'button, [href], input, select, textarea, [tabindex="0"]','[tabindex]:not([tabindex="undefined"])'].map((function(e){return t.querySelector(e)})).find((function(t){return t}));return!!e&&(e.focus(),!0)}))}}},nt=et,rt=(n("998b"),S(nt,J,Z,!1,null,"3ca35a05",null)).exports,it={name:"PopoverRef",mixins:[m],props:{id:{type:String,default:"default"},element:null,args:null,visibility:{type:String,default:"hover-focus",validator:function(t){return-1!==["hover-focus","hover","focus","click","visible","hidden"].indexOf(t)}},placement:{type:String,default:"bottom"},positionFixed:Boolean,modifiers:{type:Object,default:function(){}},isInteractive:Boolean,showDelay:{type:Number,default:10},hideDelay:{type:Number,default:150}},data:()=>({reference:null,isHovered:!1,isFocused:!1}),computed:{isActive(){return this.$popoverIsActive(this.id,this.reference)}},render(){return this.$slots.default[0]},watch:{visibility(){this.refreshVisibility()},args(){var t=this;this.$nextTick((function(){t.isActive&&t.update()}))}},mounted(){var t=this;this.reference=this.element||this.$slots.default[0].elm,this.addEvents(),this.$once("beforeDestroy",(function(){return t.removeEvents()})),this.refreshVisibility()},methods:{addEvents(){Object(g.n)(this.reference,"click",this.onClick),Object(g.n)(this.reference,"mouseover",this.onMouseOver),Object(g.n)(this.reference,"mouseleave",this.onMouseLeave),Object(g.n)(this.reference,"focusin",this.onFocusIn),Object(g.n)(this.reference,"focusout",this.onFocusOut)},removeEvents(){Object(g.m)(this.reference,"click",this.onClick),Object(g.m)(this.reference,"mouseover",this.onMouseOver),Object(g.m)(this.reference,"mouseleave",this.onMouseLeave),Object(g.m)(this.reference,"focusin",this.onFocusIn),Object(g.m)(this.reference,"focusout",this.onFocusOut)},onClick(){"click"===this.visibility&&this.toggle()},onMouseOver(){this.isHovered||(this.isHovered=!0,this.visibility.includes("hover")&&this.refreshVisibility())},onMouseLeave(){this.isHovered&&(this.isHovered=!1,("hover"===this.visibility||"hover-focus"===this.visibility&&!this.isFocused)&&this.refreshVisibility())},onFocusIn(){this.isFocused||(this.isFocused=!0,this.visibility.includes("focus")&&this.refreshVisibility())},onFocusOut(t){this.isFocused&&!Object(g.e)(this.reference,t.relatedTarget)&&(this.isFocused=!1,this.visibility.includes("focus")&&this.refreshVisibility())},refreshVisibility(){switch(this.visibility){case"hover":this.isHovered?this.show():this.isActive&&this.hide();break;case"focus":this.isFocused?this.show():this.isActive&&this.hide();break;case"hover-focus":this.isHovered||this.isFocused?this.show({visibility:this.isFocused?"focus":"hover"}):this.isActive&&this.hide();break;case"visible":this.show();break;case"hidden":this.isActive&&this.hide()}},toggle(){var t=this;this.isActive?this.hide():this.$nextTick((function(){t.show()}))},show({visibility:t}={}){this.$showPopover({id:this.id,ref:this.reference,args:this.args,visibility:t||this.visibility,placement:this.placement,positionFixed:this.positionFixed,modifiers:this.modifiers,isInteractive:this.isInteractive,delay:this.showDelay})},hide({delay:t=this.hideDelay}={}){this.$hidePopover({id:this.id,ref:this.reference,delay:t})},update(){this.$updatePopover({id:this.id,ref:this.reference,args:this.args})}}},ot=S(it,Q,tt,!1,null,null,null).exports,st=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vc-nav-container"},[n("grid",{ref:"headerGrid",attrs:{columns:3},on:{rollover:t.onHeaderRollover}},[n("span",{ref:"prevButton",staticClass:"vc-nav-arrow vc-flex vc-justify-center vc-items-center vc-mr-auto",class:t.theme.navArrows,attrs:{role:"button",tabindex:"-1"},on:{click:t.movePrev,keydown:function(e){return t.onSpaceOrEnter(e,t.movePrev)}}},[t._t("nav-left-button",[n("svg-icon",{attrs:{name:"left-arrow",width:"20px",height:"24px"}})])],2),n("span",{ref:"titleButton",staticClass:"vc-nav-title vc-grid-focus",class:t.theme.navTitle,style:{whiteSpace:"nowrap"},attrs:{role:"button",tabindex:"0"},on:{click:t.toggleMode,keydown:function(e){return t.onSpaceOrEnter(e,t.toggleMode)}}},[t._v("\n      "+t._s(t.title)+"\n    ")]),n("span",{ref:"nextButton",staticClass:"vc-nav-arrow vc-flex vc-justify-center vc-items-center vc-ml-auto",class:t.theme.navArrows,attrs:{role:"button",tabindex:"-1"},on:{click:t.moveNext,keydown:function(e){return t.onSpaceOrEnter(e,t.moveNext)}}},[t._t("nav-right-button",[n("svg-icon",{attrs:{name:"right-arrow",width:"20px",height:"24px"}})])],2)]),n("grid",{ref:"itemsGrid",attrs:{rows:4,columns:3,gap:"2px 5px"},on:{rollover:t.onItemsRollover}},t._l(t.activeItems,(function(e){return n("span",{key:e.label,ref:"items",refInFor:!0,class:t.getItemClasses(e),attrs:{role:"button","aria-label":e.ariaLabel,tabindex:e.isDisabled?void 0:e.isActive?0:-1},on:{click:e.click,keydown:function(n){return t.onSpaceOrEnter(n,e.click)}}},[t._v("\n      "+t._s(e.label)+"\n    ")])})),0)],1)},at=[],lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",t._g({staticClass:"vc-svg-icon",attrs:{width:t.width,height:t.height,viewBox:t.viewBox}},t.$listeners),[n("path",{attrs:{d:t.path}})])},ct=[];const ut="26px",dt="0 0 32 32",ht={"left-arrow":{viewBox:"0 -1 16 34",path:"M11.196 10c0 0.143-0.071 0.304-0.179 0.411l-7.018 7.018 7.018 7.018c0.107 0.107 0.179 0.268 0.179 0.411s-0.071 0.304-0.179 0.411l-0.893 0.893c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-8.321-8.321c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l8.321-8.321c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l0.893 0.893c0.107 0.107 0.179 0.25 0.179 0.411z"},"right-arrow":{viewBox:"-5 -1 16 34",path:"M10.625 17.429c0 0.143-0.071 0.304-0.179 0.411l-8.321 8.321c-0.107 0.107-0.268 0.179-0.411 0.179s-0.304-0.071-0.411-0.179l-0.893-0.893c-0.107-0.107-0.179-0.25-0.179-0.411 0-0.143 0.071-0.304 0.179-0.411l7.018-7.018-7.018-7.018c-0.107-0.107-0.179-0.268-0.179-0.411s0.071-0.304 0.179-0.411l0.893-0.893c0.107-0.107 0.268-0.179 0.411-0.179s0.304 0.071 0.411 0.179l8.321 8.321c0.107 0.107 0.179 0.268 0.179 0.411z"}};var ft={props:["name"],data:()=>({width:ut,height:ut,viewBox:dt,path:"",isBaseline:!1}),mounted(){this.updateIcon()},watch:{name(){this.updateIcon()}},methods:{updateIcon(){const t=ht[this.name];t&&(this.width=t.width||ut,this.height=t.height||ut,this.viewBox=t.viewBox,this.path=t.path)}}},pt=ft,mt=(n("9010"),S(pt,lt,ct,!1,null,"63f7b5ec",null)).exports;const gt=12;var vt={name:"CalendarNav",components:{Grid:rt,SvgIcon:mt},mixins:[Y],props:{value:{type:Object,default:function(){return{month:0,year:0}}},validator:{type:Function,default:function(){return function(){return!0}}}},data:()=>({monthMode:!0,yearIndex:0,yearGroupIndex:0,onSpaceOrEnter:g.o}),computed:{month(){return this.value&&this.value.month||0},year(){return this.value&&this.value.year||0},title(){return this.monthMode?this.yearIndex:`${this.firstYear} - ${this.lastYear}`},monthItems(){var t=this;const{month:e,year:n}=Object(g.p)(new Date);return this.locale.getMonthDates().map((function(r,i){const o=i+1;return{label:t.locale.format(r,t.masks.navMonths),ariaLabel:t.locale.format(r,"MMMM YYYY"),isActive:o===t.month&&t.yearIndex===t.year,isCurrent:o===e&&t.yearIndex===n,isDisabled:!t.validator({month:o,year:t.yearIndex}),click:function(){return t.monthClick(o)}}}))},yearItems(){var t=this;const{_:e,year:n}=Object(g.p)(new Date),r=this.yearGroupIndex*gt,i=r+gt,o=[];for(let e=r;e<i;e+=1)o.push({year:e,label:e,ariaLabel:e,isActive:e===this.year,isCurrent:e===n,isDisabled:!this.validator({month:this.month,year:e}),click:function(){return t.yearClick(e)}});return o},activeItems(){return this.monthMode?this.monthItems:this.yearItems},firstYear(){return Object(d.g)(this.yearItems.map((function(t){return t.year})))},lastYear(){return Object(d.o)(this.yearItems.map((function(t){return t.year})))}},watch:{year(){this.yearIndex=this.year},yearIndex(t){this.yearGroupIndex=this.getYearGroupIndex(t)}},created(){this.yearIndex=this.year},mounted(){this.$refs.itemsGrid.tryFocus()},methods:{getItemClasses({isActive:t,isCurrent:e,isDisabled:n}){const r=[this.theme.navCell];return t?r.push(this.theme.navCellActive,"vc-grid-focus"):e?r.push(this.theme.navCellInactiveCurrent):r.push(this.theme.navCellInactive),n&&r.push("vc-opacity-25 vc-pointer-events-none"),r},getYearGroupIndex:t=>Math.floor(t/gt),monthClick(t){this.$emit("input",{month:t,year:this.yearIndex})},yearClick(t){this.yearIndex=t,this.monthMode=!0,this.$refs.itemsGrid.tryFocus()},toggleMode(){this.monthMode=!this.monthMode},movePrev(){this.monthMode&&this.movePrevYear(),this.movePrevYearGroup()},moveNext(){this.monthMode&&this.moveNextYear(),this.moveNextYearGroup()},movePrevYear(){this.yearIndex--},moveNextYear(){this.yearIndex++},movePrevYearGroup(){this.yearGroupIndex--},moveNextYearGroup(){this.yearGroupIndex++},onHeaderRollover(t){"vertical-trailing"===t.direction&&this.$refs.itemsGrid.tryFocus(),t.handled=!0},onItemsRollover(t){switch(t.direction){case"horizontal-leading":this.movePrev();break;case"horizontal-trailing":this.moveNext();break;case"vertical-leading":this.$refs.headerGrid.tryFocus(),t.handled=!0;break;case"vertical-trailing":t.handled=!0}}}},bt=S(vt,st,at,!1,null,null,null).exports;function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function xt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var wt,kt,_t={name:"CalendarDay",mixins:[Y,U],render(t){var e=this;const n=function(){return e.hasBackgrounds&&t("div",{class:"vc-highlights vc-day-layer"},e.backgrounds.map((function({key:e,wrapperClass:n,class:r}){return t("div",{key:e,class:n},[t("div",{class:r})])})))},r=function(){return e.safeScopedSlot("day-content",{day:e.day,attributes:e.day.attributes,attributesMap:e.day.attributesMap,dayProps:e.dayContentProps,dayEvents:e.dayContentEvents})||t("span",{class:e.dayContentClass,attrs:xt({},e.dayContentProps),on:e.dayContentEvents,ref:"content"},[e.day.label])},i=function(){if(!e.hasPopovers)return r();const{visibility:n,placement:i,isInteractive:o}=e.popoverState;return t(ot,{props:{id:e.dayPopoverId,args:e.dayEvent,visibility:n,placement:i,isInteractive:o}},[r()])},o=function(){return e.hasDots&&t("div",{class:"vc-day-layer vc-day-box-center-bottom"},[t("div",{class:"vc-dots"},e.dots.map((function({key:e,class:n}){return t("span",{class:n,key:e})})))])},s=function(){return e.hasBars&&t("div",{class:"vc-day-layer vc-day-box-center-bottom"},[t("div",{class:"vc-bars"},e.bars.map((function({key:e,class:n}){return t("span",{class:n,key:e})})))])};return t("div",{class:["vc-day",...this.day.classes,{"vc-day-box-center-center":!this.$scopedSlots["day-content"]}]},[t("div",{class:["vc-h-full",{[this.theme.dayNotInMonth]:!this.inMonth}]},[n(),i(),o(),s()])])},inject:["sharedState"],props:{day:{type:Object,required:!0}},data:()=>({glyphs:{},popoverState:{}}),computed:{label(){return this.day.label},dateTime(){return this.day.dateTime},inMonth(){return this.day.inMonth},isDisabled(){return this.day.isDisabled},backgrounds(){return this.glyphs.backgrounds},hasBackgrounds(){return!!Object(g.b)(this.backgrounds)},content(){return this.glyphs.content},dots(){return this.glyphs.dots},hasDots(){return!!Object(g.b)(this.dots)},bars(){return this.glyphs.bars},hasBars(){return!!Object(g.b)(this.bars)},popovers(){return this.glyphs.popovers},hasPopovers(){return!!Object(g.b)(this.popovers)},dayContentClass(){return["vc-day-content vc-focusable",Object(d.d)(Object(d.o)(this.content),"class")||"",this.isDisabled?this.theme.dayContentDisabled:"",this.theme.isDark?"vc-is-dark":"",this.theme.dayContent]},dayContentProps(){let t;return this.day.isFocusable?t="0":this.day.inMonth&&(t="-1"),{tabindex:t,"aria-label":this.day.ariaLabel}},dayContentEvents(){return{click:this.click,mouseenter:this.mouseenter,mouseleave:this.mouseleave,focusin:this.focusin,focusout:this.focusout,keydown:this.keydown}},dayEvent(){return xt(xt({},this.day),{},{el:this.$refs.content,popovers:this.popovers})}},watch:{theme(){this.refresh()},popovers(){const t=["click","focus","hover","visible"];let e="",n=!1,r=-1;this.popovers.forEach((function(i){const o=t.indexOf(i.visibility);r=o>r?o:r,e=e||i.placement,n=n||i.isInteractive})),this.popoverState={visibility:r>=0?t[r]:"hidden",placement:e||"bottom",isInteractive:n}}},methods:{getDayEvent(t){return xt(xt({},this.dayEvent),{},{event:t})},click(t){this.$emit("dayclick",this.getDayEvent(t))},mouseenter(t){this.$emit("daymouseenter",this.getDayEvent(t))},mouseleave(t){this.$emit("daymouseleave",this.getDayEvent(t))},focusin(t){this.$emit("dayfocusin",this.getDayEvent(t))},focusout(t){this.$emit("dayfocusout",this.getDayEvent(t))},keydown(t){this.$emit("daykeydown",this.getDayEvent(t))},refresh(){var t=this;if(!this.day.refresh)return;this.day.refresh=!1;const e={backgrounds:[],dots:[],bars:[],popovers:[],content:[]};this.day.attributes=Object.values(this.day.attributesMap||{}).sort((function(t,e){return t.order-e.order})),this.day.attributes.forEach((function(n){const{targetDate:r}=n,{isDate:i,isComplex:o,startTime:s,endTime:a}=r,l=s===t.dateTime,c=a===t.dateTime,u={isDate:i,isComplex:o,onStart:l,onEnd:c,onStartAndEnd:l&&c,onStartOrEnd:l||c};t.processHighlight(n,u,e),t.processContent(n,u,e),t.processDot(n,u,e),t.processBar(n,u,e),t.processPopover(n,e)})),this.glyphs=e},processHighlight({key:t,highlight:e},{isDate:n,isComplex:r,onStart:i,onEnd:o,onStartAndEnd:s},{backgrounds:a,content:l}){if(!e)return;const{base:c,start:u,end:d}=e;n||r||s?(a.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:"vc-highlight "+u.class}),l.push({key:t+"-content",class:u.contentClass})):i?(a.push({key:t+"-base",wrapperClass:"vc-day-layer vc-day-box-right-center",class:"vc-highlight vc-highlight-base-start "+c.class}),a.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:"vc-highlight "+u.class}),l.push({key:t+"-content",class:u.contentClass})):o?(a.push({key:t+"-base",wrapperClass:"vc-day-layer vc-day-box-left-center",class:"vc-highlight vc-highlight-base-end "+c.class}),a.push({key:t,wrapperClass:"vc-day-layer vc-day-box-center-center",class:"vc-highlight "+d.class}),l.push({key:t+"-content",class:d.contentClass})):(a.push({key:t+"-middle",wrapperClass:"vc-day-layer vc-day-box-center-center",class:"vc-highlight vc-highlight-base-middle "+c.class}),l.push({key:t+"-content",class:c.contentClass}))},processContent({key:t,content:e},{isDate:n,onStart:r,onEnd:i},{content:o}){if(!e)return;const{base:s,start:a,end:l}=e;n||r?o.push({key:t,class:a.class}):i?o.push({key:t,class:l.class}):o.push({key:t,class:s.class})},processDot({key:t,dot:e},{isDate:n,onStart:r,onEnd:i},{dots:o}){if(!e)return;const{base:s,start:a,end:l}=e;n||r?o.push({key:t,class:"vc-dot "+a.class}):i?o.push({key:t,class:"vc-dot "+l.class}):o.push({key:t,class:"vc-dot "+s.class})},processBar({key:t,bar:e},{isDate:n,onStart:r,onEnd:i},{bars:o}){if(!e)return;const{base:s,start:a,end:l}=e;n||r?o.push({key:t,class:"vc-bar "+a.class}):i?o.push({key:t,class:"vc-bar "+l.class}):o.push({key:t,class:"vc-bar "+s.class})},processPopover(t,{popovers:e}){const{key:n,customData:r,popover:i}=t;if(!i)return;const o=Object(d.b)({key:n,customData:r,attribute:t},xt({},i),{visibility:i.label?"hover":"click",placement:"bottom",isInteractive:!i.label});e.splice(0,0,o)}}},St=_t,Ot=(n("d581"),S(St,wt,kt,!1,null,"2aac4f42",null)).exports;function Mt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var At,Tt,Et,Dt,Pt={name:"CalendarPane",mixins:[V,Y,U],render(t){var e=this;const n=this.safeScopedSlot("header",this.page)||t("div",{class:["vc-header",this.theme.header]},[t("div",{class:"vc-title-layout align-"+this.titlePosition},[t("div",{class:"vc-title-wrapper"},[t(ot,{props:{id:this.navPopoverId,visibility:this.navVisibility_,placement:this.navPlacement,modifiers:{flip:{behavior:["bottom"]}},isInteractive:!0}},[t("div",{class:["vc-title",this.theme.title]},[this.safeScopedSlot("header-title",this.page,this.page.title)])]),t(O,{props:{id:this.navPopoverId,contentClass:this.theme.navPopoverContainer}},[t(bt,{props:{value:this.page,validator:this.canMove},on:{input:function(t){return e.move(t)}},scopedSlots:this.$scopedSlots})])])])]),r=t(rt,{class:"vc-weeks",props:{rows:7,columns:7,columnWidth:"1fr",disableFocus:!0}},[...this.weekdayLabels.map((function(n,r){return t("div",{key:r+1,class:["vc-weekday",e.theme.weekdays]},[n])})),...this.page.days.map((function(n){return t(Ot,{attrs:Ct(Ct({},e.$attrs),{},{day:n}),on:Ct({},e.$listeners),scopedSlots:e.$scopedSlots,key:n.id,ref:"days",refInFor:!0})}))]);return t("div",{class:"vc-pane",ref:"pane"},[n,r])},props:{page:Object,titlePosition:String,navVisibility:String,canMove:{type:Function,default:function(){return!0}}},data:()=>({navPopoverId:Object(g.c)()}),computed:{navVisibility_(){return this.propOrDefault("navVisibility","navVisibility")},navPlacement(){switch(this.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}},weekdayLabels(){var t=this;return this.locale.getWeekdayDates().map((function(e){return t.format(e,t.masks.weekdays)}))}},methods:{move(t){this.$emit("update:page",t)},refresh(){this.$refs.days.forEach((function(t){return t.refresh()}))}}},jt=Pt,Lt=(n("3d14"),S(jt,At,Tt,!1,null,"4a5f2beb",null)).exports,It={name:"CustomTransition",render(t){return t("transition",{props:{name:this.name_,appear:this.appear},on:{beforeEnter:this.beforeEnter,afterEnter:this.afterEnter}},[this.$slots.default])},props:{name:String,appear:Boolean},computed:{name_(){return this.name||"none"}},methods:{beforeEnter(t){this.$emit("beforeEnter",t),this.$emit("beforeTransition",t)},afterEnter(t){this.$emit("afterEnter",t),this.$emit("afterTransition",t)}}},Nt=It,Rt=(n("2285"),S(Nt,Et,Dt,!1,null,"5be4b00c",null)).exports,$t=n("93495");function Bt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ft(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n("bdab");var zt,Ht,Yt={name:"Calendar",render(t){var e=this;const n=this.pages.map((function(n,r){return t(Lt,{attrs:Ft(Ft({},e.$attrs),{},{attributes:e.store}),props:{titlePosition:e.titlePosition_,page:n,minPage:e.minPage_,maxPage:e.maxPage_,canMove:e.canMove},on:Ft(Ft({},e.$listeners),{},{"update:page":function(t){return e.refreshPages({page:t,position:r+1})},dayfocusin:function(t){e.lastFocusedDay=t,e.$emit("dayfocusin",t)},dayfocusout:function(t){e.lastFocusedDay=null,e.$emit("dayfocusout",t)}}),scopedSlots:e.$scopedSlots,key:n.key,ref:"pages",refInFor:!0})})),r=function(n){const r=function(){return e.move(n?-e.step_:e.step_)},i=function(t){return Object(g.o)(t,r)},o=n?!e.canMovePrev:!e.canMoveNext;return t("div",{class:["vc-flex vc-justify-center vc-items-center vc-cursor-pointer vc-select-none "+(o?"vc-opacity-25 vc-pointer-events-none vc-cursor-not-allowed":"vc-pointer-events-auto"),e.$theme.arrows],attrs:{role:"button"},on:{click:r,keydown:i}},[(n?e.safeScopedSlot("header-left-button",{click:r}):e.safeScopedSlot("header-right-button",{click:r}))||t(mt,{props:{name:n?"left-arrow":"right-arrow"}})])},i=function(){return t(O,{props:{id:e.sharedState.dayPopoverId,contentClass:e.$theme.dayPopoverContainer},scopedSlots:{default:function({args:n,updateLayout:r,hide:i}){const o=Object.values(n.attributes).filter((function(t){return t.popover})),s=e.$locale.masks,a=e.format,l=a(n.date,s.dayPopover);return e.safeScopedSlot("day-popover",{day:n,attributes:o,masks:s,format:a,dayTitle:l,updateLayout:r,hide:i})||t("div",[s.dayPopover&&t("div",{class:["vc-text-center",e.$theme.dayPopoverHeader]},[l]),o.map((function(e){return t(q,{key:e.key,props:{attribute:e}})}))])}}})},o=function(){return t("div",{attrs:{"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year"},class:["vc-container","vc-reset",{"vc-min-w-full":e.isExpanded},e.$theme.container],on:{keydown:e.handleKeydown,mouseup:function(t){return t.preventDefault()}},ref:"container"},[t("div",{class:["vc-w-full vc-relative",{"vc-overflow-hidden":e.inTransition}]},[t(Rt,{props:{name:e.transitionName},on:{beforeEnter:function(){e.inTransition=!0},afterEnter:function(){e.inTransition=!1}}},[t(rt,{class:"grid",props:{rows:e.rows,columns:e.columns,columnWidth:"minmax(256px, 1fr)",disableFocus:!0},attrs:Ft({},e.$attrs),key:Object(g.b)(e.pages)?e.pages[0].key:""},n)]),t("div",{class:["vc-arrows-container title-"+e.titlePosition_]},[r(!0),r(!1)])]),i()])};return o()},mixins:[V,W,U],provide(){return{sharedState:this.sharedState}},props:{rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:String,isExpanded:Boolean,fromDate:Date,toDate:Date,fromPage:Object,toPage:Object,minPage:Object,maxPage:Object,transition:String,attributes:[Object,Array],disablePageSwipe:Boolean},data:()=>({pages:[],store:null,lastFocusedDay:null,focusableDay:(new Date).getDate(),transitionName:"",inTransition:!1,sharedState:{dayPopoverId:Object(g.c)(),theme:{},masks:{},locale:{}}}),computed:{titlePosition_(){return this.propOrDefault("titlePosition","titlePosition")},minPage_(){return this.minPage||Object(g.p)(this.$locale.toDate(this.minDate))},maxPage_(){return this.maxPage||Object(g.p)(this.$locale.toDate(this.maxDate))},count(){return this.rows*this.columns},step_(){return this.step||this.count},canMovePrev(){return!Object(g.x)(this.minPage_)||Object(g.t)(this.pages[0],this.minPage_)},canMoveNext(){return!Object(g.x)(this.maxPage_)||Object(g.u)(this.pages[this.pages.length-1],this.maxPage_)}},watch:{$locale(){this.refreshLocale(),this.refreshPages({page:Object(d.g)(this.pages),ignoreCache:!0}),this.initStore()},$theme(){this.refreshTheme(),this.initStore()},fromDate(){this.refreshPages()},fromPage(t){const e=this.pages&&this.pages[0];Object(g.w)(t,e)||this.refreshPages()},toPage(t){const e=this.pages&&this.pages[this.pages.length-1];Object(g.w)(t,e)||this.refreshPages()},count(){this.refreshPages()},attributes(t){const{adds:e,deletes:n}=this.store.refresh(t);this.refreshAttrs(this.pages,e,n)},pages(t){this.refreshAttrs(t,this.store.list,null,!0)},disabledAttribute(){this.refreshDisabledDays()},lastFocusedDay(t){t&&(this.focusableDay=t.day,this.refreshFocusableDays())},inTransition(t){t?this.$emit("transition-start"):(this.$emit("transition-end"),this.transitionPromise&&(this.transitionPromise.resolve(),this.transitionPromise=null))}},created(){this.refreshLocale(),this.refreshTheme(),this.initStore(),this.refreshPages()},mounted(){var t=this;if(!this.disablePageSwipe){const e=Object(v.a)(this.$refs.container,(function({toLeft:e,toRight:n}){e?t.moveNext():n&&t.movePrev()}),this.$defaults.touch);this.$once("beforeDestroy",(function(){return e()}))}},methods:{refreshLocale(){this.sharedState.locale=this.$locale,this.sharedState.masks=this.$locale.masks},refreshTheme(){this.sharedState.theme=this.$theme},canMove(t){return Object(g.v)(t,this.minPage_,this.maxPage_)},async movePrev(t){return await this.move(-this.step_,t)},async moveNext(t){return this.move(this.step_,t)},async move(t,e){const n=this.$locale.toPage(t,this.pages[0]);return n?await this.refreshPages(Ft(Ft({},e),{},{page:n})):null},async focusDate(t,e={}){const n=Object(g.p)(t);let r=null;e.position?r=this.getTargetPageRange(n,e.position).fromPage:Object(g.u)(n,this.pages[0])?r=this.getTargetPageRange(n,-1).fromPage:Object(g.t)(n,Object(d.o)(this.pages))&&(r=this.getTargetPageRange(n,1).fromPage),r&&!Object(g.w)(r,this.pages[0])&&await this.refreshPages(Ft(Ft({},e),{},{position:1,page:r}));const i=this.$el.querySelector(`.id-${this.$locale.format(t,"YYYY-MM-DD")}.in-month .vc-focusable`);i&&i.focus()},async showPageRange(t,e){let n,r;if(Object(d.i)(t))n=Object(g.p)(t);else{if(!Object(d.l)(t))return;{const{month:e,year:i}=t,{from:o,to:s}=t;Object(d.k)(e)&&Object(d.k)(i)?n=t:(o||s)&&(n=Object(d.i)(o)?Object(g.p)(o):o,r=Object(d.i)(s)?Object(g.p)(s):s)}}const i=Object(d.o)(this.pages);let o=n;Object(g.t)(r,i)&&(o=Object(g.a)(r,-(this.pages.length-1))),Object(g.u)(n,o)&&(o=n),await this.refreshPages(Ft(Ft({},e),{},{page:o}))},getTargetPageRange(t,e){let n=null;if(Object(g.x)(t)){const r=e>0?1-e:-(this.count+e);n=Object(g.a)(t,r)}else if(n=this.fromPage||Object(g.p)(this.$locale.toDate(this.fromDate)),!Object(g.x)(n)){const t=this.toPage||Object(g.p)(this.$locale.toDate(this.toPage));n=Object(g.x)(t)?Object(g.a)(t,1-this.count):this.getPageForAttributes()}n=Object(g.x)(n)?n:Object(g.s)();const r=Object(g.a)(n,this.count-1);return Object(g.u)(n,this.minPage_)?n=this.minPage_:Object(g.t)(r,this.maxPage_)&&(n=Object(g.a)(this.maxPage_,1-this.count)),{fromPage:n,toPage:r}},async refreshPages({page:t,position:e=1,transition:n,ignoreCache:r}={}){var i=this;return new Promise((function(o,s){const{fromPage:a,toPage:l}=i.getTargetPageRange(t,e),c=[];for(let t=0;t<i.count;t++)c.push(i.buildPage(Object(g.a)(a,t),r));i.refreshDisabledDays(c),i.refreshFocusableDays(c),i.transitionName=i.getPageTransition(i.pages[0],c[0],n),i.pages=c,i.$emit("update:from-page",a),i.$emit("update:to-page",l),i.transitionName&&"none"!==i.transitionName?i.transitionPromise={resolve:o,reject:s}:o()}))},refreshDisabledDays(t){var e=this;this.getPageDays(t).forEach((function(t){t.isDisabled=!!e.disabledAttribute&&e.disabledAttribute.includesDay(t)}))},refreshFocusableDays(t){var e=this;this.getPageDays(t).forEach((function(t){t.isFocusable=t.inMonth&&t.day===e.focusableDay}))},getPageDays(t=this.pages){return t.reduce((function(t,e){return t.concat(e.days)}),[])},getPageTransition(t,e,n=this.transition){if("none"===n)return n;if("fade"===n||!n&&this.count>1||!Object(g.x)(t)||!Object(g.x)(e))return"fade";const r=Object(g.u)(e,t);return"slide-v"===n?r?"slide-down":"slide-up":r?"slide-right":"slide-left"},getPageForAttributes(){let t=null;const e=this.store.pinAttr;if(e&&e.hasDates){let[n]=e.dates;n=n.start||n.date,t=Object(g.p)(this.$locale.toDate(n))}return t},buildPage({month:t,year:e},n){var r=this;const i=`${e.toString()}-${t.toString()}`;let o=this.pages.find((function(t){return t.key===i}));if(!o||n){const n=new Date(e,t-1,15),s=this.$locale.getMonthComps(t,e),a=this.$locale.getPrevMonthComps(t,e),l=this.$locale.getNextMonthComps(t,e);o={key:i,month:t,year:e,title:this.$locale.format(n,this.$locale.masks.title),shortMonthLabel:this.$locale.format(n,"MMM"),monthLabel:this.$locale.format(n,"MMMM"),shortYearLabel:e.toString().substring(2),yearLabel:e.toString(),monthComps:s,prevMonthComps:a,nextMonthComps:l,canMove:function(t){return r.canMove(t)},move:function(t){return r.move(t)},moveThisMonth:function(){return r.moveThisMonth()},movePrevMonth:function(){return r.move(a)},moveNextMonth:function(){return r.move(l)},refresh:!0},o.days=this.$locale.getCalendarDays(o)}return o},initStore(){this.store=new $t.a(this.$theme,this.$locale,this.attributes),this.refreshAttrs(this.pages,this.store.list,[],!0)},refreshAttrs(t=[],e=[],n=[],r){var i=this;Object(g.b)(t)&&(t.forEach((function(t){t.days.forEach((function(t){let i={};r?t.refresh=Object(g.b)(t.attributes):Object(d.f)(t.attributesMap,n)?(i=Object(d.r)(t.attributesMap,n),t.refresh=!0):i=t.attributesMap||{},e.forEach((function(e){const n=e.includesDay(t);if(n){const r=Ft(Ft({},e),{},{targetDate:n});i[e.key]=r,t.refresh=!0}})),t.refresh&&(t.attributesMap=i)}))})),this.$nextTick((function(){i.$refs.pages.forEach((function(t){return t.refresh()}))})))},handleKeydown(t){const e=this.lastFocusedDay;null!=e&&(e.event=t,this.handleDayKeydown(e))},handleDayKeydown(t){const{date:e,event:n}=t;let r=null;switch(n.key){case"ArrowLeft":r=Object(i.a)(e,-1);break;case"ArrowRight":r=Object(i.a)(e,1);break;case"ArrowUp":r=Object(i.a)(e,-7);break;case"ArrowDown":r=Object(i.a)(e,7);break;case"Home":r=Object(i.a)(e,1-t.weekdayPosition);break;case"End":r=Object(i.a)(e,t.weekdayPositionFromEnd);break;case"PageUp":r=n.altKey?c(e,-1):l(e,-1);break;case"PageDown":r=n.altKey?c(e,1):l(e,1)}r&&(n.preventDefault(),this.focusDate(r))}}},Wt=Yt,Vt=(n("04d4"),S(Wt,zt,Ht,!1,null,null,null)).exports;class Ut{constructor({format:t,parse:e}){this._format=t,this._parse=e}hasValue(t){return Object(d.i)(t)}format(t){return this.hasValue(t)?this._format(t):""}parse(t){const e=this._parse(t);return Object(d.i)(e)?e:null}normalize(t){return t&&new Date(t)}filterDisabled({value:t,isRequired:e,disabled:n,fallbackValue:r}){return!this.hasValue(t)&&e?r:this.hasValue(t)&&n&&n.intersectsDate(t)?null:t}valuesAreEqual(t,e){return Object(g.d)(t,e)}getPageRange(t){if(!this.hasValue(t))return null;const e=Object(g.p)(t);return{from:e,to:e}}handleDayClick(t,e){e.dateIsValid(t.date)&&(this.valuesAreEqual(t.date,e.value_)?e.isRequired||(e.value_=null):(e.doFormatInput=!0,e.doHidePopover=!0,e.value_=t.date))}handleDayMouseEnter(){}}class Gt{constructor({format:t,parse:e}){this._format=t,this._parse=e}hasValue(t){return Object(g.b)(t)}format(t){var e=this;return this.hasValue(t)?t.map((function(t){return e._format(t)})).join(", "):""}parse(t){var e=this;return Object(d.m)(t)?t.split(",").map((function(t){return e._parse(t)})).filter((function(t){return Object(d.i)(t)})):[]}normalize(t){return this.hasValue(t)?Object(d.v)(t).sort((function(t,e){return t.getTime()-e.getTime()})):[]}filterDisabled({value:t,isRequired:e,disabled:n,fallbackValue:r}){if(!this.hasValue(t))return[];if(!n)return t;const i=t.filter((function(t){return!n.intersectsDate(t)}));return!this.hasValue(i)&&e?r:i}valuesAreEqual(t,e){const n=this.hasValue(t),r=this.hasValue(e);return!n&&!r||n===r&&t.length===e.length&&!t.some((function(t){return!e.includes(t)}))&&!e.some((function(e){return!t.includes(e)}))}getPageRange(t){if(!this.hasValue(t))return null;const e=Object(g.p)(t[0]);return{from:e,to:Object(g.j)(Object(g.p)(Object(d.o)(t)),Object(g.a)(e,1))}}handleDayClick(t,e){if(!e.dateIsValid(t.date))return;let n=[];this.hasValue(e.value_)?e.value_.some((function(e){return e.getTime()===t.dateTime}))?(n=e.value_.filter((function(e){return!Object(g.d)(e,t.date)})),!this.hasValue(n)&&e.isRequired&&(n=[t.date])):n=[...e.value_,t.date]:n=[t.date],this.doFormatInput=!0,this.doHidePopover=!1,e.value_=this.normalize(n)}handleDayMouseEnter(){}}var Xt=n("cfe5");class qt{constructor({locale:t,format:e,parse:n}){this._locale=t,this._format=e,this._parse=n}hasValue(t){return Object(d.l)(t)&&Object(d.i)(t.start)&&Object(d.i)(t.end)}normalize(t){if(!this.hasValue(t))return null;const{start:e,end:n}=new Xt.a({start:new Date(t.start),end:new Date(t.end)},{locale:this._locale});return{start:e,end:n}}format(t){const e=this.normalize(t);if(!e)return"";const{start:n,end:r}=e,i=this._format(n),o=this._format(r);return i&&o?`${i} - ${o}`:""}parse(t){let e,n;const r=[" - ","-"].find((function(e){return t.includes(e)})),i=t.split(r).map((function(t){return t.trim()}));return i.length>=2&&(e=this._parse(i[0]),n=this._parse(i[1])),e&&n?this.normalize({start:e,end:n}):null}filterDisabled({value:t,isRequired:e,disabled:n,fallbackValue:r}){let i=e?r:null;return!this.hasValue(t)||n&&n.intersectsDate(t)||(i=t),i}valuesAreEqual(t,e){const n=this.hasValue(t),r=this.hasValue(e);return!n&&!r||n===r&&Object(g.d)(t.start,e.start)&&Object(g.d)(t.end,e.end)}getPageRange(t){if(!this.hasValue(t))return null;const e=Object(g.p)(t.start);return{from:e,to:Object(g.j)(Object(g.p)(t.end),Object(g.a)(e,1))}}handleDayClick(t,e){const{dateTime:n}=t;if(e.dragValue){const t=this.normalize({start:new Date(e.dragValue.start.getTime()),end:new Date(n)});e.dateIsValid(t)&&(e.doFormatInput=!0,e.doHidePopover=!0,e.dragValue=null,e.value_=t)}else{const t={start:new Date(n),end:new Date(n)};e.dateIsValid(t)&&(e.dragValue=t)}}handleDayMouseEnter(t,e){const{dateTime:n}=t;if(e.dragValue){const t={start:new Date(e.dragValue.start.getTime()),end:new Date(n)};e.dateIsValid(t)&&(e.dragValue=t)}}}function Kt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Jt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kt(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Zt,Qt,te={name:"DatePicker",render(t){var e=this;const n=function(){return t(Vt,{attrs:Jt(Jt({},e.$attrs),{},{attributes:e.attributes_,theme:e.$theme,locale:e.$locale}),props:{minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,availableDates:e.availableDates},on:Jt(Jt({},e.$listeners),{},{dayclick:e.onDayClick,daymouseenter:e.onDayMouseEnter,daykeydown:e.onDayKeydown,dayfocusin:e.onDayFocusIn}),scopedSlots:e.$scopedSlots,ref:"calendar"})};if(this.isInline)return n();const r=this.safeScopedSlot("default",{inputClass:this.inputClass,inputValue:this.inputValue,inputProps:this.inputProps_,inputEvents:this.inputEvents,isDragging:!!this.dragValue,updateValue:this.updateValue,hidePopover:this.hidePopover})||t("input",{class:this.inputClass,attrs:this.inputProps_,domProps:{value:this.inputValue},on:this.inputEvents});return t("span",[t(ot,{props:Jt(Jt({},this.popover_),{},{id:this.datePickerPopoverId,isInteractive:!0})},[r]),t(O,{props:{id:this.datePickerPopoverId,placement:"bottom-start",contentClass:this.$theme.container},on:{beforeShow:function(t){return e.$emit("popoverWillShow",t)},afterShow:function(t){return e.$emit("popoverDidShow",t)},beforeHide:function(t){return e.$emit("popoverWillHide",t)},afterHide:function(t){return e.$emit("popoverDidHide",t)}},scopedSlots:{default:()=>n()},ref:"popover"})])},mixins:[W,V,U],props:{mode:{type:String,default:"single"},value:{type:null,required:!0},isRequired:Boolean,isInline:Boolean,updateOnInput:Boolean,inputDebounce:Number,inputProps:{type:Object,default:function(){return{}}},popover:{type:Object,default:function(){return{}}},dragAttribute:Object,selectAttribute:Object,attributes:Array},data:()=>({value_:null,dragValue:null,inputValue:"",doFormatInput:!0,doHidePopover:!1,doAdjustPageRange:!1,updateTimeout:null,datePickerPopoverId:Object(g.c)()}),computed:{updateOnInput_(){return this.propOrDefault("updateOnInput","datePicker.updateOnInput")},inputDebounce_(){return this.propOrDefault("inputDebounce","datePicker.inputDebounce")},inputMasks(){const t=this.$locale.masks.input;return Object(d.h)(t)&&t||[t]},inputClass(){const t=this.inputProps.class||this.$theme.datePickerInput,e=this.inputProps.dragClass||this.$theme.datePickerInputDrag;return this.picker.hasValue(this.dragValue)&&e||t},inputProps_(){const t=Jt(Jt({},this.inputProps),{},{value:this.inputValue,type:"input"});return delete t.class,delete t.dragClass,t},inputEvents(){return{input:this.inputInput,change:this.inputChange,keyup:this.inputKeyup}},popover_(){return this.propOrDefault("popover","datePicker.popover","merge")},canHidePopover(){return!(this.popover.keepVisibleOnInput||"visible"!==this.popover_.visibility)},selectAttribute_(){if(!this.picker.hasValue(this.value_))return null;const t=Jt(Jt({key:"select-drag"},this.selectAttribute),{},{dates:this.value_,pinPage:!0}),{dot:e,bar:n,highlight:r,content:i}=t;return e||n||r||i||(t.highlight=!0),t},dragAttribute_(){if("range"!==this.mode||!this.picker.hasValue(this.dragValue))return null;const t=Jt(Jt({key:"select-drag"},this.dragAttribute),{},{dates:this.dragValue}),{dot:e,bar:n,highlight:r,content:i}=t;return e||n||r||i||(t.highlight={startEnd:{fillMode:"none"}}),t},attributes_(){const t=Object(d.h)(this.attributes)?[...this.attributes]:[];return this.dragAttribute_?t.push(this.dragAttribute_):this.selectAttribute_&&t.push(this.selectAttribute_),t},picker(){var t=this;const e={locale:this.$locale,format:function(e){return t.$locale.format(e,t.inputMasks[0])},parse:function(e){return t.$locale.parse(e,t.inputMasks)}};switch(this.mode){case"multiple":return new Gt(e);case"range":return new qt(e);default:return new Ut(e)}}},watch:{mode(){this.value_=null},value:{handler(){this.value_=this.picker.filterDisabled({value:this.value,isRequired:this.isRequired,disabled:this.disabledAttribute,fallbackValue:null}),this.value&&!this.value_&&this.$emit("input",null)},immediate:!0},value_:{handler(t){this.picker.valuesAreEqual(t,this.value)||this.$emit("input",t),this.isInline||(this.doFormatInput&&this.formatInput(),this.doHidePopover&&this.hidePopover(),this.doAdjustPageRange&&this.adjustPageRange()),this.doFormatInput=!0,this.doHidePopover=!1,this.doAdjustPageRange=!1},immediate:!0},dragValue(t){this.formatInput(),this.$emit("drag",this.picker.normalize(t))}},mounted(){var t=this;Object(g.n)(document,"keydown",this.onDocumentKeyDown);const e=Object(v.b)(document,(function(e){document.body.contains(e.target)&&!Object(g.e)(t.$el,e.target)&&t.dragValue&&(t.dragValue=null)}));this.$once("beforeDestroy",(function(){Object(g.m)(document,"keydown",t.onDocumentKeyDown),e()}))},methods:{dateIsValid(t){return!t||!!this.disabledAttribute&&!this.disabledAttribute.intersectsDate(t)},onDocumentKeyDown(t){this.dragValue&&27===t.keyCode&&(this.dragValue=null)},onDayClick(t){this.picker.handleDayClick(t,this),this.$emit("dayclick",t)},onDayMouseEnter(t){this.picker.handleDayMouseEnter(t,this),this.$emit("daymouseenter",t)},onDayFocusIn(t){this.picker.handleDayMouseEnter(t,this),this.$emit("dayfocusin",t)},onDayKeydown(t){switch(t.event.key){case" ":case"Enter":this.picker.handleDayClick(t,this),t.event.preventDefault();break;case"Escape":this.hidePopover()}this.$emit("daykeydown",t)},inputInput(t){this.inputValue=t.target.value,this.updateOnInput_&&this.updateValue(this.inputValue,{formatInput:!1,hidePopover:!1,adjustPageRange:!0,debounce:this.inputDebounce_})},inputChange(){this.updateValue(this.inputValue,{formatInput:!0,hidePopover:!1,adjustPageRange:!1})},inputKeyup(t){27===t.keyCode&&this.updateValue(this.value_,{formatInput:!0,hidePopover:!0,adjustPageRange:!1})},updateValue(t=this.inputValue,{formatInput:e,hidePopover:n,adjustPageRange:r,debounce:i}={}){var o=this;clearTimeout(this.updateTimeout),void 0===i||i<0?this.forceUpdateValue(t,{formatInput:e,hidePopover:n,adjustPageRange:r}):this.updateTimeout=setTimeout((function(){o.updateTimeout=null,o.forceUpdateValue(t,{formatInput:e,hidePopover:n,adjustPageRange:r})}),i)},forceUpdateValue(t,{formatInput:e,hidePopover:n,adjustPageRange:r}){this.inputValue=Object(d.m)(t)?t:this.inputValue;const i=Object(d.m)(t)?this.picker.parse(t):t;this.doFormatInput=e,this.doHidePopover=n,this.doAdjustPageRange=r,this.value_=this.picker.filterDisabled({value:this.picker.normalize(i),disabled:this.disabledAttribute,fallbackValue:this.value_})},formatInput(){var t=this;this.$nextTick((function(){const e=t.picker.hasValue(t.dragValue)?t.dragValue:t.value_;t.inputValue=t.picker.format(e)}))},hidePopover(){const t=this.$refs.popover;t&&t.hide({priority:10,delay:250})},adjustPageRange(){this.picker.hasValue(this.value_)&&this.$refs.calendar&&this.$refs.calendar.showPageRange(this.picker.getPageRange(this.value_))}}},ee=te,ne=(n("d0d6"),S(ee,Zt,Qt,!1,null,"56ae83be",null)).exports},"2b03":function(t,e){function n(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}t.exports=n},"2b10":function(t,e){function n(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}t.exports=n},"2b3e":function(t,e,n){var r=n("585a"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},"2c66":function(t,e,n){var r=n("d612"),i=n("8db3"),o=n("5edf"),s=n("c584"),a=n("750a"),l=n("ac41"),c=200;function u(t,e,n){var u=-1,d=i,h=t.length,f=!0,p=[],m=p;if(n)f=!1,d=o;else if(h>=c){var g=e?null:a(t);if(g)return l(g);f=!1,d=s,m=new r}else m=e?[]:p;t:for(;++u<h;){var v=t[u],b=e?e(v):v;if(v=n||0!==v?v:0,f&&b==b){for(var y=m.length;y--;)if(m[y]===b)continue t;e&&m.push(b),p.push(v)}else d(m,b,n)||(m!==p&&m.push(b),p.push(v))}return p}t.exports=u},"2d00":function(t,e){t.exports=!1},"2d7c":function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}t.exports=n},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2dcb":function(t,e,n){var r=n("91e9")(Object.getPrototypeOf,Object);t.exports=r},"2ec1":function(t,e,n){var r=n("100e"),i=n("9aff");function o(t){return r((function(e,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);++r<o;){var l=n[r];l&&t(e,l,r,s)}return e}))}t.exports=o},"2fa3":function(t,e,n){"use strict";n.d(e,"h",(function(){return a})),n.d(e,"x",(function(){return l})),n.d(e,"u",(function(){return c})),n.d(e,"t",(function(){return u})),n.d(e,"v",(function(){return d})),n.d(e,"w",(function(){return h})),n.d(e,"p",(function(){return f})),n.d(e,"a",(function(){return p})),n.d(e,"s",(function(){return m})),n.d(e,"q",(function(){return g})),n.d(e,"r",(function(){return v})),n.d(e,"j",(function(){return b})),n.d(e,"d",(function(){return y})),n.d(e,"b",(function(){return x})),n.d(e,"i",(function(){return w})),n.d(e,"f",(function(){return k})),n.d(e,"g",(function(){return _})),n.d(e,"l",(function(){return S})),n.d(e,"n",(function(){return O})),n.d(e,"m",(function(){return M})),n.d(e,"e",(function(){return C})),n.d(e,"o",(function(){return A})),n.d(e,"c",(function(){return T})),n.d(e,"k",(function(){return E}));var r=n("bd86"),i=(n("6b54"),n("ac6a"),n("9404"));function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const a=function(t,e){return Object(i.j)(t)?t(e):t},l=function(t){return!!(t&&t.month&&t.year)},c=function(t,e){return!(!l(t)||!l(e))&&(t.year===e.year?t.month<e.month:t.year<e.year)},u=function(t,e){return!(!l(t)||!l(e))&&(t.year===e.year?t.month>e.month:t.year>e.year)},d=function(t,e,n){return!!t&&!c(t,e)&&!u(t,n)},h=function(t,e){return!(!t&&e||t&&!e||(t||e)&&(t.month!==e.month||t.year!==e.year))},f=function(t){return t?{month:t.getMonth()+1,year:t.getFullYear()}:null},p=function({month:t,year:e},n){const r=n>0?1:-1;for(let i=0;i<Math.abs(n);i++)(t+=r)>12?(t=1,e++):t<1&&(t=12,e--);return{month:t,year:e}},m=function(){return f(new Date)},g=function(){return p(m(),1)},v=function(){return p(m(),-1)},b=function(...t){return t.reduce((function(t,e){return t?e&&u(e,t)?e:t:e}))};function y(t,e){const n=Object(i.i)(t),r=Object(i.i)(e);return!n&&!r||n===r&&t.getTime()===e.getTime()}const x=function(t){return Object(i.h)(t)&&t.length},w=function t(e,n){return e?n&&n(e)?e:t(e.parentElement,n):null},k=function(t,e){return!!w(t,(function(t){return t===e}))},_=function(t,e){let n=0,r=0;do{n+=t.offsetTop||0,r+=t.offsetLeft||0,t=t.offsetParent}while(t&&t!==e);return{top:n,left:r}},S=function(t,e,n){const r=[];return n.forEach((function(n){const o=n.name||n.toString(),a=n.mixin,l=n.validate;if(Object.prototype.hasOwnProperty.call(t,o)){const n=l?l(t[o]):t[o];e[o]=a&&Object(i.l)(n)?s(s({},a),n):n,r.push(o)}})),{target:e,assigned:r.length?r:null}},O=function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)},M=function(t,e,n){t&&e&&t.removeEventListener(e,n,!1)},C=function(t,e){return!!t&&!!e&&(t===e||t.contains(e))},A=function(t,e){" "!==t.key&&"Enter"!==t.key||(e(t),t.preventDefault())},T=function(){function t(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`};function E(t){let e,n=0,r=0;if(0===t.length)return n;for(r=0;r<t.length;r++)e=t.charCodeAt(r),n=(n<<5)-n+e,n|=0;return n}},"2fcc":function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},3092:function(t,e,n){var r=n("4284"),i=n("badf"),o=n("361d"),s=n("6747"),a=n("9aff");function l(t,e,n){var l=s(t)?r:o;return n&&a(t,e,n)&&(e=void 0),l(t,i(e,3))}t.exports=l},"30c9":function(t,e,n){var r=n("9520"),i=n("b218");function o(t){return null!=t&&i(t.length)&&!r(t)}t.exports=o},"32b3":function(t,e,n){var r=n("872a"),i=n("9638"),o=Object.prototype.hasOwnProperty;function s(t,e,n){var s=t[e];o.call(t,e)&&i(s,n)&&(void 0!==n||e in t)||r(t,e,n)}t.exports=s},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32f4":function(t,e,n){var r=n("2d7c"),i=n("d327"),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(e){return o.call(t,e)})))}:i;t.exports=a},"34ac":function(t,e,n){var r=n("9520"),i=n("1368"),o=n("1a8c"),s=n("dc57"),a=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,h=u.hasOwnProperty,f=RegExp("^"+d.call(h).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(t){return!(!o(t)||i(t))&&(r(t)?f:l).test(s(t))}t.exports=p},"34e9":function(t,e,n){"use strict";(function(t){var r=n("bd86"),i=(n("ac6a"),n("2af9")),o=n("ed08");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(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){Object(r.a)(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}function l(t,e){if(l.installed)return;l.installed=!0;const n=o.setupCalendar(e);Object.entries(i).forEach((function([e,r]){t.component(`${n.componentPrefix}${e}`,r)}))}n.d(e,"c",(function(){return i.Calendar})),n.d(e,"d",(function(){return i.CalendarNav})),n.d(e,"f",(function(){return i.DatePicker})),n.d(e,"g",(function(){return i.Grid})),n.d(e,"i",(function(){return i.Popover})),n.d(e,"j",(function(){return i.PopoverRef})),n.d(e,"a",(function(){return o.Attribute})),n.d(e,"b",(function(){return o.AttributeStore})),n.d(e,"e",(function(){return o.DateInfo})),n.d(e,"h",(function(){return o.Locale})),n.d(e,"k",(function(){return o.addHorizontalSwipeHandler})),n.d(e,"l",(function(){return o.addPages})),n.d(e,"m",(function(){return o.addTapOrClickHandler})),n.d(e,"n",(function(){return o.arrayHasItems})),n.d(e,"o",(function(){return o.createGuid})),n.d(e,"p",(function(){return o.datesAreEqual})),n.d(e,"r",(function(){return o.elementContains})),n.d(e,"s",(function(){return o.elementHasAncestor})),n.d(e,"t",(function(){return o.elementPositionInAncestor})),n.d(e,"u",(function(){return o.evalFn})),n.d(e,"v",(function(){return o.findAncestor})),n.d(e,"w",(function(){return o.getMaxPage})),n.d(e,"x",(function(){return o.hash})),n.d(e,"y",(function(){return o.mixinOptionalProps})),n.d(e,"z",(function(){return o.off})),n.d(e,"A",(function(){return o.on})),n.d(e,"B",(function(){return o.onSpaceOrEnter})),n.d(e,"C",(function(){return o.pageForDate})),n.d(e,"D",(function(){return o.pageForNextMonth})),n.d(e,"E",(function(){return o.pageForPrevMonth})),n.d(e,"F",(function(){return o.pageForThisMonth})),n.d(e,"G",(function(){return o.pageIsAfterPage})),n.d(e,"H",(function(){return o.pageIsBeforePage})),n.d(e,"I",(function(){return o.pageIsBetweenPages})),n.d(e,"J",(function(){return o.pageIsEqualToPage})),n.d(e,"K",(function(){return o.pageIsValid})),n.d(e,"L",(function(){return o.setupCalendar}));const c=a(a({install:l},i),o);let u=null;"undefined"!=typeof window?u=window.Vue:void 0!==t&&(u=t.Vue),u&&u.use(c),e.q=c}).call(this,n("c8ba"))},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"361d":function(t,e,n){var r=n("48a0");function i(t,e){var n;return r(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}t.exports=i},3698:function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},3729:function(t,e,n){var r=n("9e69"),i=n("00fd"),o=n("29f3"),s="[object Null]",a="[object Undefined]",l=r?r.toStringTag:void 0;function c(t){return null==t?void 0===t?a:s:l&&l in Object(t)?i(t):o(t)}t.exports=c},"375a":function(t,e,n){var r=n("b20a")((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}));t.exports=r},3818:function(t,e,n){var r=n("7e64"),i=n("8057"),o=n("32b3"),s=n("5b01"),a=n("0f0f"),l=n("e538"),c=n("4359"),u=n("54eb"),d=n("1041"),h=n("a994"),f=n("1bac"),p=n("42a2"),m=n("c87c"),g=n("c2b6"),v=n("fa21"),b=n("6747"),y=n("0d24"),x=n("cc45"),w=n("1a8c"),k=n("d7ee"),_=n("ec69"),S=1,O=2,M=4,C="[object Arguments]",A="[object Array]",T="[object Boolean]",E="[object Date]",D="[object Error]",P="[object Function]",j="[object GeneratorFunction]",L="[object Map]",I="[object Number]",N="[object Object]",R="[object RegExp]",$="[object Set]",B="[object String]",F="[object Symbol]",z="[object WeakMap]",H="[object ArrayBuffer]",Y="[object DataView]",W="[object Float32Array]",V="[object Float64Array]",U="[object Int8Array]",G="[object Int16Array]",X="[object Int32Array]",q="[object Uint8Array]",K="[object Uint8ClampedArray]",J="[object Uint16Array]",Z="[object Uint32Array]",Q={};function tt(t,e,n,A,T,E){var D,L=e&S,I=e&O,R=e&M;if(n&&(D=T?n(t,A,T,E):n(t)),void 0!==D)return D;if(!w(t))return t;var $=b(t);if($){if(D=m(t),!L)return c(t,D)}else{var B=p(t),F=B==P||B==j;if(y(t))return l(t,L);if(B==N||B==C||F&&!T){if(D=I||F?{}:v(t),!L)return I?d(t,a(D,t)):u(t,s(D,t))}else{if(!Q[B])return T?t:{};D=g(t,B,L)}}E||(E=new r);var z=E.get(t);if(z)return z;E.set(t,D),k(t)?t.forEach((function(r){D.add(tt(r,e,n,r,t,E))})):x(t)&&t.forEach((function(r,i){D.set(i,tt(r,e,n,i,t,E))}));var H=R?I?f:h:I?keysIn:_,Y=$?void 0:H(t);return i(Y||t,(function(r,i){Y&&(r=t[i=r]),o(D,i,tt(r,e,n,i,t,E))})),D}Q[C]=Q[A]=Q[H]=Q[Y]=Q[T]=Q[E]=Q[W]=Q[V]=Q[U]=Q[G]=Q[X]=Q[L]=Q[I]=Q[N]=Q[R]=Q[$]=Q[B]=Q[F]=Q[q]=Q[K]=Q[J]=Q[Z]=!0,Q[D]=Q[P]=Q[z]=!1,t.exports=tt},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},3852:function(t,e,n){var r=n("96f3"),i=n("e2c0");function o(t,e){return null!=t&&i(t,e,r)}t.exports=o},"386d":function(t,e,n){"use strict";var r=n("cb7c"),i=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,s){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var a=r(t),l=String(this),c=a.lastIndex;i(c,0)||(a.lastIndex=0);var u=o(a,l);return i(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]}))},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"39ff":function(t,e,n){var r=n("0b07")(n("2b3e"),"WeakMap");t.exports=r},"3b2b":function(t,e,n){var r=n("7726"),i=n("5dbc"),o=n("86cc").f,s=n("9093").f,a=n("aae3"),l=n("0bfb"),c=r.RegExp,u=c,d=c.prototype,h=/a/g,f=/a/g,p=new c(h)!==h;if(n("9e1e")&&(!p||n("79e5")((function(){return f[n("2b4c")("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")})))){c=function(t,e){var n=this instanceof c,r=a(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(p?new u(r&&!o?t.source:t,e):u((r=t instanceof c)?t.source:t,r&&o?l.call(t):e),n?this:d,c)};for(var m=function(t){t in c||o(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},g=s(u),v=0;g.length>v;)m(g[v++]);d.constructor=c,c.prototype=d,n("2aba")(r,"RegExp",c)}n("7a56")("RegExp")},"3b4a":function(t,e,n){var r=n("0b07"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},"3bb4":function(t,e,n){var r=n("08cc"),i=n("ec69");function o(t){for(var e=i(t),n=e.length;n--;){var o=e[n],s=t[o];e[n]=[o,s,r(s)]}return e}t.exports=o},"3d14":function(t,e,n){"use strict";var r=n("c724");n.n(r).a},"3eea":function(t,e,n){var r=n("7948"),i=n("3818"),o=n("4bb5"),s=n("e2e4"),a=n("8eeb"),l=n("e0e7"),c=n("c6cf"),u=n("1bac"),d=1,h=2,f=4,p=c((function(t,e){var n={};if(null==t)return n;var c=!1;e=r(e,(function(e){return e=s(e,t),c||(c=e.length>1),e})),a(t,u(t),n),c&&(n=i(n,d|h|f,l));for(var p=e.length;p--;)o(n,e[p]);return n}));t.exports=p},"3f84":function(t,e,n){var r=n("85e3"),i=n("100e"),o=n("e031"),s=n("2411"),a=i((function(t){return t.push(void 0,o),r(s,void 0,t)}));t.exports=a},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"41c3":function(t,e,n){var r=n("1a8c"),i=n("eac5"),o=n("ec8c"),s=Object.prototype.hasOwnProperty;function a(t){if(!r(t))return o(t);var e=i(t),n=[];for(var a in t)("constructor"!=a||!e&&s.call(t,a))&&n.push(a);return n}t.exports=a},4245:function(t,e,n){var r=n("1290");function i(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}t.exports=i},4284:function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},"42a2":function(t,e,n){var r=n("b5a7"),i=n("79bc"),o=n("1cec"),s=n("c869"),a=n("39ff"),l=n("3729"),c=n("dc57"),u="[object Map]",d="[object Object]",h="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",g=c(r),v=c(i),b=c(o),y=c(s),x=c(a),w=l;(r&&w(new r(new ArrayBuffer(1)))!=m||i&&w(new i)!=u||o&&w(o.resolve())!=h||s&&w(new s)!=f||a&&w(new a)!=p)&&(w=function(t){var e=l(t),n=e==d?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return m;case v:return u;case b:return h;case y:return f;case x:return p}return e}),t.exports=w},4359:function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},4416:function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47f5":function(t,e,n){var r=n("2b03"),i=n("d9a8"),o=n("099a");function s(t,e,n){return e==e?o(t,e,n):r(t,i,n)}t.exports=s},"48a0":function(t,e,n){var r=n("242e"),i=n("950a")(r);t.exports=i},4917:function(t,e,n){"use strict";var r=n("cb7c"),i=n("9def"),o=n("0390"),s=n("5f1b");n("214f")("match",1,(function(t,e,n,a){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var l=r(t),c=String(this);if(!l.global)return s(l,c);var u=l.unicode;l.lastIndex=0;for(var d,h=[],f=0;null!==(d=s(l,c));){var p=String(d[0]);h[f]=p,""===p&&(l.lastIndex=o(c,i(l.lastIndex),u)),f++}return 0===f?null:h}]}))},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,u=function(){},d=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){c=n,d=i||{};var s=r(t,e);return m(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i],l=o[a.id];l.refs--,n.push(l)}for(e?m(s=r(t,e)):s=[],i=0;i<n.length;i++)if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,r=document.querySelector("style["+h+'~="'+t.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=a||(a=g()),e=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=g(),e=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function x(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),d.ssrId&&t.setAttribute(h,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"49e7":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-svg-icon[data-v-63f7b5ec]{display:inline-block;stroke:currentColor;stroke-width:0}.vc-svg-icon path[data-v-63f7b5ec]{fill:currentColor}",""])},"49f4":function(t,e,n){var r=n("6044");function i(){this.__data__=r?r(null):{},this.size=0}t.exports=i},"4bb5":function(t,e,n){var r=n("e2e4"),i=n("4416"),o=n("8296"),s=n("f4d6");function a(t,e){return e=r(e,t),null==(t=o(t,e))||delete t[s(i(e))]}t.exports=a},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4caa":function(t,e,n){var r=n("a919"),i=n("76dd"),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function a(t){return(t=i(t))&&t.replace(o,r).replace(s,"")}t.exports=a},"4cfe":function(t,e){function n(t){return void 0===t}t.exports=n},"4d8c":function(t,e,n){var r=n("5c69");function i(t){return null!=t&&t.length?r(t,1):[]}t.exports=i},"4f50":function(t,e,n){var r=n("b760"),i=n("e538"),o=n("c8fe"),s=n("4359"),a=n("fa21"),l=n("d370"),c=n("6747"),u=n("dcbe"),d=n("0d24"),h=n("9520"),f=n("1a8c"),p=n("60ed"),m=n("73ac"),g=n("8adb"),v=n("8de2");function b(t,e,n,b,y,x,w){var k=g(t,n),_=g(e,n),S=w.get(_);if(S)r(t,n,S);else{var O=x?x(k,_,n+"",t,e,w):void 0,M=void 0===O;if(M){var C=c(_),A=!C&&d(_),T=!C&&!A&&m(_);O=_,C||A||T?c(k)?O=k:u(k)?O=s(k):A?(M=!1,O=i(_,!0)):T?(M=!1,O=o(_,!0)):O=[]:p(_)||l(_)?(O=k,l(k)?O=v(k):f(k)&&!h(k)||(O=a(_))):M=!1}M&&(w.set(_,O),y(O,_,b,x,w),w.delete(_)),r(t,n,O)}}t.exports=b},"501e":function(t,e,n){var r=n("3729"),i=n("1310"),o="[object Number]";function s(t){return"number"==typeof t||i(t)&&r(t)==o}t.exports=s},"50d8":function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},"51ec":function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return p}));var r=n("8bbf"),i=n.n(r),o=n("9404"),s=n("23a5"),a=n("7efe"),l=n("85a9"),c=n("5ca5"),u=n("f15d");const d={componentPrefix:"v",navVisibility:"click",titlePosition:"center",transition:"slide-h",touch:s,masks:a,screens:l,theme:c.a,locales:u.a,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",keepVisibleOnInput:!1}}};let h=null;const f=function(t){return h||(h=new i.a({data:()=>({defaults:Object(o.c)(t,d)}),computed:{locales(){var t=this;return Object(o.q)(this.defaults.locales,(function(e){return e.masks=Object(o.c)(e.masks,t.defaults.masks),e}))}}})),h.defaults},p={beforeCreate(){f()},computed:{$defaults:()=>h.defaults,$locales:()=>h.locales}}},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a="lastIndex",l=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[a]||0!==e[a]}(),c=void 0!==/()??/.exec("")[1];(l||c)&&(s=function(t){var e,n,s,u,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",r.call(d))),l&&(e=d[a]),s=i.call(d,t),l&&s&&(d[a]=d.global?s.index+s[0].length:e),c&&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},"54eb":function(t,e,n){var r=n("8eeb"),i=n("32f4");function o(t,e){return r(t,i(t),e)}t.exports=o},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"55a3":function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},"57a5":function(t,e,n){var r=n("91e9")(Object.keys,Object);t.exports=r},"584a":function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},"585a":function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("c8ba"))},"5b01":function(t,e,n){var r=n("8eeb"),i=n("ec69");function o(t,e){return t&&r(e,i(e),t)}t.exports=o},"5c69":function(t,e,n){var r=n("087d"),i=n("0621");function o(t,e,n,s,a){var l=-1,c=t.length;for(n||(n=i),a||(a=[]);++l<c;){var u=t[l];e>0&&n(u)?e>1?o(u,e-1,n,s,a):r(a,u):s||(a[a.length]=u)}return a}t.exports=o},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),l="prototype",c=function(t,e,n){var u,d,h,f,p=t&c.F,m=t&c.G,g=t&c.S,v=t&c.P,b=t&c.B,y=m?r:g?r[e]||(r[e]={}):(r[e]||{})[l],x=m?i:i[e]||(i[e]={}),w=x[l]||(x[l]={});for(u in m&&(n=e),n)h=((d=!p&&y&&void 0!==y[u])?y:n)[u],f=b&&d?a(h,r):v&&"function"==typeof h?a(Function.call,h):h,y&&s(y,u,h,t&c.U),x[u]!=h&&o(x,u,f),v&&w[u]!=h&&(w[u]=h)};r.core=i,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},"5ca5":function(t,e,n){"use strict";e.a={color:"blue",isDark:!1,container:{light:"vc-text-gray-900 vc-bg-white vc-border vc-border-gray-400 vc-rounded-lg",dark:"vc-text-gray-200 vc-bg-gray-900 vc-border vc-border-gray-700 vc-rounded-lg"},header:{light:"vc-text-gray-900",dark:"vc-text-gray-200"},title:{light:"vc-text-lg vc-text-gray-800 vc-font-semibold hover:vc-opacity-75",dark:"vc-text-lg vc-text-gray-100 vc-font-semibold hover:vc-opacity-75"},arrows:{light:"vc-text-gray-600 vc-rounded vc-border-2 vc-border-transparent hover:vc-opacity-50 hover:vc-bg-gray-300 focus:vc-border-gray-300",dark:"vc-text-white vc-rounded vc-border-2 vc-border-transparent hover:vc-opacity-50 focus:vc-border-gray-700"},weekdays:{light:"vc-text-sm vc-font-bold vc-text-gray-500",dark:"vc-text-sm vc-font-bold vc-text-{color}-200"},navPopoverContainer:{light:"vc-rounded-lg vc-text-sm vc-font-semibold vc-text-white vc-bg-gray-800 vc-border vc-border-gray-700 vc-p-1 vc-shadow",dark:"vc-rounded-lg vc-text-sm vc-font-semibold vc-text-gray-800 vc-bg-white vc-border vc-border-gray-100 vc-p-1 vc-shadow"},navTitle:{light:"vc-text-{color}-100 vc-font-bold vc-leading-snug vc-px-2 vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-900 focus:vc-border-{color}-600",dark:"vc-text-gray-900 vc-font-bold vc-leading-snug vc-px-2 vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-200 focus:vc-border-{color}-400"},navArrows:{light:"vc-leading-snug vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-900 focus:vc-border-{color}-600",dark:"vc-leading-snug vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-200 focus:vc-border-{color}-400"},navCell:{light:"vc-w-12 vc-font-semibold vc-cursor-pointer vc-text-center vc-leading-snug vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-900 hover:vc-shadow-inner hover:vc-text-white focus:vc-border-{color}-600",dark:"vc-w-12 vc-font-semibold vc-cursor-pointer vc-text-center vc-leading-snug vc-py-1 vc-rounded vc-border-2 vc-border-transparent hover:vc-bg-gray-200 hover:vc-text-gray-900 focus:vc-border-{color}-400"},navCellInactive:"vc-border-transparent",navCellInactiveCurrent:{light:"vc-text-{color}-100 vc-font-bold vc-border-{color}-100",dark:"vc-text-{color}-600 vc-font-bold vc-border-{color}-500"},navCellActive:{light:"vc-bg-{color}-100 vc-text-{color}-900 vc-border-transparent vc-font-bold vc-shadow",dark:"vc-bg-{color}-500 vc-text-white vc-border-transparent vc-font-bold vc-shadow"},dayNotInMonth:"vc-opacity-0 vc-pointer-events-none",dayContent:"vc-font-medium vc-text-sm vc-cursor-pointer focus:vc-font-bold vc-rounded-full",dayContentDisabled:{light:"vc-text-gray-400",dark:"vc-text-gray-600"},dayPopoverContainer:{light:"vc-rounded vc-text-xs vc-text-white vc-font-medium vc-bg-gray-800 vc-border vc-border-gray-700 vc-px-2 vc-py-1 vc-shadow",dark:"vc-rounded vc-text-xs vc-text-gray-900 vc-font-medium vc-bg-white vc-border vc-border-gray-200 vc-px-2 vc-py-1 vc-shadow"},dayPopoverHeader:{light:"vc-text-xs vc-text-gray-300 vc-font-semibold",dark:"vc-text-xs vc-text-gray-700 vc-font-semibold"},highlightBaseFillMode:"light",highlightStartEndFillMode:"solid",highlightStartEndClass:"vc-rounded-full",bgLow:{light:"vc-bg-white vc-border-2 vc-border-{color}-700",dark:"vc-bg-gray-900 vc-border-2 vc-border-{color}-200"},bgAccentLow:{light:"vc-bg-{color}-200",dark:"vc-bg-{color}-800 vc-opacity-75"},bgAccentHigh:{light:"vc-bg-{color}-600",dark:"vc-bg-{color}-500"},contentAccent:{light:"vc-font-bold vc-text-{color}-900",dark:"vc-font-bold vc-text-{color}-100"},contentAccentContrast:"vc-font-bold vc-text-white",datePickerInput:"vc-appearance-none vc-text-base vc-text-gray-800 vc-bg-white vc-border vc-border-gray-400 vc-rounded vc-w-full vc-py-2 vc-px-3 vc-leading-tight focus:vc-outline-none focus:vc-shadow",datePickerInputDrag:"vc-appearance-none vc-text-base vc-text-gray-500 vc-bg-white vc-border vc-border-gray-400 vc-rounded vc-w-full vc-py-2 vc-px-3 vc-leading-tight focus:vc-outline-none focus:vc-shadow"}},"5cab":function(t,e,n){var r=n("961c");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("bce10684",r,!0,{sourceMap:!1,shadowMode:!1})},"5d89":function(t,e,n){var r=n("f8af");function i(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}t.exports=i},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5e2e":function(t,e,n){var r=n("28c9"),i=n("69d5"),o=n("b4c0"),s=n("fba5"),a=n("67ca");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},"5edf":function(t,e){function n(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}t.exports=n},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=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"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"5fa8":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,"[data-v-56ae83be] .vc-container{border:none}",""])},6044:function(t,e,n){var r=n("0b07")(Object,"create");t.exports=r},"60ed":function(t,e,n){var r=n("3729"),i=n("2dcb"),o=n("1310"),s="[object Object]",a=Function.prototype,l=Object.prototype,c=a.toString,u=l.hasOwnProperty,d=c.call(Object);function h(t){if(!o(t)||r(t)!=s)return!1;var e=i(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}t.exports=h},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},6220:function(t,e,n){var r=n("b1d2"),i=n("b047"),o=n("99d3"),s=o&&o.isDate,a=s?i(s):r;t.exports=a},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},6300:function(t,e,n){var r=n("5fa8");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("896f0928",r,!0,{sourceMap:!1,shadowMode:!1})},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),l="prototype",c=function(t,e,n){var u,d,h,f=t&c.F,p=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,b=t&c.W,y=p?i:i[e]||(i[e]={}),x=y[l],w=p?r:m?r[e]:(r[e]||{})[l];for(u in p&&(n=e),n)(d=!f&&w&&void 0!==w[u])&&a(y,u)||(h=d?w[u]:n[u],y[u]=p&&"function"!=typeof w[u]?n[u]:v&&d?o(h,r):b&&w[u]==h?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[u]=h,t&c.R&&x&&!x[u]&&s(x,u,h)))};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},"642a":function(t,e,n){var r=n("966f"),i=n("3bb4"),o=n("20ec");function s(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}t.exports=s},"656b":function(t,e,n){var r=n("e2e4"),i=n("f4d6");function o(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}t.exports=o},6679:function(t,e,n){var r=n("3729"),i=n("1310"),o="[object Boolean]";function s(t){return!0===t||!1===t||i(t)&&r(t)==o}t.exports=s},6747:function(t,e){var n=Array.isArray;t.exports=n},"67ca":function(t,e,n){var r=n("cb5a");function i(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}t.exports=i},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"694d":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-container{--slide-translate:22px;--slide-duration:0.15s;--slide-timing:ease;--header-padding:10px 10px 0 10px;--title-padding:0 8px;--arrows-padding:8px 10px;--arrow-font-size:26px;--weekday-padding:5px 0;--weeks-padding:5px 6px 7px 6px;--nav-container-width:170px;--day-min-height:28px;--day-content-width:28px;--day-content-height:28px;--day-content-margin:1.6px auto;--day-content-transition-time:0.13s ease-in;--day-content-bg-color-hover:rgba(204,214,224,0.3);--day-content-dark-bg-color-hover:rgba(114,129,151,0.3);--day-content-bg-color-focus:rgba(204,214,224,0.4);--day-content-dark-bg-color-focus:rgba(114,129,151,0.4);--highlight-height:28px;--dot-diameter:5px;--dot-border-radius:50%;--dot-spacing:3px;--bar-height:3px;--bars-width:75%;font-family:BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:relative;width:-webkit-max-content;width:max-content;-webkit-tap-highlight-color:transparent}.vc-arrows-container{width:100%;position:absolute;top:0;display:flex;justify-content:space-between;padding:var(--arrows-padding);pointer-events:none}.vc-arrows-container.title-left{justify-content:flex-end}.vc-arrows-container.title-right{justify-content:flex-start}",""])},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d5":function(t,e,n){var r=n("cb5a"),i=Array.prototype.splice;function o(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}t.exports=o},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6ac0":function(t,e){function n(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}t.exports=n},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],l=function(t){n("2aba")(RegExp.prototype,s,t,!0)};n("79e5")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):a.name!=s&&l((function(){return a.call(this)}))},"6da8":function(t,e){function n(t){return t.split("")}t.exports=n},"6f6a":function(t,e,n){var r=n("ee59");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("5ac13234",r,!0,{sourceMap:!1,shadowMode:!1})},"6f6c":function(t,e){var n=/\w*$/;function r(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}t.exports=r},"6fcd":function(t,e,n){var r=n("50d8"),i=n("d370"),o=n("6747"),s=n("0d24"),a=n("c098"),l=n("73ac"),c=Object.prototype.hasOwnProperty;function u(t,e){var n=o(t),u=!n&&i(t),d=!n&&!u&&s(t),h=!n&&!u&&!d&&l(t),f=n||u||d||h,p=f?r(t.length,String):[],m=p.length;for(var g in t)!e&&!c.call(t,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||p.push(g);return p}t.exports=u},"72af":function(t,e,n){var r=n("99cd")();t.exports=r},"72f0":function(t,e){function n(t){return function(){return t}}t.exports=n},7365:function(t,e,n){"use strict";var r=n("87e8");n.n(r).a},"73ac":function(t,e,n){var r=n("743f"),i=n("b047"),o=n("99d3"),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},"743f":function(t,e,n){var r=n("3729"),i=n("b218"),o=n("1310"),s="[object Arguments]",a="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",h="[object Map]",f="[object Number]",p="[object Object]",m="[object RegExp]",g="[object Set]",v="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",x="[object DataView]",w="[object Float64Array]",k="[object Int8Array]",_="[object Int16Array]",S="[object Int32Array]",O="[object Uint8Array]",M="[object Uint8ClampedArray]",C="[object Uint16Array]",A="[object Uint32Array]",T={};function E(t){return o(t)&&i(t.length)&&!!T[r(t)]}T["[object Float32Array]"]=T[w]=T[k]=T[_]=T[S]=T[O]=T[M]=T[C]=T[A]=!0,T[s]=T[a]=T[y]=T[l]=T[x]=T[c]=T[u]=T[d]=T[h]=T[f]=T[p]=T[m]=T[g]=T[v]=T[b]=!1,t.exports=E},"750a":function(t,e,n){var r=n("c869"),i=n("bcdf"),o=n("ac41"),s=1/0,a=r&&1/o(new r([,-0]))[1]==s?function(t){return new r(t)}:i;t.exports=a},7530:function(t,e,n){var r=n("1a8c"),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},7559:function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function r(t){return t.match(n)||[]}t.exports=r},"76dd":function(t,e,n){var r=n("ce86");function i(t){return null==t?"":r(t)}t.exports=i},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 r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},7948:function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}t.exports=n},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79bc":function(t,e,n){var r=n("0b07")(n("2b3e"),"Map");t.exports=r},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7a48":function(t,e,n){var r=n("6044"),i=Object.prototype.hasOwnProperty;function o(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}t.exports=o},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},"7b83":function(t,e,n){var r=n("7c64"),i=n("93ed"),o=n("2478"),s=n("a524"),a=n("1fc8");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},"7b97":function(t,e,n){var r=n("7e64"),i=n("a2be"),o=n("1c3c"),s=n("b1e5"),a=n("42a2"),l=n("6747"),c=n("0d24"),u=n("73ac"),d=1,h="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;function g(t,e,n,g,v,b){var y=l(t),x=l(e),w=y?f:a(t),k=x?f:a(e),_=(w=w==h?p:w)==p,S=(k=k==h?p:k)==p,O=w==k;if(O&&c(t)){if(!c(e))return!1;y=!0,_=!1}if(O&&!_)return b||(b=new r),y||u(t)?i(t,e,n,g,v,b):o(t,e,w,n,g,v,b);if(!(n&d)){var M=_&&m.call(t,"__wrapped__"),C=S&&m.call(e,"__wrapped__");if(M||C){var A=M?t.value():t,T=C?e.value():e;return b||(b=new r),v(A,T,n,g,b)}}return!!O&&(b||(b=new r),s(t,e,n,g,v,b))}t.exports=g},"7c64":function(t,e,n){var r=n("e24b"),i=n("5e2e"),o=n("79bc");function s(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}t.exports=s},"7d1f":function(t,e,n){var r=n("087d"),i=n("6747");function o(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}t.exports=o},"7e64":function(t,e,n){var r=n("5e2e"),i=n("efb6"),o=n("2fcc"),s=n("802a"),a=n("55a3"),l=n("d02c");function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,t.exports=c},"7e8e":function(t,e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function r(t){return n.test(t)}t.exports=r},"7ed2":function(t,e){var n="__lodash_hash_undefined__";function r(t){return this.__data__.set(t,n),this}t.exports=r},"7efe":function(t){t.exports=JSON.parse('{"title":"MMMM YYYY","weekdays":"W","navMonths":"MMM","input":["L","YYYY-MM-DD","YYYY/MM/DD"],"dayPopover":"WWW, MMM D, YYYY","data":["L","YYYY-MM-DD","YYYY/MM/DD"]}')},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"802a":function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},8057:function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}t.exports=n},8103:function(t,e,n){var r=n("d194")("toUpperCase");t.exports=r},8296:function(t,e,n){var r=n("656b"),i=n("2b10");function o(t,e){return e.length<2?t:r(t,i(e,0,-1))}t.exports=o},8378:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},8384:function(t,e){function n(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}t.exports=n},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},"84f2":function(t,e){t.exports={}},"85a9":function(t){t.exports=JSON.parse('{"sm":"640px","md":"768px","lg":"1024px","xl":"1280px"}')},"85e3":function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},"85f2":function(t,e,n){t.exports=n("454f")},8604:function(t,e,n){var r=n("26e8"),i=n("e2c0");function o(t,e){return null!=t&&i(t,e,r)}t.exports=o},"86aa":function(t,e,n){"use strict";var r=n("9349");n.n(r).a},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},"872a":function(t,e,n){var r=n("3b4a");function i(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}t.exports=i},"87e8":function(t,e,n){var r=n("c631");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("475a7ea0",r,!0,{sourceMap:!1,shadowMode:!1})},"89d9":function(t,e,n){var r=n("656b"),i=n("159a"),o=n("e2e4");function s(t,e,n){for(var s=-1,a=e.length,l={};++s<a;){var c=e[s],u=r(t,c);n(u,c)&&i(l,o(c,t),u)}return l}t.exports=s},"8adb":function(t,e){function n(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}t.exports=n},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8bbf":function(t,e){t.exports=r},"8c86":function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",(function(){return r}))},"8db3":function(t,e,n){var r=n("47f5");function i(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}t.exports=i},"8de2":function(t,e,n){var r=n("8eeb"),i=n("9934");function o(t){return r(t,i(t))}t.exports=o},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8eeb":function(t,e,n){var r=n("32b3"),i=n("872a");function o(t,e,n,o){var s=!n;n||(n={});for(var a=-1,l=e.length;++a<l;){var c=e[a],u=o?o(n[c],t[c],c,n,t):void 0;void 0===u&&(u=t[c]),s?i(n,c,u):r(n,c,u)}return n}t.exports=o},9010:function(t,e,n){"use strict";var r=n("9740");n.n(r).a},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"91e9":function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},9349:function(t,e,n){var r=n("b6dd");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("f4e80066",r,!0,{sourceMap:!1,shadowMode:!1})},93495:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("bd86"),i=(n("6b54"),n("ac6a"),n("22f3")),o=n("2fa3");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(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){Object(r.a)(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}class l{constructor(t,e,n){this.theme=t,this.locale=e,this.map={},this.refresh(n,!0)}refresh(t,e){var n=this;const r={},s=[];let l=null;const c=[],u=e?new Set:new Set(Object.keys(this.map));return Object(o.b)(t)&&t.forEach((function(t,d){if(!t||!t.dates)return;const h=t.key?t.key.toString():d.toString(),f=t.order||0,p=Object(o.k)(JSON.stringify(t));let m=n.map[h];!e&&m&&m.hashcode===p?u.delete(h):(m=new i.a(a({key:h,order:f,hashcode:p},t),n.theme,n.locale),c.push(m)),m&&m.pinPage&&(l=m),r[h]=m,s.push(m)})),this.map=r,this.list=s,this.pinAttr=l,{adds:c,deletes:Array.from(u)}}}},"93ed":function(t,e,n){var r=n("4245");function i(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}t.exports=i},9404:function(t,e,n){"use strict";n.d(e,"i",(function(){return U})),n.d(e,"l",(function(){return G})),n.d(e,"e",(function(){return X})),n.d(e,"f",(function(){return q})),n.d(e,"t",(function(){return K})),n("6b54"),n("6679");var r=n("501e"),i=n.n(r);n.d(e,"k",(function(){return i.a}));var o=n("e2a0"),s=n.n(o);n.d(e,"m",(function(){return s.a}));var a=n("dcbe"),l=n.n(a);n.d(e,"h",(function(){return l.a}));var c=n("9520"),u=n.n(c);n.d(e,"j",(function(){return u.a}));var d=n("4cfe"),h=n.n(d);n.d(e,"n",(function(){return h.a})),n("2768");var f=n("6220"),p=n.n(f),m=n("f678"),g=n.n(m);n.d(e,"a",(function(){return g.a})),n("375a"),n("e9a7");var v=n("8103"),b=n.n(v);n.d(e,"w",(function(){return b.a}));var y=n("9b02"),x=n.n(y);n.d(e,"d",(function(){return x.a}));var w=n("0f5c"),k=n.n(w);n.d(e,"s",(function(){return k.a}));var _=n("9e86"),S=n.n(_);n.d(e,"q",(function(){return S.a}));var O=n("f542"),M=n.n(O);n.d(e,"u",(function(){return M.a}));var C=n("95ae"),A=n.n(C);n.d(e,"b",(function(){return A.a}));var T=n("3f84"),E=n.n(T);n.d(e,"c",(function(){return E.a})),n("2593");var D=n("3eea"),P=n.n(D);n.d(e,"r",(function(){return P.a}));var j=n("3852"),L=n.n(j),I=n("dd61"),N=n.n(I);n.d(e,"p",(function(){return N.a}));var R=n("a59b"),$=n.n(R);n.d(e,"g",(function(){return $.a}));var B=n("4416"),F=n.n(B);n.d(e,"o",(function(){return F.a}));var z=n("eed6"),H=n.n(z);n.d(e,"v",(function(){return H.a}));var Y=n("3092"),W=n.n(Y);const V=function(t){return Object.prototype.toString.call(t).slice(8,-1)},U=function(t){return p()(t)&&!isNaN(t.getTime())},G=function(t){return"Object"===V(t)},X=L.a,q=function(t,e){return W()(e,(function(e){return L()(t,e)}))},K=W.a},"950a":function(t,e,n){var r=n("30c9");function i(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,s=e?o:-1,a=Object(n);(e?s--:++s<o)&&!1!==i(a[s],s,a););return n}}t.exports=i},9520:function(t,e,n){var r=n("3729"),i=n("1a8c"),o="[object AsyncFunction]",s="[object Function]",a="[object GeneratorFunction]",l="[object Proxy]";function c(t){if(!i(t))return!1;var e=r(t);return e==s||e==a||e==o||e==l}t.exports=c},"95ae":function(t,e,n){var r=n("100e"),i=n("9638"),o=n("9aff"),s=n("9934"),a=Object.prototype,l=a.hasOwnProperty,c=r((function(t,e){t=Object(t);var n=-1,r=e.length,c=r>2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n<r;)for(var u=e[n],d=s(u),h=-1,f=d.length;++h<f;){var p=d[h],m=t[p];(void 0===m||i(m,a[p])&&!l.call(t,p))&&(t[p]=u[p])}return t}));t.exports=c},"961c":function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-day[data-v-2aac4f42]{position:relative;min-height:var(--day-min-height);width:100%;height:100%;z-index:1}.vc-day-layer[data-v-2aac4f42]{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}.vc-day-box-center-center[data-v-2aac4f42]{display:flex;justify-content:center;align-items:center;height:100%;transform-origin:50% 50%}.vc-day-box-left-center[data-v-2aac4f42]{display:flex;justify-content:flex-start;align-items:center;height:100%;transform-origin:0 50%}.vc-day-box-right-center[data-v-2aac4f42]{display:flex;justify-content:flex-end;align-items:center;height:100%;transform-origin:100% 50%}.vc-day-box-center-bottom[data-v-2aac4f42]{display:flex;justify-content:center;align-items:flex-end}.vc-day-content[data-v-2aac4f42]{display:flex;justify-content:center;align-items:center;width:var(--day-content-width);height:var(--day-content-height);margin:var(--day-content-margin);-webkit-user-select:none;-ms-user-select:none;user-select:none}.vc-day-content[data-v-2aac4f42]:hover{background-color:var(--day-content-bg-color-hover)}.vc-day-content:hover.vc-is-dark[data-v-2aac4f42]{background-color:var(--day-content-dark-bg-color-hover)}.vc-day-content[data-v-2aac4f42]:focus{background-color:var(--day-content-bg-color-focus)}.vc-day-content:focus.vc-is-dark[data-v-2aac4f42]{background-color:var(--day-content-dark-bg-color-focus)}.vc-highlights[data-v-2aac4f42]{overflow:hidden;pointer-events:none;z-index:-1}.vc-highlight[data-v-2aac4f42]{width:var(--highlight-height);height:var(--highlight-height)}.vc-highlight.vc-highlight-base-start[data-v-2aac4f42]{width:50%!important;border-radius:0!important;border-right-width:0!important}.vc-highlight.vc-highlight-base-end[data-v-2aac4f42]{width:50%!important;border-radius:0!important;border-left-width:0!important}.vc-highlight.vc-highlight-base-middle[data-v-2aac4f42]{width:100%;border-radius:0!important;border-left-width:0!important;border-right-width:0!important;margin:0 -1px}.vc-dots[data-v-2aac4f42]{display:flex;justify-content:center;align-items:center}.vc-dot[data-v-2aac4f42]{width:var(--dot-diameter);height:var(--dot-diameter);border-radius:var(--dot-border-radius);transition:all var(--day-content-transition-time)}.vc-dot[data-v-2aac4f42]:not(:last-child){margin-right:var(--dot-spacing)}.vc-bars[data-v-2aac4f42]{display:flex;justify-content:flex-start;align-items:center;width:var(--bars-width)}.vc-bar[data-v-2aac4f42]{flex-grow:1;height:var(--bar-height);transition:all var(--day-content-transition-time)}",""])},9638:function(t,e){function n(t,e){return t===e||t!=t&&e!=e}t.exports=n},"966f":function(t,e,n){var r=n("7e64"),i=n("c05f"),o=1,s=2;function a(t,e,n,a){var l=n.length,c=l,u=!a;if(null==t)return!c;for(t=Object(t);l--;){var d=n[l];if(u&&d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}for(;++l<c;){var h=(d=n[l])[0],f=t[h],p=d[1];if(u&&d[2]){if(void 0===f&&!(h in t))return!1}else{var m=new r;if(a)var g=a(f,p,h,t,e,m);if(!(void 0===g?i(p,f,o|s,a,m):g))return!1}}return!0}t.exports=a},"96f3":function(t,e){var n=Object.prototype.hasOwnProperty;function r(t,e){return null!=t&&n.call(t,e)}t.exports=r},9740:function(t,e,n){var r=n("49e7");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("90070284",r,!0,{sourceMap:!1,shadowMode:!1})},"97d3":function(t,e,n){var r=n("48a0"),i=n("30c9");function o(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}t.exports=o},9934:function(t,e,n){var r=n("6fcd"),i=n("41c3"),o=n("30c9");function s(t){return o(t)?r(t,!0):i(t)}t.exports=s},"998b":function(t,e,n){"use strict";var r=n("1349");n.n(r).a},"99cd":function(t,e){function n(t){return function(e,n,r){for(var i=-1,o=Object(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===n(o[l],l,o))break}return e}}t.exports=n},"99d3":function(t,e,n){(function(t){var r=n("585a"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a}).call(this,n("62e4")(t))},"9aff":function(t,e,n){var r=n("9638"),i=n("30c9"),o=n("c098"),s=n("1a8c");function a(t,e,n){if(!s(n))return!1;var a=typeof e;return!!("number"==a?i(n)&&o(e,n.length):"string"==a&&e in n)&&r(n[e],t)}t.exports=a},"9b02":function(t,e,n){var r=n("656b");function i(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}t.exports=i},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;null==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9e69":function(t,e,n){var r=n("2b3e").Symbol;t.exports=r},"9e86":function(t,e,n){var r=n("872a"),i=n("242e"),o=n("badf");function s(t,e){var n={};return e=o(e,3),i(t,(function(t,i,o){r(n,i,e(t,i,o))})),n}t.exports=s},a029:function(t,e,n){var r=n("087d"),i=n("2dcb"),o=n("32f4"),s=n("d327"),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:s;t.exports=a},a2be:function(t,e,n){var r=n("d612"),i=n("4284"),o=n("c584"),s=1,a=2;function l(t,e,n,l,c,u){var d=n&s,h=t.length,f=e.length;if(h!=f&&!(d&&f>h))return!1;var p=u.get(t);if(p&&u.get(e))return p==e;var m=-1,g=!0,v=n&a?new r:void 0;for(u.set(t,e),u.set(e,t);++m<h;){var b=t[m],y=e[m];if(l)var x=d?l(y,b,m,e,t,u):l(b,y,m,t,e,u);if(void 0!==x){if(x)continue;g=!1;break}if(v){if(!i(e,(function(t,e){if(!o(v,e)&&(b===t||c(b,t,n,l,u)))return v.push(e)}))){g=!1;break}}else if(b!==y&&!c(b,y,n,l,u)){g=!1;break}}return u.delete(t),u.delete(e),g}t.exports=l},a2db:function(t,e,n){var r=n("9e69"),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;function s(t){return o?Object(o.call(t)):{}}t.exports=s},a3fd:function(t,e,n){var r=n("7948");function i(t,e){return r(e,(function(e){return[e,t[e]]}))}t.exports=i},a454:function(t,e,n){var r=n("72f0"),i=n("3b4a"),o=n("cd9d"),s=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=s},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,h=/\$([$&`']|\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,m){return[function(r,i){var o=t(this),s=null==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=m(n,t,this,e);if(i.done)return i.value;var d=r(t),h=String(this),f="function"==typeof e;f||(e=String(e));var v=d.global;if(v){var b=d.unicode;d.lastIndex=0}for(var y=[];;){var x=l(d,h);if(null===x)break;if(y.push(x),!v)break;""===String(x[0])&&(d.lastIndex=a(h,o(d.lastIndex),b))}for(var w="",k=0,_=0;_<y.length;_++){x=y[_];for(var S=String(x[0]),O=c(u(s(x.index),h.length),0),M=[],C=1;C<x.length;C++)M.push(p(x[C]));var A=x.groups;if(f){var T=[S].concat(M,O,h);void 0!==A&&T.push(A);var E=String(e.apply(void 0,T))}else E=g(S,h,O,M,A,e);O>=k&&(w+=h.slice(k,O)+E,k=O+S.length)}return w+h.slice(k)}];function g(t,e,r,o,s,a){var l=r+t.length,c=o.length,u=f;return void 0!==s&&(s=i(s),u=h),n.call(a,u,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":a=s[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>c){var h=d(u/10);return 0===h?n:h<=c?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}a=o[u-1]}return void 0===a?"":a}))}}))},a524:function(t,e,n){var r=n("4245");function i(t){return r(this,t).has(t)}t.exports=i},a59b:function(t,e){function n(t){return t&&t.length?t[0]:void 0}t.exports=n},a919:function(t,e,n){var r=n("ddc6")({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"});t.exports=r},a994:function(t,e,n){var r=n("7d1f"),i=n("32f4"),o=n("ec69");function s(t){return r(t,o,i)}t.exports=s},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},aaec:function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function r(t){return n.test(t)}t.exports=r},ac41:function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}t.exports=n},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),d=c("toStringTag"),h=l.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=i(f),m=0;m<p.length;m++){var g,v=p[m],b=f[v],y=s[v],x=y&&y.prototype;if(x&&(x[u]||a(x,u,h),x[d]||a(x,d,v),l[v]=h,b))for(g in r)x[g]||o(x,g,r[g],!0)}},aeb4:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-pane[data-v-4a5f2beb]{flex-grow:1;flex-shrink:1;display:flex;flex-direction:column;justify-content:center;align-items:stretch}.vc-horizontal-divider[data-v-4a5f2beb]{align-self:center}.vc-header[data-v-4a5f2beb]{flex-shrink:0;display:flex;align-items:stretch;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding:var(--header-padding)}.vc-header.align-left[data-v-4a5f2beb]{order:-1;justify-content:flex-start}.vc-header.align-right[data-v-4a5f2beb]{order:1;justify-content:flex-end}.vc-title-layout[data-v-4a5f2beb]{display:flex;justify-content:center;align-items:center;flex-grow:1}.vc-title-layout.align-left[data-v-4a5f2beb]{justify-content:flex-start}.vc-title-layout.align-right[data-v-4a5f2beb]{justify-content:flex-end}.vc-title-wrapper[data-v-4a5f2beb]{position:relative}.vc-title[data-v-4a5f2beb]{cursor:pointer;white-space:nowrap;padding:var(--title-padding)}.vc-title[data-v-4a5f2beb],.vc-weekday[data-v-4a5f2beb]{-webkit-user-select:none;-ms-user-select:none;user-select:none}.vc-weekday[data-v-4a5f2beb]{display:flex;justify-content:center;align-items:center;flex:1;padding:var(--weekday-padding);cursor:default}.vc-weeks[data-v-4a5f2beb]{flex-shrink:1;flex-grow:1;padding:var(--weeks-padding)}",""])},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b047:function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b1d2:function(t,e,n){var r=n("3729"),i=n("1310"),o="[object Date]";function s(t){return i(t)&&r(t)==o}t.exports=s},b1e5:function(t,e,n){var r=n("a994"),i=1,o=Object.prototype.hasOwnProperty;function s(t,e,n,s,a,l){var c=n&i,u=r(t),d=u.length;if(d!=r(e).length&&!c)return!1;for(var h=d;h--;){var f=u[h];if(!(c?f in e:o.call(e,f)))return!1}var p=l.get(t);if(p&&l.get(e))return p==e;var m=!0;l.set(t,e),l.set(e,t);for(var g=c;++h<d;){var v=t[f=u[h]],b=e[f];if(s)var y=c?s(b,v,f,e,t,l):s(v,b,f,t,e,l);if(!(void 0===y?v===b||a(v,b,n,s,l):y)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(t),l.delete(e),m}t.exports=s},b20a:function(t,e,n){var r=n("6ac0"),i=n("4caa"),o=n("ea72"),s=RegExp("['’]","g");function a(t){return function(e){return r(o(i(e).replace(s,"")),t,"")}}t.exports=a},b218:function(t,e){var n=9007199254740991;function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}t.exports=r},b4b0:function(t,e,n){var r=n("1a8c"),i=n("ffd6"),o=NaN,s=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function d(t){if("number"==typeof t)return t;if(i(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var n=l.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?o:+t}t.exports=d},b4c0:function(t,e,n){var r=n("cb5a");function i(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}t.exports=i},b5a7:function(t,e,n){var r=n("0b07")(n("2b3e"),"DataView");t.exports=r},b6dd:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,'.vc-popover-content-wrapper[data-v-7605e1b2]{--popover-horizontal-content-offset:8px;--popover-vertical-content-offset:10px;--popover-slide-translation:15px;--popover-transition-time:0.14s ease-in-out;--popover-caret-horizontal-offset:18px;--popover-caret-vertical-offset:8px;position:absolute;display:block;outline:none;z-index:10}.vc-popover-content-wrapper[data-v-7605e1b2]:not(.is-interactive){pointer-events:none}.vc-popover-content[data-v-7605e1b2]{position:relative;outline:none;z-index:10}.vc-popover-content.direction-bottom[data-v-7605e1b2]{margin-top:var(--popover-vertical-content-offset)}.vc-popover-content.direction-top[data-v-7605e1b2]{margin-bottom:var(--popover-vertical-content-offset)}.vc-popover-content.direction-left[data-v-7605e1b2]{margin-right:var(--popover-horizontal-content-offset)}.vc-popover-content.direction-right[data-v-7605e1b2]{margin-left:var(--popover-horizontal-content-offset)}.vc-popover-caret[data-v-7605e1b2]{content:"";position:absolute;display:block;width:12px;height:12px;border-top:inherit;border-left:inherit;background:inherit;z-index:-1}.vc-popover-caret.direction-bottom[data-v-7605e1b2]{top:0}.vc-popover-caret.direction-bottom.align-left[data-v-7605e1b2]{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-center[data-v-7605e1b2]{transform:translateX(-50%) translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-bottom.align-right[data-v-7605e1b2]{transform:translateY(-50%) rotate(45deg)}.vc-popover-caret.direction-top[data-v-7605e1b2]{top:100%}.vc-popover-caret.direction-top.align-left[data-v-7605e1b2]{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-center[data-v-7605e1b2]{transform:translateX(-50%) translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-top.align-right[data-v-7605e1b2]{transform:translateY(-50%) rotate(-135deg)}.vc-popover-caret.direction-left[data-v-7605e1b2]{left:100%}.vc-popover-caret.direction-left.align-top[data-v-7605e1b2]{transform:translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-middle[data-v-7605e1b2]{transform:translateY(-50%) translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-left.align-bottom[data-v-7605e1b2]{transform:translateX(-50%) rotate(135deg)}.vc-popover-caret.direction-right[data-v-7605e1b2]{left:0}.vc-popover-caret.direction-right.align-top[data-v-7605e1b2]{transform:translateX(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-middle[data-v-7605e1b2]{transform:translateY(-50%) translateX(-50%) rotate(-45deg)}.vc-popover-caret.direction-right.align-bottom[data-v-7605e1b2]{transform:translateX(-50%) rotate(-45deg)}.vc-popover-caret.align-left[data-v-7605e1b2]{left:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-center[data-v-7605e1b2]{left:50%}.vc-popover-caret.align-right[data-v-7605e1b2]{right:var(--popover-caret-horizontal-offset)}.vc-popover-caret.align-top[data-v-7605e1b2]{top:var(--popover-caret-vertical-offset)}.vc-popover-caret.align-middle[data-v-7605e1b2]{top:50%}.vc-popover-caret.align-bottom[data-v-7605e1b2]{bottom:var(--popover-caret-vertical-offset)}.fade-enter-active[data-v-7605e1b2],.fade-leave-active[data-v-7605e1b2],.slide-fade-enter-active[data-v-7605e1b2],.slide-fade-leave-active[data-v-7605e1b2]{transition:all var(--popover-transition-time);pointer-events:none}.fade-enter[data-v-7605e1b2],.fade-leave-to[data-v-7605e1b2],.slide-fade-enter[data-v-7605e1b2],.slide-fade-leave-to[data-v-7605e1b2]{opacity:0}.slide-fade-enter.direction-bottom[data-v-7605e1b2],.slide-fade-leave-to.direction-bottom[data-v-7605e1b2]{transform:translateY(calc(-1*var(--popover-slide-translation)))}.slide-fade-enter.direction-top[data-v-7605e1b2],.slide-fade-leave-to.direction-top[data-v-7605e1b2]{transform:translateY(var(--popover-slide-translation))}.slide-fade-enter.direction-left[data-v-7605e1b2],.slide-fade-leave-to.direction-left[data-v-7605e1b2]{transform:translateX(var(--popover-slide-translation))}.slide-fade-enter.direction-right[data-v-7605e1b2],.slide-fade-leave-to.direction-right[data-v-7605e1b2]{transform:translateX(calc(-1*var(--popover-slide-translation)))}',""])},b760:function(t,e,n){var r=n("872a"),i=n("9638");function o(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}t.exports=o},badf:function(t,e,n){var r=n("642a"),i=n("1838"),o=n("cd9d"),s=n("6747"),a=n("f9ce");function l(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?s(t)?i(t[0],t[1]):r(t):a(t)}t.exports=l},bbc0:function(t,e,n){var r=n("6044"),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;function s(t){var e=this.__data__;if(r){var n=e[t];return n===i?void 0:n}return o.call(e,t)?e[t]:void 0}t.exports=s},bcdf:function(t,e){function n(){}t.exports=n},bd86:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("85f2"),i=n.n(r);function o(t,e,n){return e in t?i()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},bdab:function(t,e,n){var r=n("f498");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("1ee16f20",r,!0,{sourceMap:!1,shadowMode:!1})},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},c05f:function(t,e,n){var r=n("7b97"),i=n("1310");function o(t,e,n,s,a){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!=t&&e!=e:r(t,e,n,s,o,a))}t.exports=o},c098:function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(t,e){var i=typeof t;return!!(e=null==e?n:e)&&("number"==i||"symbol"!=i&&r.test(t))&&t>-1&&t%1==0&&t<e}t.exports=i},c1c9:function(t,e,n){var r=n("a454"),i=n("f3c1")(r);t.exports=i},c2b6:function(t,e,n){var r=n("f8af"),i=n("5d89"),o=n("6f6c"),s=n("a2db"),a=n("c8fe"),l="[object Boolean]",c="[object Date]",u="[object Map]",d="[object Number]",h="[object RegExp]",f="[object Set]",p="[object String]",m="[object Symbol]",g="[object ArrayBuffer]",v="[object DataView]",b="[object Float32Array]",y="[object Float64Array]",x="[object Int8Array]",w="[object Int16Array]",k="[object Int32Array]",_="[object Uint8Array]",S="[object Uint8ClampedArray]",O="[object Uint16Array]",M="[object Uint32Array]";function C(t,e,n){var C=t.constructor;switch(e){case g:return r(t);case l:case c:return new C(+t);case v:return i(t,n);case b:case y:case x:case w:case k:case _:case S:case O:case M:return a(t,n);case u:return new C;case d:case p:return new C(t);case h:return o(t);case f:return new C;case m:return s(t)}}t.exports=C},c32f:function(t,e,n){var r=n("2b10");function i(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}t.exports=i},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,l=r(e),c=i(l.length),u=o(s,c);if(t&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},c3fc:function(t,e,n){var r=n("42a2"),i=n("1310"),o="[object Set]";function s(t){return i(t)&&r(t)==o}t.exports=s},c539:function(t,e,n){var r=n("694d");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("19ad7201",r,!0,{sourceMap:!1,shadowMode:!1})},c584:function(t,e){function n(t,e){return t.has(e)}t.exports=n},c631:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-day-popover-row[data-v-28ced894]{--day-content-transition-time:0.13s ease-in;display:flex;align-items:center;transition:all var(--day-content-transition-time)}.vc-day-popover-row[data-v-28ced894]:not(:first-child){margin-top:3px}.vc-day-popover-row-indicator[data-v-28ced894]{display:flex;justify-content:center;align-items:center;flex-grow:0;width:15px;margin-right:3px}.vc-day-popover-row-indicator span[data-v-28ced894]{transition:all var(--day-content-transition-time)}.vc-day-popover-row-content[data-v-28ced894]{display:flex;align-items:center;flex-wrap:none;flex-grow:1;width:-webkit-max-content;width:max-content}",""])},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}))},c6cf:function(t,e,n){var r=n("4d8c"),i=n("2286"),o=n("c1c9");function s(t){return o(i(t,void 0,r),t+"")}t.exports=s},c724:function(t,e,n){var r=n("aeb4");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n("499e").default)("f2c4f118",r,!0,{sourceMap:!1,shadowMode:!1})},c869:function(t,e,n){var r=n("0b07")(n("2b3e"),"Set");t.exports=r},c87c:function(t,e){var n=Object.prototype.hasOwnProperty;function r(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}t.exports=r},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},c8fe:function(t,e,n){var r=n("f8af");function i(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}t.exports=i},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb5a:function(t,e,n){var r=n("9638");function i(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}t.exports=i},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cc45:function(t,e,n){var r=n("1a2d"),i=n("b047"),o=n("99d3"),s=o&&o.isMap,a=s?i(s):r;t.exports=a},cd9d:function(t,e){function n(t){return t}t.exports=n},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),l=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>l;)r(a,n=e[l++])&&(~o(c,n)||c.push(n));return c}},ce86:function(t,e,n){var r=n("9e69"),i=n("7948"),o=n("6747"),s=n("ffd6"),a=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;function u(t){if("string"==typeof t)return t;if(o(t))return i(t,u)+"";if(s(t))return c?c.call(t):"";var e=t+"";return"0"==e&&1/t==-a?"-0":e}t.exports=u},cebd:function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}t.exports=n},cfe5:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n("ac6a");var r=n("bd86"),i=n("f7f1"),o=n("2fa3"),s=n("9404"),a=n("29ae");function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const u=864e5;class d{constructor(t,{order:e=0,locale:n=new a.a}={}){if(this.isDateInfo=!0,this.isRange=Object(s.l)(t)||Object(s.j)(t),this.isDate=!this.isRange,this.order=e,this.locale=n,this.mask=n.masks.data,this.getMonthComps=n.getMonthComps,this.firstDayOfWeek=n.firstDayOfWeek,this.opts={order:e,locale:n},this.isDate){this.type="date";let e=this.toDate(t);e=Object(s.i)(e)?e:new Date,e.setHours(0,0,0,0),this.date=e,this.dateTime=e.getTime()}if(this.isRange){if(this.type="range",Object(s.j)(t))this.on={and:t};else{let e=this.toDate(t.start),n=this.toDate(t.end);if(e&&n&&e>n){const t=e;e=n,n=t}else e&&t.span>=1&&(n=Object(i.a)(e,t.span-1));e&&(Object(s.i)(e)?e.setHours(0,0,0,0):e=null),n&&(Object(s.i)(n)?n.setHours(0,0,0,0):n=null),this.start=e,this.end=n,this.startTime=e&&e.getTime(),this.endTime=n&&n.getTime(),e&&n&&(this.daySpan=this.diffInDays(e,n),this.weekSpan=this.diffInWeeks(e,n),this.monthSpan=this.diffInMonths(e,n),this.yearSpan=this.diffInYears(e,n));const r=Object(o.l)(t,{},d.patternProps);if(r.assigned&&(this.on={and:r.target}),t.on){const e=(Object(s.h)(t.on)?t.on:[t.on]).map((function(t){if(Object(s.j)(t))return t;const e=Object(o.l)(t,{},d.patternProps);return e.assigned?e.target:null})).filter((function(t){return t}));e.length&&(this.on=c(c({},this.on),{},{or:e}))}}this.isComplex=!!this.on}}toDate(t){const e=this.locale.masks.data;return this.locale.toDate(t,e)}toDateInfo(t){return t.isDateInfo?t:new d(t,this.opts)}startOfWeek(t){const e=t.getDay()+1,n=e>=this.firstDayOfWeek?this.firstDayOfWeek-e:-(7-(this.firstDayOfWeek-e));return Object(i.a)(t,n)}diffInDays(t,e){return Math.round((e-t)/u)}diffInWeeks(t,e){return this.diffInDays(this.startOfWeek(t),this.startOfWeek(e))}diffInYears(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}diffInMonths(t,e){return 12*this.diffInYears(t,e)+(e.getMonth()-t.getMonth())}static get patterns(){return{dailyInterval:{test:function(t,e,n){return n.diffInDays(n.start||new Date,t.date)%e==0}},weeklyInterval:{test:function(t,e,n){return n.diffInWeeks(n.start||new Date,t.date)%e==0}},monthlyInterval:{test:function(t,e,n){return n.diffInMonths(n.start||new Date,t.date)%e==0}},yearlyInterval:{test:function(){return function(t,e,n){return n.diffInYears(n.start||new Date,t.date)%e==0}}},days:{validate:function(t){return Object(s.h)(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.day)||e.includes(-t.dayFromEnd)}},weekdays:{validate:function(t){return Object(s.h)(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.weekday)}},ordinalWeekdays:{validate:function(t){return Object.keys(t).reduce((function(e,n){const r=t[n];return r?(e[n]=Object(s.h)(r)?r:[parseInt(r,10)],e):e}),{})},test:function(t,e){return Object.keys(e).map((function(t){return parseInt(t,10)})).find((function(n){return e[n].includes(t.weekday)&&(n===t.weekdayOrdinal||n===-t.weekdayOrdinalFromEnd)}))}},weekends:{validate:function(t){return t},test:function(t){return 1===t.weekday||7===t.weekday}},workweek:{validate:function(t){return t},test:function(t){return t.weekday>=2&&t.weekday<=6}},weeks:{validate:function(t){return Object(s.h)(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.week)||e.includes(-t.weekFromEnd)}},months:{validate:function(t){return Object(s.h)(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.month)}},years:{validate:function(t){return Object(s.h)(t)?t:[parseInt(t,10)]},test:function(t,e){return e.includes(t.year)}}}}static get patternProps(){return Object.keys(d.patterns).map((function(t){return{name:t,validate:d.patterns[t].validate}}))}static testConfig(t,e,n){return Object(s.j)(t)?t(e):Object(s.l)(t)?Object.keys(t).every((function(r){return d.patterns[r].test(e,t[r],n)})):null}iterateDatesInRange({start:t,end:e},n){if(!t||!e||!Object(s.j)(n))return null;const r={i:0,date:t,day:this.locale.getDayFromDate(t),finished:!1};let o=null;for(;!r.finished&&r.date<=e;r.i++)o=n(r),r.date=Object(i.a)(r.date,1),r.day=this.locale.getDayFromDate(r.date);return o}shallowIntersectingRange(t){return this.rangeShallowIntersectingRange(this,t)}rangeShallowIntersectingRange(t,e){if(t=this.toDateInfo(t),e=this.toDateInfo(e),!this.dateShallowIntersectsDate(t,e))return null;const n=t.toRange(),r=e.toRange();let i=null,o=null;return n.start?i=r.start?n.start>r.start?n.start:r.start:n.start:r.start&&(i=r.start),n.end?o=r.end?n.end<r.end?n.end:r.end:n.end:r.end&&(o=r.end),{start:i,end:o}}intersectsDate(t){var e=this;const n=this.toDateInfo(t);if(!this.shallowIntersectsDate(n))return null;if(!this.on)return this;const r=this.rangeShallowIntersectingRange(this,n);let i=!1;return this.iterateDatesInRange(r,(function(t){e.matchesDay(t.day)&&(i=i||n.matchesDay(t.day),t.finished=i)})),i}shallowIntersectsDate(t){return this.dateShallowIntersectsDate(this,this.toDateInfo(t))}dateShallowIntersectsDate(t,e){return t.isDate?e.isDate?t.dateTime===e.dateTime:this.dateShallowIncludesDate(e,t):e.isDate?this.dateShallowIncludesDate(t,e):!(t.start&&e.end&&t.start>e.end||t.end&&e.start&&t.end<e.start)}includesDate(t){var e=this;const n=this.toDateInfo(t);if(!this.shallowIncludesDate(n))return!1;if(!this.on)return!0;const r=this.rangeShallowIntersectingRange(this,n);let i=!0;return this.iterateDatesInRange(r,(function(t){e.matchesDay(t.day)&&(i=i&&n.matchesDay(t.day),t.finished=!i)})),i}shallowIncludesDate(t){return this.dateShallowIncludesDate(this,t.isDate?t:new d(t,this.opts))}dateShallowIncludesDate(t,e){return t.isDate?e.isDate?t.dateTime===e.dateTime:!(!e.startTime||!e.endTime)&&t.dateTime===e.startTime&&t.dateTime===e.endTime:e.isDate?!(t.start&&e.date<t.start||t.end&&e.date>t.end):!(t.start&&(!e.start||e.start<t.start)||t.end&&(!e.end||e.end>t.end))}includesDay(t){return this.shallowIncludesDate(t.date)&&this.matchesDay(t)?this:null}matchesDay(t){var e=this;return!(this.on&&(this.on.and&&!d.testConfig(this.on.and,t,this)||this.on.or&&!this.on.or.some((function(n){return d.testConfig(n,t,e)}))))}toRange(){return this.isDate?new d({start:this.date,end:this.date},this.opts):new d({start:this.start,end:this.end},this.opts)}compare(t){if(this.order!==t.order)return this.order-t.order;if(this.type!==t.type)return this.isDate?1:-1;if(this.isDate)return 0;const e=this.start-t.start;return 0!==e?e:this.end-t.end}}},d02c:function(t,e,n){var r=n("5e2e"),i=n("79bc"),o=n("7b83"),s=200;function a(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<s-1)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}t.exports=a},d094:function(t,e){var n="\\ud800-\\udfff",r="["+n+"]",i="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",s="[^"+n+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+i+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",d=u+c+"(?:\\u200d(?:"+[s,a,l].join("|")+")"+u+c+")*",h="(?:"+[s+i+"?",i,a,l,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+h+d,"g");function p(t){return t.match(f)||[]}t.exports=p},d0d6:function(t,e,n){"use strict";var r=n("6300");n.n(r).a},d194:function(t,e,n){var r=n("c32f"),i=n("aaec"),o=n("126d"),s=n("76dd");function a(t){return function(e){e=s(e);var n=i(e)?o(e):void 0,a=n?n[0]:e.charAt(0),l=n?r(n,1).join(""):e.slice(1);return a[t]()+l}}t.exports=a},d327:function(t,e){function n(){return[]}t.exports=n},d370:function(t,e,n){var r=n("253c"),i=n("1310"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},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}}},d581:function(t,e,n){"use strict";var r=n("5cab");n.n(r).a},d612:function(t,e,n){var r=n("7b83"),i=n("7ed2"),o=n("dc0f");function s(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}s.prototype.add=s.prototype.push=i,s.prototype.has=o,t.exports=s},d7ee:function(t,e,n){var r=n("c3fc"),i=n("b047"),o=n("99d3"),s=o&&o.isSet,a=s?i(s):r;t.exports=a},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9a8:function(t,e){function n(t){return t!=t}t.exports=n},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)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}},da03:function(t,e,n){var r=n("2b3e")["__core-js_shared__"];t.exports=r},dc0f:function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},dc57:function(t,e){var n=Function.prototype.toString;function r(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}t.exports=r},dcbe:function(t,e,n){var r=n("30c9"),i=n("1310");function o(t){return i(t)&&r(t)}t.exports=o},dd61:function(t,e,n){var r=n("7948"),i=n("badf"),o=n("97d3"),s=n("6747");function a(t,e){return(s(t)?r:o)(t,i(e,3))}t.exports=a},ddc6:function(t,e){function n(t){return function(e){return null==t?void 0:t[e]}}t.exports=n},e031:function(t,e,n){var r=n("f909"),i=n("1a8c");function o(t,e,n,s,a,l){return i(t)&&i(e)&&(l.set(e,t),r(t,e,void 0,o,l),l.delete(e)),t}t.exports=o},e0e7:function(t,e,n){var r=n("60ed");function i(t){return r(t)?void 0:t}t.exports=i},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e24b:function(t,e,n){var r=n("49f4"),i=n("1efc"),o=n("bbc0"),s=n("7a48"),a=n("2524");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,t.exports=l},e2a0:function(t,e,n){var r=n("3729"),i=n("6747"),o=n("1310"),s="[object String]";function a(t){return"string"==typeof t||!i(t)&&o(t)&&r(t)==s}t.exports=a},e2c0:function(t,e,n){var r=n("e2e4"),i=n("d370"),o=n("6747"),s=n("c098"),a=n("b218"),l=n("f4d6");function c(t,e,n){for(var c=-1,u=(e=r(e,t)).length,d=!1;++c<u;){var h=l(e[c]);if(!(d=null!=t&&n(t,h)))break;t=t[h]}return d||++c!=u?d:!!(u=null==t?0:t.length)&&a(u)&&s(h,u)&&(o(t)||i(t))}t.exports=c},e2e4:function(t,e,n){var r=n("6747"),i=n("f608"),o=n("18d8"),s=n("76dd");function a(t,e){return r(t)?t:i(t,e)?[t]:o(s(t))}t.exports=a},e380:function(t,e,n){var r=n("7b83"),i="Expected a function";function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},e3f8:function(t,e,n){var r=n("656b");function i(t){return function(e){return r(e,t)}}t.exports=i},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e538:function(t,e,n){(function(t){var r=n("2b3e"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i?r.Buffer:void 0,a=s?s.allocUnsafe:void 0;function l(t,e){if(e)return t.slice();var n=t.length,r=a?a(n):new t.constructor(n);return t.copy(r),r}t.exports=l}).call(this,n("62e4")(t))},e53d: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)},e9a7:function(t,e,n){var r=n("76dd"),i=n("8103");function o(t){return i(r(t).toLowerCase())}t.exports=o},ea72:function(t,e,n){var r=n("7559"),i=n("7e8e"),o=n("76dd"),s=n("f4d9");function a(t,e,n){return t=o(t),void 0===(e=n?void 0:e)?i(t)?s(t):r(t):t.match(e)||[]}t.exports=a},eac5:function(t,e){var n=Object.prototype;function r(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}t.exports=r},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||null==(n=r(s)[o])?e:i(n)}},ec47:function(t,e,n){var r=n("a3fd"),i=n("42a2"),o=n("edfa"),s=n("cebd"),a="[object Map]",l="[object Set]";function c(t){return function(e){var n=i(e);return n==a?o(e):n==l?s(e):r(e,t(e))}}t.exports=c},ec69:function(t,e,n){var r=n("6fcd"),i=n("03dd"),o=n("30c9");function s(t){return o(t)?r(t):i(t)}t.exports=s},ec8c:function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},ed08:function(t,e,n){"use strict";n.r(e),n.d(e,"Locale",(function(){return r.a})),n.d(e,"DateInfo",(function(){return i.a})),n.d(e,"Attribute",(function(){return o.a})),n.d(e,"AttributeStore",(function(){return s.a})),n.d(e,"setupCalendar",(function(){return c})),n.d(e,"evalFn",(function(){return u.h})),n.d(e,"pageIsValid",(function(){return u.x})),n.d(e,"pageIsBeforePage",(function(){return u.u})),n.d(e,"pageIsAfterPage",(function(){return u.t})),n.d(e,"pageIsBetweenPages",(function(){return u.v})),n.d(e,"pageIsEqualToPage",(function(){return u.w})),n.d(e,"pageForDate",(function(){return u.p})),n.d(e,"addPages",(function(){return u.a})),n.d(e,"pageForThisMonth",(function(){return u.s})),n.d(e,"pageForNextMonth",(function(){return u.q})),n.d(e,"pageForPrevMonth",(function(){return u.r})),n.d(e,"getMaxPage",(function(){return u.j})),n.d(e,"datesAreEqual",(function(){return u.d})),n.d(e,"arrayHasItems",(function(){return u.b})),n.d(e,"findAncestor",(function(){return u.i})),n.d(e,"elementHasAncestor",(function(){return u.f})),n.d(e,"elementPositionInAncestor",(function(){return u.g})),n.d(e,"mixinOptionalProps",(function(){return u.l})),n.d(e,"on",(function(){return u.n})),n.d(e,"off",(function(){return u.m})),n.d(e,"elementContains",(function(){return u.e})),n.d(e,"onSpaceOrEnter",(function(){return u.o})),n.d(e,"createGuid",(function(){return u.c})),n.d(e,"hash",(function(){return u.k})),n.d(e,"addTapOrClickHandler",(function(){return d.b})),n.d(e,"addHorizontalSwipeHandler",(function(){return d.a}));var r=n("29ae"),i=n("cfe5"),o=n("22f3"),s=n("93495"),a=n("51ec"),l=n("1315"),c=function(t){const e=Object(a.b)(t);return Object(l.a)(e.screens,!0),e},u=n("2fa3"),d=n("0733")},edfa:function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}t.exports=n},ee59:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".none-enter-active[data-v-5be4b00c],.none-leave-active[data-v-5be4b00c]{transition-duration:0s}.fade-enter-active[data-v-5be4b00c],.fade-leave-active[data-v-5be4b00c],.slide-down-enter-active[data-v-5be4b00c],.slide-down-leave-active[data-v-5be4b00c],.slide-left-enter-active[data-v-5be4b00c],.slide-left-leave-active[data-v-5be4b00c],.slide-right-enter-active[data-v-5be4b00c],.slide-right-leave-active[data-v-5be4b00c],.slide-up-enter-active[data-v-5be4b00c],.slide-up-leave-active[data-v-5be4b00c]{transition:transform var(--slide-duration) var(--slide-timing),opacity var(--slide-duration) var(--slide-timing);-webkit-backface-visibility:hidden;backface-visibility:hidden}.fade-leave-active[data-v-5be4b00c],.none-leave-active[data-v-5be4b00c],.slide-down-leave-active[data-v-5be4b00c],.slide-left-leave-active[data-v-5be4b00c],.slide-right-leave-active[data-v-5be4b00c],.slide-up-leave-active[data-v-5be4b00c]{position:absolute;width:100%}.fade-enter[data-v-5be4b00c],.fade-leave-to[data-v-5be4b00c],.none-enter[data-v-5be4b00c],.none-leave-to[data-v-5be4b00c],.slide-down-enter[data-v-5be4b00c],.slide-down-leave-to[data-v-5be4b00c],.slide-left-enter[data-v-5be4b00c],.slide-left-leave-to[data-v-5be4b00c],.slide-right-enter[data-v-5be4b00c],.slide-right-leave-to[data-v-5be4b00c],.slide-up-enter[data-v-5be4b00c],.slide-up-leave-to[data-v-5be4b00c]{opacity:0}.slide-left-enter[data-v-5be4b00c],.slide-right-leave-to[data-v-5be4b00c]{transform:translateX(var(--slide-translate))}.slide-left-leave-to[data-v-5be4b00c],.slide-right-enter[data-v-5be4b00c]{transform:translateX(calc(-1*var(--slide-translate)))}.slide-down-leave-to[data-v-5be4b00c],.slide-up-enter[data-v-5be4b00c]{transform:translateY(var(--slide-translate))}.slide-down-enter[data-v-5be4b00c],.slide-up-leave-to[data-v-5be4b00c]{transform:translateY(calc(-1*var(--slide-translate)))}",""])},eed6:function(t,e,n){var r=n("2c66");function i(t){return t&&t.length?r(t):[]}t.exports=i},ef5d:function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},efb6:function(t,e,n){var r=n("5e2e");function i(){this.__data__=new r,this.size=0}t.exports=i},f064:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-grid-container[data-v-3ca35a05]{position:relative;flex-shrink:1;display:grid;overflow:auto;-webkit-overflow-scrolling:touch}.vc-grid-cell[data-v-3ca35a05]{display:flex;justify-content:center;align-items:center}",""])},f0bd:function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();function i(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}function o(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}}var s=n&&window.Promise?i:o;function a(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function c(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function u(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:u(c(t))}function d(t){return t&&t.referenceNode?t.referenceNode:t}var h=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?h:10===t?f:h||f}function m(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?m(n):n:t?t.ownerDocument.documentElement:document.documentElement}function g(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||m(t.firstElementChild)===t)}function v(t){return null!==t.parentNode?v(t.parentNode):t}function b(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var s=o.commonAncestorContainer;if(t!==s&&e!==s||r.contains(i))return g(s)?s:m(s);var a=v(t);return a.host?b(a.host,e):b(t,v(e).host)}function y(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=y(e,"top"),i=y(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function w(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function k(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,r=p(10)&&getComputedStyle(n);return{height:k("Height",e,n,r),width:k("Width",e,n,r)}}var S=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},O=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),M=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},C=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function A(t){return C({},t,{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var n=y(t,"top"),r=y(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?_(t.ownerDocument):{},s=o.width||t.clientWidth||i.width,a=o.height||t.clientHeight||i.height,c=t.offsetWidth-s,u=t.offsetHeight-a;if(c||u){var d=l(t);c-=w(d,"x"),u-=w(d,"y"),i.width-=c,i.height-=u}return A(i)}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),i="HTML"===e.nodeName,o=T(t),s=T(e),a=u(t),c=l(e),d=parseFloat(c.borderTopWidth),h=parseFloat(c.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var f=A({top:o.top-s.top-d,left:o.left-s.left-h,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var m=parseFloat(c.marginTop),g=parseFloat(c.marginLeft);f.top-=d-m,f.bottom-=d-m,f.left-=h-g,f.right-=h-g,f.marginTop=m,f.marginLeft=g}return(r&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(f=x(f,e)),f}function D(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=E(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:y(n),a=e?0:y(n,"left");return A({top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:o})}function P(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===l(t,"position"))return!0;var n=c(t);return!!n&&P(n)}function j(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function L(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},s=i?j(t):b(t,d(e));if("viewport"===r)o=D(s,i);else{var a=void 0;"scrollParent"===r?"BODY"===(a=u(c(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===r?t.ownerDocument.documentElement:r;var l=E(a,s,i);if("HTML"!==a.nodeName||P(s))o=l;else{var h=_(t.ownerDocument),f=h.height,p=h.width;o.top+=l.top-l.marginTop,o.bottom=f+l.top,o.left+=l.left-l.marginLeft,o.right=p+l.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function I(t){return t.width*t.height}function N(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=L(n,r,o,i),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return C({key:t},a[t],{area:I(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function R(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return E(n,r?j(e):b(e,d(n)),r)}function $(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function B(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function F(t,e,n){n=n.split("-")[0];var r=$(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return i[s]=e[s]+e[l]/2-r[l]/2,i[a]=n===a?e[a]-r[c]:e[B(a)],i}function z(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function H(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=z(t,(function(t){return t[e]===n}));return t.indexOf(r)}function Y(t,e,n){return(void 0===n?t:t.slice(0,H(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&a(n)&&(e.offsets.popper=A(e.offsets.popper),e.offsets.reference=A(e.offsets.reference),e=n(e,t))})),e}function W(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=N(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=F(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Y(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function V(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function G(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function X(t){var e=t.ownerDocument;return e?e.defaultView:window}function q(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||q(u(o.parentNode),e,n,r),r.push(o)}function K(t,e,n,r){n.updateBound=r,X(t).addEventListener("resize",n.updateBound,{passive:!0});var i=u(t);return q(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function J(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function Z(t,e){return X(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function Q(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Z(this.reference,this.state))}function tt(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function et(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&tt(e[n])&&(r="px"),t.style[n]=e[n]+r}))}function nt(t,e){Object.keys(e).forEach((function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)}))}function rt(t){return et(t.instance.popper,t.styles),nt(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&et(t.arrowElement,t.arrowStyles),t}function it(t,e,n,r,i){var o=R(i,e,t,n.positionFixed),s=N(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),et(e,{position:n.positionFixed?"fixed":"absolute"}),n}function ot(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,s=Math.floor,a=function(t){return t},l=o(i.width),c=o(r.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),h=e?u||d||l%2==c%2?o:s:a,f=e?o:a;return{left:h(l%2==1&&c%2==1&&!d&&e?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:h(r.right)}}var st=n&&/Firefox/i.test(navigator.userAgent);function at(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=z(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:e.gpuAcceleration,a=m(t.instance.popper),l=T(a),c={position:i.position},u=ot(t,window.devicePixelRatio<2||!st),d="bottom"===n?"top":"bottom",h="right"===r?"left":"right",f=U("transform"),p=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,p="right"===h?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&f)c[f]="translate3d("+p+"px, "+g+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,b="right"===h?-1:1;c[d]=g*v,c[h]=p*b,c.willChange=d+", "+h}var y={"x-placement":t.placement};return t.attributes=C({},y,t.attributes),t.styles=C({},c,t.styles),t.arrowStyles=C({},t.offsets.arrow,t.arrowStyles),t}function lt(t,e,n){var r=z(t,(function(t){return t.name===e})),i=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!i){var o="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}function ct(t,e){var n;if(!lt(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,a=o.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=$(r)[u];a[p]-m<s[h]&&(t.offsets.popper[h]-=s[h]-(a[p]-m)),a[h]+m>s[p]&&(t.offsets.popper[h]+=a[h]+m-s[p]),t.offsets.popper=A(t.offsets.popper);var g=a[h]+a[u]/2-m/2,v=l(t.instance.popper),b=parseFloat(v["margin"+d]),y=parseFloat(v["border"+d+"Width"]),x=g-t.offsets.popper[h]-b-y;return x=Math.max(Math.min(s[u]-m,x),0),t.arrowElement=r,t.offsets.arrow=(M(n={},h,Math.round(x)),M(n,f,""),n),t}function ut(t){return"end"===t?"start":"start"===t?"end":t}var dt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ht=dt.slice(3);function ft(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ht.indexOf(t),r=ht.slice(n+1).concat(ht.slice(0,n));return e?r.reverse():r}var pt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function mt(t,e){if(V(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=L(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=B(r),o=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case pt.FLIP:s=[r,i];break;case pt.CLOCKWISE:s=ft(r);break;case pt.COUNTERCLOCKWISE:s=ft(r,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(r!==a||s.length===l+1)return t;r=t.placement.split("-")[0],i=B(r);var c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===o&&f||b&&"end"===o&&p||!b&&"start"===o&&m||!b&&"end"===o&&g),x=!!e.flipVariationsByContent&&(b&&"start"===o&&p||b&&"end"===o&&f||!b&&"start"===o&&g||!b&&"end"===o&&m),w=y||x;(h||v||w)&&(t.flipped=!0,(h||v)&&(r=s[l+1]),w&&(o=ut(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=C({},t.offsets.popper,F(t.instance.popper,t.offsets.reference,t.placement)),t=Y(t.instance.modifiers,t,"flip"))})),t}function gt(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<o(r[l])&&(t.offsets.popper[l]=o(r[l])-n[c]),n[l]>o(r[a])&&(t.offsets.popper[l]=o(r[a])),t}function vt(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],s=i[2];return o?0===s.indexOf("%")?A("%p"===s?n:r)[e]/100*o:"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:t}function bt(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(z(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return vt(t,i,e,n)}))})),c.forEach((function(t,e){t.forEach((function(n,r){tt(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}function yt(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,s=i.reference,a=r.split("-")[0],l=void 0;return l=tt(+n)?[+n,0]:bt(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t}function xt(t,e){var n=e.boundariesElement||m(t.instance.popper);t.instance.reference===n&&(n=m(n));var r=U("transform"),i=t.instance.popper.style,o=i.top,s=i.left,a=i[r];i.top="",i.left="",i[r]="";var l=L(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=s,i[r]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),M({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),M({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=C({},u,d[e](t))})),t.offsets.popper=u,t}function wt(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:M({},l,o[l]),end:M({},l,o[l]+o[c]-s[c])};t.offsets.popper=C({},s,u[r])}return t}function kt(t){if(!lt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=z(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function _t(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=o[n]-(a?i[s?"width":"height"]:0),t.placement=B(e),t.offsets.popper=A(i),t}var St={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:wt},offset:{order:200,enabled:!0,fn:yt,offset:0},preventOverflow:{order:300,enabled:!0,fn:xt,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:gt},arrow:{order:500,enabled:!0,fn:ct,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:mt,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:_t},hide:{order:800,enabled:!0,fn:kt},computeStyle:{order:850,enabled:!0,fn:at,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:rt,onLoad:it,gpuAcceleration:void 0}}},Ot=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};S(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=s(this.update.bind(this)),this.options=C({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=C({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return C({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&a(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return O(t,[{key:"update",value:function(){return W.call(this)}},{key:"destroy",value:function(){return G.call(this)}},{key:"enableEventListeners",value:function(){return J.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),t}();Ot.Utils=("undefined"!=typeof window?window:t).PopperUtils,Ot.placements=dt,Ot.Defaults=St,e.a=Ot}).call(this,n("c8ba"))},f15d:function(t,e,n){"use strict";n("ac6a");var r=n("9404");const i={ar:{dow:7,L:"D/‏M/‏YYYY"},bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYY年M月D日"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};i.en=i["en-US"],i.es=i["es-ES"],i.no=i.nb,i.zh=i["zh-CN"],Object(r.u)(i).forEach((function([t,{dow:e,L:n}]){i[t]={id:t,firstDayOfWeek:e,masks:{L:n}}})),e.a=i},f3c1:function(t,e){var n=800,r=16,i=Date.now;function o(t){var e=0,o=0;return function(){var s=i(),a=r-(s-o);if(o=s,a>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}t.exports=o},f498:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,".vc-reset,.vc-reset *{line-height:1.5;box-sizing:border-box}.vc-reset:focus,.vc-reset :focus{outline:none}.vc-reset [role=button],.vc-reset button{cursor:pointer}.vc-border,.vc-border-2,.vc-border-3{border-style:solid}.vc-appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.vc-bg-fixed{background-attachment:fixed}.vc-bg-local{background-attachment:local}.vc-bg-scroll{background-attachment:scroll}.vc-bg-transparent{background-color:initial}.vc-bg-black{background-color:#000}.vc-bg-white{background-color:#fff}.vc-bg-gray-100{background-color:#f7fafc}.vc-bg-gray-200{background-color:#edf2f7}.vc-bg-gray-300{background-color:#e2e8f0}.vc-bg-gray-400{background-color:#cbd5e0}.vc-bg-gray-500{background-color:#a0aec0}.vc-bg-gray-600{background-color:#718096}.vc-bg-gray-700{background-color:#4a5568}.vc-bg-gray-800{background-color:#2d3748}.vc-bg-gray-900{background-color:#1a202c}.vc-bg-red-100{background-color:#fff5f5}.vc-bg-red-200{background-color:#fed7d7}.vc-bg-red-300{background-color:#feb2b2}.vc-bg-red-400{background-color:#fc8181}.vc-bg-red-500{background-color:#f56565}.vc-bg-red-600{background-color:#e53e3e}.vc-bg-red-700{background-color:#c53030}.vc-bg-red-800{background-color:#9b2c2c}.vc-bg-red-900{background-color:#742a2a}.vc-bg-orange-100{background-color:#fffaf0}.vc-bg-orange-200{background-color:#feebc8}.vc-bg-orange-300{background-color:#fbd38d}.vc-bg-orange-400{background-color:#f6ad55}.vc-bg-orange-500{background-color:#ed8936}.vc-bg-orange-600{background-color:#dd6b20}.vc-bg-orange-700{background-color:#c05621}.vc-bg-orange-800{background-color:#9c4221}.vc-bg-orange-900{background-color:#7b341e}.vc-bg-yellow-100{background-color:ivory}.vc-bg-yellow-200{background-color:#fefcbf}.vc-bg-yellow-300{background-color:#faf089}.vc-bg-yellow-400{background-color:#f6e05e}.vc-bg-yellow-500{background-color:#ecc94b}.vc-bg-yellow-600{background-color:#d69e2e}.vc-bg-yellow-700{background-color:#b7791f}.vc-bg-yellow-800{background-color:#975a16}.vc-bg-yellow-900{background-color:#744210}.vc-bg-green-100{background-color:#f0fff4}.vc-bg-green-200{background-color:#c6f6d5}.vc-bg-green-300{background-color:#9ae6b4}.vc-bg-green-400{background-color:#68d391}.vc-bg-green-500{background-color:#48bb78}.vc-bg-green-600{background-color:#38a169}.vc-bg-green-700{background-color:#2f855a}.vc-bg-green-800{background-color:#276749}.vc-bg-green-900{background-color:#22543d}.vc-bg-teal-100{background-color:#e6fffa}.vc-bg-teal-200{background-color:#b2f5ea}.vc-bg-teal-300{background-color:#81e6d9}.vc-bg-teal-400{background-color:#4fd1c5}.vc-bg-teal-500{background-color:#38b2ac}.vc-bg-teal-600{background-color:#319795}.vc-bg-teal-700{background-color:#2c7a7b}.vc-bg-teal-800{background-color:#285e61}.vc-bg-teal-900{background-color:#234e52}.vc-bg-blue-100{background-color:#ebf8ff}.vc-bg-blue-200{background-color:#bee3f8}.vc-bg-blue-300{background-color:#90cdf4}.vc-bg-blue-400{background-color:#63b3ed}.vc-bg-blue-500{background-color:#4299e1}.vc-bg-blue-600{background-color:#3182ce}.vc-bg-blue-700{background-color:#2b6cb0}.vc-bg-blue-800{background-color:#2c5282}.vc-bg-blue-900{background-color:#2a4365}.vc-bg-indigo-100{background-color:#ebf4ff}.vc-bg-indigo-200{background-color:#c3dafe}.vc-bg-indigo-300{background-color:#a3bffa}.vc-bg-indigo-400{background-color:#7f9cf5}.vc-bg-indigo-500{background-color:#667eea}.vc-bg-indigo-600{background-color:#5a67d8}.vc-bg-indigo-700{background-color:#4c51bf}.vc-bg-indigo-800{background-color:#434190}.vc-bg-indigo-900{background-color:#3c366b}.vc-bg-purple-100{background-color:#faf5ff}.vc-bg-purple-200{background-color:#e9d8fd}.vc-bg-purple-300{background-color:#d6bcfa}.vc-bg-purple-400{background-color:#b794f4}.vc-bg-purple-500{background-color:#9f7aea}.vc-bg-purple-600{background-color:#805ad5}.vc-bg-purple-700{background-color:#6b46c1}.vc-bg-purple-800{background-color:#553c9a}.vc-bg-purple-900{background-color:#44337a}.vc-bg-pink-100{background-color:#fff5f7}.vc-bg-pink-200{background-color:#fed7e2}.vc-bg-pink-300{background-color:#fbb6ce}.vc-bg-pink-400{background-color:#f687b3}.vc-bg-pink-500{background-color:#ed64a6}.vc-bg-pink-600{background-color:#d53f8c}.vc-bg-pink-700{background-color:#b83280}.vc-bg-pink-800{background-color:#97266d}.vc-bg-pink-900{background-color:#702459}.hover\\:vc-bg-transparent:hover{background-color:initial}.hover\\:vc-bg-black:hover{background-color:#000}.hover\\:vc-bg-white:hover{background-color:#fff}.hover\\:vc-bg-gray-100:hover{background-color:#f7fafc}.hover\\:vc-bg-gray-200:hover{background-color:#edf2f7}.hover\\:vc-bg-gray-300:hover{background-color:#e2e8f0}.hover\\:vc-bg-gray-400:hover{background-color:#cbd5e0}.hover\\:vc-bg-gray-500:hover{background-color:#a0aec0}.hover\\:vc-bg-gray-600:hover{background-color:#718096}.hover\\:vc-bg-gray-700:hover{background-color:#4a5568}.hover\\:vc-bg-gray-800:hover{background-color:#2d3748}.hover\\:vc-bg-gray-900:hover{background-color:#1a202c}.hover\\:vc-bg-red-100:hover{background-color:#fff5f5}.hover\\:vc-bg-red-200:hover{background-color:#fed7d7}.hover\\:vc-bg-red-300:hover{background-color:#feb2b2}.hover\\:vc-bg-red-400:hover{background-color:#fc8181}.hover\\:vc-bg-red-500:hover{background-color:#f56565}.hover\\:vc-bg-red-600:hover{background-color:#e53e3e}.hover\\:vc-bg-red-700:hover{background-color:#c53030}.hover\\:vc-bg-red-800:hover{background-color:#9b2c2c}.hover\\:vc-bg-red-900:hover{background-color:#742a2a}.hover\\:vc-bg-orange-100:hover{background-color:#fffaf0}.hover\\:vc-bg-orange-200:hover{background-color:#feebc8}.hover\\:vc-bg-orange-300:hover{background-color:#fbd38d}.hover\\:vc-bg-orange-400:hover{background-color:#f6ad55}.hover\\:vc-bg-orange-500:hover{background-color:#ed8936}.hover\\:vc-bg-orange-600:hover{background-color:#dd6b20}.hover\\:vc-bg-orange-700:hover{background-color:#c05621}.hover\\:vc-bg-orange-800:hover{background-color:#9c4221}.hover\\:vc-bg-orange-900:hover{background-color:#7b341e}.hover\\:vc-bg-yellow-100:hover{background-color:ivory}.hover\\:vc-bg-yellow-200:hover{background-color:#fefcbf}.hover\\:vc-bg-yellow-300:hover{background-color:#faf089}.hover\\:vc-bg-yellow-400:hover{background-color:#f6e05e}.hover\\:vc-bg-yellow-500:hover{background-color:#ecc94b}.hover\\:vc-bg-yellow-600:hover{background-color:#d69e2e}.hover\\:vc-bg-yellow-700:hover{background-color:#b7791f}.hover\\:vc-bg-yellow-800:hover{background-color:#975a16}.hover\\:vc-bg-yellow-900:hover{background-color:#744210}.hover\\:vc-bg-green-100:hover{background-color:#f0fff4}.hover\\:vc-bg-green-200:hover{background-color:#c6f6d5}.hover\\:vc-bg-green-300:hover{background-color:#9ae6b4}.hover\\:vc-bg-green-400:hover{background-color:#68d391}.hover\\:vc-bg-green-500:hover{background-color:#48bb78}.hover\\:vc-bg-green-600:hover{background-color:#38a169}.hover\\:vc-bg-green-700:hover{background-color:#2f855a}.hover\\:vc-bg-green-800:hover{background-color:#276749}.hover\\:vc-bg-green-900:hover{background-color:#22543d}.hover\\:vc-bg-teal-100:hover{background-color:#e6fffa}.hover\\:vc-bg-teal-200:hover{background-color:#b2f5ea}.hover\\:vc-bg-teal-300:hover{background-color:#81e6d9}.hover\\:vc-bg-teal-400:hover{background-color:#4fd1c5}.hover\\:vc-bg-teal-500:hover{background-color:#38b2ac}.hover\\:vc-bg-teal-600:hover{background-color:#319795}.hover\\:vc-bg-teal-700:hover{background-color:#2c7a7b}.hover\\:vc-bg-teal-800:hover{background-color:#285e61}.hover\\:vc-bg-teal-900:hover{background-color:#234e52}.hover\\:vc-bg-blue-100:hover{background-color:#ebf8ff}.hover\\:vc-bg-blue-200:hover{background-color:#bee3f8}.hover\\:vc-bg-blue-300:hover{background-color:#90cdf4}.hover\\:vc-bg-blue-400:hover{background-color:#63b3ed}.hover\\:vc-bg-blue-500:hover{background-color:#4299e1}.hover\\:vc-bg-blue-600:hover{background-color:#3182ce}.hover\\:vc-bg-blue-700:hover{background-color:#2b6cb0}.hover\\:vc-bg-blue-800:hover{background-color:#2c5282}.hover\\:vc-bg-blue-900:hover{background-color:#2a4365}.hover\\:vc-bg-indigo-100:hover{background-color:#ebf4ff}.hover\\:vc-bg-indigo-200:hover{background-color:#c3dafe}.hover\\:vc-bg-indigo-300:hover{background-color:#a3bffa}.hover\\:vc-bg-indigo-400:hover{background-color:#7f9cf5}.hover\\:vc-bg-indigo-500:hover{background-color:#667eea}.hover\\:vc-bg-indigo-600:hover{background-color:#5a67d8}.hover\\:vc-bg-indigo-700:hover{background-color:#4c51bf}.hover\\:vc-bg-indigo-800:hover{background-color:#434190}.hover\\:vc-bg-indigo-900:hover{background-color:#3c366b}.hover\\:vc-bg-purple-100:hover{background-color:#faf5ff}.hover\\:vc-bg-purple-200:hover{background-color:#e9d8fd}.hover\\:vc-bg-purple-300:hover{background-color:#d6bcfa}.hover\\:vc-bg-purple-400:hover{background-color:#b794f4}.hover\\:vc-bg-purple-500:hover{background-color:#9f7aea}.hover\\:vc-bg-purple-600:hover{background-color:#805ad5}.hover\\:vc-bg-purple-700:hover{background-color:#6b46c1}.hover\\:vc-bg-purple-800:hover{background-color:#553c9a}.hover\\:vc-bg-purple-900:hover{background-color:#44337a}.hover\\:vc-bg-pink-100:hover{background-color:#fff5f7}.hover\\:vc-bg-pink-200:hover{background-color:#fed7e2}.hover\\:vc-bg-pink-300:hover{background-color:#fbb6ce}.hover\\:vc-bg-pink-400:hover{background-color:#f687b3}.hover\\:vc-bg-pink-500:hover{background-color:#ed64a6}.hover\\:vc-bg-pink-600:hover{background-color:#d53f8c}.hover\\:vc-bg-pink-700:hover{background-color:#b83280}.hover\\:vc-bg-pink-800:hover{background-color:#97266d}.hover\\:vc-bg-pink-900:hover{background-color:#702459}.vc-bg-bottom{background-position:bottom}.vc-bg-center{background-position:50%}.vc-bg-left{background-position:0}.vc-bg-left-bottom{background-position:0 100%}.vc-bg-left-top{background-position:0 0}.vc-bg-right{background-position:100%}.vc-bg-right-bottom{background-position:100% 100%}.vc-bg-right-top{background-position:100% 0}.vc-bg-top{background-position:top}.vc-bg-repeat{background-repeat:repeat}.vc-bg-no-repeat{background-repeat:no-repeat}.vc-bg-repeat-x{background-repeat:repeat-x}.vc-bg-repeat-y{background-repeat:repeat-y}.vc-bg-repeat-round{background-repeat:round}.vc-bg-repeat-space{background-repeat:space}.vc-bg-auto{background-size:auto}.vc-bg-cover{background-size:cover}.vc-bg-contain{background-size:contain}.vc-border-collapse{border-collapse:collapse}.vc-border-separate{border-collapse:initial}.vc-border-transparent{border-color:transparent}.vc-border-black{border-color:#000}.vc-border-white{border-color:#fff}.vc-border-gray-100{border-color:#f7fafc}.vc-border-gray-200{border-color:#edf2f7}.vc-border-gray-300{border-color:#e2e8f0}.vc-border-gray-400{border-color:#cbd5e0}.vc-border-gray-500{border-color:#a0aec0}.vc-border-gray-600{border-color:#718096}.vc-border-gray-700{border-color:#4a5568}.vc-border-gray-800{border-color:#2d3748}.vc-border-gray-900{border-color:#1a202c}.vc-border-red-100{border-color:#fff5f5}.vc-border-red-200{border-color:#fed7d7}.vc-border-red-300{border-color:#feb2b2}.vc-border-red-400{border-color:#fc8181}.vc-border-red-500{border-color:#f56565}.vc-border-red-600{border-color:#e53e3e}.vc-border-red-700{border-color:#c53030}.vc-border-red-800{border-color:#9b2c2c}.vc-border-red-900{border-color:#742a2a}.vc-border-orange-100{border-color:#fffaf0}.vc-border-orange-200{border-color:#feebc8}.vc-border-orange-300{border-color:#fbd38d}.vc-border-orange-400{border-color:#f6ad55}.vc-border-orange-500{border-color:#ed8936}.vc-border-orange-600{border-color:#dd6b20}.vc-border-orange-700{border-color:#c05621}.vc-border-orange-800{border-color:#9c4221}.vc-border-orange-900{border-color:#7b341e}.vc-border-yellow-100{border-color:ivory}.vc-border-yellow-200{border-color:#fefcbf}.vc-border-yellow-300{border-color:#faf089}.vc-border-yellow-400{border-color:#f6e05e}.vc-border-yellow-500{border-color:#ecc94b}.vc-border-yellow-600{border-color:#d69e2e}.vc-border-yellow-700{border-color:#b7791f}.vc-border-yellow-800{border-color:#975a16}.vc-border-yellow-900{border-color:#744210}.vc-border-green-100{border-color:#f0fff4}.vc-border-green-200{border-color:#c6f6d5}.vc-border-green-300{border-color:#9ae6b4}.vc-border-green-400{border-color:#68d391}.vc-border-green-500{border-color:#48bb78}.vc-border-green-600{border-color:#38a169}.vc-border-green-700{border-color:#2f855a}.vc-border-green-800{border-color:#276749}.vc-border-green-900{border-color:#22543d}.vc-border-teal-100{border-color:#e6fffa}.vc-border-teal-200{border-color:#b2f5ea}.vc-border-teal-300{border-color:#81e6d9}.vc-border-teal-400{border-color:#4fd1c5}.vc-border-teal-500{border-color:#38b2ac}.vc-border-teal-600{border-color:#319795}.vc-border-teal-700{border-color:#2c7a7b}.vc-border-teal-800{border-color:#285e61}.vc-border-teal-900{border-color:#234e52}.vc-border-blue-100{border-color:#ebf8ff}.vc-border-blue-200{border-color:#bee3f8}.vc-border-blue-300{border-color:#90cdf4}.vc-border-blue-400{border-color:#63b3ed}.vc-border-blue-500{border-color:#4299e1}.vc-border-blue-600{border-color:#3182ce}.vc-border-blue-700{border-color:#2b6cb0}.vc-border-blue-800{border-color:#2c5282}.vc-border-blue-900{border-color:#2a4365}.vc-border-indigo-100{border-color:#ebf4ff}.vc-border-indigo-200{border-color:#c3dafe}.vc-border-indigo-300{border-color:#a3bffa}.vc-border-indigo-400{border-color:#7f9cf5}.vc-border-indigo-500{border-color:#667eea}.vc-border-indigo-600{border-color:#5a67d8}.vc-border-indigo-700{border-color:#4c51bf}.vc-border-indigo-800{border-color:#434190}.vc-border-indigo-900{border-color:#3c366b}.vc-border-purple-100{border-color:#faf5ff}.vc-border-purple-200{border-color:#e9d8fd}.vc-border-purple-300{border-color:#d6bcfa}.vc-border-purple-400{border-color:#b794f4}.vc-border-purple-500{border-color:#9f7aea}.vc-border-purple-600{border-color:#805ad5}.vc-border-purple-700{border-color:#6b46c1}.vc-border-purple-800{border-color:#553c9a}.vc-border-purple-900{border-color:#44337a}.vc-border-pink-100{border-color:#fff5f7}.vc-border-pink-200{border-color:#fed7e2}.vc-border-pink-300{border-color:#fbb6ce}.vc-border-pink-400{border-color:#f687b3}.vc-border-pink-500{border-color:#ed64a6}.vc-border-pink-600{border-color:#d53f8c}.vc-border-pink-700{border-color:#b83280}.vc-border-pink-800{border-color:#97266d}.vc-border-pink-900{border-color:#702459}.hover\\:vc-border-transparent:hover{border-color:transparent}.hover\\:vc-border-black:hover{border-color:#000}.hover\\:vc-border-white:hover{border-color:#fff}.hover\\:vc-border-gray-100:hover{border-color:#f7fafc}.hover\\:vc-border-gray-200:hover{border-color:#edf2f7}.hover\\:vc-border-gray-300:hover{border-color:#e2e8f0}.hover\\:vc-border-gray-400:hover{border-color:#cbd5e0}.hover\\:vc-border-gray-500:hover{border-color:#a0aec0}.hover\\:vc-border-gray-600:hover{border-color:#718096}.hover\\:vc-border-gray-700:hover{border-color:#4a5568}.hover\\:vc-border-gray-800:hover{border-color:#2d3748}.hover\\:vc-border-gray-900:hover{border-color:#1a202c}.hover\\:vc-border-red-100:hover{border-color:#fff5f5}.hover\\:vc-border-red-200:hover{border-color:#fed7d7}.hover\\:vc-border-red-300:hover{border-color:#feb2b2}.hover\\:vc-border-red-400:hover{border-color:#fc8181}.hover\\:vc-border-red-500:hover{border-color:#f56565}.hover\\:vc-border-red-600:hover{border-color:#e53e3e}.hover\\:vc-border-red-700:hover{border-color:#c53030}.hover\\:vc-border-red-800:hover{border-color:#9b2c2c}.hover\\:vc-border-red-900:hover{border-color:#742a2a}.hover\\:vc-border-orange-100:hover{border-color:#fffaf0}.hover\\:vc-border-orange-200:hover{border-color:#feebc8}.hover\\:vc-border-orange-300:hover{border-color:#fbd38d}.hover\\:vc-border-orange-400:hover{border-color:#f6ad55}.hover\\:vc-border-orange-500:hover{border-color:#ed8936}.hover\\:vc-border-orange-600:hover{border-color:#dd6b20}.hover\\:vc-border-orange-700:hover{border-color:#c05621}.hover\\:vc-border-orange-800:hover{border-color:#9c4221}.hover\\:vc-border-orange-900:hover{border-color:#7b341e}.hover\\:vc-border-yellow-100:hover{border-color:ivory}.hover\\:vc-border-yellow-200:hover{border-color:#fefcbf}.hover\\:vc-border-yellow-300:hover{border-color:#faf089}.hover\\:vc-border-yellow-400:hover{border-color:#f6e05e}.hover\\:vc-border-yellow-500:hover{border-color:#ecc94b}.hover\\:vc-border-yellow-600:hover{border-color:#d69e2e}.hover\\:vc-border-yellow-700:hover{border-color:#b7791f}.hover\\:vc-border-yellow-800:hover{border-color:#975a16}.hover\\:vc-border-yellow-900:hover{border-color:#744210}.hover\\:vc-border-green-100:hover{border-color:#f0fff4}.hover\\:vc-border-green-200:hover{border-color:#c6f6d5}.hover\\:vc-border-green-300:hover{border-color:#9ae6b4}.hover\\:vc-border-green-400:hover{border-color:#68d391}.hover\\:vc-border-green-500:hover{border-color:#48bb78}.hover\\:vc-border-green-600:hover{border-color:#38a169}.hover\\:vc-border-green-700:hover{border-color:#2f855a}.hover\\:vc-border-green-800:hover{border-color:#276749}.hover\\:vc-border-green-900:hover{border-color:#22543d}.hover\\:vc-border-teal-100:hover{border-color:#e6fffa}.hover\\:vc-border-teal-200:hover{border-color:#b2f5ea}.hover\\:vc-border-teal-300:hover{border-color:#81e6d9}.hover\\:vc-border-teal-400:hover{border-color:#4fd1c5}.hover\\:vc-border-teal-500:hover{border-color:#38b2ac}.hover\\:vc-border-teal-600:hover{border-color:#319795}.hover\\:vc-border-teal-700:hover{border-color:#2c7a7b}.hover\\:vc-border-teal-800:hover{border-color:#285e61}.hover\\:vc-border-teal-900:hover{border-color:#234e52}.hover\\:vc-border-blue-100:hover{border-color:#ebf8ff}.hover\\:vc-border-blue-200:hover{border-color:#bee3f8}.hover\\:vc-border-blue-300:hover{border-color:#90cdf4}.hover\\:vc-border-blue-400:hover{border-color:#63b3ed}.hover\\:vc-border-blue-500:hover{border-color:#4299e1}.hover\\:vc-border-blue-600:hover{border-color:#3182ce}.hover\\:vc-border-blue-700:hover{border-color:#2b6cb0}.hover\\:vc-border-blue-800:hover{border-color:#2c5282}.hover\\:vc-border-blue-900:hover{border-color:#2a4365}.hover\\:vc-border-indigo-100:hover{border-color:#ebf4ff}.hover\\:vc-border-indigo-200:hover{border-color:#c3dafe}.hover\\:vc-border-indigo-300:hover{border-color:#a3bffa}.hover\\:vc-border-indigo-400:hover{border-color:#7f9cf5}.hover\\:vc-border-indigo-500:hover{border-color:#667eea}.hover\\:vc-border-indigo-600:hover{border-color:#5a67d8}.hover\\:vc-border-indigo-700:hover{border-color:#4c51bf}.hover\\:vc-border-indigo-800:hover{border-color:#434190}.hover\\:vc-border-indigo-900:hover{border-color:#3c366b}.hover\\:vc-border-purple-100:hover{border-color:#faf5ff}.hover\\:vc-border-purple-200:hover{border-color:#e9d8fd}.hover\\:vc-border-purple-300:hover{border-color:#d6bcfa}.hover\\:vc-border-purple-400:hover{border-color:#b794f4}.hover\\:vc-border-purple-500:hover{border-color:#9f7aea}.hover\\:vc-border-purple-600:hover{border-color:#805ad5}.hover\\:vc-border-purple-700:hover{border-color:#6b46c1}.hover\\:vc-border-purple-800:hover{border-color:#553c9a}.hover\\:vc-border-purple-900:hover{border-color:#44337a}.hover\\:vc-border-pink-100:hover{border-color:#fff5f7}.hover\\:vc-border-pink-200:hover{border-color:#fed7e2}.hover\\:vc-border-pink-300:hover{border-color:#fbb6ce}.hover\\:vc-border-pink-400:hover{border-color:#f687b3}.hover\\:vc-border-pink-500:hover{border-color:#ed64a6}.hover\\:vc-border-pink-600:hover{border-color:#d53f8c}.hover\\:vc-border-pink-700:hover{border-color:#b83280}.hover\\:vc-border-pink-800:hover{border-color:#97266d}.hover\\:vc-border-pink-900:hover{border-color:#702459}.focus\\:vc-border-transparent:focus{border-color:transparent}.focus\\:vc-border-black:focus{border-color:#000}.focus\\:vc-border-white:focus{border-color:#fff}.focus\\:vc-border-gray-100:focus{border-color:#f7fafc}.focus\\:vc-border-gray-200:focus{border-color:#edf2f7}.focus\\:vc-border-gray-300:focus{border-color:#e2e8f0}.focus\\:vc-border-gray-400:focus{border-color:#cbd5e0}.focus\\:vc-border-gray-500:focus{border-color:#a0aec0}.focus\\:vc-border-gray-600:focus{border-color:#718096}.focus\\:vc-border-gray-700:focus{border-color:#4a5568}.focus\\:vc-border-gray-800:focus{border-color:#2d3748}.focus\\:vc-border-gray-900:focus{border-color:#1a202c}.focus\\:vc-border-red-100:focus{border-color:#fff5f5}.focus\\:vc-border-red-200:focus{border-color:#fed7d7}.focus\\:vc-border-red-300:focus{border-color:#feb2b2}.focus\\:vc-border-red-400:focus{border-color:#fc8181}.focus\\:vc-border-red-500:focus{border-color:#f56565}.focus\\:vc-border-red-600:focus{border-color:#e53e3e}.focus\\:vc-border-red-700:focus{border-color:#c53030}.focus\\:vc-border-red-800:focus{border-color:#9b2c2c}.focus\\:vc-border-red-900:focus{border-color:#742a2a}.focus\\:vc-border-orange-100:focus{border-color:#fffaf0}.focus\\:vc-border-orange-200:focus{border-color:#feebc8}.focus\\:vc-border-orange-300:focus{border-color:#fbd38d}.focus\\:vc-border-orange-400:focus{border-color:#f6ad55}.focus\\:vc-border-orange-500:focus{border-color:#ed8936}.focus\\:vc-border-orange-600:focus{border-color:#dd6b20}.focus\\:vc-border-orange-700:focus{border-color:#c05621}.focus\\:vc-border-orange-800:focus{border-color:#9c4221}.focus\\:vc-border-orange-900:focus{border-color:#7b341e}.focus\\:vc-border-yellow-100:focus{border-color:ivory}.focus\\:vc-border-yellow-200:focus{border-color:#fefcbf}.focus\\:vc-border-yellow-300:focus{border-color:#faf089}.focus\\:vc-border-yellow-400:focus{border-color:#f6e05e}.focus\\:vc-border-yellow-500:focus{border-color:#ecc94b}.focus\\:vc-border-yellow-600:focus{border-color:#d69e2e}.focus\\:vc-border-yellow-700:focus{border-color:#b7791f}.focus\\:vc-border-yellow-800:focus{border-color:#975a16}.focus\\:vc-border-yellow-900:focus{border-color:#744210}.focus\\:vc-border-green-100:focus{border-color:#f0fff4}.focus\\:vc-border-green-200:focus{border-color:#c6f6d5}.focus\\:vc-border-green-300:focus{border-color:#9ae6b4}.focus\\:vc-border-green-400:focus{border-color:#68d391}.focus\\:vc-border-green-500:focus{border-color:#48bb78}.focus\\:vc-border-green-600:focus{border-color:#38a169}.focus\\:vc-border-green-700:focus{border-color:#2f855a}.focus\\:vc-border-green-800:focus{border-color:#276749}.focus\\:vc-border-green-900:focus{border-color:#22543d}.focus\\:vc-border-teal-100:focus{border-color:#e6fffa}.focus\\:vc-border-teal-200:focus{border-color:#b2f5ea}.focus\\:vc-border-teal-300:focus{border-color:#81e6d9}.focus\\:vc-border-teal-400:focus{border-color:#4fd1c5}.focus\\:vc-border-teal-500:focus{border-color:#38b2ac}.focus\\:vc-border-teal-600:focus{border-color:#319795}.focus\\:vc-border-teal-700:focus{border-color:#2c7a7b}.focus\\:vc-border-teal-800:focus{border-color:#285e61}.focus\\:vc-border-teal-900:focus{border-color:#234e52}.focus\\:vc-border-blue-100:focus{border-color:#ebf8ff}.focus\\:vc-border-blue-200:focus{border-color:#bee3f8}.focus\\:vc-border-blue-300:focus{border-color:#90cdf4}.focus\\:vc-border-blue-400:focus{border-color:#63b3ed}.focus\\:vc-border-blue-500:focus{border-color:#4299e1}.focus\\:vc-border-blue-600:focus{border-color:#3182ce}.focus\\:vc-border-blue-700:focus{border-color:#2b6cb0}.focus\\:vc-border-blue-800:focus{border-color:#2c5282}.focus\\:vc-border-blue-900:focus{border-color:#2a4365}.focus\\:vc-border-indigo-100:focus{border-color:#ebf4ff}.focus\\:vc-border-indigo-200:focus{border-color:#c3dafe}.focus\\:vc-border-indigo-300:focus{border-color:#a3bffa}.focus\\:vc-border-indigo-400:focus{border-color:#7f9cf5}.focus\\:vc-border-indigo-500:focus{border-color:#667eea}.focus\\:vc-border-indigo-600:focus{border-color:#5a67d8}.focus\\:vc-border-indigo-700:focus{border-color:#4c51bf}.focus\\:vc-border-indigo-800:focus{border-color:#434190}.focus\\:vc-border-indigo-900:focus{border-color:#3c366b}.focus\\:vc-border-purple-100:focus{border-color:#faf5ff}.focus\\:vc-border-purple-200:focus{border-color:#e9d8fd}.focus\\:vc-border-purple-300:focus{border-color:#d6bcfa}.focus\\:vc-border-purple-400:focus{border-color:#b794f4}.focus\\:vc-border-purple-500:focus{border-color:#9f7aea}.focus\\:vc-border-purple-600:focus{border-color:#805ad5}.focus\\:vc-border-purple-700:focus{border-color:#6b46c1}.focus\\:vc-border-purple-800:focus{border-color:#553c9a}.focus\\:vc-border-purple-900:focus{border-color:#44337a}.focus\\:vc-border-pink-100:focus{border-color:#fff5f7}.focus\\:vc-border-pink-200:focus{border-color:#fed7e2}.focus\\:vc-border-pink-300:focus{border-color:#fbb6ce}.focus\\:vc-border-pink-400:focus{border-color:#f687b3}.focus\\:vc-border-pink-500:focus{border-color:#ed64a6}.focus\\:vc-border-pink-600:focus{border-color:#d53f8c}.focus\\:vc-border-pink-700:focus{border-color:#b83280}.focus\\:vc-border-pink-800:focus{border-color:#97266d}.focus\\:vc-border-pink-900:focus{border-color:#702459}.vc-rounded-none{border-radius:0}.vc-rounded-sm{border-radius:18px}.vc-rounded{border-radius:4px}.vc-rounded-lg{border-radius:8px}.vc-rounded-full{border-radius:9999px}.vc-rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.vc-rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.vc-rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.vc-rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.vc-rounded-t-sm{border-top-left-radius:18px;border-top-right-radius:18px}.vc-rounded-r-sm{border-top-right-radius:18px;border-bottom-right-radius:18px}.vc-rounded-b-sm{border-bottom-right-radius:18px;border-bottom-left-radius:18px}.vc-rounded-l-sm{border-top-left-radius:18px;border-bottom-left-radius:18px}.vc-rounded-t{border-top-left-radius:4px;border-top-right-radius:4px}.vc-rounded-r{border-top-right-radius:4px}.vc-rounded-b,.vc-rounded-r{border-bottom-right-radius:4px}.vc-rounded-b,.vc-rounded-l{border-bottom-left-radius:4px}.vc-rounded-l{border-top-left-radius:4px}.vc-rounded-t-lg{border-top-left-radius:8px;border-top-right-radius:8px}.vc-rounded-r-lg{border-top-right-radius:8px;border-bottom-right-radius:8px}.vc-rounded-b-lg{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.vc-rounded-l-lg{border-top-left-radius:8px;border-bottom-left-radius:8px}.vc-rounded-t-full{border-top-left-radius:9999px;border-top-right-radius:9999px}.vc-rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.vc-rounded-b-full{border-bottom-right-radius:9999px;border-bottom-left-radius:9999px}.vc-rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.vc-rounded-tl-none{border-top-left-radius:0}.vc-rounded-tr-none{border-top-right-radius:0}.vc-rounded-br-none{border-bottom-right-radius:0}.vc-rounded-bl-none{border-bottom-left-radius:0}.vc-rounded-tl-sm{border-top-left-radius:18px}.vc-rounded-tr-sm{border-top-right-radius:18px}.vc-rounded-br-sm{border-bottom-right-radius:18px}.vc-rounded-bl-sm{border-bottom-left-radius:18px}.vc-rounded-tl{border-top-left-radius:4px}.vc-rounded-tr{border-top-right-radius:4px}.vc-rounded-br{border-bottom-right-radius:4px}.vc-rounded-bl{border-bottom-left-radius:4px}.vc-rounded-tl-lg{border-top-left-radius:8px}.vc-rounded-tr-lg{border-top-right-radius:8px}.vc-rounded-br-lg{border-bottom-right-radius:8px}.vc-rounded-bl-lg{border-bottom-left-radius:8px}.vc-rounded-tl-full{border-top-left-radius:9999px}.vc-rounded-tr-full{border-top-right-radius:9999px}.vc-rounded-br-full{border-bottom-right-radius:9999px}.vc-rounded-bl-full{border-bottom-left-radius:9999px}.vc-border-solid{border-style:solid}.vc-border-dashed{border-style:dashed}.vc-border-dotted{border-style:dotted}.vc-border-double{border-style:double}.vc-border-none{border-style:none}.vc-border-0{border-width:0}.vc-border-2{border-width:2px}.vc-border-4{border-width:4px}.vc-border-8{border-width:8px}.vc-border{border-width:1px}.vc-border-t-0{border-top-width:0}.vc-border-r-0{border-right-width:0}.vc-border-b-0{border-bottom-width:0}.vc-border-l-0{border-left-width:0}.vc-border-t-2{border-top-width:2px}.vc-border-r-2{border-right-width:2px}.vc-border-b-2{border-bottom-width:2px}.vc-border-l-2{border-left-width:2px}.vc-border-t-4{border-top-width:4px}.vc-border-r-4{border-right-width:4px}.vc-border-b-4{border-bottom-width:4px}.vc-border-l-4{border-left-width:4px}.vc-border-t-8{border-top-width:8px}.vc-border-r-8{border-right-width:8px}.vc-border-b-8{border-bottom-width:8px}.vc-border-l-8{border-left-width:8px}.vc-border-t{border-top-width:1px}.vc-border-r{border-right-width:1px}.vc-border-b{border-bottom-width:1px}.vc-border-l{border-left-width:1px}.vc-cursor-pointer{cursor:pointer}.vc-cursor-not-allowed{cursor:not-allowed}.vc-flex{display:flex}.vc-items-center{align-items:center}.vc-justify-center{justify-content:center}.vc-font-medium{font-weight:500}.vc-font-semibold{font-weight:600}.focus\\:vc-font-bold:focus,.vc-font-bold{font-weight:700}.vc-h-full{height:100%}.vc-leading-tight{line-height:1.25}.vc-leading-snug{line-height:1.375}.vc-mr-auto{margin-right:auto}.vc-ml-auto{margin-left:auto}.vc-min-w-full{min-width:100%}.vc-opacity-0{opacity:0}.vc-opacity-25{opacity:.25}.vc-opacity-75{opacity:.75}.hover\\:vc-opacity-50:hover{opacity:.5}.hover\\:vc-opacity-75:hover{opacity:.75}.focus\\:vc-outline-none:focus{outline:0}.vc-overflow-hidden{overflow:hidden}.vc-p-1{padding:4px}.vc-py-1{padding-top:4px;padding-bottom:4px}.vc-py-2{padding-top:8px;padding-bottom:8px}.vc-px-2{padding-left:8px;padding-right:8px}.vc-px-3{padding-left:12px;padding-right:12px}.vc-pointer-events-none{pointer-events:none}.vc-pointer-events-auto{pointer-events:auto}.vc-relative{position:relative}.vc-shadow{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.hover\\:vc-shadow-inner:hover{box-shadow:inset 0 2px 4px 0 rgba(0,0,0,.06)}.focus\\:vc-shadow:focus{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.vc-text-left{text-align:left}.vc-text-center{text-align:center}.vc-text-right{text-align:right}.vc-text-justify{text-align:justify}.vc-text-transparent{color:transparent}.vc-text-black{color:#000}.vc-text-white{color:#fff}.vc-text-gray-100{color:#f7fafc}.vc-text-gray-200{color:#edf2f7}.vc-text-gray-300{color:#e2e8f0}.vc-text-gray-400{color:#cbd5e0}.vc-text-gray-500{color:#a0aec0}.vc-text-gray-600{color:#718096}.vc-text-gray-700{color:#4a5568}.vc-text-gray-800{color:#2d3748}.vc-text-gray-900{color:#1a202c}.vc-text-red-100{color:#fff5f5}.vc-text-red-200{color:#fed7d7}.vc-text-red-300{color:#feb2b2}.vc-text-red-400{color:#fc8181}.vc-text-red-500{color:#f56565}.vc-text-red-600{color:#e53e3e}.vc-text-red-700{color:#c53030}.vc-text-red-800{color:#9b2c2c}.vc-text-red-900{color:#742a2a}.vc-text-orange-100{color:#fffaf0}.vc-text-orange-200{color:#feebc8}.vc-text-orange-300{color:#fbd38d}.vc-text-orange-400{color:#f6ad55}.vc-text-orange-500{color:#ed8936}.vc-text-orange-600{color:#dd6b20}.vc-text-orange-700{color:#c05621}.vc-text-orange-800{color:#9c4221}.vc-text-orange-900{color:#7b341e}.vc-text-yellow-100{color:ivory}.vc-text-yellow-200{color:#fefcbf}.vc-text-yellow-300{color:#faf089}.vc-text-yellow-400{color:#f6e05e}.vc-text-yellow-500{color:#ecc94b}.vc-text-yellow-600{color:#d69e2e}.vc-text-yellow-700{color:#b7791f}.vc-text-yellow-800{color:#975a16}.vc-text-yellow-900{color:#744210}.vc-text-green-100{color:#f0fff4}.vc-text-green-200{color:#c6f6d5}.vc-text-green-300{color:#9ae6b4}.vc-text-green-400{color:#68d391}.vc-text-green-500{color:#48bb78}.vc-text-green-600{color:#38a169}.vc-text-green-700{color:#2f855a}.vc-text-green-800{color:#276749}.vc-text-green-900{color:#22543d}.vc-text-teal-100{color:#e6fffa}.vc-text-teal-200{color:#b2f5ea}.vc-text-teal-300{color:#81e6d9}.vc-text-teal-400{color:#4fd1c5}.vc-text-teal-500{color:#38b2ac}.vc-text-teal-600{color:#319795}.vc-text-teal-700{color:#2c7a7b}.vc-text-teal-800{color:#285e61}.vc-text-teal-900{color:#234e52}.vc-text-blue-100{color:#ebf8ff}.vc-text-blue-200{color:#bee3f8}.vc-text-blue-300{color:#90cdf4}.vc-text-blue-400{color:#63b3ed}.vc-text-blue-500{color:#4299e1}.vc-text-blue-600{color:#3182ce}.vc-text-blue-700{color:#2b6cb0}.vc-text-blue-800{color:#2c5282}.vc-text-blue-900{color:#2a4365}.vc-text-indigo-100{color:#ebf4ff}.vc-text-indigo-200{color:#c3dafe}.vc-text-indigo-300{color:#a3bffa}.vc-text-indigo-400{color:#7f9cf5}.vc-text-indigo-500{color:#667eea}.vc-text-indigo-600{color:#5a67d8}.vc-text-indigo-700{color:#4c51bf}.vc-text-indigo-800{color:#434190}.vc-text-indigo-900{color:#3c366b}.vc-text-purple-100{color:#faf5ff}.vc-text-purple-200{color:#e9d8fd}.vc-text-purple-300{color:#d6bcfa}.vc-text-purple-400{color:#b794f4}.vc-text-purple-500{color:#9f7aea}.vc-text-purple-600{color:#805ad5}.vc-text-purple-700{color:#6b46c1}.vc-text-purple-800{color:#553c9a}.vc-text-purple-900{color:#44337a}.vc-text-pink-100{color:#fff5f7}.vc-text-pink-200{color:#fed7e2}.vc-text-pink-300{color:#fbb6ce}.vc-text-pink-400{color:#f687b3}.vc-text-pink-500{color:#ed64a6}.vc-text-pink-600{color:#d53f8c}.vc-text-pink-700{color:#b83280}.vc-text-pink-800{color:#97266d}.vc-text-pink-900{color:#702459}.hover\\:vc-text-transparent:hover{color:transparent}.hover\\:vc-text-black:hover{color:#000}.hover\\:vc-text-white:hover{color:#fff}.hover\\:vc-text-gray-100:hover{color:#f7fafc}.hover\\:vc-text-gray-200:hover{color:#edf2f7}.hover\\:vc-text-gray-300:hover{color:#e2e8f0}.hover\\:vc-text-gray-400:hover{color:#cbd5e0}.hover\\:vc-text-gray-500:hover{color:#a0aec0}.hover\\:vc-text-gray-600:hover{color:#718096}.hover\\:vc-text-gray-700:hover{color:#4a5568}.hover\\:vc-text-gray-800:hover{color:#2d3748}.hover\\:vc-text-gray-900:hover{color:#1a202c}.hover\\:vc-text-red-100:hover{color:#fff5f5}.hover\\:vc-text-red-200:hover{color:#fed7d7}.hover\\:vc-text-red-300:hover{color:#feb2b2}.hover\\:vc-text-red-400:hover{color:#fc8181}.hover\\:vc-text-red-500:hover{color:#f56565}.hover\\:vc-text-red-600:hover{color:#e53e3e}.hover\\:vc-text-red-700:hover{color:#c53030}.hover\\:vc-text-red-800:hover{color:#9b2c2c}.hover\\:vc-text-red-900:hover{color:#742a2a}.hover\\:vc-text-orange-100:hover{color:#fffaf0}.hover\\:vc-text-orange-200:hover{color:#feebc8}.hover\\:vc-text-orange-300:hover{color:#fbd38d}.hover\\:vc-text-orange-400:hover{color:#f6ad55}.hover\\:vc-text-orange-500:hover{color:#ed8936}.hover\\:vc-text-orange-600:hover{color:#dd6b20}.hover\\:vc-text-orange-700:hover{color:#c05621}.hover\\:vc-text-orange-800:hover{color:#9c4221}.hover\\:vc-text-orange-900:hover{color:#7b341e}.hover\\:vc-text-yellow-100:hover{color:ivory}.hover\\:vc-text-yellow-200:hover{color:#fefcbf}.hover\\:vc-text-yellow-300:hover{color:#faf089}.hover\\:vc-text-yellow-400:hover{color:#f6e05e}.hover\\:vc-text-yellow-500:hover{color:#ecc94b}.hover\\:vc-text-yellow-600:hover{color:#d69e2e}.hover\\:vc-text-yellow-700:hover{color:#b7791f}.hover\\:vc-text-yellow-800:hover{color:#975a16}.hover\\:vc-text-yellow-900:hover{color:#744210}.hover\\:vc-text-green-100:hover{color:#f0fff4}.hover\\:vc-text-green-200:hover{color:#c6f6d5}.hover\\:vc-text-green-300:hover{color:#9ae6b4}.hover\\:vc-text-green-400:hover{color:#68d391}.hover\\:vc-text-green-500:hover{color:#48bb78}.hover\\:vc-text-green-600:hover{color:#38a169}.hover\\:vc-text-green-700:hover{color:#2f855a}.hover\\:vc-text-green-800:hover{color:#276749}.hover\\:vc-text-green-900:hover{color:#22543d}.hover\\:vc-text-teal-100:hover{color:#e6fffa}.hover\\:vc-text-teal-200:hover{color:#b2f5ea}.hover\\:vc-text-teal-300:hover{color:#81e6d9}.hover\\:vc-text-teal-400:hover{color:#4fd1c5}.hover\\:vc-text-teal-500:hover{color:#38b2ac}.hover\\:vc-text-teal-600:hover{color:#319795}.hover\\:vc-text-teal-700:hover{color:#2c7a7b}.hover\\:vc-text-teal-800:hover{color:#285e61}.hover\\:vc-text-teal-900:hover{color:#234e52}.hover\\:vc-text-blue-100:hover{color:#ebf8ff}.hover\\:vc-text-blue-200:hover{color:#bee3f8}.hover\\:vc-text-blue-300:hover{color:#90cdf4}.hover\\:vc-text-blue-400:hover{color:#63b3ed}.hover\\:vc-text-blue-500:hover{color:#4299e1}.hover\\:vc-text-blue-600:hover{color:#3182ce}.hover\\:vc-text-blue-700:hover{color:#2b6cb0}.hover\\:vc-text-blue-800:hover{color:#2c5282}.hover\\:vc-text-blue-900:hover{color:#2a4365}.hover\\:vc-text-indigo-100:hover{color:#ebf4ff}.hover\\:vc-text-indigo-200:hover{color:#c3dafe}.hover\\:vc-text-indigo-300:hover{color:#a3bffa}.hover\\:vc-text-indigo-400:hover{color:#7f9cf5}.hover\\:vc-text-indigo-500:hover{color:#667eea}.hover\\:vc-text-indigo-600:hover{color:#5a67d8}.hover\\:vc-text-indigo-700:hover{color:#4c51bf}.hover\\:vc-text-indigo-800:hover{color:#434190}.hover\\:vc-text-indigo-900:hover{color:#3c366b}.hover\\:vc-text-purple-100:hover{color:#faf5ff}.hover\\:vc-text-purple-200:hover{color:#e9d8fd}.hover\\:vc-text-purple-300:hover{color:#d6bcfa}.hover\\:vc-text-purple-400:hover{color:#b794f4}.hover\\:vc-text-purple-500:hover{color:#9f7aea}.hover\\:vc-text-purple-600:hover{color:#805ad5}.hover\\:vc-text-purple-700:hover{color:#6b46c1}.hover\\:vc-text-purple-800:hover{color:#553c9a}.hover\\:vc-text-purple-900:hover{color:#44337a}.hover\\:vc-text-pink-100:hover{color:#fff5f7}.hover\\:vc-text-pink-200:hover{color:#fed7e2}.hover\\:vc-text-pink-300:hover{color:#fbb6ce}.hover\\:vc-text-pink-400:hover{color:#f687b3}.hover\\:vc-text-pink-500:hover{color:#ed64a6}.hover\\:vc-text-pink-600:hover{color:#d53f8c}.hover\\:vc-text-pink-700:hover{color:#b83280}.hover\\:vc-text-pink-800:hover{color:#97266d}.hover\\:vc-text-pink-900:hover{color:#702459}.vc-text-xs{font-size:12px}.vc-text-sm{font-size:14px}.vc-text-base{font-size:16px}.vc-text-lg{font-size:18px}.vc-text-xl{font-size:20px}.vc-text-2xl{font-size:24px}.vc-select-none{-webkit-user-select:none;-ms-user-select:none;user-select:none}.vc-w-12{width:48px}.vc-w-full{width:100%}@media (min-width:640px){.sm\\:vc-bg-fixed{background-attachment:fixed}.sm\\:vc-bg-local{background-attachment:local}.sm\\:vc-bg-scroll{background-attachment:scroll}.sm\\:vc-bg-bottom{background-position:bottom}.sm\\:vc-bg-center{background-position:50%}.sm\\:vc-bg-left{background-position:0}.sm\\:vc-bg-left-bottom{background-position:0 100%}.sm\\:vc-bg-left-top{background-position:0 0}.sm\\:vc-bg-right{background-position:100%}.sm\\:vc-bg-right-bottom{background-position:100% 100%}.sm\\:vc-bg-right-top{background-position:100% 0}.sm\\:vc-bg-top{background-position:top}.sm\\:vc-bg-repeat{background-repeat:repeat}.sm\\:vc-bg-no-repeat{background-repeat:no-repeat}.sm\\:vc-bg-repeat-x{background-repeat:repeat-x}.sm\\:vc-bg-repeat-y{background-repeat:repeat-y}.sm\\:vc-bg-repeat-round{background-repeat:round}.sm\\:vc-bg-repeat-space{background-repeat:space}.sm\\:vc-bg-auto{background-size:auto}.sm\\:vc-bg-cover{background-size:cover}.sm\\:vc-bg-contain{background-size:contain}.sm\\:vc-border-collapse{border-collapse:collapse}.sm\\:vc-border-separate{border-collapse:initial}.sm\\:vc-border-solid{border-style:solid}.sm\\:vc-border-dashed{border-style:dashed}.sm\\:vc-border-dotted{border-style:dotted}.sm\\:vc-border-double{border-style:double}.sm\\:vc-border-none{border-style:none}.sm\\:vc-border-0{border-width:0}.sm\\:vc-border-2{border-width:2px}.sm\\:vc-border-4{border-width:4px}.sm\\:vc-border-8{border-width:8px}.sm\\:vc-border{border-width:1px}.sm\\:vc-border-t-0{border-top-width:0}.sm\\:vc-border-r-0{border-right-width:0}.sm\\:vc-border-b-0{border-bottom-width:0}.sm\\:vc-border-l-0{border-left-width:0}.sm\\:vc-border-t-2{border-top-width:2px}.sm\\:vc-border-r-2{border-right-width:2px}.sm\\:vc-border-b-2{border-bottom-width:2px}.sm\\:vc-border-l-2{border-left-width:2px}.sm\\:vc-border-t-4{border-top-width:4px}.sm\\:vc-border-r-4{border-right-width:4px}.sm\\:vc-border-b-4{border-bottom-width:4px}.sm\\:vc-border-l-4{border-left-width:4px}.sm\\:vc-border-t-8{border-top-width:8px}.sm\\:vc-border-r-8{border-right-width:8px}.sm\\:vc-border-b-8{border-bottom-width:8px}.sm\\:vc-border-l-8{border-left-width:8px}.sm\\:vc-border-t{border-top-width:1px}.sm\\:vc-border-r{border-right-width:1px}.sm\\:vc-border-b{border-bottom-width:1px}.sm\\:vc-border-l{border-left-width:1px}.sm\\:vc-text-left{text-align:left}.sm\\:vc-text-center{text-align:center}.sm\\:vc-text-right{text-align:right}.sm\\:vc-text-justify{text-align:justify}.sm\\:vc-text-xs{font-size:12px}.sm\\:vc-text-sm{font-size:14px}.sm\\:vc-text-base{font-size:16px}.sm\\:vc-text-lg{font-size:18px}.sm\\:vc-text-xl{font-size:20px}.sm\\:vc-text-2xl{font-size:24px}}@media (min-width:768px){.md\\:vc-bg-fixed{background-attachment:fixed}.md\\:vc-bg-local{background-attachment:local}.md\\:vc-bg-scroll{background-attachment:scroll}.md\\:vc-bg-bottom{background-position:bottom}.md\\:vc-bg-center{background-position:50%}.md\\:vc-bg-left{background-position:0}.md\\:vc-bg-left-bottom{background-position:0 100%}.md\\:vc-bg-left-top{background-position:0 0}.md\\:vc-bg-right{background-position:100%}.md\\:vc-bg-right-bottom{background-position:100% 100%}.md\\:vc-bg-right-top{background-position:100% 0}.md\\:vc-bg-top{background-position:top}.md\\:vc-bg-repeat{background-repeat:repeat}.md\\:vc-bg-no-repeat{background-repeat:no-repeat}.md\\:vc-bg-repeat-x{background-repeat:repeat-x}.md\\:vc-bg-repeat-y{background-repeat:repeat-y}.md\\:vc-bg-repeat-round{background-repeat:round}.md\\:vc-bg-repeat-space{background-repeat:space}.md\\:vc-bg-auto{background-size:auto}.md\\:vc-bg-cover{background-size:cover}.md\\:vc-bg-contain{background-size:contain}.md\\:vc-border-collapse{border-collapse:collapse}.md\\:vc-border-separate{border-collapse:initial}.md\\:vc-border-solid{border-style:solid}.md\\:vc-border-dashed{border-style:dashed}.md\\:vc-border-dotted{border-style:dotted}.md\\:vc-border-double{border-style:double}.md\\:vc-border-none{border-style:none}.md\\:vc-border-0{border-width:0}.md\\:vc-border-2{border-width:2px}.md\\:vc-border-4{border-width:4px}.md\\:vc-border-8{border-width:8px}.md\\:vc-border{border-width:1px}.md\\:vc-border-t-0{border-top-width:0}.md\\:vc-border-r-0{border-right-width:0}.md\\:vc-border-b-0{border-bottom-width:0}.md\\:vc-border-l-0{border-left-width:0}.md\\:vc-border-t-2{border-top-width:2px}.md\\:vc-border-r-2{border-right-width:2px}.md\\:vc-border-b-2{border-bottom-width:2px}.md\\:vc-border-l-2{border-left-width:2px}.md\\:vc-border-t-4{border-top-width:4px}.md\\:vc-border-r-4{border-right-width:4px}.md\\:vc-border-b-4{border-bottom-width:4px}.md\\:vc-border-l-4{border-left-width:4px}.md\\:vc-border-t-8{border-top-width:8px}.md\\:vc-border-r-8{border-right-width:8px}.md\\:vc-border-b-8{border-bottom-width:8px}.md\\:vc-border-l-8{border-left-width:8px}.md\\:vc-border-t{border-top-width:1px}.md\\:vc-border-r{border-right-width:1px}.md\\:vc-border-b{border-bottom-width:1px}.md\\:vc-border-l{border-left-width:1px}.md\\:vc-text-left{text-align:left}.md\\:vc-text-center{text-align:center}.md\\:vc-text-right{text-align:right}.md\\:vc-text-justify{text-align:justify}.md\\:vc-text-xs{font-size:12px}.md\\:vc-text-sm{font-size:14px}.md\\:vc-text-base{font-size:16px}.md\\:vc-text-lg{font-size:18px}.md\\:vc-text-xl{font-size:20px}.md\\:vc-text-2xl{font-size:24px}}@media (min-width:1024px){.lg\\:vc-bg-fixed{background-attachment:fixed}.lg\\:vc-bg-local{background-attachment:local}.lg\\:vc-bg-scroll{background-attachment:scroll}.lg\\:vc-bg-bottom{background-position:bottom}.lg\\:vc-bg-center{background-position:50%}.lg\\:vc-bg-left{background-position:0}.lg\\:vc-bg-left-bottom{background-position:0 100%}.lg\\:vc-bg-left-top{background-position:0 0}.lg\\:vc-bg-right{background-position:100%}.lg\\:vc-bg-right-bottom{background-position:100% 100%}.lg\\:vc-bg-right-top{background-position:100% 0}.lg\\:vc-bg-top{background-position:top}.lg\\:vc-bg-repeat{background-repeat:repeat}.lg\\:vc-bg-no-repeat{background-repeat:no-repeat}.lg\\:vc-bg-repeat-x{background-repeat:repeat-x}.lg\\:vc-bg-repeat-y{background-repeat:repeat-y}.lg\\:vc-bg-repeat-round{background-repeat:round}.lg\\:vc-bg-repeat-space{background-repeat:space}.lg\\:vc-bg-auto{background-size:auto}.lg\\:vc-bg-cover{background-size:cover}.lg\\:vc-bg-contain{background-size:contain}.lg\\:vc-border-collapse{border-collapse:collapse}.lg\\:vc-border-separate{border-collapse:initial}.lg\\:vc-border-solid{border-style:solid}.lg\\:vc-border-dashed{border-style:dashed}.lg\\:vc-border-dotted{border-style:dotted}.lg\\:vc-border-double{border-style:double}.lg\\:vc-border-none{border-style:none}.lg\\:vc-border-0{border-width:0}.lg\\:vc-border-2{border-width:2px}.lg\\:vc-border-4{border-width:4px}.lg\\:vc-border-8{border-width:8px}.lg\\:vc-border{border-width:1px}.lg\\:vc-border-t-0{border-top-width:0}.lg\\:vc-border-r-0{border-right-width:0}.lg\\:vc-border-b-0{border-bottom-width:0}.lg\\:vc-border-l-0{border-left-width:0}.lg\\:vc-border-t-2{border-top-width:2px}.lg\\:vc-border-r-2{border-right-width:2px}.lg\\:vc-border-b-2{border-bottom-width:2px}.lg\\:vc-border-l-2{border-left-width:2px}.lg\\:vc-border-t-4{border-top-width:4px}.lg\\:vc-border-r-4{border-right-width:4px}.lg\\:vc-border-b-4{border-bottom-width:4px}.lg\\:vc-border-l-4{border-left-width:4px}.lg\\:vc-border-t-8{border-top-width:8px}.lg\\:vc-border-r-8{border-right-width:8px}.lg\\:vc-border-b-8{border-bottom-width:8px}.lg\\:vc-border-l-8{border-left-width:8px}.lg\\:vc-border-t{border-top-width:1px}.lg\\:vc-border-r{border-right-width:1px}.lg\\:vc-border-b{border-bottom-width:1px}.lg\\:vc-border-l{border-left-width:1px}.lg\\:vc-text-left{text-align:left}.lg\\:vc-text-center{text-align:center}.lg\\:vc-text-right{text-align:right}.lg\\:vc-text-justify{text-align:justify}.lg\\:vc-text-xs{font-size:12px}.lg\\:vc-text-sm{font-size:14px}.lg\\:vc-text-base{font-size:16px}.lg\\:vc-text-lg{font-size:18px}.lg\\:vc-text-xl{font-size:20px}.lg\\:vc-text-2xl{font-size:24px}}@media (min-width:1280px){.xl\\:vc-bg-fixed{background-attachment:fixed}.xl\\:vc-bg-local{background-attachment:local}.xl\\:vc-bg-scroll{background-attachment:scroll}.xl\\:vc-bg-bottom{background-position:bottom}.xl\\:vc-bg-center{background-position:50%}.xl\\:vc-bg-left{background-position:0}.xl\\:vc-bg-left-bottom{background-position:0 100%}.xl\\:vc-bg-left-top{background-position:0 0}.xl\\:vc-bg-right{background-position:100%}.xl\\:vc-bg-right-bottom{background-position:100% 100%}.xl\\:vc-bg-right-top{background-position:100% 0}.xl\\:vc-bg-top{background-position:top}.xl\\:vc-bg-repeat{background-repeat:repeat}.xl\\:vc-bg-no-repeat{background-repeat:no-repeat}.xl\\:vc-bg-repeat-x{background-repeat:repeat-x}.xl\\:vc-bg-repeat-y{background-repeat:repeat-y}.xl\\:vc-bg-repeat-round{background-repeat:round}.xl\\:vc-bg-repeat-space{background-repeat:space}.xl\\:vc-bg-auto{background-size:auto}.xl\\:vc-bg-cover{background-size:cover}.xl\\:vc-bg-contain{background-size:contain}.xl\\:vc-border-collapse{border-collapse:collapse}.xl\\:vc-border-separate{border-collapse:initial}.xl\\:vc-border-solid{border-style:solid}.xl\\:vc-border-dashed{border-style:dashed}.xl\\:vc-border-dotted{border-style:dotted}.xl\\:vc-border-double{border-style:double}.xl\\:vc-border-none{border-style:none}.xl\\:vc-border-0{border-width:0}.xl\\:vc-border-2{border-width:2px}.xl\\:vc-border-4{border-width:4px}.xl\\:vc-border-8{border-width:8px}.xl\\:vc-border{border-width:1px}.xl\\:vc-border-t-0{border-top-width:0}.xl\\:vc-border-r-0{border-right-width:0}.xl\\:vc-border-b-0{border-bottom-width:0}.xl\\:vc-border-l-0{border-left-width:0}.xl\\:vc-border-t-2{border-top-width:2px}.xl\\:vc-border-r-2{border-right-width:2px}.xl\\:vc-border-b-2{border-bottom-width:2px}.xl\\:vc-border-l-2{border-left-width:2px}.xl\\:vc-border-t-4{border-top-width:4px}.xl\\:vc-border-r-4{border-right-width:4px}.xl\\:vc-border-b-4{border-bottom-width:4px}.xl\\:vc-border-l-4{border-left-width:4px}.xl\\:vc-border-t-8{border-top-width:8px}.xl\\:vc-border-r-8{border-right-width:8px}.xl\\:vc-border-b-8{border-bottom-width:8px}.xl\\:vc-border-l-8{border-left-width:8px}.xl\\:vc-border-t{border-top-width:1px}.xl\\:vc-border-r{border-right-width:1px}.xl\\:vc-border-b{border-bottom-width:1px}.xl\\:vc-border-l{border-left-width:1px}.xl\\:vc-text-left{text-align:left}.xl\\:vc-text-center{text-align:center}.xl\\:vc-text-right{text-align:right}.xl\\:vc-text-justify{text-align:justify}.xl\\:vc-text-xs{font-size:12px}.xl\\:vc-text-sm{font-size:14px}.xl\\:vc-text-base{font-size:16px}.xl\\:vc-text-lg{font-size:18px}.xl\\:vc-text-xl{font-size:20px}.xl\\:vc-text-2xl{font-size:24px}}",""])},f4d6:function(t,e,n){var r=n("ffd6"),i=1/0;function o(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}t.exports=o},f4d9:function(t,e){var n="\\ud800-\\udfff",r="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="['’]",l="["+s+"]",c="\\d+",u="["+r+"]",d="["+i+"]",h="[^"+n+s+c+r+i+o+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",m="["+o+"]",g="(?:"+d+"|"+h+")",v="(?:"+m+"|"+h+")",b="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",y="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",x="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",w="[\\ufe0e\\ufe0f]?",k="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",S=w+x+"(?:\\u200d(?:"+["[^"+n+"]",f,p].join("|")+")"+w+x+")*",O="(?:"+[u,f,p].join("|")+")"+S,M=RegExp([m+"?"+d+"+"+b+"(?="+[l,m,"$"].join("|")+")",v+"+"+y+"(?="+[l,m+g,"$"].join("|")+")",m+"?"+g+"+"+b,m+"+"+y,_,k,c,O].join("|"),"g");function C(t){return t.match(M)||[]}t.exports=C},f542:function(t,e,n){var r=n("ec47")(n("ec69"));t.exports=r},f608:function(t,e,n){var r=n("6747"),i=n("ffd6"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;function a(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||s.test(t)||!o.test(t)||null!=e&&t in Object(e)}t.exports=a},f678:function(t,e,n){var r=n("8384"),i=n("b4b0");function o(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=i(n))==n?n:0),void 0!==e&&(e=(e=i(e))==e?e:0),r(i(t),e,n)}t.exports=o},f772:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},f7f1:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("fe1f"),i=n("fd3a"),o=n("8c86");function s(t,e){Object(o.a)(2,arguments);var n=Object(i.a)(t),s=Object(r.a)(e);return isNaN(s)?new Date(NaN):s?(n.setDate(n.getDate()+s),n):n}},f8af:function(t,e,n){var r=n("2474");function i(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}t.exports=i},f909:function(t,e,n){var r=n("7e64"),i=n("b760"),o=n("72af"),s=n("4f50"),a=n("1a8c"),l=n("9934"),c=n("8adb");function u(t,e,n,d,h){t!==e&&o(e,(function(o,l){if(h||(h=new r),a(o))s(t,e,l,n,u,d,h);else{var f=d?d(c(t,l),o,l+"",t,e,h):void 0;void 0===f&&(f=o),i(t,l,f)}}),l)}t.exports=u},f9ce:function(t,e,n){var r=n("ef5d"),i=n("e3f8"),o=n("f608"),s=n("f4d6");function a(t){return o(t)?r(s(t)):i(t)}t.exports=a},fa21:function(t,e,n){var r=n("7530"),i=n("2dcb"),o=n("eac5");function s(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}t.exports=s},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"Calendar",(function(){return i.c})),n.d(e,"CalendarNav",(function(){return i.d})),n.d(e,"DatePicker",(function(){return i.f})),n.d(e,"Popover",(function(){return i.i})),n.d(e,"PopoverRef",(function(){return i.j})),n.d(e,"Grid",(function(){return i.g})),n.d(e,"Locale",(function(){return i.h})),n.d(e,"DateInfo",(function(){return i.e})),n.d(e,"Attribute",(function(){return i.a})),n.d(e,"AttributeStore",(function(){return i.b})),n.d(e,"setupCalendar",(function(){return i.L})),n.d(e,"evalFn",(function(){return i.u})),n.d(e,"pageIsValid",(function(){return i.K})),n.d(e,"pageIsBeforePage",(function(){return i.H})),n.d(e,"pageIsAfterPage",(function(){return i.G})),n.d(e,"pageIsBetweenPages",(function(){return i.I})),n.d(e,"pageIsEqualToPage",(function(){return i.J})),n.d(e,"pageForDate",(function(){return i.C})),n.d(e,"addPages",(function(){return i.l})),n.d(e,"pageForThisMonth",(function(){return i.F})),n.d(e,"pageForNextMonth",(function(){return i.D})),n.d(e,"pageForPrevMonth",(function(){return i.E})),n.d(e,"getMaxPage",(function(){return i.w})),n.d(e,"datesAreEqual",(function(){return i.p})),n.d(e,"arrayHasItems",(function(){return i.n})),n.d(e,"findAncestor",(function(){return i.v})),n.d(e,"elementHasAncestor",(function(){return i.s})),n.d(e,"elementPositionInAncestor",(function(){return i.t})),n.d(e,"mixinOptionalProps",(function(){return i.y})),n.d(e,"on",(function(){return i.A})),n.d(e,"off",(function(){return i.z})),n.d(e,"elementContains",(function(){return i.r})),n.d(e,"onSpaceOrEnter",(function(){return i.B})),n.d(e,"createGuid",(function(){return i.o})),n.d(e,"hash",(function(){return i.x})),n.d(e,"addTapOrClickHandler",(function(){return i.m})),n.d(e,"addHorizontalSwipeHandler",(function(){return i.k})),"undefined"!=typeof window&&(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]);var i=n("34e9");e.default=i.q},fba5:function(t,e,n){var r=n("cb5a");function i(t){return r(this.__data__,t)>-1}t.exports=i},fd3a:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("8c86");function i(t){Object(r.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},fe1f:function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,"a",(function(){return r}))},ffd6:function(t,e,n){var r=n("3729"),i=n("1310"),o="[object Symbol]";function s(t){return"symbol"==typeof t||i(t)&&r(t)==o}t.exports=s}}))},52566:function(t){t.exports=function(){var t="__v-click-outside",e="undefined"!=typeof window,n="undefined"!=typeof navigator,r=e&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function i(t){var e=t.event,n=t.handler;(0,t.middleware)(e)&&n(e)}function o(e,n){var o=function(t){var e="function"==typeof t;if(!e&&"object"!=typeof t)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:e?t:t.handler,middleware:t.middleware||function(t){return t},events:t.events||r,isActive:!(!1===t.isActive),detectIframe:!(!1===t.detectIframe),capture:!!t.capture}}(n.value),s=o.handler,a=o.middleware,l=o.detectIframe,c=o.capture;if(o.isActive){if(e[t]=o.events.map((function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(t){var e=t.el,n=t.event,r=t.handler,o=t.middleware,s=n.composedPath&&n.composedPath()||n.path;(s?s.indexOf(e)<0:!e.contains(n.target))&&i({event:n,handler:r,middleware:o})}({el:e,event:t,handler:s,middleware:a})},capture:c}})),l){var u={event:"blur",srcTarget:window,handler:function(t){return function(t){var e=t.el,n=t.event,r=t.handler,o=t.middleware;setTimeout((function(){var t=document.activeElement;t&&"IFRAME"===t.tagName&&!e.contains(t)&&i({event:n,handler:r,middleware:o})}),0)}({el:e,event:t,handler:s,middleware:a})},capture:c};e[t]=[].concat(e[t],[u])}e[t].forEach((function(n){var r=n.event,i=n.srcTarget,o=n.handler;return setTimeout((function(){e[t]&&i.addEventListener(r,o,c)}),0)}))}}function s(e){(e[t]||[]).forEach((function(t){return t.srcTarget.removeEventListener(t.event,t.handler,t.capture)})),delete e[t]}var a=e?{bind:o,update:function(t,e){var n=e.value,r=e.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(s(t),o(t,{value:n}))},unbind:s}:{};return{install:function(t){t.directive("click-outside",a)},directive:a}}()},35992:function(t,e,n){t.exports=function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function e(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function r(t,e){return t(e={exports:{}},e.exports),e.exports}var i=r((function(n,r){var i;i=function(){return function t(n,r,i){function o(a,l){if(!r[a]){if(!n[a]){var c="function"==typeof e&&e;if(!l&&c)return c(a,!0);if(s)return s(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var d=r[a]={exports:{}};n[a][0].call(d.exports,(function(t){var e=n[a][1][t];return o(e||t)}),d,d.exports,t,n,r,i)}return r[a].exports}for(var s="function"==typeof e&&e,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(e,n,r){(function(t){var e,r,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var o=0,s=new i(u),a=t.document.createTextNode("");s.observe(a,{characterData:!0}),e=function(){a.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)e="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var l=new t.MessageChannel;l.port1.onmessage=u,e=function(){l.port2.postMessage(0)}}var c=[];function u(){var t,e;r=!0;for(var n=c.length;n;){for(e=c,c=[],t=-1;++t<n;)e[t]();n=c.length}r=!1}function d(t){1!==c.push(t)||r||e()}n.exports=d}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){var r=t(1);function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==i&&f(this,t)}function u(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(t,e,n){r((function(){var r;try{r=e(n)}catch(e){return o.reject(t,e)}r===t?o.reject(t,new TypeError("Cannot resolve promise with itself")):o.resolve(t,r)}))}function h(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function f(t,e){var n=!1;function r(e){n||(n=!0,o.reject(t,e))}function i(e){n||(n=!0,o.resolve(t,e))}function s(){e(i,r)}var a=p(s);"error"===a.status&&r(a.value)}function p(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}function m(t){return t instanceof this?t:o.resolve(new this(i),t)}function g(t){var e=new this(i);return o.reject(e,t)}function v(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,l=-1,c=new this(i);++l<n;)u(t[l],l);return c;function u(t,i){function l(t){s[i]=t,++a!==n||r||(r=!0,o.resolve(c,s))}e.resolve(t).then(l,(function(t){r||(r=!0,o.reject(c,t))}))}}function b(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,r=!1;if(!n)return this.resolve([]);for(var s=-1,a=new this(i);++s<n;)l(t[s]);return a;function l(t){e.resolve(t).then((function(t){r||(r=!0,o.resolve(a,t))}),(function(t){r||(r=!0,o.reject(a,t))}))}}e.exports=c,c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){if("function"!=typeof t&&this.state===a||"function"!=typeof e&&this.state===s)return this;var n=new this.constructor(i);return this.state!==l?d(n,this.state===a?t:e,this.outcome):this.queue.push(new u(n,t,e)),n},u.prototype.callFulfilled=function(t){o.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){d(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){o.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){d(this.promise,this.onRejected,t)},o.resolve=function(t,e){var n=p(h,e);if("error"===n.status)return o.reject(t,n.value);var r=n.value;if(r)f(t,r);else{t.state=a,t.outcome=e;for(var i=-1,s=t.queue.length;++i<s;)t.queue[i].callFulfilled(e)}return t},o.reject=function(t,e){t.state=s,t.outcome=e;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);return t},c.resolve=m,c.reject=g,c.all=v,c.race=b},{1:1}],3:[function(e,n,r){(function(t){"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,e,n){var r="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};function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){return}}var s=o();function a(){try{if(!s)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),e="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||e)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}function l(t,e){t=t||[],e=e||{};try{return new Blob(t,e)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<t.length;r+=1)n.append(t[r]);return n.getBlob(e.type)}}"undefined"==typeof Promise&&t(3);var c=Promise;function u(t,e){e&&t.then((function(t){e(null,t)}),(function(t){e(t)}))}function d(t,e,n){"function"==typeof e&&t.then(e),"function"==typeof n&&t.catch(n)}function h(t){return"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t)),t}function f(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var p="local-forage-detect-blob-support",m=void 0,g={},v=Object.prototype.toString,b="readonly",y="readwrite";function x(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n),i=0;i<e;i++)r[i]=t.charCodeAt(i);return n}function w(t){return new c((function(e){var n=t.transaction(p,y),r=l([""]);n.objectStore(p).put(r,"key"),n.onabort=function(t){t.preventDefault(),t.stopPropagation(),e(!1)},n.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);e(n||!t||parseInt(t[1],10)>=43)}})).catch((function(){return!1}))}function k(t){return"boolean"==typeof m?c.resolve(m):w(t).then((function(t){return m=t}))}function _(t){var e=g[t.name],n={};n.promise=new c((function(t,e){n.resolve=t,n.reject=e})),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then((function(){return n.promise})):e.dbReady=n.promise}function S(t){var e=g[t.name].deferredOperations.pop();if(e)return e.resolve(),e.promise}function O(t,e){var n=g[t.name].deferredOperations.pop();if(n)return n.reject(e),n.promise}function M(t,e){return new c((function(n,r){if(g[t.name]=g[t.name]||N(),t.db){if(!e)return n(t.db);_(t),t.db.close()}var i=[t.name];e&&i.push(t.version);var o=s.open.apply(s,i);e&&(o.onupgradeneeded=function(e){var n=o.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(p)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),o.onerror=function(t){t.preventDefault(),r(o.error)},o.onsuccess=function(){n(o.result),S(t)}}))}function C(t){return M(t,!1)}function A(t){return M(t,!0)}function T(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),r=t.version<t.db.version,i=t.version>t.db.version;if(r&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),i||n){if(n){var o=t.db.version+1;o>t.version&&(t.version=o)}return!0}return!1}function E(t){return new c((function(e,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:t.type})},r.readAsBinaryString(t)}))}function D(t){return l([x(atob(t.data))],{type:t.type})}function P(t){return t&&t.__local_forage_encoded_blob}function j(t){var e=this,n=e._initReady().then((function(){var t=g[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return d(n,t,t),n}function L(t){_(t);for(var e=g[t.name],n=e.forages,r=0;r<n.length;r++){var i=n[r];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return t.db=null,C(t).then((function(e){return t.db=e,T(t)?A(t):e})).then((function(r){t.db=e.db=r;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=r})).catch((function(e){throw O(t,e),e}))}function I(t,e,n,r){void 0===r&&(r=1);try{var i=t.db.transaction(t.storeName,e);n(null,i)}catch(i){if(r>0&&(!t.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return c.resolve().then((function(){if(!t.db||"NotFoundError"===i.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),A(t)})).then((function(){return L(t).then((function(){I(t,e,n,r-1)}))})).catch(n);n(i)}}function N(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function R(t){var e=this,n={db:null};if(t)for(var r in t)n[r]=t[r];var i=g[n.name];i||(i=N(),g[n.name]=i),i.forages.push(e),e._initReady||(e._initReady=e.ready,e.ready=j);var o=[];function s(){return c.resolve()}for(var a=0;a<i.forages.length;a++){var l=i.forages[a];l!==e&&o.push(l._initReady().catch(s))}var u=i.forages.slice(0);return c.all(o).then((function(){return n.db=i.db,C(n)})).then((function(t){return n.db=t,T(n,e._defaultConfig.version)?A(n):t})).then((function(t){n.db=i.db=t,e._dbInfo=n;for(var r=0;r<u.length;r++){var o=u[r];o!==e&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}}))}function $(t,e){var n=this;t=h(t);var r=new c((function(e,r){n.ready().then((function(){I(n._dbInfo,b,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).get(t);s.onsuccess=function(){var t=s.result;void 0===t&&(t=null),P(t)&&(t=D(t)),e(t)},s.onerror=function(){r(s.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,e),r}function B(t,e){var n=this,r=new c((function(e,r){n.ready().then((function(){I(n._dbInfo,b,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).openCursor(),a=1;s.onsuccess=function(){var n=s.result;if(n){var r=n.value;P(r)&&(r=D(r));var i=t(r,n.key,a++);void 0!==i?e(i):n.continue()}else e()},s.onerror=function(){r(s.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,e),r}function F(t,e,n){var r=this;t=h(t);var i=new c((function(n,i){var o;r.ready().then((function(){return o=r._dbInfo,"[object Blob]"===v.call(e)?k(o.db).then((function(t){return t?e:E(e)})):e})).then((function(e){I(r._dbInfo,y,(function(o,s){if(o)return i(o);try{var a=s.objectStore(r._dbInfo.storeName);null===e&&(e=void 0);var l=a.put(e,t);s.oncomplete=function(){void 0===e&&(e=null),n(e)},s.onabort=s.onerror=function(){var t=l.error?l.error:l.transaction.error;i(t)}}catch(t){i(t)}}))})).catch(i)}));return u(i,n),i}function z(t,e){var n=this;t=h(t);var r=new c((function(e,r){n.ready().then((function(){I(n._dbInfo,y,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName).delete(t);o.oncomplete=function(){e()},o.onerror=function(){r(s.error)},o.onabort=function(){var t=s.error?s.error:s.transaction.error;r(t)}}catch(t){r(t)}}))})).catch(r)}));return u(r,e),r}function H(t){var e=this,n=new c((function(t,n){e.ready().then((function(){I(e._dbInfo,y,(function(r,i){if(r)return n(r);try{var o=i.objectStore(e._dbInfo.storeName).clear();i.oncomplete=function(){t()},i.onabort=i.onerror=function(){var t=o.error?o.error:o.transaction.error;n(t)}}catch(t){n(t)}}))})).catch(n)}));return u(n,t),n}function Y(t){var e=this,n=new c((function(t,n){e.ready().then((function(){I(e._dbInfo,b,(function(r,i){if(r)return n(r);try{var o=i.objectStore(e._dbInfo.storeName).count();o.onsuccess=function(){t(o.result)},o.onerror=function(){n(o.error)}}catch(t){n(t)}}))})).catch(n)}));return u(n,t),n}function W(t,e){var n=this,r=new c((function(e,r){t<0?e(null):n.ready().then((function(){I(n._dbInfo,b,(function(i,o){if(i)return r(i);try{var s=o.objectStore(n._dbInfo.storeName),a=!1,l=s.openCursor();l.onsuccess=function(){var n=l.result;n?0===t||a?e(n.key):(a=!0,n.advance(t)):e(null)},l.onerror=function(){r(l.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,e),r}function V(t){var e=this,n=new c((function(t,n){e.ready().then((function(){I(e._dbInfo,b,(function(r,i){if(r)return n(r);try{var o=i.objectStore(e._dbInfo.storeName).openCursor(),s=[];o.onsuccess=function(){var e=o.result;e?(s.push(e.key),e.continue()):t(s)},o.onerror=function(){n(o.error)}}catch(t){n(t)}}))})).catch(n)}));return u(n,t),n}function U(t,e){e=f.apply(this,arguments);var n=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||n.name,t.storeName=t.storeName||n.storeName);var r,i=this;if(t.name){var o=t.name===n.name&&i._dbInfo.db?c.resolve(i._dbInfo.db):C(t).then((function(e){var n=g[t.name],r=n.forages;n.db=e;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=e;return e}));r=t.storeName?o.then((function(e){if(e.objectStoreNames.contains(t.storeName)){var n=e.version+1;_(t);var r=g[t.name],i=r.forages;e.close();for(var o=0;o<i.length;o++){var a=i[o];a._dbInfo.db=null,a._dbInfo.version=n}var l=new c((function(e,r){var i=s.open(t.name,n);i.onerror=function(t){i.result.close(),r(t)},i.onupgradeneeded=function(){i.result.deleteObjectStore(t.storeName)},i.onsuccess=function(){var t=i.result;t.close(),e(t)}}));return l.then((function(t){r.db=t;for(var e=0;e<i.length;e++){var n=i[e];n._dbInfo.db=t,S(n._dbInfo)}})).catch((function(e){throw(O(t,e)||c.resolve()).catch((function(){})),e}))}})):o.then((function(e){_(t);var n=g[t.name],r=n.forages;e.close();for(var i=0;i<r.length;i++)r[i]._dbInfo.db=null;var o=new c((function(e,n){var r=s.deleteDatabase(t.name);r.onerror=r.onblocked=function(t){var e=r.result;e&&e.close(),n(t)},r.onsuccess=function(){var t=r.result;t&&t.close(),e(t)}}));return o.then((function(t){n.db=t;for(var e=0;e<r.length;e++)S(r[e]._dbInfo)})).catch((function(e){throw(O(t,e)||c.resolve()).catch((function(){})),e}))}))}else r=c.reject("Invalid arguments");return u(r,e),r}var G={_driver:"asyncStorage",_initStorage:R,_support:a(),iterate:B,getItem:$,setItem:F,removeItem:z,clear:H,length:Y,key:W,keys:V,dropInstance:U};function X(){return"function"==typeof openDatabase}var q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",K="~~local_forage_type~",J=/^~~local_forage_type~([^~]+)~/,Z="__lfsc__:",Q=Z.length,tt="arbf",et="blob",nt="si08",rt="ui08",it="uic8",ot="si16",st="si32",at="ur16",lt="ui32",ct="fl32",ut="fl64",dt=Q+tt.length,ht=Object.prototype.toString;function ft(t){var e,n,r,i,o,s=.75*t.length,a=t.length,l=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var c=new ArrayBuffer(s),u=new Uint8Array(c);for(e=0;e<a;e+=4)n=q.indexOf(t[e]),r=q.indexOf(t[e+1]),i=q.indexOf(t[e+2]),o=q.indexOf(t[e+3]),u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c}function pt(t){var e,n=new Uint8Array(t),r="";for(e=0;e<n.length;e+=3)r+=q[n[e]>>2],r+=q[(3&n[e])<<4|n[e+1]>>4],r+=q[(15&n[e+1])<<2|n[e+2]>>6],r+=q[63&n[e+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function mt(t,e){var n="";if(t&&(n=ht.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===ht.call(t.buffer))){var r,i=Z;t instanceof ArrayBuffer?(r=t,i+=tt):(r=t.buffer,"[object Int8Array]"===n?i+=nt:"[object Uint8Array]"===n?i+=rt:"[object Uint8ClampedArray]"===n?i+=it:"[object Int16Array]"===n?i+=ot:"[object Uint16Array]"===n?i+=at:"[object Int32Array]"===n?i+=st:"[object Uint32Array]"===n?i+=lt:"[object Float32Array]"===n?i+=ct:"[object Float64Array]"===n?i+=ut:e(new Error("Failed to get type for BinaryArray"))),e(i+pt(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n=K+t.type+"~"+pt(this.result);e(Z+et+n)},o.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(n){console.error("Couldn't convert value into a JSON string: ",t),e(null,n)}}function gt(t){if(t.substring(0,Q)!==Z)return JSON.parse(t);var e,n=t.substring(dt),r=t.substring(Q,dt);if(r===et&&J.test(n)){var i=n.match(J);e=i[1],n=n.substring(i[0].length)}var o=ft(n);switch(r){case tt:return o;case et:return l([o],{type:e});case nt:return new Int8Array(o);case rt:return new Uint8Array(o);case it:return new Uint8ClampedArray(o);case ot:return new Int16Array(o);case at:return new Uint16Array(o);case st:return new Int32Array(o);case lt:return new Uint32Array(o);case ct:return new Float32Array(o);case ut:return new Float64Array(o);default:throw new Error("Unkown type: "+r)}}var vt={serialize:mt,deserialize:gt,stringToBuffer:ft,bufferToString:pt};function bt(t,e,n,r){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function yt(t){var e=this,n={db:null};if(t)for(var r in t)n[r]="string"!=typeof t[r]?t[r].toString():t[r];var i=new c((function(t,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(t){return r(t)}n.db.transaction((function(i){bt(i,n,(function(){e._dbInfo=n,t()}),(function(t,e){r(e)}))}),r)}));return n.serializer=vt,i}function xt(t,e,n,r,i,o){t.executeSql(n,r,i,(function(t,s){s.code===s.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],(function(t,a){a.rows.length?o(t,s):bt(t,e,(function(){t.executeSql(n,r,i,o)}),o)}),o):o(t,s)}),o)}function wt(t,e){var n=this;t=h(t);var r=new c((function(e,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){xt(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),e(r)}),(function(t,e){r(e)}))}))})).catch(r)}));return u(r,e),r}function kt(t,e){var n=this,r=new c((function(e,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){xt(n,i,"SELECT * FROM "+i.storeName,[],(function(n,r){for(var o=r.rows,s=o.length,a=0;a<s;a++){var l=o.item(a),c=l.value;if(c&&(c=i.serializer.deserialize(c)),void 0!==(c=t(c,l.key,a+1)))return void e(c)}e()}),(function(t,e){r(e)}))}))})).catch(r)}));return u(r,e),r}function _t(t,e,n,r){var i=this;t=h(t);var o=new c((function(o,s){i.ready().then((function(){void 0===e&&(e=null);var a=e,l=i._dbInfo;l.serializer.serialize(e,(function(e,c){c?s(c):l.db.transaction((function(n){xt(n,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[t,e],(function(){o(a)}),(function(t,e){s(e)}))}),(function(e){if(e.code===e.QUOTA_ERR){if(r>0)return void o(_t.apply(i,[t,a,n,r-1]));s(e)}}))}))})).catch(s)}));return u(o,n),o}function St(t,e,n){return _t.apply(this,[t,e,n,1])}function Ot(t,e){var n=this;t=h(t);var r=new c((function(e,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){xt(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[t],(function(){e()}),(function(t,e){r(e)}))}))})).catch(r)}));return u(r,e),r}function Mt(t){var e=this,n=new c((function(t,n){e.ready().then((function(){var r=e._dbInfo;r.db.transaction((function(e){xt(e,r,"DELETE FROM "+r.storeName,[],(function(){t()}),(function(t,e){n(e)}))}))})).catch(n)}));return u(n,t),n}function Ct(t){var e=this,n=new c((function(t,n){e.ready().then((function(){var r=e._dbInfo;r.db.transaction((function(e){xt(e,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(e,n){var r=n.rows.item(0).c;t(r)}),(function(t,e){n(e)}))}))})).catch(n)}));return u(n,t),n}function At(t,e){var n=this,r=new c((function(e,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){xt(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,n){var r=n.rows.length?n.rows.item(0).key:null;e(r)}),(function(t,e){r(e)}))}))})).catch(r)}));return u(r,e),r}function Tt(t){var e=this,n=new c((function(t,n){e.ready().then((function(){var r=e._dbInfo;r.db.transaction((function(e){xt(e,r,"SELECT key FROM "+r.storeName,[],(function(e,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);t(r)}),(function(t,e){n(e)}))}))})).catch(n)}));return u(n,t),n}function Et(t){return new c((function(e,n){t.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var i=[],o=0;o<r.rows.length;o++)i.push(r.rows.item(o).name);e({db:t,storeNames:i})}),(function(t,e){n(e)}))}),(function(t){n(t)}))}))}function Dt(t,e){e=f.apply(this,arguments);var n=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||n.name,t.storeName=t.storeName||n.storeName);var r,i=this;return u(r=t.name?new c((function(e){var r;r=t.name===n.name?i._dbInfo.db:openDatabase(t.name,"","",0),t.storeName?e({db:r,storeNames:[t.storeName]}):e(Et(r))})).then((function(t){return new c((function(e,n){t.db.transaction((function(r){function i(t){return new c((function(e,n){r.executeSql("DROP TABLE IF EXISTS "+t,[],(function(){e()}),(function(t,e){n(e)}))}))}for(var o=[],s=0,a=t.storeNames.length;s<a;s++)o.push(i(t.storeNames[s]));c.all(o).then((function(){e()})).catch((function(t){n(t)}))}),(function(t){n(t)}))}))})):c.reject("Invalid arguments"),e),r}var Pt={_driver:"webSQLStorage",_initStorage:yt,_support:X(),iterate:kt,getItem:wt,setItem:St,removeItem:Ot,clear:Mt,length:Ct,key:At,keys:Tt,dropInstance:Dt};function jt(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(t){return!1}}function Lt(t,e){var n=t.name+"/";return t.storeName!==e.storeName&&(n+=t.storeName+"/"),n}function It(){var t="_localforage_support_test";try{return localStorage.setItem(t,!0),localStorage.removeItem(t),!1}catch(t){return!0}}function Nt(){return!It()||localStorage.length>0}function Rt(t){var e=this,n={};if(t)for(var r in t)n[r]=t[r];return n.keyPrefix=Lt(t,e._defaultConfig),Nt()?(e._dbInfo=n,n.serializer=vt,c.resolve()):c.reject()}function $t(t){var e=this,n=e.ready().then((function(){for(var t=e._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(t)&&localStorage.removeItem(r)}}));return u(n,t),n}function Bt(t,e){var n=this;t=h(t);var r=n.ready().then((function(){var e=n._dbInfo,r=localStorage.getItem(e.keyPrefix+t);return r&&(r=e.serializer.deserialize(r)),r}));return u(r,e),r}function Ft(t,e){var n=this,r=n.ready().then((function(){for(var e=n._dbInfo,r=e.keyPrefix,i=r.length,o=localStorage.length,s=1,a=0;a<o;a++){var l=localStorage.key(a);if(0===l.indexOf(r)){var c=localStorage.getItem(l);if(c&&(c=e.serializer.deserialize(c)),void 0!==(c=t(c,l.substring(i),s++)))return c}}}));return u(r,e),r}function zt(t,e){var n=this,r=n.ready().then((function(){var e,r=n._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(r.keyPrefix.length)),e}));return u(r,e),r}function Ht(t){var e=this,n=e.ready().then((function(){for(var t=e._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(t.keyPrefix)&&r.push(o.substring(t.keyPrefix.length))}return r}));return u(n,t),n}function Yt(t){var e=this.keys().then((function(t){return t.length}));return u(e,t),e}function Wt(t,e){var n=this;t=h(t);var r=n.ready().then((function(){var e=n._dbInfo;localStorage.removeItem(e.keyPrefix+t)}));return u(r,e),r}function Vt(t,e,n){var r=this;t=h(t);var i=r.ready().then((function(){void 0===e&&(e=null);var n=e;return new c((function(i,o){var s=r._dbInfo;s.serializer.serialize(e,(function(e,r){if(r)o(r);else try{localStorage.setItem(s.keyPrefix+t,e),i(n)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||o(t),o(t)}}))}))}));return u(i,n),i}function Ut(t,e){if(e=f.apply(this,arguments),!(t="function"!=typeof t&&t||{}).name){var n=this.config();t.name=t.name||n.name,t.storeName=t.storeName||n.storeName}var r,i=this;return r=t.name?new c((function(e){t.storeName?e(Lt(t,i._defaultConfig)):e(t.name+"/")})).then((function(t){for(var e=localStorage.length-1;e>=0;e--){var n=localStorage.key(e);0===n.indexOf(t)&&localStorage.removeItem(n)}})):c.reject("Invalid arguments"),u(r,e),r}var Gt={_driver:"localStorageWrapper",_initStorage:Rt,_support:jt(),iterate:Ft,getItem:Bt,setItem:Vt,removeItem:Wt,clear:$t,length:Yt,key:zt,keys:Ht,dropInstance:Ut},Xt=function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)},qt=function(t,e){for(var n=t.length,r=0;r<n;){if(Xt(t[r],e))return!0;r++}return!1},Kt=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},Jt={},Zt={},Qt={INDEXEDDB:G,WEBSQL:Pt,LOCALSTORAGE:Gt},te=[Qt.INDEXEDDB._driver,Qt.WEBSQL._driver,Qt.LOCALSTORAGE._driver],ee=["dropInstance"],ne=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ee),re={description:"",driver:te.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function ie(t,e){t[e]=function(){var n=arguments;return t.ready().then((function(){return t[e].apply(t,n)}))}}function oe(){for(var t=arguments,e=1;e<arguments.length;e++){var n=t[e];if(n)for(var r in n)n.hasOwnProperty(r)&&(Kt(n[r])?t[0][r]=n[r].slice():t[0][r]=n[r])}return arguments[0]}var se=function(){function t(e){for(var n in i(this,t),Qt)if(Qt.hasOwnProperty(n)){var r=Qt[n],o=r._driver;this[n]=o,Jt[o]||this.defineDriver(r)}this._defaultConfig=oe({},re),this._config=oe({},this._defaultConfig,e),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":r(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var e in t){if("storeName"===e&&(t[e]=t[e].replace(/\W/g,"_")),"version"===e&&"number"!=typeof t[e])return new Error("Database version must be a number.");this._config[e]=t[e]}return!("driver"in t)||!t.driver||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,e,n){var r=new c((function(e,n){try{var r=t._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver)return void n(i);for(var o=ne.concat("_initStorage"),s=0,a=o.length;s<a;s++){var l=o[s];if((!qt(ee,l)||t[l])&&"function"!=typeof t[l])return void n(i)}var d=function(){for(var e=function(t){return function(){var e=new Error("Method "+t+" is not implemented by the current driver"),n=c.reject(e);return u(n,arguments[arguments.length-1]),n}},n=0,r=ee.length;n<r;n++){var i=ee[n];t[i]||(t[i]=e(i))}};d();var h=function(n){Jt[r]&&console.info("Redefining LocalForage driver: "+r),Jt[r]=t,Zt[r]=n,e()};"_support"in t?t._support&&"function"==typeof t._support?t._support().then(h,n):h(!!t._support):h(!0)}catch(t){n(t)}}));return d(r,e,n),r},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,e,n){var r=Jt[t]?c.resolve(Jt[t]):c.reject(new Error("Driver not found."));return d(r,e,n),r},t.prototype.getSerializer=function(t){var e=c.resolve(vt);return d(e,t),e},t.prototype.ready=function(t){var e=this,n=e._driverSet.then((function(){return null===e._ready&&(e._ready=e._initDriver()),e._ready}));return d(n,t,t),n},t.prototype.setDriver=function(t,e,n){var r=this;Kt(t)||(t=[t]);var i=this._getSupportedDrivers(t);function o(){r._config.driver=r.driver()}function s(t){return r._extend(t),o(),r._ready=r._initStorage(r._config),r._ready}function a(t){return function(){var e=0;function n(){for(;e<t.length;){var i=t[e];return e++,r._dbInfo=null,r._ready=null,r.getDriver(i).then(s).catch(n)}o();var a=new Error("No available storage method found.");return r._driverSet=c.reject(a),r._driverSet}return n()}}var l=null!==this._driverSet?this._driverSet.catch((function(){return c.resolve()})):c.resolve();return this._driverSet=l.then((function(){var t=i[0];return r._dbInfo=null,r._ready=null,r.getDriver(t).then((function(t){r._driver=t._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=a(i)}))})).catch((function(){o();var t=new Error("No available storage method found.");return r._driverSet=c.reject(t),r._driverSet})),d(this._driverSet,e,n),this._driverSet},t.prototype.supports=function(t){return!!Zt[t]},t.prototype._extend=function(t){oe(this,t)},t.prototype._getSupportedDrivers=function(t){for(var e=[],n=0,r=t.length;n<r;n++){var i=t[n];this.supports(i)&&e.push(i)}return e},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0,e=ne.length;t<e;t++)ie(this,ne[t])},t.prototype.createInstance=function(e){return new t(e)},t}(),ae=new se;e.exports=ae},{3:3}]},{},[4])(4)},n.exports=i()})),o={install:function(t,e){if(void 0===e&&(e={}),t.$localforage=i.createInstance(e),t.prototype.$localforage=t.$localforage,e.instances)for(var n=0,r=e.instances;n<r.length;n+=1){var o=r[n],s=o.storeName||o.name;s&&(t.$localforage[s]=i.createInstance(o),t.prototype.$localforage[s]=t.$localforage[s])}}};return"undefined"!=typeof window&&window.Vue&&window.Vue.use(o),o}()},81148:(t,e,n)=>{!function(){Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t};var e=n(99695),r={install:function(t){t.prototype.$cookie=this,t.cookie=this},set:function(t,n,r){var i=r;return Number.isInteger(r)&&(i={expires:r}),e.set(t,n,i)},get:function(t){return e.get(t)},delete:function(t,e){var n={expires:-1};void 0!==e&&(n=Object.assign(e,n)),this.set(t,"",n)}};t.exports=r}()},3621:(t,e,n)=>{"use strict";n.d(e,{mc:()=>we,sx:()=>ke});var r="dndrop-container-instance",i="dndrop-draggable-wrapper",o="animated",s="__dndrop_draggable_translation_value",a="__dndrop_draggable_visibility_value",l="dndrop-ghost",c="dndrop-container",u="dndrop-extra-size-for-insertion",d="dndrop-stretcher-element",h="dndrop-stretcher-instance",f="dndrop-disable-touch-action",p="dndrop-no-user-select",m="dndrop-prevent-auto-scroll-class",g="dndrop-drop-preview-default-class",v="dndrop-drop-preview-inner-class",b="dndrop-drop-preview-constant-class",y="dndrop-drop-preview-flex-container-class",x={groupName:void 0,behaviour:"move",orientation:"vertical",getChildPayload:void 0,animationDuration:250,autoScrollEnabled:!0,shouldAcceptDrop:void 0,shouldAnimateDrop:void 0},w=function(t,e){return t.removeChild(t.children[e])},k=function(t,e,n){n>=t.children.length?t.appendChild(e):t.insertBefore(e,t.children[n])};function _(t){t.element;var e=t.draggables;return function(t,n){var r=t.removedIndex,i=t.addedIndex,o=t.element,s=null;if(null!==r&&(s=w(o,r),e.splice(r,1)),null!==i){var a=window.document.createElement("div");a.className="dndrop-draggable-wrapper",a.appendChild(s&&s.firstElementChild?s.firstElementChild:o),k(o,a,i),i>=e.length?e.push(a):e.splice(i,0,a)}n&&n(t)}}var S=function(t,e){return{left:Math.max(t.left,e.left),top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom)}},O="x",M="y",C="xy",A=function(t,e,n){return"x"===n?{left:Math.max(t.left,e.left),top:t.top,right:Math.min(t.right,e.right),bottom:t.bottom}:{left:t.left,top:Math.max(t.top,e.top),right:t.right,bottom:Math.min(t.bottom,e.bottom)}},T=function(t){var e=t.getBoundingClientRect(),n={left:e.left,right:e.right,top:e.top,bottom:e.bottom};if(j(t,"x")&&!P(t,"x")){var r=n.right-n.left;n.right=n.right+t.scrollWidth-r}if(j(t,"y")&&!P(t,"y")){var i=n.bottom-n.top;n.bottom=n.bottom+t.scrollHeight-i}return n},E=function(t){var e=window.getComputedStyle(t),n=e.overflow;if("auto"===n||"scroll"===n)return C;var r=e["overflow-x"],i="auto"===r||"scroll"===r,o=e["overflow-y"],s="auto"===o||"scroll"===o;return i&&s?C:i?O:s?M:null},D=function(t,e){var n=window.getComputedStyle(t),r=n.overflow,i=n["overflow-"+e];return"auto"===r||"scroll"===r||("auto"===i||"scroll"===i)},P=function(t,e){var n=window.getComputedStyle(t),r=n.overflow,i=n["overflow-"+e];return"auto"===r||"scroll"===r||"hidden"===r||("auto"===i||"scroll"===i||"hidden"===i)},j=function(t,e){return"x"===e?t.scrollWidth>t.clientWidth:t.scrollHeight>t.clientHeight},L=function(t,e){var n=t,r=e||T(t);for(n=t.parentElement;n;)j(n,"x")&&P(n,"x")&&(r=A(r,n.getBoundingClientRect(),"x")),j(n,"y")&&P(n,"y")&&(r=A(r,n.getBoundingClientRect(),"y")),n=n.parentElement;return r},I=function(t,e){for(var n=t;n;){if(n[r]){var i=n[r];if(e.some((function(t){return t===i})))return i}n=n.parentElement}return null},N=function(t,e){for(var n=t;n;){if(n.matches(e))return n;n=n.parentElement}return null},R=function(t,e){return t.className.split(" ").map((function(t){return t})).indexOf(e)>-1},$=function(t,e){if(t){var n=t.className.split(" ").filter((function(t){return t}));-1===n.indexOf(e)&&(n.unshift(e),t.className=n.join(" "))}},B=function(t,e){if(t){var n=t.className.split(" ").filter((function(t){return t&&t!==e}));t.className=n.join(" ")}},F=function(){window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():window.document.selection&&window.document.selection.empty()},z=function(t){if(t){var e=window.getComputedStyle(t);if(e)return e.cursor}return null};function H(t){return!(t.bottom<=t.top||t.right<=t.left)}var Y={size:"offsetWidth",distanceToParent:"offsetLeft",translate:"transform",begin:"left",end:"right",dragPosition:"x",scrollSize:"scrollWidth",offsetSize:"offsetWidth",scrollValue:"scrollLeft",scale:"scaleX",setSize:"width",setters:{translate:function(t){return"translate3d("+t+"px, 0, 0)"}}},W={size:"offsetHeight",distanceToParent:"offsetTop",translate:"transform",begin:"top",end:"bottom",dragPosition:"y",scrollSize:"scrollHeight",offsetSize:"offsetHeight",scrollValue:"scrollTop",scale:"scaleY",setSize:"height",setters:{translate:function(t){return"translate3d(0,"+t+"px, 0)"}}};function V(t,e,n){t[u]=0;var r=function(t){return{get:function(e,n){return e[t[n]||n]},set:function(e,n,r){e[t[n]]=t.setters[n]?t.setters[n](r):r}}}("horizontal"===e?Y:W),i={translation:0};function o(){l(t),function(t){var e=t.getBoundingClientRect();i.scaleX=t.offsetWidth?(e.right-e.left)/t.offsetWidth:1,i.scaleY=t.offsetHeight?(e.bottom-e.top)/t.offsetHeight:1}(t)}function l(t){i.rect=T(t);var e=L(t,i.rect);H(e)&&(i.lastVisibleRect=i.visibleRect),i.visibleRect=e}function c(t){var n=t;if(n.tagName){var o=n.getBoundingClientRect();return"vertical"===e?o.bottom-o.top:o.right-o.left}return r.get(t,"size")*r.get(i,"scale")}function d(t){return r.get(t,"dragPosition")}return window.addEventListener("resize",(function(){l(t)})),setTimeout((function(){o()}),10),{getSize:c,getContainerRectangles:function(){return{rect:i.rect,visibleRect:i.visibleRect,lastVisibleRect:i.lastVisibleRect}},getBeginEndOfDOMRect:function(t){return{begin:r.get(t,"begin"),end:r.get(t,"end")}},getBeginEndOfContainer:function(){return{begin:r.get(i.rect,"begin")+i.translation,end:r.get(i.rect,"end")+i.translation}},getBeginEndOfContainerVisibleRect:function(){return{begin:r.get(i.visibleRect,"begin")+i.translation,end:r.get(i.visibleRect,"end")+i.translation}},getBeginEnd:function(e){var n=function(t){return(r.get(t,"distanceToParent")+(t[s]||0))*r.get(i,"scale")}(e)+(r.get(i.rect,"begin")+i.translation)-r.get(t,"scrollValue");return{begin:n,end:n+c(e)*r.get(i,"scale")}},getAxisValue:d,setTranslation:function(t,e){e?r.set(t.style,"translate",e):t.style.removeProperty("transform"),t[s]=e},getTranslation:function(t){return t[s]},setVisibility:function(t,e){void 0!==t[a]&&t[a]===e||(e?t.style.removeProperty("visibility"):t.style.visibility="hidden",t[a]=e)},isVisible:function(t){return void 0===t[a]||t[a]},isInVisibleRect:function(t,n){var r=i.visibleRect,o=r.left,s=r.top,a=r.right,l=r.bottom;l-s<2&&(l=s+30);var c=i.rect;return"vertical"===e?t>c.left&&t<c.right&&n>s&&n<l:t>o&&t<a&&n>c.top&&n<c.bottom},setSize:function(t,e){r.set(t,"setSize",e)},getTopLeftOfElementBegin:function(t){var n=0,r=0;return"horizontal"===e?(r=t,n=i.rect.top):(r=i.rect.left,n=t),{top:n,left:r}},getScrollSize:function(t){return r.get(t,"scrollSize")},getScrollValue:function(t){return r.get(t,"scrollValue")},setScrollValue:function(t,e){return r.set(t,"scrollValue",e)},invalidate:o,invalidateRects:function(){l(t)},getPosition:function(t){return d(t)},setBegin:function(t,e){r.set(t,"begin",e)}}}var U=1500,G={x:"x",y:"y",xy:"xy"};function X(t,e,n){var r,i,o,s=n.left,a=n.right,l=n.top,c=n.bottom,u=t.x,d=t.y;if(u<s||u>a||d<l||d>c)return null;"x"===e?(r=s,i=a,o=u):(r=l,i=c,o=d);var h=i-r,f=h>400?100:h/4;return i-o<f?{direction:"end",speedFactor:(f-(i-o))/f}:o-r<f?{direction:"begin",speedFactor:(f-(o-r))/f}:null}var q,K=function(t,e){void 0===e&&(e="y");var n=null,r=null,i=null,o=null;function s(){null===n&&(n=requestAnimationFrame((function(a){null===r&&(r=a);var l=a-r;r=a;var c=l/1e3*o;(function(t,e,n){t&&(t!==window?"x"===e?t.scrollLeft+=n:t.scrollTop+=n:"x"===e?t.scrollBy(n,0):t.scrollBy(0,n))})(t,e,c="begin"===i?0-c:c),n=null,s()})))}return{animate:function(t,e){i=t,o=e,s()},stop:function(){null!==n&&(cancelAnimationFrame(n),n=null),r=null}}};function J(t){return function(){return L(t,t.getBoundingClientRect())}}function Z(t,e){void 0===e&&(e=U);var n=t.reduce((function(t,e){var n=function(t){for(var e=[],n=t.element;n;){var r=E(n);if(r&&!R(n,m)){var i={};switch(r){case G.xy:i.x={animator:K(n,"x")},i.y={animator:K(n,"y")};break;case G.x:i.x={animator:K(n,"x")};break;case G.y:i.y={animator:K(n,"y")}}e.push({axisAnimations:i,getRect:J(n),scrollerElement:n})}n=n.parentElement}return e}(e).filter((function(e){return!t.find((function(t){return t.scrollerElement===e.scrollerElement}))}));return t.concat(n)}),[]);return function(t){var r=t.draggableInfo;if(t.reset)n.forEach((function(t){t.axisAnimations.x&&t.axisAnimations.x.animator.stop(),t.axisAnimations.y&&t.axisAnimations.y.animator.stop()}));else if(r){!function(t,e){t.forEach((function(t){var n=t.axisAnimations,r=(0,t.getRect)();n.x&&(n.x.scrollParams=X(e,"x",r),t.cachedRect=r),n.y&&(n.y.scrollParams=X(e,"y",r),t.cachedRect=r)}))}(n,r.mousePosition),n.forEach((function(t){var n=t.axisAnimations,r=n.x,i=n.y;if(r)if(r.scrollParams){var o=r.scrollParams,s=o.direction,a=o.speedFactor;r.animator.animate(s,a*e)}else r.animator.stop();if(i)if(i.scrollParams){var l=i.scrollParams,c=l.direction,u=l.speedFactor;i.animator.animate(c,u*e)}else i.animator.stop()}));var i=n.filter((function(t){return t.cachedRect}));if(i.length&&i.length>1){var o=function(t,e){for(var n=document.elementFromPoint(e.x,e.y);n;){var r=t.find((function(t){return t.scrollerElement===n}));if(r)return r;n=n.parentElement}return null}(i,r.mousePosition);o&&i.forEach((function(t){t!==o&&(t.axisAnimations.x&&t.axisAnimations.x.animator.stop(),t.axisAnimations.y&&t.axisAnimations.y.animator.stop())}))}}}}"undefined"!=typeof window&&((q=Element)&&q.prototype&&!q.prototype.matches&&(q.prototype.matches=q.prototype.matchesSelector||q.prototype.mozMatchesSelector||q.prototype.msMatchesSelector||q.prototype.oMatchesSelector||q.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}),Array.prototype.some||(Array.prototype.some=function(t){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof t)throw new TypeError;for(var e=Object(this),n=e.length>>>0,r=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in e&&t.call(r,e[i],i,e))return!0;return!1}));var Q={overflow:"hidden",display:"block"},tt={height:"100%",display:"table-cell","vertical-align":"top"},et={};function nt(t){return Object.keys(t).reduce((function(e,n){var r=t[n];return"object"==typeof r?""+e+n+"{"+nt(r)+"}":""+e+n+":"+r+";"}),"")}function rt(t){if(t&&"undefined"!=typeof window){var e=window.document.head||window.document.getElementsByTagName("head")[0],n=window.document.createElement("style"),r=nt({"body *":{cursor:t+" !important"}});return n.type="text/css",n.styleSheet?n.styleSheet.cssText=r:n.appendChild(window.document.createTextNode(r)),e.appendChild(n),n}return null}et["."+c]={position:"relative","min-height":"30px","min-width":"30px"},et["."+c+".horizontal"]={display:"table"},et["."+c+".horizontal > ."+d]={display:"inline-block"},et["."+c+".horizontal > ."+i]=tt,et["."+c+".vertical > ."+i]=Q,et["."+i]={"box-sizing":"border-box"},et["."+i+".horizontal"]=tt,et["."+i+".vertical"]=Q,et["."+i+".animated"]={transition:"transform ease"},et["."+l]={"box-sizing":"border-box"},et["."+l+".animated"]={transition:"all ease-in-out"},et["."+l+" *"]={"pointer-events":"none"},et["."+f+" *"]={"touch-action":"none","-ms-touch-action":"none"},et["."+p]={"-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},et["."+v]={flex:"1"},et["."+c+".horizontal > ."+b]={height:"100%",overflow:"hidden",display:"table-cell","vertical-align":"top"},et["."+c+".vertical > ."+b]={overflow:"hidden",display:"block",width:"100%"},et["."+y]={width:"100%",height:"100%",display:"flex","justify-content":"stretch","align-items":"stretch"},et["."+g]={"background-color":"rgba(150, 150, 150, 0.1)",border:"1px solid #ccc"};var it=["mousedown","touchstart"],ot=["mousemove","touchmove"],st=["mouseup","touchend"],at=null,lt=null,ct=null,ut=null,dt=[],ht=!1,ft=!1,pt=!1,mt=!1,gt=null,vt=null,bt=null,yt=null,xt=function(){var t=null,e=!1;function n(){t=requestAnimationFrame((function(){at.forEach((function(t){return t.layout.invalidateRects()})),setTimeout((function(){null!==t&&n()}),50)}))}return{start:function(){e||(e=!0,n())},stop:function(){null!==t&&(cancelAnimationFrame(t),t=null),e=!1}}}(),wt="undefined"!=typeof window&&!!(window.navigator.userAgent.match(/Android/i)||window.navigator.userAgent.match(/webOS/i)||window.navigator.userAgent.match(/iPhone/i)||window.navigator.userAgent.match(/iPad/i)||window.navigator.userAgent.match(/iPod/i)||window.navigator.userAgent.match(/BlackBerry/i)||window.navigator.userAgent.match(/Windows Phone/i));function kt(){"undefined"!=typeof window&&it.forEach((function(t){window.document.addEventListener(t,Mt,{passive:!1})}))}function _t(){st.forEach((function(t){window.document.addEventListener(t,Lt,{passive:!1})}))}function St(){return ut&&ut.ghostParent?ut.ghostParent:lt&&lt.parentElement||window.document.body}var Ot=function(){var t,e,n,r=null,i=1,o=5;function s(n){var r=It(n),s=r.clientX,a=r.clientY;if(e)(Math.abs(t.clientX-s)>o||Math.abs(t.clientY-a)>o)&&c();else if(Math.abs(t.clientX-s)>i||Math.abs(t.clientY-a)>i)return u()}function a(){c()}function l(){c()}function c(){clearTimeout(r),ot.forEach((function(t){return window.document.removeEventListener(t,s)}),{passive:!1}),st.forEach((function(t){return window.document.removeEventListener(t,a)}),{passive:!1}),window.document.removeEventListener("drag",l,{passive:!1})}function u(){clearTimeout(r),c(),n()}return function(i,o,c){t=It(i),n=c,(e="number"==typeof o?o:wt?200:0)&&(r=setTimeout(u,e)),ot.forEach((function(t){return window.document.addEventListener(t,s)}),{passive:!1}),st.forEach((function(t){return window.document.addEventListener(t,a)}),{passive:!1}),window.document.addEventListener("drag",l,{passive:!1})}}();function Mt(t){var e=It(t);if(dt&&dt.length&&!ht&&(void 0===e.button||0===e.button)&&(lt=N(e.target,"."+i))){var n=N(lt,"."+c),r=dt.filter((function(t){return t.element===n}))[0];if(r&&void 0!==r){var o=r.getOptions().dragHandleSelector,s=r.getOptions().nonDragAreaSelector,a=!0;if(o&&!N(e.target,o)&&(a=!1),s&&N(e.target,s)&&(a=!1),a){r.layout.invalidate(),$(window.document.body,f),$(window.document.body,p);var l=function(){B(window.document.body,f),B(window.document.body,p),window.document.removeEventListener("mouseup",l),window.document.removeEventListener("touchend",l)};window.document.addEventListener("mouseup",l),window.document.addEventListener("touchend",l),Ot(e,r.getOptions().dragBeginDelay,(function(){F(),Ft(e,z(t.target)),ot.forEach((function(t){window.document.addEventListener(t,Ct,{passive:!1})})),_t()}))}}}}function Ct(t){t.preventDefault();var e=It(t);if(ut){var n=ut.container.getOptions();"contain"===n.behaviour?function(t,e){var n=t.clientX,r=t.clientY;void 0===e&&(e="vertical");var i,o,s,a,l=ut.container.layout.getBeginEndOfContainerVisibleRect();"vertical"===e?(i=r,o="y",s="top",a=ut.size.offsetHeight):(i=n,o="x",s="left",a=ut.size.offsetWidth);var c=l.begin,u=l.end-a,d=Math.max(c,Math.min(u,i+ct.positionDelta[s]));ct.topLeft[o]=d,ut.position[o]=Math.max(l.begin,Math.min(l.end,i+ct.centerDelta[o])),ut.mousePosition[o]=Math.max(l.begin,Math.min(l.end,i)),ut.position[o]<l.begin+a/2&&(ut.position[o]=l.begin+2),ut.position[o]>l.end-a/2&&(ut.position[o]=l.end-2)}(e,n.orientation):bt?"y"===bt?(ct.topLeft.y=e.clientY+ct.positionDelta.top,ut.position.y=e.clientY+ct.centerDelta.y,ut.mousePosition.y=e.clientY):"x"===bt&&(ct.topLeft.x=e.clientX+ct.positionDelta.left,ut.position.x=e.clientX+ct.centerDelta.x,ut.mousePosition.x=e.clientX):(ct.topLeft.x=e.clientX+ct.positionDelta.left,ct.topLeft.y=e.clientY+ct.positionDelta.top,ut.position.x=e.clientX+ct.centerDelta.x,ut.position.y=e.clientY+ct.centerDelta.y,ut.mousePosition.x=e.clientX,ut.mousePosition.y=e.clientY),Ht(),(mt=!gt(ut))&&Pt()}else Ft(e,z(t.target))}var At,Tt,Et,Dt,Pt=(At=jt,Tt=20,Et=!1,Dt=null,function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];Dt&&clearTimeout(Dt),Et&&!Dt?At.call.apply(At,[null].concat(t)):Dt=setTimeout((function(){Dt=null,At.call.apply(At,[null].concat(t))}),Tt)});function jt(){mt&&(mt=!1,Nt(ut,at))}function Lt(){var t,e;ot.forEach((function(t){window.document.removeEventListener(t,Ct,{passive:!1})})),st.forEach((function(t){window.document.removeEventListener(t,Lt,{passive:!1})})),t=it[1],window.document.removeEventListener(t,Mt,{passive:!1}),vt&&"function"==typeof vt&&vt({reset:!0}),yt&&((e=yt)&&"undefined"!=typeof window&&(window.document.head||window.document.getElementsByTagName("head")[0]).removeChild(e),yt=null),ut&&(xt.stop(),jt(),pt=!0,function(t){function e(){B(ct.ghost,"animated"),ct.ghost.style.transitionDuration=null,St().removeChild(ct.ghost),t()}function n(t,n,r){var i=t.top,o=t.left;$(ct.ghost,"animated"),r&&$(ct.ghost.firstElementChild,r),ct.topLeft.x=o,ct.topLeft.y=i,Ht(n),setTimeout((function(){e()}),n+20)}function r(t,e){$(ct.ghost,"animated"),Ht(t,.9,!0),setTimeout((function(){e()}),t+20)}if(ut.targetElement){var i=dt.filter((function(t){return t.element===ut.targetElement}))[0];!(m=i.getOptions()).shouldAnimateDrop||m.shouldAnimateDrop(ut.container.getOptions(),ut.payload)?n(i.getDragResult().shadowBeginEnd.rect,Math.max(150,i.getOptions().animationDuration/2),i.getOptions().dropClass):e()}else{var o=dt.filter((function(t){return t===ut.container}))[0];if(o){var s=o.getOptions(),a=s.behaviour,l=s.removeOnDropOut;if("move"!==a&&"contain"!==a||!ft&&l||!o.getDragResult())r(o.getOptions().animationDuration,e);else{var c=o.layout.getContainerRectangles();if(!H(c.visibleRect)&&H(c.lastVisibleRect))n({top:c.lastVisibleRect.top,left:c.lastVisibleRect.left},o.getOptions().animationDuration,o.getOptions().dropClass);else{var u=o.getDragResult(),d=u.removedIndex,h=u.elementSize,f=o.layout;o.getTranslateCalculator({dragResult:{removedIndex:d,addedIndex:d,elementSize:h,pos:void 0,shadowBeginEnd:void 0}});var p=d>0?f.getBeginEnd(o.draggables[d-1]).end:f.getBeginEndOfContainer().begin;n(f.getTopLeftOfElementBegin(p),o.getOptions().animationDuration,o.getOptions().dropClass)}}}else r(x.animationDuration,e)}var m}((function(){ht=!1,Bt(!1);for(var t=at||[],e=t.shift();void 0!==e;)e.handleDrop(ut),e=t.shift();at=null,lt=null,ct=null,ut=null,bt=null,gt=null,pt=!1})))}function It(t){return t.touches?t.touches[0]:t}function Nt(t,e){var n=!1;e.forEach((function(e){var r=e.handleDrag(t);n=!!r.containerBoxChanged||!1,r.containerBoxChanged=!1})),n&&(n=!1,requestAnimationFrame((function(){dt.forEach((function(t){t.layout.invalidateRects(),t.onTranslated()}))})))}function Rt(t){var e=t,n=null;return function(t){return!(null!==n||!ht||pt)&&(n=requestAnimationFrame((function(){ht&&!pt&&(Nt(t,e),vt({draggableInfo:t})),n=null})),!0)}}function $t(t,e){return t.getOptions().autoScrollEnabled?Z(e,t.getScrollMaxSpeed()):function(t){return null}}function Bt(t){var e=ut.container,n=ut.payload;dt.forEach((function(r){if(!e.getOptions().fireRelatedEventsOnly||r===e){var i=r.getOptions(),o=i.onDragStart,s=i.onDragEnd,a=t?o:s;if(a){var l={isSource:r===e,payload:n,willAcceptDrop:!1};r.isDragRelevant(e,n)&&(l.willAcceptDrop=!0),a(l)}}}))}function Ft(t,e){if(null!==lt){if(lt.classList.contains("dndrop-not-draggable"))return;ht=!0;var n=dt.filter((function(t){return lt.parentElement===t.element}))[0];n.setDraggables(),bt=n.getOptions().lockAxis?n.getOptions().lockAxis.toLowerCase():null,ut=function(t){var e=dt.filter((function(e){return t.parentElement===e.element}))[0],n=e.draggables.indexOf(t),r=e.getOptions().getGhostParent,i=t.getBoundingClientRect();return{container:e,element:t,size:{offsetHeight:i.bottom-i.top,offsetWidth:i.right-i.left},elementIndex:n,payload:e.getOptions().getChildPayload?e.getOptions().getChildPayload(n):void 0,targetElement:null,position:{x:0,y:0},groupName:e.getOptions().groupName,ghostParent:r?r():null,invalidateShadow:null,mousePosition:null,relevantContainers:null}}(lt),ct=function(t,e,n,r){var i=e.x,o=e.y,s=t.getBoundingClientRect(),a=s.left,c=s.top,u=s.right,d=s.bottom,h=S(n.layout.getContainerRectangles().visibleRect,s),f=h.left+(h.right-h.left)/2,p=h.top+(h.bottom-h.top)/2,m=t.cloneNode(!0);return m.style.zIndex="1000",m.style.boxSizing="border-box",m.style.position="fixed",m.style.top="0px",m.style.left="0px",m.style.transform="none",m.style.removeProperty("transform"),n.shouldUseTransformForGhost()?m.style.transform="translate3d("+a+"px, "+c+"px, 0)":(m.style.top=c+"px",m.style.left=a+"px"),m.style.width=u-a+"px",m.style.height=d-c+"px",m.style.overflow="visible",m.style.transition=null,m.style.removeProperty("transition"),m.style.pointerEvents="none",m.style.userSelect="none",n.getOptions().dragClass?setTimeout((function(){$(m.firstElementChild,n.getOptions().dragClass);var t=window.getComputedStyle(m.firstElementChild).cursor;yt=rt(t)})):yt=rt(r),$(m,n.getOptions().orientation||"vertical"),$(m,l),{ghost:m,centerDelta:{x:f-i,y:p-o},positionDelta:{left:a-i,top:c-o},topLeft:{x:a,y:c}}}(lt,{x:t.clientX,y:t.clientY},ut.container,e),ut.position={x:t.clientX+ct.centerDelta.x,y:t.clientY+ct.centerDelta.y},ut.mousePosition={x:t.clientX,y:t.clientY},at=dt.filter((function(t){return t.isDragRelevant(n,ut.payload)})),ut.relevantContainers=at,gt=Rt(at),vt&&"function"==typeof vt&&vt({reset:!0,draggableInfo:void 0}),vt=$t(n,at),at.forEach((function(t){return t.prepareDrag(t,at)})),Bt(!0),gt(ut),St().appendChild(ct.ghost),xt.start()}}var zt=null;function Ht(t,e,n){void 0===t&&(t=0),void 0===e&&(e=1),void 0===n&&(n=!1);var r=ct.ghost,i=ct.topLeft,o=i.x,s=i.y,a=!ut.container||ut.container.shouldUseTransformForGhost(),l=a?"translate3d("+o+"px,"+s+"px, 0)":null;if(1!==e&&(l=l?l+" scale("+e+")":"scale("+e+")"),t>0)return ct.ghost.style.transitionDuration=t+"ms",void requestAnimationFrame((function(){l&&(r.style.transform=l),a||(r.style.left=o+"px",r.style.top=s+"px"),zt=null,n&&(r.style.opacity="0")}));null===zt&&(zt=requestAnimationFrame((function(){l&&(r.style.transform=l),a||(r.style.left=o+"px",r.style.top=s+"px"),zt=null,n&&(r.style.opacity="0")})))}function Yt(){if(ht&&!ft&&!pt){ft=!0,mt=!1;var t=Object.assign({},ut,{targetElement:null,position:{x:Number.MAX_SAFE_INTEGER,y:Number.MAX_SAFE_INTEGER},mousePosition:{x:Number.MAX_SAFE_INTEGER,y:Number.MAX_SAFE_INTEGER}});at.forEach((function(e){e.handleDrag(t)})),ut&&(ut.targetElement=null,ut.cancelDrop=!0,Lt(),ft=!1)}}"undefined"!=typeof window&&function(){if("undefined"!=typeof window){var t=window.document.head||window.document.getElementsByTagName("head")[0],e=window.document.createElement("style");e.id="dndrop-style-definitions";var n=nt(et);e.type="text/css",e.styleSheet?e.styleSheet.cssText=n:e.appendChild(window.document.createTextNode(n)),t.appendChild(e)}}();var Wt=(kt(),{register:function(t){!function(t){dt.push(t),ht&&ut&&t.isDragRelevant(ut.container,ut.payload)&&(at.push(t),t.prepareDrag(t,at),vt&&"function"==typeof vt&&vt({reset:!0,draggableInfo:void 0}),vt=$t(t,at),gt=Rt(at),t.handleDrag(ut))}(t)},unregister:function(t){!function(t){if(dt.splice(dt.indexOf(t),1),ht&&ut){ut.container===t&&t.fireRemoveElement(),ut.targetElement===t.element&&(ut.targetElement=null);var e=at.indexOf(t);e>-1&&(at.splice(e,1),vt&&"function"==typeof vt&&vt({reset:!0,draggableInfo:void 0}),vt=$t(t,at),gt=Rt(at))}}(t)},isDragging:function(){return ht},cancelDrag:Yt});function Vt(t,e,n){void 0===n&&(n=x.animationDuration),e?($(t,o),t.style.transitionDuration=n+"ms"):(B(t,o),t.style.removeProperty("transition-duration"))}function Ut(t){var e=t.element,n=t.getOptions;return function(t,r){var o=n(),s=t.getOptions();return"copy"!==o.behaviour&&(N(e,"."+i)!==t.element&&(t.element===e||(!(!s.groupName||s.groupName!==o.groupName)||!!o.shouldAcceptDrop&&o.shouldAcceptDrop(t.getOptions(),r))))}}function Gt(t){var e=[];return Array.prototype.forEach.call(t.children,(function(n){if(n.nodeType===Node.ELEMENT_NODE){var r=n;R(n,i)||(r=function(t){if(ge.wrapChild){var e=window.document.createElement("div");return e.className=""+i,t.parentElement.insertBefore(e,t),e.appendChild(t),e}return t}(n)),r[s]=0,e.push(r)}else t.removeChild(n)})),e}function Xt(t){var e=t.element,n=t.draggables,r=t.layout,i=t.getOptions,o=function(t){var e=t.element,n=t.draggables,r=t.layout;return function(){n.forEach((function(t){Vt(t,!1),r.setTranslation(t,0),r.setVisibility(t,!0)})),e[h]&&(e[h].parentNode.removeChild(e[h]),e[h]=null)}}({element:e,draggables:n,layout:r,getOptions:i}),s=(ge.dropHandler||_)({element:e,draggables:n,layout:r,getOptions:i});return function(t,e,n){var r=e.addedIndex,a=e.removedIndex;if(void 0===n&&(n=!1),o(),t&&!t.cancelDrop)if(t.targetElement||i().removeOnDropOut||n){var l=function(t){return null!==t},c=l(r)?l(a)&&a<r?r-1:r:null,u=t.payload,d=t.element,h={removedIndex:a,addedIndex:c,payload:u,element:d.firstElementChild||d};(!t.container.getOptions().fireRelatedEventsOnly||l(a)||l(c))&&s(h,i().onDrop)}else if(i().dropNotAllowed){var f=t.payload,p=t.container;return i().dropNotAllowed({payload:f,container:p})}}}function qt(t){var e=t.element,n=t.getOptions,r=null;return function(t){var i=t.draggableInfo,o=r;return null==r&&i.container.element===e&&"copy"!==n().behaviour&&(o=r=i.elementIndex),{removedIndex:o}}}function Kt(t){var e=t.draggables,n=t.layout;return function(t){var r=t.dragResult;null!==r.removedIndex&&n.setVisibility(e[r.removedIndex],!1)}}function Jt(t){var e=t.element,n=t.layout;return function(t){var r=t.draggableInfo,i=document.elementFromPoint(r.position.x,r.position.y);if(i){var o=I(i,r.relevantContainers);if(o&&o.element===e)return{pos:n.getPosition(r.position)}}return{pos:null}}}function Zt(t){var e=t.layout,n=null;return function(t){var r=t.draggableInfo;return null===t.dragResult.pos?n=null:{elementSize:n=n||e.getSize(r.size)}}}function Qt(t){var e=t.element;return function(t){var n=t.draggableInfo,r=t.dragResult;!function(t,e,n){void 0===n&&(n=!0),e&&n?t.targetElement=e:t.targetElement===e&&(t.targetElement=null)}(n,e,!!r.pos)}}function te(t){var e=t.draggables,n=function(t){var e=t.layout,n=function(t,r,i,o,s){if(void 0===s&&(s=!1),o<i)return i;if(i===o){var a=e.getBeginEnd(t[i]),l=a.begin,c=a.end;return s?r<(c+l)/2?i:i+1:i}var u=Math.floor((o+i)/2),d=e.getBeginEnd(t[u]),h=d.begin,f=d.end;return r<h?n(t,r,i,u-1,s):r>f?n(t,r,u+1,o,s):s?r<(f+h)/2?u:u+1:u};return function(t,e,r){return void 0===r&&(r=!1),n(t,e,0,t.length-1,r)}}({layout:t.layout});return function(t){var r=t.dragResult,i=r.shadowBeginEnd,o=r.pos;if(!i){var s=n(e,o,!0);return null!==s?s:e.length}return i.begin+i.beginAdjustment<=o&&i.end>=o?null:o<i.begin+i.beginAdjustment?n(e,o):o>i.end?n(e,o)+1:e.length}}function ee(){return function(t){return null!==t.dragResult.pos?{addedIndex:0}:{addedIndex:null}}}function ne(t){var e=t.layout,n=null;return function(t){var r=t.dragResult.addedIndex;if(r!==n){n=r;var i=e.getBeginEndOfContainer().begin;return{shadowBeginEnd:{rect:e.getTopLeftOfElementBegin(i)}}}return null}}function re(t){var e=t.layout,n=t.element,r=t.getOptions,i=null;return function(t){var o=t.dragResult,s=o.elementSize,a=o.shadowBeginEnd,l=o.addedIndex,c=o.dropPlaceholderContainer,u=r();if(u.dropPlaceholder){var d="boolean"==typeof u.dropPlaceholder?{}:u.dropPlaceholder,h=d.animationDuration,f=d.className,p=d.showOnTop;if(null!==l){if(!c){var m=document.createElement("div"),x=document.createElement("div");x.className=y,m.className=v+" "+(f||g),(c=document.createElement("div")).className=""+b,c.style.position="absolute",void 0!==h&&(c.style.transition="all "+h+"ms ease"),c.appendChild(x),x.appendChild(m),e.setSize(c.style,s+"px"),c.style.pointerEvents="none",p?n.appendChild(c):n.insertBefore(c,n.firstElementChild)}return i!==l&&a.dropArea&&e.setBegin(c.style,a.dropArea.begin-e.getBeginEndOfContainer().begin+"px"),i=l,{dropPlaceholderContainer:c}}return c&&null!==i&&n.removeChild(c),i=null,{dropPlaceholderContainer:void 0}}return null}}function ie(t){var e=ce(t);return function(t){var n=t.draggableInfo,r=t.dragResult;return n.invalidateShadow?e({draggableInfo:n,dragResult:r}):null}}function oe(t){var e=te(t);return function(t){var n=t.dragResult,r=null;return null!==n.pos&&null===(r=e({dragResult:n}))&&(r=n.addedIndex),{addedIndex:r}}}function se(){var t=null;return function(e){var n=e.dragResult,r=n.addedIndex,i=n.shadowBeginEnd;r!==t&&null!==t&&i&&(i.beginAdjustment=0),t=r}}function ae(t){var e=t.element,n=t.draggables,r=t.layout,i=t.getOptions,o=null;return function(t){var a=t.dragResult,l=a.addedIndex,c=a.removedIndex,u=a.elementSize;if(null===c)if(null!==l){if(!o){var f=r.getBeginEndOfContainer();f.end=f.begin+r.getSize(e);var p=r.getScrollSize(e)>r.getSize(e)?f.begin+r.getScrollSize(e)-r.getScrollValue(e):f.end,m=n.length>0?r.getBeginEnd(n[n.length-1]).end-n[n.length-1][s]:f.begin;if(m+u>p){(o=window.document.createElement("div")).className=d+" "+i().orientation;var g=n.length>0?u+m-p:u;return r.setSize(o.style,g+"px"),e.appendChild(o),e[h]=o,{containerBoxChanged:!0}}}}else if(o){r.setTranslation(o,0);var v=o;return o=null,e.removeChild(v),e[h]=null,{containerBoxChanged:!0}}}}function le(t){var e=t.draggables,n=t.layout,r=null,i=null;return function(t){var o=t.dragResult,s=o.addedIndex,a=o.removedIndex,l=o.elementSize;if(s!==r||a!==i){for(var c=0;c<e.length;c++)if(c!==a){var u=e[c],d=0;null!==a&&a<c&&(d-=l),null!==s&&s<=c&&(d+=l),n.setTranslation(u,d)}return r=s,i=a,{addedIndex:s,removedIndex:a}}}}function ce(t){var e=t.draggables,n=t.layout,r=null;return function(t){var i=t.draggableInfo,o=t.dragResult,s=o.addedIndex,a=o.removedIndex,l=o.elementSize,c=o.pos,u=o.shadowBeginEnd;if(null!==c){if(null===s||!i.invalidateShadow&&s===r)return null;var d=s-1,h=Number.MIN_SAFE_INTEGER,f=0,p=0,m=null,g=null;if(d===a&&d--,d>-1){var v=n.getSize(e[d]);if(g=n.getBeginEnd(e[d]),l<v){var b=(v-l)/2;h=g.end-b}else h=g.end;f=g.end}else g={end:n.getBeginEndOfContainer().begin},f=n.getBeginEndOfContainer().begin;var y=Number.MAX_SAFE_INTEGER,x=s;if(x===a&&x++,x<e.length){var w=n.getSize(e[x]);if(m=n.getBeginEnd(e[x]),l<w){var k=(w-l)/2;y=m.begin+k}else y=m.begin;p=m.begin}else m={begin:n.getContainerRectangles().rect.end},p=n.getContainerRectangles().rect.end-n.getContainerRectangles().rect.begin;var _=g&&m?n.getTopLeftOfElementBegin(g.end):null;return r=s,{shadowBeginEnd:{dropArea:{begin:f,end:p},begin:h,end:y,rect:_,beginAdjustment:u?u.beginAdjustment:0}}}return r=null,{shadowBeginEnd:null}}}function ue(){var t=null;return function(e){var n=e.dragResult,r=n.pos,i=n.addedIndex,o=n.shadowBeginEnd;if(null!==r){if(null!=i&&null===t){if(r<o.begin){var s=r-o.begin-5;o.beginAdjustment=s}t=i}}else t=null}}function de(t){var e=t.getOptions,n=!1,r=e();return function(t){var e=!!t.dragResult.pos;e!==n&&(n=e,e?r.onDragEnter&&r.onDragEnter():r.onDragLeave&&r.onDragLeave())}}function he(t){var e=t.getOptions,n=null,r=e();return function(t){var e=t.dragResult,i=e.addedIndex,o=e.removedIndex,s=t.draggableInfo,a=s.payload,l=s.element;if(r.onDropReady&&null!==i&&n!==i){n=i;var c=i;null!==o&&i>o&&c--,r.onDropReady({addedIndex:c,removedIndex:o,payload:a,element:l?l.firstElementChild||l:void 0})}}}function fe(t){return"drop-zone"===t.getOptions().behaviour?pe(t)(qt,Kt,Jt,Zt,Qt,ee,ne,de,he):pe(t)(qt,Kt,Jt,Zt,Qt,ie,oe,se,ae,le,ce,re,ue,de,he)}function pe(t){return function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=e.map((function(e){return e(t)})),i=null;return function(t){return i=r.reduce((function(e,n){return Object.assign(e,n({draggableInfo:t,dragResult:e}))}),i||{addedIndex:null,removedIndex:null,elementSize:null,pos:null,shadowBeginEnd:null}),i}}}function me(t){return function(e){var n=Object.assign({},x,e),r=null,o=null,s=function(t,e){var n=Gt(t),r=e();return $(t,c+" "+r.orientation),{element:t,draggables:n,getOptions:e,layout:V(t,r.orientation,r.animationDuration)}}(t,f),a=fe(s),l=Xt(s),u=function(t,e){var n=[];function r(){n&&(n.forEach((function(t){return t.removeEventListener("scroll",e)})),window.removeEventListener("scroll",e))}return function(){for(var e=t;e;)(D(e,"x")||D(e,"y"))&&n.push(e),e=e.parentElement}(),{dispose:function(){r(),n=null},start:function(){n&&(n.forEach((function(t){return t.addEventListener("scroll",e)})),window.addEventListener("scroll",e))},stop:r}}(t,(function(){s.layout.invalidateRects(),d()}));function d(){null!==o&&(o.invalidateShadow=!0,r=a(o),o.invalidateShadow=!1)}function h(t,e){for(var n=Gt(e),r=0;r<n.length;r++)t[r]=n[r];for(var i=0;i<t.length-n.length;i++)t.pop()}function f(){return n}var p={element:t,draggables:s.draggables,isDragRelevant:Ut(s),layout:s.layout,dispose:function(t){u.dispose(),function(t){ge.wrapChild&&Array.prototype.forEach.call(t.children,(function(e){e.nodeType===Node.ELEMENT_NODE&&R(e,i)&&(t.insertBefore(e.firstElementChild,e),t.removeChild(e))}))}(t.element)},prepareDrag:function(t,e){var n=t.element,r=s.draggables;h(r,n),t.layout.invalidateRects(),r.forEach((function(t){return Vt(t,!0,f().animationDuration)})),u.start()},handleDrag:function(t){return o=t,r=a(t)},handleDrop:function(e){u.stop(),r&&r.dropPlaceholderContainer&&t.removeChild(r.dropPlaceholderContainer),o=null,a=fe(s),l(e,r),r=null},fireRemoveElement:function(){l(o,Object.assign({},r,{addedIndex:null}),!0),r=null},getDragResult:function(){return r},getTranslateCalculator:function(t){return le(s)(t)},onTranslated:function(){d()},setDraggables:function(){h(s.draggables,t)},getScrollMaxSpeed:function(){return ge.maxScrollSpeed},shouldUseTransformForGhost:function(){return!0===ge.useTransformForGhost},getOptions:f,setOptions:function(t,e){void 0===e&&(e=!0),n=!1===e?Object.assign({},x,t):Object.assign({},x,n,t)}};return p}}var ge=function(t,e){var n=me(t)(e);return t[r]=n,Wt.register(n),{dispose:function(){Wt.unregister(n),n.dispose(n)},setOptions:function(t,e){n.setOptions(t,e)}}};ge.wrapChild=!0,ge.cancelDrag=function(){Wt.cancelDrag()},ge.isDragging=function(){return Wt.isDragging()};function ve(t,e){var n,r=t.$props.tag;if(r){if("string"==typeof r){var i={value:r};return e&&(i.props={class:e}),i}if("object"==typeof r){var o={value:r.value||"div",props:r.props||{}};return e&&(o.props.class?(n=o.props.class,"[object Array]"===Object.prototype.toString.call(n)?o.props.class.push(e):o.props.class=[e,o.props.class]):o.props.class=e),o}}return{value:"div"}}function be(t){return!t||("string"==typeof t||"object"==typeof t&&("string"==typeof t.value||"function"==typeof t.value||"object"==typeof t.value))}ge.dropHandler=function(){return function(t,e){e&&e(t)}},ge.wrapChild=!1;var ye={drop:"onDrop","drag-end":"onDragEnd","drag-start":"onDragStart","drag-enter":"onDragEnter","drag-leave":"onDragLeave","drop-ready":"onDropReady","drop-not-allowed":"dropNotAllowed"};var xe=function(t){return function(t,e){var n=Object.keys(t).reduce((function(n,r){var i=r,o=t[i];return void 0!==o&&("function"==typeof o?ye[i]?n[ye[i]]=function(t){e.$emit(i,t)}:n[i]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return o.apply(void 0,t)}:n[i]=o),n}),{});return n}(Object.assign({},t.$props,t.$listeners),t)},we={name:"Container",mounted:function(){this.containerElement=this.$refs.container||this.$el,this.container=ge(this.containerElement,xe(this))},updated:function(){if(this.$refs.container!==this.containerElement&&this.$el!==this.containerElement)return this.container&&this.container.dispose(),this.containerElement=this.$refs.container||this.$el,void(this.container=ge(this.containerElement,xe(this)));this.container.setOptions(xe(this))},destroyed:function(){this.container&&this.container.dispose()},props:{behaviour:String,groupName:String,orientation:String,dragHandleSelector:String,nonDragAreaSelector:String,dragBeginDelay:Number,animationDuration:Number,autoScrollEnabled:{type:Boolean,default:!0},lockAxis:String,dragClass:String,dropClass:String,removeOnDropOut:{type:Boolean,default:!1},"drag-start":Function,"drag-end":Function,drop:Function,getChildPayload:Function,shouldAnimateDrop:Function,fireRelatedEventsOnly:{type:Boolean,default:!1},shouldAcceptDrop:Function,"drag-enter":Function,"drag-leave":Function,tag:{validator:be,default:"div"},getGhostParent:Function,"drop-ready":Function,dropPlaceholder:[Object,Boolean]},render:function(t){var e=ve(this);return t(e.value,Object.assign({},{ref:"container"},e.props),this.$slots.default)}},ke={name:"Draggable",props:{tag:{validator:be,default:"div"},dragNotAllowed:{type:Boolean,default:!1}},render:function(t){return function(t,e){var n=ve(e,["dndrop-draggable-wrapper",e.dragNotAllowed?"dndrop-not-draggable":""]);return t(n.value,Object.assign({},n.props),e.$slots.default)}(t,this)}}},65025:(t,e,n)=>{"use strict";n.d(e,{CW:()=>ht});n(44860);function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t,e){return 1===arguments.length&&(e=t,t=0),Math.floor(Math.random()*(e-t+1)+t)}function o(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=0;o<t;o++)n+=r[i(61)];return e+n}function s(t,e){for(var n,r=0;(n=t.indexOf(e))>-1;)t.splice(n,1),r++;return r}function a(t){var e=u(t),n=function(){if("undefined"!=typeof pageYOffset)return{top:pageYOffset,left:pageXOffset};var t=document.body,e=document.documentElement;return{top:(e=e.clientHeight?e:t).scrollTop,left:e.scrollLeft}}();return{x:e.left+n.left,y:e.top+n.top}}function l(t){var e=t.offsetParent;return(!e||e===document.body&&"static"===getComputedStyle(document.body).position)&&(e=document.body.parentElement),e}function c(t){for(var e=l(t),n={x:t.offsetLeft,y:t.offsetTop},r=t;(r=r.parentElement)!==e&&r;)n.x-=r.scrollLeft,n.y-=r.scrollTop;return n}function u(t){var e=t.getBoundingClientRect(),n=e.top-document.documentElement.clientTop,r=e.bottom,i=e.left-document.documentElement.clientLeft,o=e.right;return{top:n,right:o,bottom:r,left:i,width:e.width||o-i,height:e.height||r-n,x:i,y:n}}function d(t,e){t["original_".concat(e)]=t.getAttribute(e)}function h(t,e){var n="original_".concat(e);t.setAttribute(e,t[n])}function f(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function p(t){d(t,"style"),t.style.display="block";var e=u(t),n={width:e.width,height:e.height};return h(t,"style"),n}function m(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];t.addEventListener?t.addEventListener.apply(t,[e,n].concat(i)):t.attachEvent&&t.attachEvent.apply(t,["on".concat(e),n].concat(i))}function g(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];t.removeEventListener?t.removeEventListener.apply(t,[e,n].concat(i)):t.detachEvent&&t.detachEvent.apply(t,["on".concat(e),n].concat(i))}function v(t,e,n,r,i){var o,s,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1e3;null==n&&(n=0,r=t.length-1);for(var l,c=0;n>=0&&n<=r;){if(c>=a)throw Error("binarySearch: loop times is over ".concat(a,", you can increase the limit."));if((l=e(s=t[o=Math.floor((r-n)/2+n)],c))>0)r=o-1;else{if(!(l<0))return{index:o,value:s,count:c+1,hit:!0};n=o+1}c++}return i?{index:o,value:s,count:c+1,hit:!1,bigger:l>0}:null}function b(t){return b="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},b(t)}function y(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function x(t,e){var n=arguments.length>3?arguments[3]:void 0,i=(r(t)?t:[t]).map((function(t,e){return{item:t,index:e}}));n&&i.reverse();for(var o=function(){var t=i.shift(),r=t.item,o=t.index,s=t.parent,a=e(r,o,s);if(!1===a)return{v:void 0};if("skip children"===a)return"continue";if("skip siblings"===a&&(i=i.filter((function(t){return t.parent!==s}))),r.children){var l,c=r.children;n&&(c=c.slice()).reverse();var u=c.map((function(t,e){return{item:t,index:e,parent:r}}));(l=i).push.apply(l,y(u))}};i.length;){var s=o();if("continue"!==s&&"object"===b(s))return s.v}}function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"parent";t[r]&&s(t[r][n],t),t[r]=e}function k(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"parent";if(t!==e){var i=e[r][n],o=i.indexOf(e);i[o+1]!==t&&(t[r]===e[r]?(s(i,t),o=i.indexOf(e)):w(t,e[r]),i.splice(o+1,0,t))}}function _(t,e){if(t===e)throw"can't append to self";var n=e[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children"];n[n.length-1]!==t&&(w(t,e),n.push(t))}const S=function(t,e,n,r,i,o,s,a,l,c){"boolean"!=typeof s&&(l=a,a=s,s=!1);const u="function"==typeof n?n.options:n;let d;if(t&&t.render&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),r&&(u._scopeId=r),o?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=d):e&&(d=s?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),d)if(u.functional){const t=u.render;u.render=function(e,n){return d.call(n),t(e,n)}}else{const t=u.beforeCreate;u.beforeCreate=t?[].concat(t,d):[d]}return n};var O={start:["mousedown","touchstart"],move:["mousemove","touchmove"],end:["mouseup","touchend"]},M={isTouch:function(t){return t.type&&t.type.startsWith("touch")},_getStore:function(t){return t._wrapperStore||(t._wrapperStore=[]),t._wrapperStore},on:function(t,e,n){var r,i,o=this._getStore(t),s=this,a=function(t){var r;if(s.isTouch(t))r={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY};else if(r={x:t.pageX,y:t.pageY},"start"===e&&1!==t.which)return;return n.call(this,t,r)};o.push({handler:n,wrapper:a});for(var l=arguments.length,c=new Array(l>3?l-3:0),u=3;u<l;u++)c[u-3]=arguments[u];(r=m).call.apply(r,[null,t,O[e][0],a].concat(c)),(i=m).call.apply(i,[null,t,O[e][1],a].concat(c))},off:function(t,e,n){for(var r=this._getStore(t),i=arguments.length,o=new Array(i>3?i-3:0),s=3;s<i;s++)o[s-3]=arguments[s];for(var a=r.length-1;a>=0;a--){var l,c,u=r[a],d=u.handler,h=u.wrapper;if(n===d)(l=g).call.apply(l,[null,t,O[e][0],h].concat(o)),(c=g).call.apply(c,[null,t,O[e][1],h].concat(o)),r.splice(a,1)}}};const C=M;const A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null==e.minTranslate&&(e.minTranslate=10);var n={movedCount:0},r=function(){C.off(t,"end",t._draggbleEventHandler),g(t,"selectstart",a),delete t._draggbleEventHandler};return t._draggbleEventHandler&&r(),t._draggbleEventHandler=function(t,e){n.mouse={x:e.x,y:e.y},n.initialMouse=Object.assign({},n.mouse),C.on(document,"move",o,{passive:!1}),C.on(window,"end",s)},C.on(t,"start",t._draggbleEventHandler),m(t,"selectstart",a),r;function i(r){var i=function(){var r=e.getEl?e.getEl(t,e):t,i=r;e.clone&&(n.triggerEl=r,i=r.cloneNode(!0),r.parentElement.appendChild(i));return{position:c(i),el:i}}(),o=i.el,s=i.position;if(n.el=o,n.initialPosition=Object.assign({},s),!1===(e.drag&&e.drag(r,e,n)))return!1;var a=p(o),l=Object.assign({width:"".concat(a.width,"px"),height:"".concat(a.height,"px"),zIndex:9999,opacity:.6,position:"absolute",left:s.x+"px",top:s.y+"px"},e.style||e.getStyle&&e.getStyle(e)||{});for(var u in d(o,"style"),l)o.style[u]=l[u];d(o,"class"),function(t,e){f(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)}(o,e.draggingClass)}function o(t,r){n.mouse={x:r.x,y:r.y};var o=n.move={x:n.mouse.x-n.initialMouse.x,y:n.mouse.y-n.initialMouse.y};if(0===n.movedCount&&e.minTranslate){var s=Math.pow(n.move.x,2),a=Math.pow(n.move.y,2);if(Math.pow(s+a,.5)<e.minTranslate)return}var l=!0;if(0===n.movedCount&&!1===i(t)&&(l=!1),t.preventDefault(),l&&e.moving&&!1===e.moving(t,e,n)&&(l=!1),l){if(!n||!n.el)return;Object.assign(n.el.style,{left:n.initialPosition.x+o.x+"px",top:n.initialPosition.y+o.y+"px"}),n.movedCount++}}function s(t){if(C.off(document,"move",o,{passive:!1}),C.off(window,"end",s),n.movedCount>0){n.movedCount=0;var r=n.el;e.clone?r.parentElement.removeChild(r):(h(r,"style"),h(r,"class")),e.drop&&e.drop(t,e,n)}n={movedCount:0}}function a(t){t.preventDefault()}};function T(t){return T="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(t)}function E(t){var e=function(t,e){if("object"!=T(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==T(e)?e:e+""}function D(t){return""===t||t}var P=n(9670),j={name:"TreeNode",props:{data:{},store:{},level:{default:0}},data(){return{vm:this}},computed:{childrenLevel(){return this.level+1},isRoot(){return this.data&&this.data.isRoot},childrenVisible(){var{data:t}=this;return this.isRoot||t&&t.children&&t.children.length&&t.open},innerBackStyle(){var t={marginBottom:this.store.space+"px"};return!this.isRoot&&this.level>1&&(t.paddingLeft=(this.level-1)*this.store.indent+"px"),t}},watch:{data:{immediate:!0,handler(t){t&&(t._vm=this,t._treeNodePropertiesCompleted||t.isRoot||this.store.compeleteNode(t,this.$parent.data))}}}},L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tree-node",class:[t.data.active?t.store.activatedClass:"",t.data.open?t.store.openedClass:"",t.data.class],style:t.data.style,attrs:{id:t.data._id}},[t.isRoot?t._e():t._t("node-inner-back",[n("div",{staticClass:"tree-node-inner-back",class:[t.data.innerBackClass],style:[t.innerBackStyle,t.data.innerBackStyle]},[n("div",{staticClass:"tree-node-inner",class:[t.data.innerClass],style:[t.data.innerStyle]},[t._t("default",null,{data:t.data,store:t.store,vm:t.vm})],2)])],{styleObj:t.innerBackStyle,data:t.data,store:t.store,vm:t.vm}),n("transition",{attrs:{name:t.store.childrenTransitionName}},[t.childrenVisible?n("div",{staticClass:"tree-node-children"},t._l(t.data.children,(function(e){return n("TreeNode",{key:e._id,attrs:{data:e,store:t.store,level:t.childrenLevel},scopedSlots:t._u([{key:"default",fn:function(e){return[t._t("default",null,{data:e.data,store:e.store,vm:e.vm})]}},{key:"node-inner-back",fn:function(e){return t.store.customInnerBack?[t._t("node-inner-back",null,{styleObj:e.styleObj,data:e.data,store:e.store,vm:e.vm})]:void 0}}],null,!0)})})),1):t._e()])],2)};L._withStripped=!0;var I=S({render:L,staticRenderFns:[]},undefined,j,undefined,!1,undefined,!1,void 0,void 0,void 0),N={props:{data:{},idLength:{type:Number,default:5},indent:{type:Number,default:16},activatedClass:{default:"active"},openedClass:{default:"open"},space:{type:Number,default:10},childrenTransitionName:{},customInnerBack:{}},components:{TreeNode:I},data(){return{store:this,rootData:null}},watch:{data:{immediate:!0,handler(t,e){t!==e&&(this.rootData=this.rootData||{isRoot:!0,_id:"tree_".concat(this._uid,"_node_root"),children:[]},x(t,((t,e,n)=>{this.compeleteNode(t,n)})),this.rootData.children=t)}}},methods:{compeleteNode(t,e){var n={open:!0,children:[],active:!1,style:{},class:"",innerStyle:{},innerClass:"",innerBackStyle:{},innerBackClass:{}};for(var r in n)t.hasOwnProperty(r)||this.$set(t,r,n[r]);this.$set(t,"parent",e||this.rootData),t.hasOwnProperty("_id")||(t._id="tree_".concat(this._uid,"_node_").concat(o(this.idLength))),t._treeNodePropertiesCompleted=!0},pure(t,e,n){var r=Object.assign({},t);for(var i of(delete r._id,delete r.parent,delete r.children,delete r.open,delete r.active,delete r.style,delete r.class,delete r.innerStyle,delete r.innerClass,delete r.innerBackStyle,delete r.innerBackClass,Object.keys(r)))"_"===i[0]&&delete r[i];return e&&t.children&&(r.children=t.children.slice(),r.children.forEach(((t,n)=>{r.children[n]=this.pure(t,e)}))),n&&n(r,t)||r},getNodeById(t){var e;return x(this.rootData.children,(n=>{if(n._id===t)return e=n,!1})),e},getActivated(){var t=[];return x(this.rootData.children,(e=>{e.active&&t.push(e)})),t},getOpened(){var t=[];return x(this.rootData.children,(e=>{e.open&&t.push(e)})),t},activeNode(t,e){e&&this.getActivated().forEach((t=>{t.active=!1})),t.active=!0},toggleActive(t,e){t.active?t.active=!1:this.activeNode(t,e)},openNode(t,e){e&&this.getOpened().forEach((t=>{t.open=!1,this.$emit("nodeOpenChanged",t)})),t.open=!0,this.$emit("nodeOpenChanged",t)},toggleOpen(t,e){t.open?(t.open=!1,this.$emit("nodeOpenChanged",t)):this.openNode(t,e)},getPureData(t){return this.pure(this.rootData,!0,t).children},deleteNode:t=>s(t.parent.children,t)}},R=N,$=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"he-tree tree"},[n("TreeNode",{attrs:{data:t.rootData,store:t.store},scopedSlots:t._u([{key:"default",fn:function(e){return[t._t("default",null,{data:e.data,store:t.store,vm:e.vm})]}},{key:"node-inner-back",fn:function(e){return t.customInnerBack?[t._t("node-inner-back",null,{styleObj:e.styleObj,data:e.data,store:e.store,vm:e.vm})]:void 0}}],null,!0)})],1)};$._withStripped=!0;var B=S({render:$,staticRenderFns:[]},undefined,R,undefined,!1,undefined,!1,void 0,void 0,void 0);class F{constructor(){var t,e,n;t=this,n={},(e=E(e="store"))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}has(t){return this.store.hasOwnProperty(t)}remember(t,e){return this.has(t)||(this.store[t]={value:e()}),this.store[t].value}forget(t){t?this.has(t)&&delete this.store[t]:this.store={}}}function z(t,e){for(var n=t;n;)if((n=n.parentNode)===e)return!0}document.elementsFromPoint||(document.elementsFromPoint=function(t,e){var n=[],r=void 0;do{r!==document.elementFromPoint(t,e)?(r=document.elementFromPoint(t,e),n.push(r),r.style.pointerEvents="none"):r=!1}while(r);return n.forEach((function(t){return t.style.pointerEvents="all"})),n});var H=t=>{},Y=t=>{K(t.dplh,t.targetNode)},W=t=>{Z(t.targetNode.parent)?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"parent";if(t!==e){var i=e[r][n],o=i.indexOf(e);i[o-1]!==t&&(t[r]===e[r]?(s(i,t),o=i.indexOf(e)):w(t,e[r]),i.splice(o,0,t))}}(t.dplh,t.targetNode):K(t.dplh,t.targetNode.parent)},V=t=>{Z(t.targetNode)?(_(t.dplh,t.targetNode),t.targetNode.open||t.store.toggleOpen(t.targetNode)):K(t.dplh,t.targetNode)},U=t=>{Z(t.targetNode)?(!function(t,e){if(t===e)throw"can't prepend to self";var n=e[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children"];n[0]!==t&&(w(t,e),n.splice(0,0,t))}(t.dplh,t.targetNode),t.targetNode.open||t.store.toggleOpen(t.targetNode)):K(t.dplh,t.targetNode)},G=t=>{K(t.dplh,t.targetNode.parent)},X=t=>{Z(t.targetPrev)?(_(t.dplh,t.targetPrev),t.targetPrev.open||t.store.toggleOpen(t.targetPrev)):K(t.dplh,t.targetPrev)},q=t=>{Z(t.currentTree.rootData)&&_(t.dplh,t.currentTree.rootData)};function K(t,e,n){if(!e)return!1;var r=function(t,e){var n=t;for(;n;){if(e(n))return n;n=n.parent}}(e,(t=>t.parent&&Z(t.parent)));return!!r&&(k(t,r),!0)}function J(t){var e;ot.hasOwnProperty(t._id)||(e=t.hasOwnProperty("draggable")?t.draggable:!t.parent||J(t.parent),ot[t._id]=e);return ot[t._id]}function Z(t){var e;it.hasOwnProperty(t._id)||(e=t.hasOwnProperty("droppable")?t.droppable:!t.parent||Z(t.parent),it[t._id]=e);return it[t._id]}function Q(t,e,n,r){var i=e.length;if(r)for(var o=i-1;o>=0;o--){var s=e[o];if(s!==t.node&&n(s,o))return s}else for(var a=0;a<i;a++){var l=e[a];if(l!==t.node&&n(l,a))return l}}var tt,et={"targetNode existed":t=>t.targetNode,"targetNode is placeholder":t=>t.targetNode.isDragPlaceHolder,"targetNode at top":t=>t.targetAtTop,"targetNode at bottom":t=>t.targetAtBottom,"targetNode is the second child of root":t=>t.currentTreeRootSecondChildExcludingDragging===t.targetNode,"currentTree existed":t=>t.currentTree,"currentTree empty":t=>!Q(t,t.currentTree.rootData.children,(t=>t)),"placeholder existed":t=>t.dplhEl,"placeholder in currentTree":t=>t.dplhElInCurrentTree,"placeholder at top":t=>t.dplhAtTop,"targetNode is open":t=>t.targetNode.open,"targetNode has children excluding placeholder":t=>Q(t,t.targetNode.children,(e=>e!==t.dplh)),"targetNode is 1st child":t=>Q(t,t.targetNode.parent.children,(t=>t))===t.targetNode,"targetNode is last child":t=>Q(t,t.targetNode.parent.children,(t=>t),!0)===t.targetNode,"on targetNode middle":t=>t.offset.y<=t.tiMiddleY,"at left":t=>t.offset.x<t.tiOffset.x,"at indent right":t=>t.offset.x>t.tiOffset.x+t.currentTree.indent},nt=function(t){var e=et[t];et[t]=function(){return Boolean(e(...arguments))}};for(var rt of Object.keys(et))nt(rt);var it={},ot={};function st(t){var e=this.store.trees,n=t.store,r={event:t.event,el:n.el,vm:this,node:this.data,store:this.store,dplh:this.store.dplh,draggableHelperData:{opt:t.options,store:n}};!function(t,e,n){var r=function(r){Object.defineProperty(t,r,{get(){return e.remember(r,(()=>n[r].call(this)))}})};for(var i in n)r(i)}(r,new F,{nodeInnerEl(){return this.el.querySelector(".tree-node-inner")},offset(){return a(this.nodeInnerEl)},offset2(){return{x:this.offset.x+this.nodeInnerEl.offsetWidth,y:this.offset.y+this.nodeInnerEl.offsetHeight}},offsetToViewPort(){var t=this.nodeInnerEl.getBoundingClientRect();return t.x=t.left,t.y=t.top,t},currentTree(){var t=function(t,e,n){var r,i,o=document.elementsFromPoint(t,e),s=[];for(var a of o)if(i){if(f(a,"tree")){r=a;break}s.push(a)}else f(a,"tree-node")&&(i=a);if(r){var l=!1;if(!z(i,r))for(var c of s)if(!z(c,r)){l=!0;break}if(!l)return n.find((t=>t.$el===r))}}(this.offsetToViewPort.x,this.offsetToViewPort.y,e);if(t){var n=this.store;if(null==tt&&(tt=n),tt!==t){if(!D(n.crossTree)||!D(t.crossTree))return;tt=t}if(!D(t.droppable))return;return t}},currentTreeRootEl(){return document.getElementById(this.currentTree.rootData._id)},currentTreeRootOf4(){return at(this.currentTreeRootEl,this.currentTree.space)},currentTreeRootSecondChildExcludingDragging(){return this.currentTree.rootData.children.slice(0,3).filter((t=>t!==this.node))[1]},dplhEl(){return document.getElementById(this.dplh._id)},dplhElInCurrentTree(){return Boolean(this.currentTree.$el.querySelector("#".concat(this.dplh._id)))},dplhOf4(){return at(this.dplhEl,this.currentTree.space)},dplhAtTop(){return Math.abs(this.dplhOf4.y-this.currentTreeRootOf4.y)<5},targetAtTop(){return Math.abs(this.tiOf4.y-this.currentTreeRootOf4.y)<5},targetAtBottom(){return Math.abs(this.tiOf4.y2-this.currentTreeRootOf4.y2)<5},targetNode(){var{currentTree:t}=this;if(!t)throw"no currentTree";for(var{x:e,y:n}=this.offset,r=t.rootData;;){var i=r.children;if(!i)break;if(this.node.parent===r&&(i=i.slice()).splice(i.indexOf(this.node),1),0===i.length)break;var o=v(i,(e=>{var r=document.getElementById(e._id),i=a(r).y;return i+r.offsetHeight+t.space<n?-1:i<=n?0:1}),null,null,!0);if(!(r=o.hit?o.value:o.bigger?i[o.index-1]:o.value)){r=i[0];break}if(!r)break;var s=at(document.getElementById(r._id).querySelector(".tree-node-inner"),t.space);if(s.y<=n&&n<=s.y2)break}return r},targetNodeEl(){return document.getElementById(this.targetNode._id)},tiInnerEl(){return this.targetNodeEl.querySelector(".tree-node-inner")},tiOffset(){return a(this.tiInnerEl)},tiOf4(){return at(this.tiInnerEl,this.currentTree.space)},tiMiddleY(){return this.tiOffset.y+this.tiInnerEl.offsetHeight/2},targetPrevEl(){var t=this.targetNodeEl.previousSibling;return f(t,"dragging")&&(t=t.previousSibling),t},targetPrev(){var t=this.targetPrevEl.getAttribute("id");return this.currentTree.getNodeById(t)}});var i={},o=t=>{if(!i.hasOwnProperty(t)){var e;try{e=et[t](r)}catch(n){e=n;try{P.env.DEVELOPE_SELF&&console.warn("failed to execute rule '".concat(t,"'"),n)}catch(t){}}i[t]=e}return i[t]};!0===o("currentTree existed")?!1===o("targetNode is placeholder")?!0===o("targetNode is the second child of root")?!1===o("targetNode has children excluding placeholder")?!0===o("on targetNode middle")?W(r):!1===o("on targetNode middle")&&(!0===o("at indent right")?V(r):!1===o("at indent right")&&Y(r)):!0===o("targetNode has children excluding placeholder")&&U(r):!1===o("targetNode is the second child of root")&&(!1===o("currentTree empty")?!0===o("targetNode at top")?!0===o("placeholder in currentTree")?!1===o("targetNode has children excluding placeholder")?!1===o("on targetNode middle")?!1===o("at indent right")?Y(r):!0===o("at indent right")&&V(r):!0===o("on targetNode middle")&&W(r):!0===o("targetNode has children excluding placeholder")&&(!1===o("on targetNode middle")?U(r):!0===o("on targetNode middle")&&W(r)):!1===o("placeholder in currentTree")&&W(r):!1===o("targetNode at top")&&(!1===o("targetNode at bottom")?!0===o("placeholder at top")?U(r):!1===o("placeholder at top")&&(!0===o("targetNode has children excluding placeholder")?U(r):!1===o("targetNode has children excluding placeholder")&&(!1===o("targetNode is 1st child")?!1===o("targetNode is last child")?(!0===o("on targetNode middle")||!1===o("on targetNode middle"))&&(!0===o("at indent right")?V(r):!1===o("at indent right")&&Y(r)):!0===o("targetNode is last child")&&(!0===o("at indent right")?V(r):!1===o("at indent right")&&Y(r)):!0===o("targetNode is 1st child")&&(!0===o("targetNode is last child")?V(r):!1===o("targetNode is last child")&&(!1===o("on targetNode middle")||!0===o("on targetNode middle"))&&(!1===o("at indent right")?Y(r):!0===o("at indent right")&&V(r))))):!0===o("targetNode at bottom")&&(!0===o("placeholder in currentTree")?!1===o("on targetNode middle")?!0===o("at indent right")?V(r):!1===o("at indent right")&&Y(r):!0===o("on targetNode middle")&&V(r):!1===o("placeholder in currentTree")&&V(r))):!0===o("currentTree empty")&&q(r)):!0===o("targetNode is placeholder")&&(!1===o("targetNode at bottom")?!1===o("targetNode is the second child of root")?!0===o("targetNode is 1st child")?!1===o("targetNode is last child")?H(r):!0===o("targetNode is last child")&&(!1===o("on targetNode middle")||!0===o("on targetNode middle"))&&(!0===o("at left")?G(r):!1===o("at left")&&H(r)):!1===o("targetNode is 1st child")&&(!0===o("targetNode is last child")?(!0===o("on targetNode middle")||!1===o("on targetNode middle"))&&(!0===o("at left")?G(r):!1===o("at left")&&(!0===o("at indent right")?X(r):!1===o("at indent right")&&H(r))):!1===o("targetNode is last child")&&(!0===o("on targetNode middle")||!1===o("on targetNode middle"))&&(!0===o("at left")?H(r):!1===o("at left")&&(!0===o("at indent right")?X(r):!1===o("at indent right")&&H(r)))):!0===o("targetNode is the second child of root")&&(!0===o("on targetNode middle")||!1===o("on targetNode middle"))&&(!0===o("at indent right")?X(r):!1===o("at indent right")&&H(r)):!0===o("targetNode at bottom")&&(!0===o("targetNode is 1st child")?!1===o("on targetNode middle")?!0===o("at left")?G(r):!1===o("at left")&&H(r):!0===o("on targetNode middle")&&(!1===o("at left")?H(r):!0===o("at left")&&G(r)):!1===o("targetNode is 1st child")&&(!1===o("on targetNode middle")||!0===o("on targetNode middle"))&&(!0===o("at left")?G(r):!1===o("at left")&&(!0===o("at indent right")?X(r):!1===o("at indent right")&&H(r))))):!1===o("currentTree existed")&&H(r)}function at(t,e){var n=a(t);return n.x2=n.x+t.offsetWidth,n.y2=n.y+t.offsetHeight+e,n}st.dragStart=function(){},st.dragEnd=function(){tt=null,it={},ot={}};var lt={extends:I,name:"TreeNode",mounted(){if(this.store.isNodeDraggable=J,this.store.isNodeDroppable=Z,!this.isRoot&&!this.data.isDragPlaceHolder){var{dplh:t}=this.store;this.$watch("store.draggable",(e=>{if(D(e)){var n=this.store.getTriggerEl?this.store.getTriggerEl(this):this.$el.querySelector(".tree-node-inner");this._draggableDestroy=A(n,{preventSelect:D(this.store.preventSelect),getEl:()=>this.$el,minTranslate:10,drag:(e,n,r)=>{st.dragStart();var i={event:e,options:n,store:r};if(this.store.ondragstart&&!1===this.store.ondragstart(this.data,i))return!1;if(!J(this.data))return!1;this.store.$emit("drag",this.data);var o=this.data.parent.children;this.startPosition={siblings:o,index:o.indexOf(this.data)},t.innerStyle.height=r.el.offsetHeight+"px",k(t,this.data),this.data.class+=" dragging"},moving:(t,e,n)=>{if(0!==n.movedCount){var r={event:t,options:e,store:n};return st.call(this,r)}},drop:(e,n,r)=>{st.dragEnd();var i={event:e,options:n,store:r};if(this.store.ondragend&&!1===this.store.ondragend(this.data,i))s(t.parent.children,t);else{var o=t._vm.store,a=o!==this.store?this.store:null;k(this.data,t),s(t.parent.children,t),this.data.class=this.data.class.replace(/(^| )dragging( |$)/g," "),o.$emit("drop",this.data,o,a),a&&a.$emit("drop",this.data,o,a);var l=this.data.parent.children;l===this.startPosition.siblings&&l.indexOf(this.data)===this.startPosition.index||(this.store.$emit("change",this.data,o,a),a&&a.$emit("change",this.data,o,a)),this.startPosition=null}}})}else this._draggableDestroy&&(this._draggableDestroy(),this._draggableDestroy=null)}),{immediate:!0})}}},ct=S({},undefined,lt,undefined,undefined,undefined,!1,void 0,void 0,void 0),ut=[],dt={_id:"draggable_tree_drag_placeHolder",level:null,droppable:!1,isDragPlaceHolder:!0,class:"draggable-placeholder",style:{},innerStyle:{},innerClass:"draggable-placeholder-inner",innerBackStyle:{},innerBackClass:"draggable-placeholder-inner-back"},ht=S({},undefined,{extends:B,props:{getTriggerEl:{type:Function},draggable:{},droppable:{default:!0},crossTree:{},ondragstart:{type:Function},ondragend:{type:Function},preventSelect:{default:!0}},components:{TreeNode:ct},data:()=>({dplh:dt,trees:ut}),created(){ut.push(this)},mounted(){},beforeDestroy(){s(ut,this)}},undefined,undefined,undefined,!1,void 0,void 0,void 0)},76209:function(t){var e;e=()=>(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},e={};t.d(e,{default:()=>u});const n="undefined"!=typeof window?window.HTMLElement:Object,r={mounted(){this.enforceFocus&&document.addEventListener("focusin",this.focusIn)},methods:{focusIn(t){if(!this.isActive)return;if(t.target===this.$el||this.$el.contains(t.target))return;let e=this.container?this.container:this.isFullPage?null:this.$el.parentElement;(this.isFullPage||e&&e.contains(t.target))&&(t.preventDefault(),this.$el.focus())}},beforeDestroy(){document.removeEventListener("focusin",this.focusIn)}};function i(t,e,n,r,i,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}const o={Spinner:i({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}},(function(){var t=this,e=t._self._c;return e("svg",{attrs:{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,stroke:t.color}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2"}},[e("circle",{attrs:{"stroke-opacity":".25",cx:"18",cy:"18",r:"18"}}),e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"}})],1)])])])}),[],!1,null,null,null).exports,Dots:i({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}},(function(){var t=this,e=t._self._c;return e("svg",{attrs:{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:t.color,width:t.width,height:t.height}},[e("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":"0.3"}},[e("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,Bars:i({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}},(function(){var t=this,e=t._self._c;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:t.height,width:t.width,fill:t.color}},[e("rect",{attrs:{x:"0",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"10",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"20",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports},s={name:"vue-loading",mixins:[r],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,n],isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!1},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:()=>{}},color:String,backgroundColor:String,blur:{type:String,default:"2px"},opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},data(){return{isActive:this.active}},components:o,beforeMount(){this.programmatic&&(this.container?(this.isFullPage=!1,this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted(){this.programmatic&&(this.isActive=!0),document.addEventListener("keyup",this.keyPress)},methods:{cancel(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide(){this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout((()=>{var t;this.$destroy(),void 0!==(t=this.$el).remove?t.remove():t.parentNode.removeChild(t)}),150))},disableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.add("vld-shown")},enableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.remove("vld-shown")},keyPress(t){27===t.keyCode&&this.cancel()}},watch:{active(t){this.isActive=t},isActive(t){t?this.disableScroll():this.enableScroll()}},computed:{bgStyle(){return{background:this.backgroundColor,opacity:this.opacity,backdropFilter:`blur(${this.blur})`}}},beforeDestroy(){document.removeEventListener("keyup",this.keyPress)}};var a=i(s,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:t.transition}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"vld-overlay is-active",class:{"is-full-page":t.isFullPage},style:{zIndex:t.zIndex},attrs:{tabindex:"0","aria-busy":t.isActive,"aria-label":"Loading"}},[e("div",{staticClass:"vld-background",style:t.bgStyle,on:{click:function(e){return e.preventDefault(),t.cancel.apply(null,arguments)}}}),e("div",{staticClass:"vld-icon"},[t._t("before"),t._t("default",(function(){return[e(t.loader,{tag:"component",attrs:{color:t.color,width:t.width,height:t.height}})]})),t._t("after")],2)])])}),[],!1,null,null,null);const l=a.exports,c=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{show(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;const o=Object.assign({},e,r,{programmatic:!0}),s=new(t.extend(l))({el:document.createElement("div"),propsData:o}),a=Object.assign({},n,i);return Object.keys(a).map((t=>{s.$slots[t]=a[t]})),s}}};l.install=function(t){let e=c(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});t.$loading=e,t.prototype.$loading=e};const u=l;return e=e.default})(),t.exports=e()},67225:function(t,e,n){var r;"undefined"!=typeof self&&self,t.exports=(r=n(1837),function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},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=509)}([function(t,e){t.exports=function(t,e,n,r,i,o){var s,a,l,c,u,d=t=t||{},h=typeof t.default;return"object"!==h&&"function"!==h||(s=t,d=t.default),a="function"==typeof d?d.options:d,e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns,a._compiled=!0),n&&(a.functional=!0),i&&(a._scopeId=i),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},a._ssrRegister=l):r&&(l=r),l&&(c=a.functional,u=c?a.render:a.beforeCreate,c?(a._injectStyles=l,a.render=function(t,e){return l.call(e),u(t,e)}):a.beforeCreate=u?[].concat(u,l):[l]),{esModule:s,exports:d,options:a}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={props:{mdTheme:null},computed:{$mdActiveTheme:function(){var t=o.default.enabled,e=o.default.getThemeName,n=o.default.getAncestorTheme;return t&&!1!==this.mdTheme?e(this.mdTheme||n(this)):null}}};return(0,a.default)(e,t)},i=n(4),o=r(i),s=n(6),a=r(s)},function(t,e){t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),n(8),i=n(5),o=r(i),s=n(4),a=r(s),l=function(){var t=new o.default({ripple:!0,theming:{},locale:{startYear:1900,endYear:2099,dateFormat:"yyyy-MM-dd",days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shorterDays:["S","M","T","W","T","F","S"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],shorterMonths:["J","F","M","A","M","Ju","Ju","A","Se","O","N","D"],firstDayOfAWeek:0,cancel:"Cancel",confirm:"Ok"},router:{linkActiveClass:"router-link-active"}});return Object.defineProperties(t.theming,{metaColors:{get:function(){return a.default.metaColors},set:function(t){a.default.metaColors=t}},theme:{get:function(){return a.default.theme},set:function(t){a.default.theme=t}},enabled:{get:function(){return a.default.enabled},set:function(t){a.default.enabled=t}}}),t},e.default=function(t){t.material||(t.material=l(),t.prototype.$material=t.material)}},function(t,e,n){"use strict";var r,i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(2)),i=null,o=null,s=null,e.default=new r.default({data:function(){return{prefix:"md-theme-",theme:"default",enabled:!0,metaColors:!1}},computed:{themeTarget:function(){return!this.$isServer&&document.documentElement},fullThemeName:function(){return this.getThemeName()}},watch:{enabled:{immediate:!0,handler:function(){var t=this.fullThemeName,e=this.themeTarget,n=this.enabled;e&&(n?(e.classList.add(t),this.metaColors&&this.setHtmlMetaColors(t)):(e.classList.remove(t),this.metaColors&&this.setHtmlMetaColors()))}},theme:function(t,e){var n=this.getThemeName,r=this.themeTarget;t=n(t),r.classList.remove(n(e)),r.classList.add(t),this.metaColors&&this.setHtmlMetaColors(t)},metaColors:function(t){t?this.setHtmlMetaColors(this.fullThemeName):this.setHtmlMetaColors()}},methods:{getAncestorTheme:function(t){var e,n=this;return t?(e=t.mdTheme,function t(r){if(r){var i=r.mdTheme,o=r.$parent;return i&&i!==e?i:t(o)}return n.theme}(t.$parent)):null},getThemeName:function(t){var e=t||this.theme;return this.prefix+e},setMicrosoftColors:function(t){i&&i.setAttribute("content",t)},setThemeColors:function(t){o&&o.setAttribute("content",t)},setMaskColors:function(t){s&&s.setAttribute("color",t)},setHtmlMetaColors:function(t){var e="#fff";t&&(e=window.getComputedStyle(document.documentElement).getPropertyValue("--"+t+"-primary")),e&&(this.setMicrosoftColors(e),this.setThemeColors(e),this.setMaskColors(e))}},mounted:function(){var t=this;i=document.querySelector('[name="msapplication-TileColor"]'),o=document.querySelector('[name="theme-color"]'),s=document.querySelector('[rel="mask-icon"]'),this.enabled&&this.metaColors&&window.addEventListener("load",(function(){t.setHtmlMetaColors(t.fullThemeName)}))}})},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return i.default.util.defineReactive(e,"reactive",t),e.reactive},r=n(2),i=function(t){return t&&t.__esModule?t:{default:t}}(r)},function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";function t(t){return!!t&&"object"==typeof t}function e(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||n(t)}function n(t){return t.$$typeof===h}function r(t){return Array.isArray(t)?[]:{}}function i(t,e){return!1!==e.clone&&e.isMergeableObject(t)?u(r(t),t,e):t}function o(t,e,n){return t.concat(e).map((function(t){return i(t,n)}))}function s(t,e){if(!e.customMerge)return u;var n=e.customMerge(t);return"function"==typeof n?n:u}function a(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}function l(t){return Object.keys(t).concat(a(t))}function c(t,e,n){var r={};return n.isMergeableObject(t)&&l(t).forEach((function(e){r[e]=i(t[e],n)})),l(e).forEach((function(o){n.isMergeableObject(e[o])&&t[o]?r[o]=s(o,n)(t[o],e[o],n):r[o]=i(e[o],n)})),r}function u(t,e,n){var r;return(n=n||{}).arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||d,(r=Array.isArray(e))===Array.isArray(t)?r?n.arrayMerge(t,e,n):c(t,e,n):i(e,n)}var d=function(n){return t(n)&&!e(n)},h="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;return u.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce((function(t,n){return u(t,n,e)}),{})},u}))},function(t,e,n){"use strict";function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}e.a=r},function(t,e){},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),r=n(2),i=function(t){return t&&t.__esModule?t:{default:t}}(r),e.default=function(t,e){return{validator:function(n){return!!e.includes(n)||(i.default.util.warn("The "+t+" prop is invalid. Given value: "+n+". Available options: "+e.join(", ")+".",void 0),!1)}}}},function(t,e,n){"use strict";function r(t){return(r="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 i(t){Object(o.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===r(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}e.a=i;var o=n(7)},function(t,e,n){(function(e){var r,i,o,s,a,l=n(15),c="undefined"==typeof window?e:window,u=["moz","webkit"],d="AnimationFrame",h=c["request"+d],f=c["cancel"+d]||c["cancelRequest"+d];for(r=0;!h&&r<u.length;r++)h=c[u[r]+"Request"+d],f=c[u[r]+"Cancel"+d]||c[u[r]+"CancelRequest"+d];h&&f||(i=0,o=0,s=[],a=1e3/60,h=function(t){if(0===s.length){var e=l(),n=Math.max(0,a-(e-i));i=n+e,setTimeout((function(){var t,e=s.slice(0);for(s.length=0,t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(i)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(n))}return s.push({handle:++o,callback:t,cancelled:!1}),o},f=function(t){for(var e=0;e<s.length;e++)s[e].handle===t&&(s[e].cancelled=!0)}),t.exports=function(t){return h.call(c,t)},t.exports.cancel=function(){f.apply(c,arguments)},t.exports.polyfill=function(t){t||(t=c),t.requestAnimationFrame=h,t.cancelAnimationFrame=f}}).call(e,n(13))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){return Math.random().toString(36).slice(4)};e.default=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){n(36)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(21),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(40),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){(function(e){(function(){var n,r,i,o,s,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=e&&e.hrtime?(t.exports=function(){return(n()-s)/1e6},r=e.hrtime,n=function(){var t;return 1e9*(t=r())[0]+t[1]},o=n(),a=1e9*e.uptime(),s=o-a):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(e,n(16))},function(t,e){function n(){throw Error("setTimeout has not been defined")}function r(){throw Error("clearTimeout has not been defined")}function i(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function o(t){if(d===clearTimeout)return clearTimeout(t);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(t);try{return d(t)}catch(e){try{return d.call(null,t)}catch(e){return d.call(this,t)}}}function s(){f&&p&&(f=!1,p.length?h=p.concat(h):m=-1,h.length&&a())}function a(){var t,e;if(!f){for(t=i(s),f=!0,e=h.length;e;){for(p=h,h=[];++m<e;)p&&p[m].run();m=-1,e=h.length}p=null,f=!1,o(t)}}function l(t,e){this.fun=t,this.array=e}function c(){}var u,d,h,f,p,m,g=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(t){u=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(t){d=r}}(),h=[],f=!1,m=-1,g.nextTick=function(t){var e,n=Array(arguments.length-1);if(arguments.length>1)for(e=1;e<arguments.length;e++)n[e-1]=arguments[e];h.push(new l(t,n)),1!==h.length||f||i(a)},l.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={},g.on=c,g.addListener=c,g.once=c,g.off=c,g.removeListener=c,g.removeAllListeners=c,g.emit=c,g.prependListener=c,g.prependOnceListener=c,g.listeners=function(t){return[]},g.binding=function(t){throw Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(t){throw Error("process.chdir is not supported")},g.umask=function(){return 0}},function(t,e,n){"use strict";function r(t){n(24)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(18),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(27),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=n(11),s=r(o),a=r(n(1)),l=n(12),c=r(l),u=r(n(23)),e.default=new a.default({name:"MdRipple",components:{MdWave:u.default},props:{mdActive:null,mdDisabled:Boolean,mdCentered:Boolean,mdEventTrigger:{type:Boolean,default:!0}},data:function(){return{ripples:[],touchTimeout:null,eventType:null}},computed:{isDisabled:function(){return!this.$material.ripple||this.mdDisabled},rippleClasses:function(){return{"md-disabled":this.isDisabled}},waveClasses:function(){return{"md-centered":this.mdCentered}}},watch:{mdActive:function(t){var e=t instanceof MouseEvent;"boolean"==typeof t&&this.mdCentered&&t?this.startRipple({type:"mousedown"}):e&&this.startRipple(t),this.$emit("update:mdActive",!1)}},methods:{touchMoveCheck:function(){window.clearTimeout(this.touchTimeout)},touchStartCheck:function(t){var e=this;this.touchTimeout=window.setTimeout((function(){e.startRipple(t)}),100)},startRipple:function(t){var e=this;(0,s.default)((function(){var n,r,i=e.eventType,o=e.isDisabled,s=e.mdCentered;o||i&&i!==t.type||(n=e.getSize(),r=null,r=s?e.getCenteredPosition(n):e.getHitPosition(t,n),e.eventType=t.type,e.ripples.push({waveStyles:e.applyStyles(r,n),uuid:(0,c.default)()}))}))},applyStyles:function(t,e){return i({},t,{width:e+="px",height:e})},clearWave:function(t){this.ripples=t?this.ripples.filter((function(e){return e.uuid!==t})):[]},getSize:function(){var t=this.$el,e=t.offsetWidth,n=t.offsetHeight;return Math.round(Math.max(e,n))},getCenteredPosition:function(t){var e=-t/2+"px";return{"margin-top":e,"margin-left":e}},getHitPosition:function(t,e){var n=this.$el.getBoundingClientRect(),r=t.pageY,i=t.pageX;return"touchstart"===t.type&&(r=t.changedTouches[0].pageY,i=t.changedTouches[0].pageX),{top:r-n.top-e/2-document.documentElement.scrollTop+"px",left:i-n.left-e/2-document.documentElement.scrollLeft+"px"}}}})},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdWave",data:function(){return{animating:!1}},props:{waveClasses:null,waveStyles:null},mounted:function(){this.animating=!0},methods:{end:function(){this.animating=!1,this.$emit("md-end")}}})},function(t,e,n){"use strict";function r(t){if(null===t||!0===t||!1===t)return NaN;var e=+t;return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}e.a=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(37)),e.default=new i.default({name:"MdIcon",components:{MdSvgLoader:o.default},props:{mdSrc:String}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={};e.default={name:"MdSVGLoader",props:{mdSrc:{type:String,required:!0}},data:function(){return{html:null,error:null}},watch:{mdSrc:function(){this.html=null,this.loadSVG()}},methods:{isSVG:function(t){return"string"==typeof t&&t.indexOf("svg")>=0},setHtml:function(t){var e=this;r[this.mdSrc].then((function(t){return e.html=t,e.$nextTick()})).then((function(){return e.$emit("md-loaded")}))},unexpectedError:function(t){this.error="Something bad happened trying to fetch "+this.mdSrc+".",t(this.error)},loadSVG:function(){var t=this;r.hasOwnProperty(this.mdSrc)?this.setHtml():r[this.mdSrc]=new Promise((function(e,n){var r=new window.XMLHttpRequest;r.open("GET",t.mdSrc,!0),r.onload=function(){var i=r.getResponseHeader("content-type");200===r.status?t.isSVG(i)?(e(r.response),t.setHtml()):(t.error="The file "+t.mdSrc+" is not a valid SVG.",n(t.error)):r.status>=400&&r.status<500?(t.error="The file "+t.mdSrc+" do not exists.",n(t.error)):t.unexpectedError(n)},r.onerror=function(){return t.unexpectedError(n)},r.onabort=function(){return t.unexpectedError(n)},r.send()}))}},mounted:function(){this.loadSVG()}}},function(t,e,n){"use strict";function r(t){n(25)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(19),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(26),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"md-ripple",appear:""},on:{"after-enter":t.end}},[t.animating?n("span"):t._e()])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["md-ripple",t.rippleClasses],on:{"&touchstart":function(e){return function(e){return t.mdEventTrigger&&t.touchStartCheck(e)}.apply(null,arguments)},"&touchmove":function(e){return function(e){return t.mdEventTrigger&&t.touchMoveCheck(e)}.apply(null,arguments)},"&mousedown":function(e){return function(e){return t.mdEventTrigger&&t.startRipple(e)}.apply(null,arguments)}}},[t._t("default"),t._v(" "),t.isDisabled?t._e():n("div",t._l(t.ripples,(function(e){return n("md-wave",{key:e.uuid,class:["md-ripple-wave",t.waveClasses],style:e.waveStyles,on:{"md-end":function(n){return t.clearWave(e.uuid)}}})})),1)],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{to:[String,Object],replace:Boolean,append:Boolean,activeClass:String,exact:Boolean,event:[String,Array],exactActiveClass:String}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t};e.default=function(t,e){var n=t.$options.components.RouterLink||t.$options.components["router-link"];return r({},e,n.options.props)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(2),o=r(i),s=n(11),a=r(s),e.default={name:"MdPortal",abstract:!0,props:{mdAttachToParent:Boolean,mdTarget:{type:null,validator:function(t){return!!(HTMLElement&&t&&t instanceof HTMLElement)||(o.default.util.warn("The md-target-el prop is invalid. You should pass a valid HTMLElement.",this),!1)}}},data:function(){return{leaveTimeout:null,originalParentEl:null}},computed:{transitionName:function(){var t,e,n=this._vnode.componentOptions.children[0];if(n){if(t=n.data.transition)return t.name;if(e=n.componentOptions.propsData.name)return e}return"v"},leaveClass:function(){return this.transitionName+"-leave"},leaveActiveClass:function(){return this.transitionName+"-leave-active"},leaveToClass:function(){return this.transitionName+"-leave-to"}},watch:{mdTarget:function(t,e){this.changeParentEl(t),e&&this.$forceUpdate()}},methods:{getTransitionDuration:function(t){var e=window.getComputedStyle(t).transitionDuration,n=parseFloat(e,10),r=e.match(/m?s/);return r&&(r=r[0]),"s"===r?1e3*n:"ms"===r?n:0},killGhostElement:function(t){t.parentNode&&(this.changeParentEl(this.originalParentEl),this.$options._parentElm=this.originalParentEl,t.parentNode.removeChild(t))},initDestroy:function(t){var e=this,n=this.$el;t&&this.$el.nodeType===Node.COMMENT_NODE&&(n=this.$vnode.elm),n.classList.add(this.leaveClass),n.classList.add(this.leaveActiveClass),this.$nextTick().then((function(){n.classList.add(e.leaveToClass),clearTimeout(e.leaveTimeout),e.leaveTimeout=setTimeout((function(){e.destroyElement(n)}),e.getTransitionDuration(n))}))},destroyElement:function(t){var e=this;(0,a.default)((function(){t.classList.remove(e.leaveClass),t.classList.remove(e.leaveActiveClass),t.classList.remove(e.leaveToClass),e.$emit("md-destroy"),e.killGhostElement(t)}))},changeParentEl:function(t){t&&t.appendChild(this.$el)}},mounted:function(){this.originalParentEl||(this.originalParentEl=this.$el.parentNode,this.$emit("md-initial-parent",this.$el.parentNode)),this.mdAttachToParent&&this.$el.parentNode.parentNode?this.changeParentEl(this.$el.parentNode.parentNode):document&&this.changeParentEl(this.mdTarget||document.body)},beforeDestroy:function(){this.$el.classList?this.initDestroy():this.killGhostElement(this.$el)},render:function(t){var e=this.$slots.default;if(e&&e[0])return e[0]}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(1)),s=r(n(41)),a=r(n(34)),l=r(n(28)),c=n(29),u=r(c),d=r(n(44)),e.default=new o.default({name:"MdButton",data:function(){return{rippleActive:!1}},components:{MdButtonContent:d.default},mixins:[a.default,s.default,l.default],props:{href:String,type:{type:String,default:"button"},disabled:Boolean},computed:{rippleWorks:function(){return this.mdRipple&&!this.disabled},isRouterLink:function(){return this.$router&&this.to}},render:function(t){var e,n,r=this,o=t("md-button-content",{attrs:{mdRipple:this.mdRipple,disabled:this.disabled},props:{mdRippleActive:this.rippleActive},on:{"update:mdRippleActive":function(t){return r.rippleActive=t}}},this.$slots.default),s={staticClass:"md-button",class:[this.$mdActiveTheme,{"md-ripple-off":!this.mdRipple,"md-focused":this.mdHasFocus}],attrs:i({},this.attrs,{href:this.href,disabled:this.disabled,type:!this.href&&(this.type||"button")}),on:i({},this.$listeners,{touchstart:function(t){r.rippleWorks&&(r.rippleActive=t),r.$listeners.touchstart&&r.$listeners.touchstart(t)},touchmove:function(t){r.rippleWorks&&(r.rippleActive=t),r.$listeners.touchmove&&r.$listeners.touchmove(t)},mousedown:function(t){r.rippleWorks&&(r.rippleActive=t),r.$listeners.mousedown&&r.$listeners.mousedown(t)}})},a="button";return this.href?a="a":this.isRouterLink&&(this.$options.props=(0,u.default)(this,this.$options.props),a="router-link",e=this.$props.exactActiveClass,n=(this.$props.activeClass||this.$material.router.linkActiveClass)+" md-active",s.props=i({},this.$props,{exactActiveClass:e,activeClass:n}),delete s.props.type,delete s.attrs.type,delete s.props.href,delete s.attrs.href),t(a,s,[o])}})},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(17)),e.default={name:"MdButtonContent",components:{MdRipple:r.default},props:{mdRipple:Boolean,mdRippleActive:null,disabled:Boolean}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(34)),o=r(n(184)),e.default={mixins:[i.default],components:{MdListItemContent:o.default},props:{disabled:Boolean},computed:{isDisabled:function(){return!this.mdRipple||this.disabled}}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(17)),e.default={components:{MdRipple:r.default},props:{mdRipple:{type:Boolean,default:!0}}}},function(t,e,n){"use strict";function r(t){n(43)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(31),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=null,l=!1,c=r,u=null,d=null,h=n(0)(o.a,a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";function r(t){n(38)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(22),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(39),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("i",{staticClass:"md-svg-loader",domProps:{innerHTML:t._s(t.html)}})},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mdSrc?n("md-svg-loader",{staticClass:"md-icon md-icon-image",class:[t.$mdActiveTheme],attrs:{"md-src":t.mdSrc},on:{"md-loaded":function(e){return t.$emit("md-loaded")}}}):n("i",{staticClass:"md-icon md-icon-font",class:[t.$mdActiveTheme]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(){try{var t=Object.defineProperty({},"passive",{get:function(){m={passive:!0}}});window.addEventListener("ghost",null,t)}catch(t){}}function i(t){var e=(t.keyCode,t.target);g.currentElement=e}function o(t){g.currentElement=null}function s(){p.addEventListener("keyup",i)}function a(){p.addEventListener("pointerup",o)}function l(){p.addEventListener("MSPointerUp",o)}function c(){p.addEventListener("mouseup",o),"ontouchend"in window&&p.addEventListener("touchend",o,m)}function u(){window.PointerEvent?a():window.MSPointerEvent?l():c(),s()}function d(){f||(p=document.body,r(),u(),f=!0)}var h,f,p,m,g;Object.defineProperty(e,"__esModule",{value:!0}),h=function(t){return t&&t.__esModule?t:{default:t}}(n(5)),f=!1,p=null,m=!1,g=new h.default({currentElement:null}),e.default={data:function(){return{mdHasFocus:!1}},computed:{focusedElement:function(){return g.currentElement}},watch:{focusedElement:function(t){this.mdHasFocus=t===this.$el}},mounted:function(){d()}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=n(69),s=r(o),a=n(6),l=r(a),c=n(30),u=r(c),e.default={name:"MdPopover",abstract:!0,components:{MdPortal:u.default},props:{mdActive:Boolean,mdSettings:{type:Object,default:function(){return{}}}},data:function(){return{popperInstance:null,originalParentEl:null,shouldRender:!1,shouldActivate:!1}},computed:{popoverClasses:function(){return this.shouldActivate?"md-active":this.shouldRender?"md-rendering":""}},watch:{mdActive:{immediate:!0,handler:function(t){this.shouldRender=t,t?this.bindPopper():this.shouldActivate=!1}},mdSettings:function(){this.popperInstance&&this.createPopper()}},methods:{getPopperOptions:function(){var t=this;return{placement:"bottom",modifiers:{preventOverflow:{boundariesElement:"viewport",padding:16},computeStyle:{gpuAcceleration:!1}},onCreate:function(){t.shouldActivate=!0,t.$emit("md-active")}}},setOriginalParent:function(t){this.originalParentEl||(this.originalParentEl=t)},killPopper:function(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)},bindPopper:function(){var t=this;this.$nextTick().then((function(){t.originalParentEl&&t.createPopper()}))},createPopper:function(){if(this.mdSettings){var t=(0,l.default)(this.getPopperOptions(),this.mdSettings);this.$el.nodeType!==Node.COMMENT_NODE&&(this.popperInstance=new s.default(this.originalParentEl,this.$el,t))}},resetPopper:function(){this.popperInstance&&(this.killPopper(),this.createPopper())}},beforeDestroy:function(){this.killPopper()},mounted:function(){this.resetPopper()},render:function(t){return t(u.default,{props:i({},this.$attrs),on:i({},this.$listeners,{"md-initial-parent":this.setOriginalParent,"md-destroy":this.killPopper})},this.$slots.default)}}},function(t,e){},function(t,e,n){"use strict";function r(t){n(45)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(32),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(46),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-ripple",{attrs:{"md-disabled":!t.mdRipple||t.disabled,"md-event-trigger":!1,"md-active":t.mdRippleActive},on:{"update:mdActive":function(e){return t.$emit("update:mdRippleActive",e)}}},[n("div",{staticClass:"md-button-content"},[t._t("default")],2)])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t};e.default={props:{value:{},placeholder:String,name:String,maxlength:[String,Number],readonly:Boolean,required:Boolean,disabled:Boolean,mdCounter:[String,Number]},data:function(){return{localValue:this.value,textareaHeight:!1}},computed:{model:{get:function(){return this.localValue},set:function(t){var e=this;"inputevent"!==(""+t.constructor).match(/function (\w*)/)[1].toLowerCase()&&this.$nextTick((function(){e.localValue=t,e.MdField.hasInvalidValue=e.isInvalidValue()}))}},clear:function(){return this.MdField.clear},attributes:function(){return r({},this.$attrs,{type:this.type,id:this.id,name:this.name,disabled:this.disabled,required:this.required,placeholder:this.placeholder,readonly:this.readonly,maxlength:this.maxlength})}},watch:{model:function(){this.setFieldValue()},clear:function(t){t&&this.clearField()},placeholder:function(){this.setPlaceholder()},disabled:function(){this.setDisabled()},required:function(){this.setRequired()},maxlength:function(){this.setMaxlength()},mdCounter:function(){this.setMaxlength()},localValue:function(t){this.$emit("input",t)},value:function(t){this.localValue=t}},methods:{clearField:function(){this.$el.value="",this.model="",this.setFieldValue()},setLabelFor:function(){var t,e;this.$el.parentNode&&(t=this.$el.parentNode.querySelector("label"))&&(!(e=t.getAttribute("for"))||e.indexOf("md-")>=0)&&t.setAttribute("for",this.id)},setFormResetListener:function(){this.$el.form&&this.$el.form.addEventListener("reset",this.onParentFormReset)},removeFormResetListener:function(){this.$el.form&&this.$el.form.removeEventListener("reset",this.onParentFormReset)},onParentFormReset:function(){this.clearField()},isInvalidValue:function(){return this.$el.validity?this.$el.validity.badInput:this.$el.querySelector("input").validity.badInput},setFieldValue:function(){this.MdField.value=this.model},setPlaceholder:function(){this.MdField.placeholder=!!this.placeholder},setDisabled:function(){this.MdField.disabled=!!this.disabled},setRequired:function(){this.MdField.required=!!this.required},setMaxlength:function(){this.mdCounter?this.MdField.counter=parseInt(this.mdCounter,10):this.MdField.maxlength=parseInt(this.maxlength,10)},onFocus:function(){this.MdField.focused=!0},onBlur:function(){this.MdField.focused=!1}},created:function(){this.setFieldValue(),this.setPlaceholder(),this.setDisabled(),this.setRequired(),this.setMaxlength()},mounted:function(){this.setLabelFor(),this.setFormResetListener()},beforeDestroy:function(){this.removeFormResetListener()}}},function(t,e,n){"use strict";function r(){return i}e.a=r;var i={}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{isAssetIcon:function(t){return/\w+[/\\.]\w+/.test(t)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if("MutationObserver"in window){var r=new window.MutationObserver(n);return r.observe(t,e),{disconnect:function(){r.disconnect()}}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(67)),s=r(n(89)),a=r(n(91)),e.default=new i.default({name:"MdField",components:{MdClearIcon:o.default,MdPasswordOffIcon:s.default,MdPasswordOnIcon:a.default},props:{mdInline:Boolean,mdClearable:Boolean,mdCounter:{type:Boolean,default:!0},mdTogglePassword:{type:Boolean,default:!0}},data:function(){return{showPassword:!1,MdField:{value:null,focused:!1,highlighted:!1,disabled:!1,required:!1,placeholder:!1,textarea:!1,autogrow:!1,maxlength:null,counter:null,password:null,togglePassword:!1,clear:!1,file:!1,hasInvalidValue:!1}}},provide:function(){return{MdField:this.MdField}},computed:{stringValue:function(){return(this.MdField.value||0===this.MdField.value)&&""+this.MdField.value},hasCounter:function(){return this.mdCounter&&(this.MdField.maxlength||this.MdField.counter)},hasPasswordToggle:function(){return this.mdTogglePassword&&this.MdField.password},hasValue:function(){return this.stringValue&&this.stringValue.length>0||this.MdField.hasInvalidValue},valueLength:function(){return this.stringValue?this.stringValue.length:0},fieldClasses:function(){return{"md-inline":this.mdInline,"md-clearable":this.mdClearable,"md-focused":this.MdField.focused,"md-highlight":this.MdField.highlighted,"md-disabled":this.MdField.disabled,"md-required":this.MdField.required,"md-has-value":this.hasValue,"md-has-placeholder":this.MdField.placeholder,"md-has-textarea":this.MdField.textarea,"md-has-password":this.MdField.password,"md-has-file":this.MdField.file,"md-has-select":this.MdField.select,"md-autogrow":this.MdField.autogrow}}},methods:{clearInput:function(){var t=this;this.MdField.clear=!0,this.$emit("md-clear"),this.$nextTick().then((function(){t.MdField.clear=!1}))},togglePassword:function(){this.MdField.togglePassword=!this.MdField.togglePassword},onBlur:function(){this.MdField.highlighted=!1}}})},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdClearIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdPasswordOffIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdPasswordOnIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(56),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(94),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(1)),s=n(12),a=r(s),l=r(n(47)),e.default=new o.default({name:"MdInput",mixins:[l.default],inject:["MdField"],props:{id:{type:String,default:function(){return"md-input-"+(0,a.default)()}},type:{type:String,default:"text"}},computed:{toggleType:function(){return this.MdField.togglePassword},isPassword:function(){return"password"===this.type},listeners:function(){var t=i({},this.$listeners);return delete t.input,t}},watch:{type:function(t){this.setPassword(this.isPassword)},toggleType:function(t){t?this.setTypeText():this.setTypePassword()}},methods:{setPassword:function(t){this.MdField.password=t,this.MdField.togglePassword=!1},setTypePassword:function(){this.$el.type="password"},setTypeText:function(){this.$el.type="text"}},created:function(){this.setPassword(this.isPassword)},beforeDestroy:function(){this.setPassword(!1)}})},function(t,e,n){"use strict";function r(t){var e,n,r,s;return Object(o.a)(1,arguments),e=1,s=((r=(n=Object(i.a)(t)).getUTCDay())<e?7:0)+r-e,n.setUTCDate(n.getUTCDate()-s),n.setUTCHours(0,0,0,0),n}var i,o;e.a=r,i=n(10),o=n(7)},function(t,e,n){"use strict";function r(t,e){var n,r,l,c,u,d,h,f,p,m,g,v,b;if(Object(o.a)(1,arguments),p=Object(a.a)(),!((m=Object(s.a)(null!==(n=null!==(r=null!==(l=null!==(c=null==e?void 0:e.weekStartsOn)&&void 0!==c?c:null==e||null===(u=e.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==r?r:null===(h=p.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0))>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");return b=((v=(g=Object(i.a)(t)).getUTCDay())<m?7:0)+v-m,g.setUTCDate(g.getUTCDate()-b),g.setUTCHours(0,0,0,0),g}var i,o,s,a;e.a=r,i=n(10),o=n(7),s=n(20),a=n(48)},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(30)),e.default={name:"MdOverlay",components:{MdPortal:r.default},props:{mdActive:Boolean,mdAttachToParent:Boolean,mdFixed:Boolean},computed:{overlayClasses:function(){return{"md-fixed":this.mdFixed}}}}},function(t,e,n){"use strict";function r(t){n(68)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(42),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=null,l=!1,c=r,u=null,d=null,h=n(0)(o.a,a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdList",data:function(){return{MdList:{expandable:[],expandATab:this.expandATab,pushExpandable:this.pushExpandable,removeExpandable:this.removeExpandable}}},provide:function(){return{MdList:this.MdList}},props:{mdExpandSingle:{default:!1}},methods:{expandATab:function(t){this.mdExpandSingle&&t&&this.MdList.expandable.filter((function(e){return e!==t})).forEach((function(t){return t.close()}))},pushExpandable:function(t){var e=this.MdList.expandable;e.find((function(e){return e===t}))||(this.MdList.expandable=e.concat([t]))},removeExpandable:function(t){var e=this.MdList.expandable;e.find((function(e){return e===t}))&&(this.MdList.expandable=e.filter((function(e){return e!==t})))}}})},function(t,e,n){"use strict";function r(t){n(96)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(59),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(97),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),r=n(2),i=function(t){return t&&t.__esModule?t:{default:t}}(r),e.default={name:"MdFocusTrap",abstract:!0,methods:{setFocus:function(){var t=this;window.setTimeout((function(){t.$el.tagName&&(t.$el.setAttribute("tabindex","-1"),t.$el.focus())}),20)}},mounted:function(){this.setFocus()},render:function(){try{var t=this.$slots.default;if(!t)return null;if(t.length>1)throw Error();return t[0]}catch(t){i.default.util.warn("MdFocusTrap can only render one, and exactly one child component.",this)}return null}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r){function i(){t.removeEventListener(e,n)}return e&&e.indexOf("click")>=0&&/iP/i.test(navigator.userAgent)&&(t.style.cursor="pointer"),t.addEventListener(e,n,r||!1),{destroy:i}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(11),o=r(i),s=n(64),a=r(s),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=arguments[1];return{destroy:(0,a.default)(t,"resize",(function(){(0,o.default)(e)}),{passive:!0}).destroy}}},function(t,e,n){"use strict";function r(t){n(87)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(51),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(93),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(52),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(88),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){function n(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}function r(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),ht))}}function i(t){return t&&"[object Function]"==={}.toString.call(t)}function o(t,e){var n;return 1!==t.nodeType?[]:(n=t.ownerDocument.defaultView.getComputedStyle(t,null),e?n[e]:n)}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function a(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=o(t),n=e.overflow,r=e.overflowX;return/(auto|scroll|overlay)/.test(n+e.overflowY+r)?t:a(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}function c(t){return 11===t?pt:10===t?mt:pt||mt}function u(t){var e,n,r;if(!t)return document.documentElement;for(e=c(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;return(r=n&&n.nodeName)&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?u(n):n:t?t.ownerDocument.documentElement:document.documentElement}function d(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||u(t.firstElementChild)===t)}function h(t){return null!==t.parentNode?h(t.parentNode):t}function f(t,e){var n,r,i,o,s,a;return t&&t.nodeType&&e&&e.nodeType?(r=(n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)?t:e,i=n?e:t,(o=document.createRange()).setStart(r,0),o.setEnd(i,0),t!==(s=o.commonAncestorContainer)&&e!==s||r.contains(i)?d(s)?s:u(s):(a=h(t)).host?f(a.host,e):f(t,h(e).host)):document.documentElement}function p(t){var e,n="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",r=t.nodeName;return"BODY"===r||"HTML"===r?(e=t.ownerDocument.documentElement,(t.ownerDocument.scrollingElement||e)[n]):t[n]}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(e,"top"),i=p(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function g(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function v(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],c(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function b(t){var e=t.body,n=t.documentElement,r=c(10)&&getComputedStyle(n);return{height:v("Height",e,n,r),width:v("Width",e,n,r)}}function y(t){return yt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function x(t){var e,n,r,i,s,a,l,u,d,h={};try{c(10)?(h=t.getBoundingClientRect(),e=p(t,"top"),n=p(t,"left"),h.top+=e,h.left+=n,h.bottom+=e,h.right+=n):h=t.getBoundingClientRect()}catch(t){}return r={left:h.left,top:h.top,width:h.right-h.left,height:h.bottom-h.top},s=(i="HTML"===t.nodeName?b(t.ownerDocument):{}).width||t.clientWidth||r.width,a=i.height||t.clientHeight||r.height,l=t.offsetWidth-s,u=t.offsetHeight-a,(l||u)&&(l-=g(d=o(t),"x"),u-=g(d,"y"),r.width-=l,r.height-=u),y(r)}function w(t,e){var n,r,i,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=c(10),u="HTML"===e.nodeName,d=x(t),h=x(e),f=a(t),p=o(e),g=parseFloat(p.borderTopWidth),v=parseFloat(p.borderLeftWidth);return s&&u&&(h.top=Math.max(h.top,0),h.left=Math.max(h.left,0)),(n=y({top:d.top-h.top-g,left:d.left-h.left-v,width:d.width,height:d.height})).marginTop=0,n.marginLeft=0,!l&&u&&(r=parseFloat(p.marginTop),i=parseFloat(p.marginLeft),n.top-=g-r,n.bottom-=g-r,n.left-=v-i,n.right-=v-i,n.marginTop=r,n.marginLeft=i),(l&&!s?e.contains(f):e===f&&"BODY"!==f.nodeName)&&(n=m(n,e)),n}function k(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=w(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:p(n),a=e?0:p(n,"left");return y({top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:o})}function _(t){var e,n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===o(t,"position")||!!(e=s(t))&&_(e))}function S(t){if(!t||!t.parentElement||c())return document.documentElement;for(var e=t.parentElement;e&&"none"===o(e,"transform");)e=e.parentElement;return e||document.documentElement}function O(t,e,n,r){var i,o,c,u,d,h,p=arguments.length>4&&void 0!==arguments[4]&&arguments[4],m={top:0,left:0},g=p?S(t):f(t,l(e));return"viewport"===r?m=k(g,p):(i=void 0,"scrollParent"===r?"BODY"===(i=a(s(e))).nodeName&&(i=t.ownerDocument.documentElement):i="window"===r?t.ownerDocument.documentElement:r,o=w(i,g,p),"HTML"!==i.nodeName||_(g)?m=o:(u=(c=b(t.ownerDocument)).height,d=c.width,m.top+=o.top-o.marginTop,m.bottom=u+o.top,m.left+=o.left-o.marginLeft,m.right=d+o.left)),h="number"==typeof(n=n||0),m.left+=h?n:n.left||0,m.top+=h?n:n.top||0,m.right-=h?n:n.right||0,m.bottom-=h?n:n.bottom||0,m}function M(t){return t.width*t.height}function C(t,e,n,r,i){var o,s,a,l,c,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;return-1===t.indexOf("auto")?t:(o=O(n,r,u,i),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},a=Object.keys(s).map((function(t){return yt({key:t},s[t],{area:M(s[t])})})).sort((function(t,e){return e.area-t.area})),l=a.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),(l.length>0?l[0].key:a[0].key)+((c=t.split("-")[1])?"-"+c:""))}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return w(n,r?S(e):f(e,l(n)),r)}function T(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function E(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function D(t,e,n){var r,i,o,s,a,l,c;return n=n.split("-")[0],i={width:(r=T(t)).width,height:r.height},a=(o=-1!==["right","left"].indexOf(n))?"left":"top",l=o?"height":"width",c=o?"width":"height",i[s=o?"top":"left"]=e[s]+e[l]/2-r[l]/2,i[a]=n===a?e[a]-r[c]:e[E(a)],i}function P(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=P(t,(function(t){return t[e]===n}));return t.indexOf(r)}function L(t,e,n){return(void 0===n?t:t.slice(0,j(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&i(n)&&(e.offsets.popper=y(e.offsets.popper),e.offsets.reference=y(e.offsets.reference),e=n(e,t))})),e}function I(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=C(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=D(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=L(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function N(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function R(t){var e,n,r,i=[!1,"ms","Webkit","Moz","O"],o=t.charAt(0).toUpperCase()+t.slice(1);for(e=0;e<i.length;e++)if(r=(n=i[e])?""+n+o:t,void 0!==document.body.style[r])return r;return null}function $(){return this.state.isDestroyed=!0,N(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function B(t){var e=t.ownerDocument;return e?e.defaultView:window}function F(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||F(a(o.parentNode),e,n,r),r.push(o)}function z(t,e,n,r){n.updateBound=r,B(t).addEventListener("resize",n.updateBound,{passive:!0});var i=a(t);return F(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function H(){this.state.eventsEnabled||(this.state=z(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(t,e){return B(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function W(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Y(this.reference,this.state))}function V(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function U(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&V(e[n])&&(r="px"),t.style[n]=e[n]+r}))}function G(t,e){Object.keys(e).forEach((function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)}))}function X(t){return U(t.instance.popper,t.styles),G(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&U(t.arrowElement,t.arrowStyles),t}function q(t,e,n,r,i){var o=A(i,e,t,n.positionFixed),s=C(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),U(e,{position:n.positionFixed?"fixed":"absolute"}),n}function K(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,s=Math.floor,a=function(t){return t},l=o(i.width),c=o(r.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),h=e?u||d||l%2==c%2?o:s:a,f=e?o:a;return{left:h(l%2==1&&c%2==1&&!d&&e?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:h(r.right)}}function J(t,e){var n,r,i,o,s,a,l,c,d,h,f,p,m,g=e.x,v=e.y,b=t.offsets.popper,y=P(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;return void 0!==y&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),n=void 0!==y?y:e.gpuAcceleration,i=x(r=u(t.instance.popper)),o={position:b.position},s=K(t,window.devicePixelRatio<2||!xt),a="bottom"===g?"top":"bottom",l="right"===v?"left":"right",c=R("transform"),d=void 0,h=void 0,h="bottom"===a?"HTML"===r.nodeName?-r.clientHeight+s.bottom:-i.height+s.bottom:s.top,d="right"===l?"HTML"===r.nodeName?-r.clientWidth+s.right:-i.width+s.right:s.left,n&&c?(o[c]="translate3d("+d+"px, "+h+"px, 0)",o[a]=0,o[l]=0,o.willChange="transform"):(f="bottom"===a?-1:1,p="right"===l?-1:1,o[a]=h*f,o[l]=d*p,o.willChange=a+", "+l),m={"x-placement":t.placement},t.attributes=yt({},m,t.attributes),t.styles=yt({},o,t.styles),t.arrowStyles=yt({},t.offsets.arrow,t.arrowStyles),t}function Z(t,e,n){var r,i,o=P(t,(function(t){return t.name===e})),s=!!o&&t.some((function(t){return t.name===n&&t.enabled&&t.order<o.order}));return s||(r="`"+e+"`",i="`"+n+"`",console.warn(i+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),s}function Q(t,e){var n,r,i,s,a,l,c,u,d,h,f,p,m,g,v,b,x,w;if(!Z(t.instance.modifiers,"arrow","keepTogether"))return t;if("string"==typeof(r=e.element)){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;return i=t.placement.split("-")[0],a=(s=t.offsets).popper,l=s.reference,u=(c=-1!==["left","right"].indexOf(i))?"height":"width",h=(d=c?"Top":"Left").toLowerCase(),f=c?"left":"top",p=c?"bottom":"right",m=T(r)[u],l[p]-m<a[h]&&(t.offsets.popper[h]-=a[h]-(l[p]-m)),l[h]+m>a[p]&&(t.offsets.popper[h]+=l[h]+m-a[p]),t.offsets.popper=y(t.offsets.popper),g=l[h]+l[u]/2-m/2,v=o(t.instance.popper),b=parseFloat(v["margin"+d]),x=parseFloat(v["border"+d+"Width"]),w=g-t.offsets.popper[h]-b-x,w=Math.max(Math.min(a[u]-m,w),0),t.arrowElement=r,t.offsets.arrow=(bt(n={},h,Math.round(w)),bt(n,f,""),n),t}function tt(t){return"end"===t?"start":"start"===t?"end":t}function et(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=kt.indexOf(t),r=kt.slice(n+1).concat(kt.slice(0,n));return e?r.reverse():r}function nt(t,e){var n,r,i,o,s;if(N(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;switch(n=O(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=E(r),o=t.placement.split("-")[1]||"",s=[],e.behavior){case _t.FLIP:s=[r,i];break;case _t.CLOCKWISE:s=et(r);break;case _t.COUNTERCLOCKWISE:s=et(r,!0);break;default:s=e.behavior}return s.forEach((function(a,l){var c,u,d,h,f,p,m,g,v,b,y,x,w;if(r!==a||s.length===l+1)return t;r=t.placement.split("-")[0],i=E(r),c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),p=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&p||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===o&&f||b&&"end"===o&&p||!b&&"start"===o&&m||!b&&"end"===o&&g),x=!!e.flipVariationsByContent&&(b&&"start"===o&&p||b&&"end"===o&&f||!b&&"start"===o&&g||!b&&"end"===o&&m),w=y||x,(h||v||w)&&(t.flipped=!0,(h||v)&&(r=s[l+1]),w&&(o=tt(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=yt({},t.offsets.popper,D(t.instance.popper,t.offsets.reference,t.placement)),t=L(t.instance.modifiers,t,"flip"))})),t}function rt(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<o(r[l])&&(t.offsets.popper[l]=o(r[l])-n[c]),n[l]>o(r[a])&&(t.offsets.popper[l]=o(r[a])),t}function it(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],s=i[2];return o?0===s.indexOf("%")?y("%p"===s?n:r)[e]/100*o:"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:t}function ot(t,e,n,r){var i,o,s=[0,0],a=-1!==["right","left"].indexOf(r),l=t.split(/(\+|\-)/).map((function(t){return t.trim()})),c=l.indexOf(P(l,(function(t){return-1!==t.search(/,|\s/)})));return l[c]&&-1===l[c].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),i=/\s*,\s*|\s+/,o=(o=-1!==c?[l.slice(0,c).concat([l[c].split(i)[0]]),[l[c].split(i)[1]].concat(l.slice(c+1))]:[l]).map((function(t,r){var i=(1===r?!a:a)?"height":"width",o=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)}),[]).map((function(t){return it(t,i,e,n)}))})),o.forEach((function(t,e){t.forEach((function(n,r){V(n)&&(s[e]+=n*("-"===t[r-1]?-1:1))}))})),s}function st(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,s=i.reference,a=r.split("-")[0],l=void 0;return l=V(+n)?[+n,0]:ot(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t}function at(t,e){var n,r,i,o,s,a,l,c,d,h=e.boundariesElement||u(t.instance.popper);return t.instance.reference===h&&(h=u(h)),n=R("transform"),i=(r=t.instance.popper.style).top,o=r.left,s=r[n],r.top="",r.left="",r[n]="",a=O(t.instance.popper,t.instance.reference,e.padding,h,t.positionFixed),r.top=i,r.left=o,r[n]=s,e.boundaries=a,l=e.priority,c=t.offsets.popper,d={primary:function(t){var n=c[t];return c[t]<a[t]&&!e.escapeWithReference&&(n=Math.max(c[t],a[t])),bt({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=c[n];return c[t]>a[t]&&!e.escapeWithReference&&(r=Math.min(c[n],a[t]-("right"===t?c.width:c.height))),bt({},n,r)}},l.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=yt({},c,d[e](t))})),t.offsets.popper=c,t}function lt(t){var e,n,r,i,o,s,a,l=t.placement,c=l.split("-")[0],u=l.split("-")[1];return u&&(n=(e=t.offsets).reference,r=e.popper,s=(i=-1!==["bottom","top"].indexOf(c))?"width":"height",a={start:bt({},o=i?"left":"top",n[o]),end:bt({},o,n[o]+n[s]-r[s])},t.offsets.popper=yt({},r,a[u])),t}function ct(t){var e,n;if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;if(e=t.offsets.reference,n=P(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries,e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function ut(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=o[n]-(a?i[s?"width":"height"]:0),t.placement=E(e),t.offsets.popper=y(i),t}var dt="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,ht=function(){var t,e=["Edge","Trident","Firefox"];for(t=0;t<e.length;t+=1)if(dt&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),ft=dt&&window.Promise?n:r,pt=dt&&!(!window.MSInputMethodContext||!document.documentMode),mt=dt&&/MSIE 10/.test(navigator.userAgent),gt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},vt=function(){function t(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),bt=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},yt=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},xt=dt&&/Firefox/i.test(navigator.userAgent),wt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],kt=wt.slice(3),_t={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},St={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:lt},offset:{order:200,enabled:!0,fn:st,offset:0},preventOverflow:{order:300,enabled:!0,fn:at,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:rt},arrow:{order:500,enabled:!0,fn:Q,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:nt,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:ut},hide:{order:800,enabled:!0,fn:ct},computeStyle:{order:850,enabled:!0,fn:J,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:X,onLoad:q,gpuAcceleration:void 0}}},Ot=function(){function t(e,n){var r,o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};gt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=ft(this.update.bind(this)),this.options=yt({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(yt({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){o.options.modifiers[e]=yt({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return yt({name:t},o.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&i(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)})),this.update(),(r=this.options.eventsEnabled)&&this.enableEventListeners(),this.state.eventsEnabled=r}return vt(t,[{key:"update",value:function(){return I.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return H.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),t}();Ot.Utils=("undefined"!=typeof window?window:t).PopperUtils,Ot.placements=wt,Ot.Defaults=St,e.default=Ot}.call(e,n(13))},function(t,e,n){"use strict";function r(t){n(157)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(72),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(159),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdContent",props:{mdTag:{type:String,default:"div"}},render:function(t){return t(this.mdTag,{staticClass:"md-content",class:[this.$mdActiveTheme],attrs:this.$attrs,on:this.$listeners},this.$slots.default)}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(30)),s=r(n(62)),a=r(n(63)),l=r(n(158)),e.default=new i.default({name:"MdDialog",components:{MdPortal:o.default,MdOverlay:s.default,MdFocusTrap:a.default,MdDialogRender:l.default},props:{mdActive:Boolean,mdBackdrop:{type:Boolean,default:!0},mdBackdropClass:{type:String,default:"md-dialog-overlay"},mdCloseOnEsc:{type:Boolean,default:!0},mdClickOutsideToClose:{type:Boolean,default:!0},mdFullscreen:{type:Boolean,default:!0},mdKeepAlive:{type:Boolean,default:!1},mdAnimateFromSource:Boolean},computed:{dialogClasses:function(){return{"md-active":this.mdActive}},dialogContainerClasses:function(){return{"md-dialog-fullscreen":this.mdFullscreen}}},watch:{mdActive:function(t){var e=this;this.$nextTick().then((function(){t?e.$emit("md-opened"):e.$emit("md-closed")}))}},methods:{closeDialog:function(){this.$emit("update:mdActive",!1)},onClick:function(){this.mdClickOutsideToClose&&this.closeDialog(),this.$emit("md-clicked-outside")},onEsc:function(){this.mdCloseOnEsc&&this.closeDialog()}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(98)),s=r(n(49)),e.default=new i.default({name:"MdEmptyState",mixins:[s.default],props:o.default,computed:{emptyStateClasses:function(){return{"md-rounded":this.mdRounded}},emptyStateStyles:function(){if(this.mdRounded){var t=this.mdSize+"px";return{width:t,height:t}}}}})},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),r=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},i=function(t){return t&&t.__esModule?t:{default:t}}(n(9)),e.default={name:"MdMenu",props:{mdActive:Boolean,mdAlignTrigger:Boolean,mdOffsetX:Number,mdOffsetY:Number,mdFullWidth:Boolean,mdDense:Boolean,mdDirection:r({type:String,default:"bottom-start"},(0,i.default)("md-direction",["top-end","top-start","bottom-end","bottom-start"])),mdCloseOnSelect:{type:Boolean,default:!0},mdCloseOnClick:{type:Boolean,default:!1},mdSize:r({type:String,default:"small"},(0,i.default)("md-size",["auto","small","medium","big","huge"]))},data:function(){return{triggerEl:null,MdMenu:{instance:this,active:this.mdActive,direction:this.mdDirection,size:this.mdSize,alignTrigger:this.mdAlignTrigger,offsetX:this.mdOffsetX,offsetY:this.mdOffsetY,fullWidth:this.mdFullWidth,dense:this.mdDense,closeOnSelect:this.mdCloseOnSelect,closeOnClick:this.mdCloseOnClick,bodyClickObserver:null,windowResizeObserver:null,$el:this.$el}}},provide:function(){return{MdMenu:this.MdMenu}},computed:{isActive:function(){return this.MdMenu.active}},watch:{mdActive:{immediate:!0,handler:function(t){this.MdMenu.active=t}},mdDirection:function(t){this.MdMenu.direction=t},mdSize:function(t){this.MdMenu.size=t},mdAlignTrigger:function(t){this.MdMenu.alignTrigger=t},mdOffsetX:function(t){this.MdMenu.offsetX=t},mdOffsetY:function(t){this.MdMenu.offsetY=t},isActive:function(t){this.$emit("update:mdActive",t),t?this.$emit("md-opened"):this.$emit("md-closed")},mdCloseOnSelect:function(){this.MdMenu.closeOnSelect=this.mdCloseOnSelect},mdCloseOnClick:function(){this.MdMenu.closeOnClick=this.mdCloseOnClick}},methods:{toggleContent:function(t){this.MdMenu.active=!this.MdMenu.active}},mounted:function(){var t=this;this.MdMenu.$el=this.$el,this.$nextTick().then((function(){t.triggerEl=t.$el.querySelector("[md-menu-trigger]"),t.triggerEl&&t.triggerEl.addEventListener("click",t.toggleContent)}))},beforeDestroy:function(){this.triggerEl&&this.triggerEl.removeEventListener("click",this.toggleContent)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}var o,s,a,l,c,u,d,h,f,p,m;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=r(n(1)),a=n(64),l=r(a),c=n(65),u=r(c),d=r(n(60)),h=r(n(63)),f=r(n(76)),p=n(173),m=r(p),e.default=new s.default({name:"MdMenuContent",components:{MdPopover:d.default,MdFocusTrap:h.default,MdList:f.default},props:{mdListClass:[String,Boolean],mdContentClass:[String,Boolean]},inject:["MdMenu"],data:function(){return{highlightIndex:-1,didMount:!1,highlightItems:[],popperSettings:null,menuStyles:""}},computed:{filteredAttrs:function(){var t=this.$attrs;return delete t.id,t},highlightedItem:function(){return this.highlightItems[this.highlightIndex]},shouldRender:function(){return this.MdMenu.active},menuClasses:function(){var t,e="md-menu-content-";return i(t={},e+this.MdMenu.direction,!0),i(t,e+this.MdMenu.size,!0),i(t,"md-menu-content",this.didMount),i(t,"md-shallow",!this.didMount),t},listClasses:function(){return o({"md-dense":this.MdMenu.dense},this.mdListClass)}},watch:{shouldRender:function(t){var e=this;t&&(this.setPopperSettings(),setTimeout((function(){e.setInitialHighlightIndex(),e.createClickEventObserver(),e.createResizeObserver(),e.createKeydownListener()}),0))}},methods:{setPopperSettings:function(){var t=this.MdMenu,e=t.direction,n=(t.alignTrigger,this.getOffsets()),r=n.offsetX,i=n.offsetY;this.hasCustomOffsets()||(this.MdMenu.instance.$el&&this.MdMenu.instance.$el.offsetHeight&&(i=-this.MdMenu.instance.$el.offsetHeight-11),e.includes("start")?r=-8:e.includes("end")&&(r=8)),this.popperSettings={placement:e,modifiers:{keepTogether:{enabled:!0},flip:{enabled:!1},offset:{offset:r+", "+i}}}},setInitialHighlightIndex:function(){var t=this;this.setHighlightItems(),this.highlightItems.forEach((function(e,n){e.classList.contains("md-selected")&&(t.highlightIndex=n-1)}))},setHighlightItems:function(){if(this.$el.querySelectorAll){var t=this.$el.querySelectorAll(".md-list-item-container:not(.md-list-item-default):not([disabled])");this.highlightItems=Array.from(t)}},setHighlight:function(t){this.setHighlightItems(),this.highlightItems.length&&("down"===t?this.highlightIndex===this.highlightItems.length-1?this.highlightIndex=0:this.highlightIndex++:0===this.highlightIndex?this.highlightIndex=this.highlightItems.length-1:this.highlightIndex--,this.clearAllHighlights(),this.setItemHighlight())},clearAllHighlights:function(){this.highlightItems.forEach((function(t){t.parentNode.__vue__.highlighted=!1}))},setItemHighlight:function(){this.highlightedItem&&(this.highlightedItem.parentNode.__vue__.highlighted=!0,this.$parent.$parent.setOffsets&&this.$parent.$parent.setOffsets(this.highlightedItem.parentNode))},setSelection:function(){this.highlightedItem&&this.highlightedItem.parentNode.click()},onEsc:function(){this.MdMenu.active=!1,this.destroyKeyDownListener()},getOffsets:function(){var t=this.getBodyPosition(),e=this.MdMenu.offsetX||0,n=this.MdMenu.offsetY||0;return{offsetX:e-t.x,offsetY:n-t.y}},hasCustomOffsets:function(){var t=this.MdMenu,e=t.offsetX,n=t.offsetY;return!!(t.alignTrigger||n||e)},isMenu:function(t){var e=t.target;return!!this.MdMenu.$el&&(0,m.default)(this.MdMenu.$el,e)},isMenuContentEl:function(t){var e=t.target;return!!this.$refs.menu&&(0,m.default)(this.$refs.menu,e)},createClickEventObserver:function(){var t=this;document&&(this.MdMenu.bodyClickObserver=new l.default(document.body,"click",(function(e){e.stopPropagation(),t.isMenu(e)||!t.MdMenu.closeOnClick&&t.isMenuContentEl(e)||(t.MdMenu.active=!1,t.MdMenu.bodyClickObserver.destroy(),t.MdMenu.windowResizeObserver.destroy(),t.destroyKeyDownListener())})))},createKeydownListener:function(){window.addEventListener("keydown",this.keyNavigation)},destroyKeyDownListener:function(){window.removeEventListener("keydown",this.keyNavigation)},keyNavigation:function(t){switch(t.key){case"ArrowUp":t.preventDefault(),this.setHighlight("up");break;case"ArrowDown":t.preventDefault(),this.setHighlight("down");break;case"Enter":case"Space":this.setSelection();break;case"Escape":this.onEsc()}},createResizeObserver:function(){this.MdMenu.windowResizeObserver=new u.default(window,this.setStyles)},setupWatchers:function(){this.$watch("MdMenu.direction",this.setPopperSettings),this.$watch("MdMenu.alignTrigger",this.setPopperSettings),this.$watch("MdMenu.offsetX",this.setPopperSettings),this.$watch("MdMenu.offsetY",this.setPopperSettings)},setStyles:function(){this.MdMenu.fullWidth&&(this.menuStyles="\n            width: "+this.MdMenu.instance.$el.offsetWidth+"px;\n            max-width: "+this.MdMenu.instance.$el.offsetWidth+"px\n          ")},getBodyPosition:function(){var t=document.body,e=t.getBoundingClientRect(),n=e.top;return{x:e.left+(void 0!==window.pageXOffset?window.pageXOffset:t.scrollLeft),y:n+(void 0!==window.pageYOffset?window.pageYOffset:t.scrollTop)}}},mounted:function(){var t=this;this.$nextTick().then((function(){t.setHighlightItems(),t.setupWatchers(),t.setStyles(),t.didMount=!0}))},beforeDestroy:function(){this.MdMenu.bodyClickObserver&&this.MdMenu.bodyClickObserver.destroy(),this.MdMenu.windowResizeObserver&&this.MdMenu.windowResizeObserver.destroy(),this.destroyKeyDownListener()}})},function(t,e,n){"use strict";function r(t){n(99)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(61),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(100),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return t.hasOwnProperty("mdExpand")&&!1!==t.mdExpand}function o(t,e){if(i(t))return{"md-expand":function(){return e["md-expand"][0]}}}function s(t){return t.default.some((function(t){return t.componentOptions&&"md-button"===t.componentOptions.tag}))}function a(t){var e=Object.keys(t),n=!1;return e.forEach((function(t){f.default.includes(t)&&(n=!0)})),n}function l(t,e){return t&&t.$router&&e.to}function c(t,e,n,r){return i(t)?C.default:t.disabled?w.default:l(e,t)?(O.default.props=(0,m.default)(e,{target:String}),delete O.default.props.href,O.default):t.href?_.default:a(n)?u(r):v.default}function u(t){return s(t)?y.default:w.default}var d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A;Object.defineProperty(e,"__esModule",{value:!0}),d=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},h=n(101),f=r(h),p=n(29),m=r(p),g=n(183),v=r(g),b=n(187),y=r(b),x=n(189),w=r(x),k=n(191),_=r(k),S=n(193),O=r(S),M=n(195),C=r(M),A=r(n(35)),e.default={name:"MdListItem",functional:!0,components:{MdButton:A.default},render:function(t,e){var n=e.parent,r=e.props,i=e.listeners,s=e.data,a=(0,e.slots)(),l=c(r,n,i,a),u="md-list-item";return s.staticClass&&(u+=" "+s.staticClass),t("li",d({},s,{staticClass:u,on:i}),[t(l,{props:r,scopedSlots:o(r,a),staticClass:"md-list-item-container md-button-clean",on:i},a.default)])}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(33)),e.default={name:"MdListItemDefault",mixins:[r.default],methods:{toggleControl:function(){var t=this.$el.querySelector(".md-checkbox-container, .md-switch-container, .md-radio-container");t&&t.click()}}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(17)),e.default={name:"MdListItemContent",components:{MdRipple:r.default},props:{mdDisabled:Boolean}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(33)),e.default={name:"MdListItemFakeButton",mixins:[r.default]}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(33)),e.default={name:"MdListItemButton",mixins:[r.default]}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(33)),e.default={name:"MdListItemLink",mixins:[r.default],props:{download:String,href:String,hreflang:String,ping:String,rel:String,target:String,type:String}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(33)),e.default={name:"MdListItemRouter",mixins:[r.default],computed:{routerProps:function(){return this.$props}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(11),o=r(i),s=r(n(197)),a=r(n(33)),e.default={name:"MdListItemExpand",components:{MdArrowDownIcon:s.default},mixins:[a.default],inject:["MdList"],data:function(){return{expandStyles:{},showContent:!1}},props:{mdExpanded:Boolean},computed:{expandClasses:function(){return{"md-active":this.showContent}}},methods:{getChildrenSize:function(){var t=this.$refs.listExpand,e=0;return Array.from(t.children).forEach((function(t){e+=t.offsetHeight})),e},fetchStyle:function(){var t=this;return new Promise((function(e){(0,o.default)((function(){var n=0;t.showContent||(n="auto"),t.expandStyles={height:n},e()}))}))},toggleExpand:function(){var t=this;this.fetchStyle().then((function(){t.showContent=!t.showContent}))},open:function(){var t=this;if(this.showContent)return!1;this.fetchStyle().then((function(){return[t.showContent=!0]}))},close:function(){var t=this;if(!this.showContent)return!1;this.fetchStyle().then((function(){t.showContent=!1}))}},watch:{mdExpanded:function(){this.mdExpanded?this.open():this.close()},showContent:function(){var t=this,e=this.showContent;this.$emit("update:mdExpanded",e),this.$nextTick((function(){return t.$emit(e?"md-expanded":"md-collapsed")})),e&&this.MdList.expandATab(this)}},created:function(){this.MdList.pushExpandable(this)},mounted:function(){this.mdExpanded&&this.open()},beforeDestroy:function(){this.MdList.removeExpandable(this)}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdArrowDownIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdToolbar",props:{mdElevation:{type:[String,Number],default:4}}})},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(1)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}}),t._v(" "),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])},function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-icon",{staticClass:"md-icon-image"},[t._m(0)])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(53),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(90),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"}}),t._v(" "),n("path",{attrs:{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(54),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(92),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),t._v(" "),n("path",{attrs:{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-field",class:[t.$mdActiveTheme,t.fieldClasses],on:{blur:t.onBlur}},[t._t("default"),t._v(" "),t.hasCounter?n("span",{staticClass:"md-count"},[t._v(t._s(t.valueLength)+" / "+t._s(t.MdField.maxlength||t.MdField.counter))]):t._e(),t._v(" "),n("transition",{attrs:{name:"md-input-action",appear:""}},[t.hasValue&&t.mdClearable?n("md-button",{staticClass:"md-icon-button md-dense md-input-action md-clear",attrs:{tabindex:"-1",disabled:t.MdField.disabled},on:{click:t.clearInput}},[n("md-clear-icon")],1):t._e()],1),t._v(" "),n("transition",{attrs:{name:"md-input-action",appear:""}},[t.hasPasswordToggle?n("md-button",{staticClass:"md-icon-button md-dense md-input-action md-toggle-password",attrs:{tabindex:"-1"},on:{click:t.togglePassword}},[n(t.MdField.togglePassword?"md-password-on-icon":"md-password-off-icon")],1):t._e()],1)],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return"checkbox"===t.attributes.type?n("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t.model},on:{focus:t.onFocus,blur:t.onBlur,change:function(e){var n,r,i=t.model,o=e.target,s=!!o.checked;Array.isArray(i)?(n=null,r=t._i(i,n),o.checked?r<0&&(t.model=i.concat([n])):r>-1&&(t.model=i.slice(0,r).concat(i.slice(r+1)))):t.model=s}}},"input",t.attributes,!1),t.listeners)):"radio"===t.attributes.type?n("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-input",attrs:{type:"radio"},domProps:{checked:t._q(t.model,null)},on:{focus:t.onFocus,blur:t.onBlur,change:function(e){t.model=null}}},"input",t.attributes,!1),t.listeners)):n("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-input",attrs:{type:t.attributes.type},domProps:{value:t.model},on:{focus:t.onFocus,blur:t.onBlur,input:function(e){e.target.composing||(t.model=e.target.value)}}},"input",t.attributes,!1),t.listeners))},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t,e){var n,r,c,u,d,h,f,p,m,g,v,b,y,x,w,k;if(Object(o.a)(1,arguments),g=(m=Object(i.a)(t)).getUTCFullYear(),v=Object(l.a)(),!((b=Object(a.a)(null!==(n=null!==(r=null!==(c=null!==(u=null==e?void 0:e.firstWeekContainsDate)&&void 0!==u?u:null==e||null===(d=e.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:v.firstWeekContainsDate)&&void 0!==r?r:null===(f=v.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1))>=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");return(y=new Date(0)).setUTCFullYear(g+1,0,b),y.setUTCHours(0,0,0,0),x=Object(s.a)(y,e),(w=new Date(0)).setUTCFullYear(g,0,b),w.setUTCHours(0,0,0,0),k=Object(s.a)(w,e),m.getTime()>=x.getTime()?g+1:m.getTime()>=k.getTime()?g:g-1}var i,o,s,a,l;e.a=r,i=n(10),o=n(7),s=n(58),a=n(20),l=n(48)},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-portal",{attrs:{"md-attach-to-parent":t.mdAttachToParent}},[n("transition",{attrs:{name:"md-overlay"}},[t.mdActive?n("div",t._g({staticClass:"md-overlay",class:t.overlayClasses},t.$listeners)):t._e()])],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mdRounded:Boolean,mdSize:{type:Number,default:420},mdIcon:String,mdLabel:String,mdDescription:String}},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("ul",t._g(t._b({staticClass:"md-list",class:[t.$mdActiveTheme]},"ul",t.$attrs,!1),t.$listeners),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["click","dblclick","mousedown","mouseup"]},function(t,e,n){"use strict";function r(t){n(468)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(221),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(471),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),r="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=function(t){return t&&t.__esModule?t:{default:t}}(n(17)),e.default={components:{MdRipple:i.default},props:{model:[String,Boolean,Object,Number,Array],value:{type:[String,Boolean,Object,Number]},name:[String,Number],required:Boolean,disabled:Boolean,indeterminate:Boolean,trueValue:{default:!0},falseValue:{default:!1}},model:{prop:"model",event:"change"},data:function(){return{rippleActive:!1}},computed:{attrs:function(){var t={id:this.id,name:this.name,disabled:this.disabled,required:this.required,"true-value":this.trueValue,"false-value":this.falseValue};return this.$options.propsData.hasOwnProperty("value")&&(null!==this.value&&"object"===r(this.value)||(t.value=null===this.value||void 0===this.value?"":this.value+"")),t},isSelected:function(){return this.isModelArray?this.model.includes(this.value):this.hasValue?this.model===this.value:this.model===this.trueValue},isModelArray:function(){return Array.isArray(this.model)},checkClasses:function(){return{"md-checked":this.isSelected,"md-disabled":this.disabled,"md-required":this.required,"md-indeterminate":this.indeterminate}},hasValue:function(){return this.$options.propsData.hasOwnProperty("value")}},methods:{removeItemFromModel:function(t){var e=t.indexOf(this.value);-1!==e&&t.splice(e,1)},handleArrayCheckbox:function(){var t=this.model;this.isSelected?this.removeItemFromModel(t):t.push(this.value),this.$emit("change",t)},handleSingleSelectCheckbox:function(){this.$emit("change",this.isSelected?null:this.value)},handleSimpleCheckbox:function(){this.$emit("change",this.isSelected?this.falseValue:this.trueValue)},toggleCheck:function(){this.disabled||(this.rippleActive=!0,this.isModelArray?this.handleArrayCheckbox():this.hasValue?this.handleSingleSelectCheckbox():this.handleSimpleCheckbox())}}}},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(71),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=null,a=!1,l=null,c=null,u=null,d=n(0)(i.a,s,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{mdSwipeable:Boolean,mdSwipeThreshold:{type:Number,default:150},mdSwipeRestraint:{type:Number,default:100},mdSwipeTime:{type:Number,default:300}},data:function(){return{swipeStart:!1,swipeStartTime:null,swiped:null,touchPosition:{startX:0,startY:0}}},computed:{getSwipeElement:function(){return this.mdSwipeElement||window}},methods:{handleTouchStart:function(t){this.touchPosition.startX=t.touches[0].screenX,this.touchPosition.startY=t.touches[0].screenY,this.swipeStartTime=new Date,this.swipeStart=!0},handleTouchMove:function(t){var e,n,r,i;this.swipeStart&&(e=t.touches[0].screenX,n=t.touches[0].screenY,r=e-this.touchPosition.startX,i=n-this.touchPosition.startY,new Date-this.swipeStartTime<=this.mdSwipeTime&&(Math.abs(r)>=this.mdSwipeThreshold&&Math.abs(i)<=this.mdSwipeRestraint?this.swiped=r<0?"left":"right":Math.abs(i)>=this.mdSwipeThreshold&&Math.abs(r)<=this.mdSwipeRestraint&&(this.swiped=i<0?"up":"down")))},handleTouchEnd:function(){this.touchPosition={startX:0,startY:0},this.swiped=null,this.swipeStart=!1}},mounted:function(){this.mdSwipeable&&(this.getSwipeElement.addEventListener("touchstart",this.handleTouchStart,!1),this.getSwipeElement.addEventListener("touchend",this.handleTouchEnd,!1),this.getSwipeElement.addEventListener("touchmove",this.handleTouchMove,!1))},beforeDestroy:function(){this.mdSwipeable&&(this.getSwipeElement.removeEventListener("touchstart",this.handleTouchStart,!1),this.getSwipeElement.removeEventListener("touchend",this.handleTouchEnd,!1),this.getSwipeElement.removeEventListener("touchmove",this.handleTouchMove,!1))}}},function(t,e,n){"use strict";function r(t){n(166)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(73),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(167),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(14),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(170)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(74),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(171),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";function r(t){n(172)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(75),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(174),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";function r(t){n(182)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(77),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=null,l=!1,c=r,u=null,d=null,h=n(0)(o.a,a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){return!t||!1!==t[e]};e.default=function(t,e,n){var i=r(n,"leading"),o=(r(n,"trailing"),null);return function(){var e=this,n=arguments;if(o)return!1;i&&t.apply(e,n)}}},function(t,e,n){"use strict";function r(t){n(231)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(86),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(232),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function o(t){return t&&w.includes(i(t.tag))}function s(t){return!(!t||""!==t.mdRight&&!t.mdRight)}function a(t,e){return t&&w.includes(t.slot)||o(e)}function l(t){return JSON.stringify({persistent:t&&t["md-persistent"],permanent:t&&t["md-permanent"]})}function c(t,e,n,r,o){var c=[],u=!1;return t&&t.forEach((function(t){var d,f,m,g=t.data,v=t.componentOptions;if(a(g,v)){if(d=g.slot||i(v.tag),t.data.slot=d,"md-app-drawer"===d){if(f=s(v.propsData),u)return void p.default.util.warn("There shouldn't be more than one drawer in a MdApp at one time.");u=!0,t.data.slot+="-"+(f?"right":"left"),t.key=l(g.attrs),f&&((m=o(x.default,{props:h({},t.data.attrs)})).data.slot="md-app-drawer-right-previous",c.push(m))}t.data.provide=r.Ctor.options.provide,t.context=e,t.functionalContext=n,c.push(t)}})),c}function u(t){var e=t.filter((function(t){return["md-app-drawer","md-app-drawer-right","md-app-drawer-left"].indexOf(t.data.slot||i(t.componentOptions.tag))>-1}));return e.length?e:[]}function d(t){var e=t&&t["md-permanent"];return e&&("clipped"===e||"card"===e)}var h,f,p,m,g,v,b,y,x,w;Object.defineProperty(e,"__esModule",{value:!0}),h=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},f=n(2),p=r(f),m=n(242),g=r(m),v=n(245),b=r(v),y=n(248),x=r(y),w=["md-app-toolbar","md-app-drawer","md-app-content"],e.default={name:"MdApp",functional:!0,render:function(t,e){var n,r=e.children,i=e.props,o=e.data,s=g.default,a=t(s),l=c(r,a.context,a.functionalContext,a.componentOptions,t);return u(l).forEach((function(t){t&&d(t.data.attrs)&&(s=b.default)})),n={},o.staticClass&&o.staticClass.split(/\s+/).forEach((function(t){0!==t.length&&(n[t]=!0)})),t(s,{attrs:i,class:h({},n,o.class),style:h({},o.staticStyle,o.style)},l)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(115)),e.default=new i.default({name:"MdAppSideDrawer",mixins:[o.default]})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}var o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=n(11),a=r(s),l=r(n(9)),c=["fixed","fixed-last","reveal","overlap","flexible"],e.default={props:{mdMode:o({type:String},(0,l.default)("md-mode",c)),mdWaterfall:Boolean,mdScrollbar:{type:Boolean,default:!0}},data:function(){return{revealTimer:null,revealLastPos:0,manualTick:!1,MdApp:{options:{mode:null,waterfall:!1,flexible:!1},toolbar:{element:null,titleElement:null,height:"0px",initialHeight:0,top:0,titleSize:20,hasElevation:!0,revealActive:!1,fixedLastActive:!1,fixedLastHeight:!1,overlapOff:!1},drawer:{initialWidth:0,active:!1,mode:"temporary",submode:null,width:0,right:!1}}}},provide:function(){return{MdApp:this.MdApp}},computed:{isFixed:function(){return this.mdMode&&"fixed"!==this.mdMode},isDrawerMini:function(){return"persistent"===this.MdApp.drawer.mode&&"mini"===this.MdApp.drawer.submode},contentPadding:function(){return this.MdApp.drawer,this.MdApp.drawer.active&&"persistent"===this.MdApp.drawer.mode&&"full"===this.MdApp.drawer.submode?this.MdApp.drawer.width:0},contentStyles:function(){return i({},"padding-"+(this.MdApp.drawer.right?"right":"left"),this.contentPadding)},containerStyles:function(){var t={};return this.isFixed&&(t["margin-top"]=this.MdApp.toolbar.initialHeight+"px"),this.isDrawerMini&&(t["padding-"+(this.MdApp.drawer.right?"right":"left")]=this.MdApp.drawer.active?0:this.MdApp.drawer.initialWidth+"px"),t},scrollerClasses:function(){if(this.mdScrollbar)return"md-scrollbar"},appClasses:function(){return{"md-waterfall":this.mdWaterfall,"md-flexible":"flexible"===this.mdMode,"md-fixed":"fixed"===this.mdMode,"md-fixed-last":"fixed-last"===this.mdMode,"md-reveal":"reveal"===this.mdMode,"md-overlap":"overlap"===this.mdMode,"md-drawer-active":this.MdApp.drawer.active}}},watch:{mdMode:function(t){this.MdApp.options.mode=t},mdWaterfall:function(t){this.MdApp.options.waterfall=t,this.setToolbarElevation()}},methods:{setToolbarElevation:function(){this.MdApp.toolbar.hasElevation=!this.mdWaterfall},setToolbarTimer:function(t){var e=this;window.clearTimeout(this.revealTimer),this.revealTimer=window.setTimeout((function(){e.revealLastPos=t}),100)},setToolbarMarginAndHeight:function(t,e){this.MdApp.toolbar.top=t,this.MdApp.toolbar.height=e},getToolbarConstrants:function(t){var e=this.MdApp.toolbar.element.offsetHeight,n=10,r=e+n,i=t.target.scrollTop;return this.MdApp.toolbar.initialHeight||(this.MdApp.toolbar.initialHeight=e),{toolbarHeight:e,safeAmount:n,threshold:r,scrollTop:i,initialHeight:this.MdApp.toolbar.initialHeight}},handleWaterfallScroll:function(t){var e=this.getToolbarConstrants(t),n=e.threshold,r=e.scrollTop,i=4;"reveal"===this.mdMode&&(i=n),this.MdApp.toolbar.hasElevation=r>=i},handleFlexibleMode:function(t){var e,n,r,i,o,s,a,l=this.getToolbarConstrants(t),c=l.scrollTop,u=l.initialHeight,d=this.MdApp.toolbar.element,h=d.querySelector(".md-toolbar-row:first-child").offsetHeight,f=u-c,p=c<u-h;h&&(d.style.height=p?f+"px":h+"px"),(e=this.MdApp.toolbar.titleElement)&&(n=20,r=this.MdApp.toolbar.titleSize,p?(i=Math.max(0,1-(c-r)/(f+r+1e-6))*(r-n)+n,e.style.fontSize=i+"px"):e.style.fontSize="20px"),s=(o=this.getToolbarConstrants(t)).threshold,a=o.toolbarHeight,this.setToolbarMarginAndHeight(c-s,a)},handleRevealMode:function(t){var e=this.getToolbarConstrants(t),n=e.toolbarHeight,r=e.safeAmount,i=e.threshold,o=e.scrollTop;this.setToolbarTimer(o),this.setToolbarMarginAndHeight(o-i,n),this.MdApp.toolbar.revealActive=!(o>=i)||this.revealLastPos>o+r},handleFixedLastMode:function(t){var e=this.getToolbarConstrants(t),n=e.scrollTop,r=e.toolbarHeight,i=e.safeAmount,o=this.MdApp.toolbar.element.querySelector(".md-toolbar-row:first-child").offsetHeight;this.setToolbarTimer(n),this.setToolbarMarginAndHeight(n-o,r),this.MdApp.toolbar.fixedLastHeight=o,this.MdApp.toolbar.fixedLastActive=!(n>=o)||this.revealLastPos>n+i},handleOverlapMode:function(t){var e=this.getToolbarConstrants(t),n=e.toolbarHeight,r=e.scrollTop,i=e.initialHeight,o=this.MdApp.toolbar.element,s=o.querySelector(".md-toolbar-row:first-child").offsetHeight,a=i-r-100*r/(i-s-s/1.5);s&&(r<i-s&&a>=s?(this.MdApp.toolbar.overlapOff=!1,o.style.height=a+"px"):(this.MdApp.toolbar.overlapOff=!0,o.style.height=s+"px")),this.setToolbarMarginAndHeight(r,n)},handleModeScroll:function(t){"reveal"===this.mdMode?this.handleRevealMode(t):"fixed-last"===this.mdMode?this.handleFixedLastMode(t):"overlap"===this.mdMode?this.handleOverlapMode(t):"flexible"===this.mdMode&&this.handleFlexibleMode(t)},handleScroll:function(t){var e=this;this.MdApp.toolbar.element&&(0,a.default)((function(){e.mdWaterfall&&e.handleWaterfallScroll(t),e.mdMode&&e.handleModeScroll(t)}))}},created:function(){this.MdApp.options.mode=this.mdMode,this.MdApp.options.waterfall=this.mdWaterfall,this.setToolbarElevation()},mounted:function(){var t={target:{scrollTop:0}};"reveal"===this.mdMode&&(this.MdApp.toolbar.revealActive=!0,this.handleRevealMode(t)),"flexible"===this.mdMode&&(this.MdApp.toolbar.revealActive=!0,this.handleFlexibleMode(t)),"fixed-last"===this.mdMode&&(this.MdApp.toolbar.fixedLastActive=!0,this.handleFixedLastMode(t)),"overlap"===this.mdMode&&this.handleOverlapMode(t)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(115)),e.default=new i.default({name:"MdAppInternalDrawer",mixins:[o.default]})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(1)),s=r(n(9)),e.default=new o.default({name:"MdDrawer",props:{mdPermanent:i({type:String},(0,s.default)("md-permanent",["full","clipped","card"])),mdPersistent:i({type:String},(0,s.default)("md-persistent",["mini","full"])),mdActive:Boolean,mdFixed:Boolean},computed:{drawerClasses:function(){var t={"md-temporary":this.isTemporary,"md-persistent":this.mdPersistent,"md-permanent":this.mdPermanent,"md-active":this.mdActive,"md-fixed":this.mdFixed};return this.mdPermanent&&(t["md-permanent-"+this.mdPermanent]=!0),this.mdPersistent&&(t["md-persistent-"+this.mdPersistent]=!0),t},isTemporary:function(){return!this.mdPermanent&&!this.mdPersistent}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdAppToolbar",inject:["MdApp"],computed:{toolbarClasses:function(){return{"md-no-elevation":!this.MdApp.toolbar.hasElevation,"md-reveal-active":this.MdApp.toolbar.revealActive,"md-fixed-last-active":this.MdApp.toolbar.fixedLastActive,"md-overlap-off":this.MdApp.toolbar.overlapOff}},toolbarStyles:function(){var t={top:this.MdApp.toolbar.top+"px"};return this.MdApp.toolbar.fixedLastActive&&(t.transform="translate3D(0, "+this.MdApp.toolbar.fixedLastHeight+"px, 0)"),t}},mounted:function(){var t=this.$el.querySelector(".md-title, .md-display-1, .md-display-2");this.MdApp.toolbar.element=this.$el,this.MdApp.toolbar.titleElement=t,t&&(this.MdApp.toolbar.titleSize=parseInt(window.getComputedStyle(t).fontSize,10))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdAppContent",inject:["MdApp"],computed:{showCard:function(){return this.MdApp.options&&"overlap"===this.MdApp.options.mode}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdAppDrawer",inject:["MdApp"],data:function(){return{drawerElement:{mdActive:null,mode:null,submode:null},initialized:!1}},props:{mdRight:{type:Boolean,default:!1},mdActive:{type:Boolean,default:!1}},computed:{visible:function(){return this.drawerElement.mdActive},mode:function(){return this.drawerElement.mode},submode:function(){return this.drawerElement.submode}},watch:{visible:function(t){this.MdApp.drawer.width=this.getDrawerWidth(),this.MdApp.drawer.active=t},mode:function(t){this.MdApp.drawer.mode=t},submode:function(t){this.MdApp.drawer.submode=t},mdRight:function(t){this.MdApp.drawer.right=t}},methods:{getDrawerWidth:function(){return this.$el?window.getComputedStyle(this.$el).width:0},updateDrawerData:function(){this.MdApp.drawer.width=this.getDrawerWidth(),this.MdApp.drawer.active=this.visible,this.MdApp.drawer.mode=this.mode,this.MdApp.drawer.submode=this.submode,this.MdApp.drawer.right=this.mdRight},clearDrawerData:function(){this.MdApp.drawer.width=0,this.MdApp.drawer.active=!1,this.MdApp.drawer.mode="temporary",this.MdApp.drawer.submode=null,this.MdApp.drawer.initialWidth=0}},mounted:function(){var t=this;this.$nextTick().then((function(){t.MdApp.drawer.initialWidth=t.$el.offsetWidth,t.drawerElement=t.$refs.drawer,t.updateDrawerData(),t.initialized=!0}))},updated:function(){this.drawerElement=this.$refs.drawer},beforeDestroy:function(){this.clearDrawerData()}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}var o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=r(n(1)),a=r(n(9)),l=r(n(261)),e.default=new s.default({name:"MdBadge",components:{MdBadgeStandalone:l.default},props:{mdContent:[String,Number],mdPosition:o({type:String,default:"top"},(0,a.default)("md-position",["top","bottom"])),mdDense:Boolean},computed:{hasDefaultSlot:function(){return!!this.$slots.default},badgeClasses:function(){var t,e=this.getStaticClass(),n=this.$vnode.data.class;return o((i(t={},"md-position-"+this.mdPosition,!0),i(t,"md-dense",this.mdDense),t),e,n)},styles:function(){var t=this.$vnode.data.staticStyle,e=this.$vnode.data.style;return o({},t,e)}},methods:{getStaticClass:function(){var t=this.$vnode.data.staticClass;return t?t.split(" ").filter((function(t){return t})).reduce((function(t,e){return t[e]=!0,t}),{}):{}}}})},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdBadgeStandalone"})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),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},o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=n(268),a=r(s),l=n(269),c=r(l),u=r(n(9)),e.default={name:"MdAutocomplete",props:{value:{type:null,required:!0},mdDense:Boolean,mdLayout:o({type:String,default:"floating"},(0,u.default)("md-layout",["floating","box"])),mdOpenOnFocus:{type:Boolean,default:!0},mdFuzzySearch:{type:Boolean,default:!0},mdOptions:{type:[Array,Promise],required:!0},mdInputName:String,mdInputId:String,mdInputMaxlength:[String,Number],mdInputPlaceholder:[String,Number]},data:function(){return{searchTerm:this.value,showMenu:!1,triggerPopover:!1,isPromisePending:!1,filteredAsyncOptions:[]}},computed:{isBoxLayout:function(){return"box"===this.mdLayout},fieldClasses:function(){return this.isBoxLayout?"md-autocomplete-box":""},contentClasses:function(){return this.isBoxLayout?"md-autocomplete-box-content":""},shouldFilter:function(){return this.mdOptions[0]&&this.searchTerm},filteredStaticOptions:function(){if(this.isPromise(this.mdOptions))return!1;var t=this.mdOptions[0];if(this.shouldFilter){if("string"==typeof t)return this.filterByString();if("object"===(void 0===t?"undefined":i(t)))return this.filterByObject()}return this.mdOptions},hasFilteredItems:function(){return this.filteredStaticOptions.length>0||this.filteredAsyncOptions.length>0},hasScopedEmptySlot:function(){return this.$scopedSlots["md-autocomplete-empty"]}},watch:{mdOptions:{deep:!0,immediate:!0,handler:function(){var t=this;this.isPromise(this.mdOptions)&&(this.isPromisePending=!0,this.mdOptions.then((function(e){t.filteredAsyncOptions=e,t.isPromisePending=!1})))}},value:function(t){this.searchTerm=t}},methods:{getOptions:function(){return this.isPromise(this.mdOptions)?this.filteredAsyncOptions:this.filteredStaticOptions},isPromise:function(t){return(0,c.default)(t)},matchText:function(t){var e=t.toLowerCase(),n=this.searchTerm.toLowerCase();return this.mdFuzzySearch?(0,a.default)(n,e):e.includes(n)},filterByString:function(){var t=this;return this.mdOptions.filter((function(e){return t.matchText(e)}))},filterByObject:function(){var t=this;return this.mdOptions.filter((function(e){var n,r=Object.values(e),i=r.length;for(n=0;n<=i;n++)if("string"==typeof r[n]&&t.matchText(r[n]))return!0}))},openOnFocus:function(){this.mdOpenOnFocus&&this.showOptions()},onInput:function(t){this.$emit("input",t),this.mdOpenOnFocus||this.showOptions(),"inputevent"!==(""+this.searchTerm.constructor).match(/function (\w*)/)[1].toLowerCase()&&this.$emit("md-changed",this.searchTerm)},showOptions:function(){var t=this;if(this.showMenu)return!1;this.showMenu=!0,this.$nextTick((function(){t.triggerPopover=!0,t.$emit("md-opened")}))},hideOptions:function(){var t=this;this.$nextTick((function(){t.triggerPopover=!1,t.$emit("md-closed")}))},selectItem:function(t,e){var n=e.target.textContent.trim();this.searchTerm=n,this.$emit("input",t),this.$emit("md-selected",t),this.hideOptions()}}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdAvatar"})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}var o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=r(n(1)),a=r(n(9)),l=r(n(17)),e.default=new s.default({name:"MdBottomBar",components:{MdRipple:l.default},props:{mdSyncRoute:Boolean,mdActiveItem:[String,Number],mdType:o({type:String,default:"fixed"},(0,a.default)("md-type",["fixed","shift"]))},data:function(){return{MdBottomBar:{mouseEvent:null,activeItem:null,items:{},syncRoute:this.mdSyncRoute}}},provide:function(){return{MdBottomBar:this.MdBottomBar}},computed:{activeItem:function(){return this.MdBottomBar.activeItem},barClasses:function(){return i({},"md-type-"+this.mdType,!0)}},watch:{activeItem:function(){this.$emit("md-changed",this.activeItem)},mdSyncRoute:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return""+t},e}((function(){this.MdBottomBar.syncRoute=mdSyncRoute}))},methods:{hasActiveItem:function(){return this.MdBottomBar.activeItem||this.mdActiveItem},getItemsAndKeys:function(){var t=this.MdBottomBar.items;return{items:t,keys:Object.keys(t)}},setActiveItemByIndex:function(t){var e=this.getItemsAndKeys().keys;this.mdActiveItem?this.MdBottomBar.activeItem=this.mdActiveItem:this.MdBottomBar.activeItem=e[t]}},created:function(){this.MdBottomBar.type=this.mdType},mounted:function(){var t=this;this.$nextTick().then((function(){t.mdSyncRoute||t.setActiveItemByIndex(0)}))}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(49)),s=r(n(28)),a=n(12),l=r(a),c=n(29),u=r(c),d=["id","mdLabel","mdIcon","mdDisabled"],e.default={name:"MdBottomBarItem",mixins:[o.default,s.default],props:{id:{type:String,default:function(){return"md-bottom-bar-item-"+(0,l.default)()}},mdLabel:String,mdIcon:String,mdDisabled:Boolean},inject:["MdBottomBar"],watch:{$props:{deep:!0,handler:function(){this.setItemData()}},$attrs:{deep:!0,handler:function(){this.setItemData()}}},computed:{itemClasses:function(){return{"md-active":this.id===this.MdBottomBar.activeItem}},attrs:function(){var t=this,e=i({},this.$attrs);return Object.keys(this.$options.propsData).forEach((function(n){d.includes(n)||(e[n]=t[n])})),e}},methods:{getPropValues:function(){var t=this,e=Object.keys(this.$options.props),n={};return e.forEach((function(e){d.includes(e)||(t[e]?n[e]=t[e]:t.$attrs&&t.$attrs.hasOwnProperty(e)&&(n[e]=!e||t.$attrs[e]))})),n},setItemData:function(){this.$set(this.MdBottomBar.items,this.id,{disabled:this.mdDisabled,options:this.mdTemplateOptions,props:this.getPropValues()})},setActiveItem:function(t){this.MdBottomBar.syncRoute||(this.MdBottomBar.activeItem=this.id),"shift"===this.MdBottomBar.type&&(this.MdBottomBar.mouseEvent=t)}},beforeCreate:function(){if(this.$router&&this.$options.propsData.to){var t=(0,u.default)(this,this.$options.props);this.$options.props=t}},created:function(){this.setItemData()},beforeDestroy:function(){this.$delete(this.MdBottomBar.items,this.id)}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdCard",props:{mdWithHover:Boolean},data:function(){return{MdCard:{expand:!1}}},provide:function(){return{MdCard:this.MdCard}},computed:{cardClasses:function(){return{"md-with-hover":this.mdWithHover,"md-expand-active":this.MdCard.expand}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdCardArea",props:{mdInset:Boolean},computed:{areaClasses:function(){return{"md-inset":this.mdInset}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdCardHeader"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdCardHeaderText",data:function(){return{parentClasses:null}},mounted:function(){this.parentClasses=this.$parent.$el.classList,this.parentClasses.contains("md-card-header")&&this.parentClasses.add("md-card-header-flex")},beforeDestroy:function(){this.parentClasses.remove("md-card-header-flex")}}},function(t,e,n){"use strict";var r,i,o;Object.defineProperty(e,"__esModule",{value:!0}),r=function(){function t(t,e){var n,r,i=[],o=!0,s=!1,a=void 0;try{for(n=t[Symbol.iterator]();!(o=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);o=!0);}catch(t){s=!0,a=t}finally{try{!o&&n.return&&n.return()}finally{if(s)throw a}}return i}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=function(t){return t&&t.__esModule?t:{default:t}}(n(9)),e.default={name:"MdCardMedia",props:{mdRatio:i({type:String},(0,o.default)("md-ratio",["16-9","16/9","16:9","4-3","4/3","4:3","1-1","1/1","1:1"])),mdMedium:Boolean,mdBig:Boolean},computed:{mediaClasses:function(){var t,e,n={};return this.mdRatio&&(t=this.getAspectRatio())&&(n["md-ratio-"+(e=r(t,2))[0]+"-"+e[1]]=!0),(this.mdMedium||this.mdBig)&&(n={"md-medium":this.mdMedium,"md-big":this.mdBig}),n}},methods:{getAspectRatio:function(){var t=[];return-1!==this.mdRatio.indexOf(":")?t=this.mdRatio.split(":"):-1!==this.mdRatio.indexOf("/")?t=this.mdRatio.split("/"):-1!==this.mdRatio.indexOf("-")&&(t=this.mdRatio.split("-")),2===t.length?t:null}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdCardMediaActions"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdCardMediaCover",props:{mdTextScrim:Boolean,mdSolid:Boolean},data:function(){return{backdropBackground:{}}},computed:{coverClasses:function(){return{"md-text-scrim":this.mdTextScrim,"md-solid":this.mdSolid}},coverStyles:function(){return{background:this.backdropBackground}}},methods:{applyScrimColor:function(t){this.$refs.backdrop&&(this.backdropBackground="linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, "+t/2+") 66%, rgba(0, 0, 0, "+t+") 100%)")},applySolidColor:function(t){var e=this.$el.querySelector(".md-card-area");e&&(e.style.background="rgba(0, 0, 0, "+t+")")},getImageLightness:function(t,e,n){var r=document.createElement("canvas");t.crossOrigin="Anonymous",t.onload=function(){var t,n,i=0,o=void 0,s=void 0,a=void 0,l=void 0,c=void 0;for(r.width=this.width,r.height=this.height,(o=r.getContext("2d")).drawImage(this,0,0),t=0,n=(s=o.getImageData(0,0,r.width,r.height).data).length;t<n;t+=4)a=s[t],l=s[t+1],c=s[t+2],i+=Math.floor((a+l+c)/3);e(Math.floor(i/(this.width*this.height)))},t.onerror=n}},mounted:function(){var t=this,e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.6;t.mdTextScrim?t.applyScrimColor(e):t.mdSolid&&t.applySolidColor(e)},n=this.$el.querySelector("img");n&&(this.mdTextScrim||this.mdSolid)&&this.getImageLightness(n,(function(t){var n=256,r=(100*Math.abs(n-t)/n+15)/100;r>=.7&&(r=.7),e(r)}),e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdCardContent"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdCardExpand",inject:["MdCard"]}},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),r=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},i=function(){function t(t,e){var n,r,i=[],o=!0,s=!1,a=void 0;try{for(n=t[Symbol.iterator]();!(o=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);o=!0);}catch(t){s=!0,a=t}finally{try{!o&&n.return&&n.return()}finally{if(s)throw a}}return i}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),e.default={name:"MdCardExpandTrigger",inject:["MdCard"],render:function(t){var e=this,n=i(this.$slots.default,1)[0],o=" md-card-expand-trigger",s={click:function(){e.MdCard.expand=!e.MdCard.expand}};return n?(n.componentOptions.listeners=r({},n.componentOptions.listeners,s),n.data.staticClass+=o,n):t("div",{staticClass:o,on:s})}}},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),r=n(50),i=function(t){return t&&t.__esModule?t:{default:t}}(r),e.default={name:"MdCardExpandContent",inject:["MdCard"],data:function(){return{marginTop:0,resizeObserver:null,transitionEnabled:!0}},computed:{expand:function(){return this.MdCard.expand},contentStyles:function(){return{"margin-top":"-"+this.marginTop+"px",opacity:0===this.marginTop?1:0,"transition-property":this.transitionEnabled?null:"none"}}},methods:{calculateMarginTop:function(){this.expand?this.marginTop=0:this.marginTop=this.$el.children[0].offsetHeight},calculateMarginTopImmediately:function(){var t=this;this.expand||(this.transitionEnabled=!1,this.$nextTick((function(){t.calculateMarginTop(),t.$nextTick((function(){t.$el.offsetHeight,t.transitionEnabled=!0}))})))}},watch:{expand:function(){this.calculateMarginTop()}},mounted:function(){this.calculateMarginTopImmediately(),this.resizeObserver=(0,i.default)(this.$el,{childList:!0,characterData:!0,subtree:!0},this.calculateMarginTopImmediately)},beforeDestroy:function(){this.resizeObserver.disconnect()}}},function(t,e,n){"use strict";var r,i,o;Object.defineProperty(e,"__esModule",{value:!0}),r=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},i=function(t){return t&&t.__esModule?t:{default:t}}(n(9)),o=["left","right","space-between"],e.default={name:"MdCardActions",props:{mdAlignment:r({type:String,default:"right"},(0,i.default)("md-alignment",o))}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(103)),s=n(12),a=r(s),e.default=new i.default({name:"MdCheckbox",mixins:[o.default],props:{id:{type:String,default:function(){return"md-checkbox-"+(0,a.default)()}}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(1)),s=r(n(66)),a=r(n(55)),l=n(12),c=r(l),u=r(n(9)),e.default=new o.default({name:"MdChips",components:{MdField:s.default,MdInput:a.default},props:{value:Array,id:{type:[String,Number],default:function(){return"md-chips-"+(0,c.default)()}},mdInputType:i({type:[String,Number]},(0,u.default)("md-input-type",["email","number","password","search","tel","text","url"])),mdPlaceholder:[String,Number],mdStatic:Boolean,mdAutoInsert:{type:Boolean,default:!1},mdLimit:Number,mdCheckDuplicated:{type:Boolean,default:!1},mdFormat:{type:Function}},data:function(){return{inputValue:"",duplicatedChip:null}},computed:{chipsClasses:function(){return{"md-has-value":this.value&&this.value.length}},modelRespectLimit:function(){return!this.mdLimit||this.value.length<this.mdLimit},formattedInputValue:function(){return this.mdFormat?this.mdFormat(this.inputValue):this.inputValue}},methods:{insertChip:function(t){var e=this,n=(t.target,this.formattedInputValue);if(n&&this.modelRespectLimit){if(this.value.includes(n))return this.duplicatedChip=null,void this.$nextTick((function(){e.duplicatedChip=n}));this.value.push(n),this.$emit("input",this.value),this.$emit("md-insert",n),this.inputValue=""}},removeChip:function(t){var e=this,n=this.value.indexOf(t);this.value.splice(n,1),this.$emit("input",this.value),this.$emit("md-delete",t,n),this.$nextTick((function(){return e.$refs.input.$el.focus()}))},handleBackRemove:function(){this.inputValue||this.removeChip(this.value[this.value.length-1])},handleInput:function(){this.mdCheckDuplicated?this.checkDuplicated():this.duplicatedChip=null},handleFocusOut:function(t){var e=t.target;this.mdAutoInsert&&this.insertChip(e)},checkDuplicated:function(){return this.value.includes(this.formattedInputValue)?!!this.mdCheckDuplicated&&void(this.duplicatedChip=this.formattedInputValue):(this.duplicatedChip=null,!1)}},watch:{value:function(){this.checkDuplicated()}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(41)),s=r(n(34)),a=r(n(67)),l=r(n(35)),e.default=new i.default({name:"MdChip",components:{MdButton:l.default,MdClearIcon:a.default},mixins:[o.default,s.default],props:{mdDisabled:Boolean,mdDeletable:Boolean,mdClickable:Boolean,mdDuplicated:{type:Boolean,default:!1}},computed:{chipClasses:function(){return{"md-disabled":this.mdDisabled,"md-deletable":this.mdDeletable,"md-clickable":this.mdClickable,"md-focused":this.mdHasFocus,"md-duplicated":this.mdDuplicated}}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,x,w,k,_;Object.defineProperty(e,"__esModule",{value:!0}),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},o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=n(2),a=r(s),l=n(332),c=r(l),u=n(333),d=r(u),h=n(334),f=r(h),p=n(143),m=r(p),g=r(n(9)),v=r(n(62)),b=r(n(335)),y=r(n(353)),x=n(355),w=r(x),k=r(n(66)),_=r(n(55)),e.default={name:"MdDatepicker",components:{MdOverlay:v.default,MdDateIcon:y.default,MdField:k.default,MdInput:_.default,MdDatepickerDialog:b.default},props:{value:[String,Number,Date],mdDisabledDates:[Array,Function],mdOpenOnFocus:{type:Boolean,default:!0},mdCloseOnBlur:{type:Boolean,default:!0},mdOverrideNative:{type:Boolean,default:!0},mdImmediately:{type:Boolean,default:!1},mdModelType:o({type:Function,default:Date},(0,g.default)("md-model-type",[Date,String,Number])),MdDebounce:{type:Number,default:1e3},mdClearable:{type:Boolean,default:!0},mdPlacement:{type:String,default:"bottom-start"}},data:function(){return{showDialog:!1,inputDate:"",localDate:null}},computed:{locale:function(){return this.$material.locale},type:function(){return this.mdOverrideNative?"text":"date"},dateFormat:function(){return this.locale.dateFormat||"yyyy-MM-dd"},modelType:function(){return this.isModelTypeString?String:this.isModelTypeNumber?Number:this.isModelTypeDate?Date:this.mdModelType},isModelNull:function(){return null===this.value||void 0===this.value},isModelTypeString:function(){return"string"==typeof this.value},isModelTypeNumber:function(){return Number.isInteger(this.value)&&this.value>=0},isModelTypeDate:function(){return"object"===i(this.value)&&this.value instanceof Date&&(0,m.default)(this.value)},localString:function(){return this.localDate&&(0,d.default)(this.localDate,this.dateFormat)},localNumber:function(){return this.localDate&&+this.localDate},parsedInputDate:function(){var t=(0,f.default)(this.inputDate,this.dateFormat,new Date);return t&&(0,m.default)(t)?t:null},pattern:function(){return this.dateFormat.replace(/yyyy|MM|dd/g,(function(t){switch(t){case"yyyy":return"[0-9]{4}";case"MM":case"dd":return"[0-9]{2}"}}))}},watch:{inputDate:function(){this.inputDateToLocalDate()},localDate:function(){this.inputDate=this.localString,this.modelType===Date&&this.$emit("input",this.localDate)},localString:function(){this.modelType===String&&this.$emit("input",this.localString)},localNumber:function(){this.modelType===Number&&this.$emit("input",this.localNumber)},value:{immediate:!0,handler:function(){this.valueDateToLocalDate()}},mdModelType:function(t){switch(t){case Date:this.$emit("input",this.localDate);break;case String:this.$emit("input",this.localString);break;case Number:this.$emit("input",this.localNumber)}},dateFormat:function(){this.localDate&&(this.inputDate=(0,d.default)(this.localDate,this.dateFormat))}},methods:{toggleDialog:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!c.default||this.mdOverrideNative?(this.showDialog=null===t?!this.showDialog:t,this.showDialog?this.$emit("md-opened"):this.$emit("md-closed")):this.$refs.input.$el.click()},onFocus:function(){this.mdOpenOnFocus&&this.toggleDialog(!0)},onFocusOut:function(t){this.mdCloseOnBlur&&this.$refs.mdRef.$el!==t.relatedTarget&&this.toggleDialog(!1)},inputDateToLocalDate:function(){this.inputDate?this.parsedInputDate&&(this.localDate=this.parsedInputDate):this.localDate=null},valueDateToLocalDate:function(){if(this.isModelNull)this.localDate=null;else if(this.isModelTypeNumber)this.localDate=new Date(this.value);else if(this.isModelTypeDate)this.localDate=this.value;else if(this.isModelTypeString){var t=(0,f.default)(this.value,this.dateFormat,new Date);(0,m.default)(t)?this.localDate=(0,f.default)(this.value,this.dateFormat,new Date):a.default.util.warn("The datepicker value is not a valid date. Given value: "+this.value+", format: "+this.dateFormat)}else a.default.util.warn("The datepicker value is not a valid date. Given value: "+this.value)},onClear:function(){this.$emit("md-clear")}},created:function(){this.inputDateToLocalDate=(0,w.default)(this.inputDateToLocalDate,this.MdDebounce)}}},function(t,e,n){"use strict";function r(t){return(r="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 i(t){return Object(s.a)(1,arguments),t instanceof Date||"object"===r(t)&&"[object Date]"===Object.prototype.toString.call(t)}function o(t){if(Object(s.a)(1,arguments),!i(t)&&"number"!=typeof t)return!1;var e=Object(a.a)(t);return!isNaN(+e)}var s,a;Object.defineProperty(e,"__esModule",{value:!0}),s=n(7),a=n(10),e.default=o},function(t,e,n){"use strict";function r(t,e){var n,r;return Object(a.a)(2,arguments),n=Object(s.a)(t).getTime(),r=Object(o.a)(e),new Date(n+r)}function i(t,e){return Object(a.a)(2,arguments),r(t,-Object(o.a)(e))}var o=n(20),s=n(10),a=n(7);e.a=i},function(t,e,n){"use strict";function r(t){var e,n;return Object(c.a)(1,arguments),e=Object(l.a)(t),(n=new Date(0)).setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),Object(a.a)(n)}function i(t){var e,n;return Object(c.a)(1,arguments),e=Object(s.a)(t),n=Object(a.a)(e).getTime()-r(e).getTime(),Math.round(n/o)+1}var o,s=n(10),a=n(57),l=n(146),c=n(7);e.a=i,o=6048e5},function(t,e,n){"use strict";function r(t){var e,n,r,a,l,c;return Object(o.a)(1,arguments),n=(e=Object(i.a)(t)).getUTCFullYear(),(r=new Date(0)).setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0),a=Object(s.a)(r),(l=new Date(0)).setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0),c=Object(s.a)(l),e.getTime()>=a.getTime()?n+1:e.getTime()>=c.getTime()?n:n-1}var i,o,s;e.a=r,i=n(10),o=n(7),s=n(57)},function(t,e,n){"use strict";function r(t,e){var n,r,i,o,s,h,f,p,m,g,v,b;return Object(c.a)(1,arguments),m=Object(d.a)(),g=Object(u.a)(null!==(n=null!==(r=null!==(i=null!==(o=null==e?void 0:e.firstWeekContainsDate)&&void 0!==o?o:null==e||null===(s=e.locale)||void 0===s||null===(h=s.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:m.firstWeekContainsDate)&&void 0!==r?r:null===(f=m.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),v=Object(l.a)(t,e),(b=new Date(0)).setUTCFullYear(v,0,g),b.setUTCHours(0,0,0,0),Object(a.a)(b,e)}function i(t,e){var n,i;return Object(c.a)(1,arguments),n=Object(s.a)(t),i=Object(a.a)(n,e).getTime()-r(n,e).getTime(),Math.round(i/o)+1}var o,s=n(10),a=n(58),l=n(95),c=n(7),u=n(20),d=n(48);e.a=i,o=6048e5},function(t,e,n){"use strict";var r=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},i=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},o=function(t,e){var n,o=t.match(/(P+)(p+)?/)||[],s=o[1],a=o[2];if(!a)return r(t,e);switch(s){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(s,e)).replace("{{time}}",i(a,e))},s={p:i,P:o};e.a=s},function(t,e,n){"use strict";function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}e.a=r},function(t,e,n){"use strict";function r(t){return-1!==s.indexOf(t)}function i(t){return-1!==a.indexOf(t)}function o(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var s,a;e.a=r,e.b=i,e.c=o,s=["D","DD"],a=["YY","YYYY"]},function(t,e,n){"use strict";function r(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?e.width+"":t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}function i(t){return function(e,n){var r,i,o,s,a;return"formatting"==(null!=n&&n.context?n.context+"":"standalone")&&t.formattingValues?(i=t.defaultFormattingWidth||t.defaultWidth,o=null!=n&&n.width?n.width+"":i,r=t.formattingValues[o]||t.formattingValues[i]):(s=t.defaultWidth,a=null!=n&&n.width?n.width+"":t.defaultWidth,r=t.values[a]||t.values[s]),r[t.argumentCallback?t.argumentCallback(e):e]}}function o(t){return function(e){var n,r,i,o,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=l.width,u=c&&t.matchPatterns[c]||t.matchPatterns[t.defaultMatchWidth],d=e.match(u);return d?(n=d[0],r=c&&t.parsePatterns[c]||t.parsePatterns[t.defaultParseWidth],i=Array.isArray(r)?a(r,(function(t){return t.test(n)})):s(r,(function(t){return t.test(n)})),o=t.valueCallback?t.valueCallback(i):i,{value:o=l.valueCallback?l.valueCallback(o):o,rest:e.slice(n.length)}):null}}function s(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function a(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}var l={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},c=function(t,e,n){var r,i=l[t];return r="string"==typeof i?i:1===e?i.one:i.other.replace("{{count}}",""+e),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},u=c,d={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},h={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},f={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:d,defaultWidth:"full"}),dateTime:r({formats:h,defaultWidth:"full"})},p={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},m=function(t,e,n,r){return p[t]},g=m,v={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},b={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},y={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},x={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},w={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},k=function(t,e){var n=+t,r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},_={ordinalNumber:k,era:i({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:i({values:v,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:i({values:b,defaultWidth:"wide"}),day:i({values:y,defaultWidth:"wide"}),dayPeriod:i({values:x,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},S=_,O={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},M={any:[/^b/i,/^(a|c)/i]},C={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},A={any:[/1/i,/2/i,/3/i,/4/i]},T={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},E={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},D={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},P={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},j={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},L={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},I={ordinalNumber:function(t){return function(e){var n,r,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=e.match(t.matchPattern);return s?(n=s[0],(r=e.match(t.parsePattern))?(i=t.valueCallback?t.valueCallback(r[0]):r[0],{value:i=o.valueCallback?o.valueCallback(i):i,rest:e.slice(n.length)}):null):null}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}}),era:o({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:M,defaultParseWidth:"any"}),quarter:o({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:A,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:o({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:E,defaultParseWidth:"any"}),day:o({matchPatterns:D,defaultMatchWidth:"wide",parsePatterns:P,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:j,defaultMatchWidth:"any",parsePatterns:L,defaultParseWidth:"any"})},N={code:"en-US",formatDistance:u,formatLong:f,formatRelative:g,localize:S,match:I,options:{weekStartsOn:0,firstWeekContainsDate:1}};e.a=N},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A,T,E,D,P,j,L,I,N,R;Object.defineProperty(e,"__esModule",{value:!0}),o=n(153),s=r(o),a=n(337),l=r(a),c=n(338),u=r(c),d=n(339),h=r(d),f=n(340),p=r(f),m=n(154),g=r(m),v=n(341),b=r(v),y=n(342),x=r(y),w=n(343),k=r(w),_=n(344),S=r(_),O=n(345),M=r(O),C=n(346),A=r(C),T=n(347),E=r(T),D=r(n(1)),P=r(n(60)),j=r(n(348)),L=r(n(350)),I=r(n(70)),N=7,R=function(t,e){return!(!t||!t.querySelector)&&t.querySelectorAll(e)},e.default=new D.default({name:"MdDatepickerDialog",components:{MdPopover:P.default,MdArrowRightIcon:j.default,MdArrowLeftIcon:L.default,MdDialog:I.default},props:{mdDate:Date,mdDisabledDates:[Array,Function],mdImmediately:{type:Boolean,default:!1},mdPlacement:{type:String,default:"bottom-start"}},data:function(){return{currentDate:null,selectedDate:null,showDialog:!1,monthAction:null,currentView:"day",contentStyles:{},availableYears:null}},computed:{firstDayOfAWeek:function(){var t=+this.locale.firstDayOfAWeek;return Number.isNaN(t)||!Number.isFinite(t)?0:(t=Math.floor(t)%N,t+=t<0?N:0)},filteredShorterDays:function(){var t=this.locale.shorterDays,e=this.firstDayOfAWeek;return[].concat(i(t.slice(e)),i(t.slice(0,e)))},locale:function(){return this.$material.locale},popperSettings:function(){return{placement:this.mdPlacement,modifiers:{keepTogether:{enabled:!0},flip:{enabled:!1}}}},calendarClasses:function(){return"next"===this.monthAction?"md-next":"md-previous"},firstDayOfMonth:function(){return(0,l.default)(this.currentDate).getDay()},prefixEmptyDays:function(){var t=this.firstDayOfMonth-this.firstDayOfAWeek;return t+=t<0?N:0},daysInMonth:function(){return(0,g.default)(this.currentDate)},currentDay:function(){return this.selectedDate?(0,h.default)(this.selectedDate):(0,h.default)(this.currentDate)},currentMonth:function(){return(0,b.default)(this.currentDate)},currentMonthName:function(){return this.locale.months[this.currentMonth]},currentYear:function(){return(0,x.default)(this.currentDate)},selectedYear:function(){return this.selectedDate?(0,x.default)(this.selectedDate):(0,x.default)(this.currentDate)},shortDayName:function(){return this.selectedDate?this.locale.shortDays[(0,p.default)(this.selectedDate)]:this.locale.shortDays[(0,p.default)(this.currentDate)]},shortMonthName:function(){return this.selectedDate?this.locale.shortMonths[(0,b.default)(this.selectedDate)]:this.locale.shortMonths[(0,b.default)(this.currentDate)]}},watch:{mdDate:function(){this.currentDate=this.mdDate||new Date,this.selectedDate=this.mdDate},currentDate:function(t,e){var n=this;this.$nextTick().then((function(){e&&n.setContentStyles()}))},currentView:function(){var t=this;this.$nextTick().then((function(){if("year"===t.currentView){var e=R(t.$el,".md-datepicker-year-button.md-datepicker-selected");e.length&&e[0].scrollIntoView({behavior:"instant",block:"center",inline:"center"})}}))}},methods:{setContentStyles:function(){var t,e=R(this.$el,".md-datepicker-month");e.length&&(t=e[e.length-1],this.contentStyles={height:t.offsetHeight+10+"px"})},setAvailableYears:function(){for(var t=this.locale,e=t.startYear,n=t.endYear,r=e,i=[];r<=n;)i.push(r++);this.availableYears=i},handleDisabledDateByArray:function(t){return this.mdDisabledDates.some((function(e){return(0,S.default)(e,t)}))},isDisabled:function(t){if(this.mdDisabledDates){var e=(0,M.default)(this.currentDate,t);if(Array.isArray(this.mdDisabledDates))return this.handleDisabledDateByArray(e);if("function"==typeof this.mdDisabledDates)return this.mdDisabledDates(e)}},isSelectedDay:function(t){return(0,k.default)(this.selectedDate,(0,M.default)(this.currentDate,t))},isToday:function(t){return(0,S.default)(new Date,(0,M.default)(this.currentDate,t))},previousMonth:function(){this.monthAction="previous",this.currentDate=(0,u.default)(this.currentDate,1)},nextMonth:function(){this.monthAction="next",this.currentDate=(0,s.default)(this.currentDate,1)},switchMonth:function(t){this.currentDate=(0,A.default)(this.currentDate,t),this.currentView="day"},switchYear:function(t){this.currentDate=(0,E.default)(this.currentDate,t),this.currentView="month"},selectDate:function(t){this.currentDate=(0,M.default)(this.currentDate,t),this.selectedDate=this.currentDate,this.mdImmediately&&(this.$emit("update:mdDate",this.selectedDate),this.closeDialog())},closeDialog:function(){this.$emit("md-closed")},onClose:function(){this.closeDialog()},onCancel:function(){this.closeDialog()},onConfirm:function(){this.$emit("update:mdDate",this.selectedDate),this.closeDialog()},resetDate:function(){this.currentDate=this.mdDate||new Date,this.selectedDate=this.mdDate,this.currentView="day"}},created:function(){this.setAvailableYears(),this.resetDate()}})},function(t,e,n){"use strict";function r(t,e){var n,r,a,l;return Object(s.a)(2,arguments),n=Object(o.a)(t),r=Object(i.a)(e),isNaN(r)?new Date(NaN):r?(a=n.getDate(),(l=new Date(n.getTime())).setMonth(n.getMonth()+r+1,0),a>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),a),n)):n}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(20),o=n(10),s=n(7)},function(t,e,n){"use strict";function r(t){var e,n,r,s;return Object(o.a)(1,arguments),n=(e=Object(i.a)(t)).getFullYear(),r=e.getMonth(),(s=new Date(0)).setFullYear(n,r+1,0),s.setHours(0,0,0,0),s.getDate()}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(10),o=n(7)},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdArrowRightIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdArrowLeftIcon",components:{MdIcon:r.default}}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdDialogRender",abstract:!0,props:{mdValue:{type:Boolean,default:!1},mdKeepAlive:{type:Boolean,default:!1}},methods:{dispatchResizeEvent:function(){this.$nextTick((function(){window.dispatchEvent(new Event("resize"))}))}},render:function(){var t=this.$slots.default;if(t&&t[0])return this.mdKeepAlive?(t[0].data.directives=[{name:"show",value:this.mdValue}],this.mdValue&&this.dispatchResizeEvent(),t[0]):this.mdValue&&t[0]}}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-dialog-render",{attrs:{"md-value":t.mdActive,"md-keep-alive":t.mdKeepAlive}},[n("md-portal",[n("transition",{attrs:{name:"md-dialog"}},[n("div",{staticClass:"md-dialog"},[n("md-focus-trap",[n("div",t._g({staticClass:"md-dialog-container",class:[t.dialogContainerClasses,t.$mdActiveTheme],on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.onEsc.apply(null,arguments)}}},t.$listeners),[t._t("default"),t._v(" "),n("keep-alive",[t.mdBackdrop?n("md-overlay",{class:t.mdBackdropClass,attrs:{"md-fixed":"","md-active":t.mdActive},on:{click:t.onClick}}):t._e()],1)],2)])],1)])],1)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdDateIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdDialogTitle"}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdDialogContent"})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdDialogActions"}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdDivider",computed:{insideList:function(){return"md-list"===this.$parent.$options._componentTag}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(1)),s=r(n(62)),a=r(n(9)),l=r(n(105)),e.default=new o.default({name:"MdDrawer",mixins:[l.default],components:{MdOverlay:s.default},props:{mdRight:Boolean,mdPermanent:i({type:String},(0,a.default)("md-permanent",["full","clipped","card"])),mdPersistent:i({type:String},(0,a.default)("md-persistent",["mini","full"])),mdActive:Boolean,mdFixed:Boolean},watch:{mdActive:function(t){t?this.$emit("md-opened"):this.$emit("md-closed")},swiped:function(t){"right"!==t&&"left"!==t||this.$emit("update:mdActive","right"===t)}},computed:{drawerClasses:function(){var t={"md-left":!this.mdRight,"md-right":this.mdRight,"md-temporary":this.isTemporary,"md-persistent":this.mdPersistent,"md-permanent":this.mdPermanent,"md-active":this.mdActive,"md-fixed":this.mdFixed};return this.mdPermanent&&(t["md-permanent-"+this.mdPermanent]=!0),this.mdPersistent&&(t["md-persistent-"+this.mdPersistent]=!0),t},isTemporary:function(){return!this.mdPermanent&&!this.mdPersistent},mode:function(){return this.mdPersistent?"persistent":this.mdPermanent?"permanent":"temporary"},submode:function(){return this.mdPersistent?this.mdPersistent:this.mdPermanent?this.mdPermanent:void 0},mdSwipeElement:function(){return this.$el.parentNode}},methods:{closeDrawer:function(){this.$emit("update:mdActive",!1)}}})},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"md-empty-state",appear:""}},[n("div",{staticClass:"md-empty-state",class:[t.emptyStateClasses,t.$mdActiveTheme],style:t.emptyStateStyles},[n("div",{staticClass:"md-empty-state-container"},[t.mdIcon?[t.isAssetIcon(t.mdIcon)?n("md-icon",{staticClass:"md-empty-state-icon",attrs:{"md-src":t.mdIcon}}):n("md-icon",{staticClass:"md-empty-state-icon"},[t._v(t._s(t.mdIcon))])]:t._e(),t._v(" "),t.mdLabel?n("strong",{staticClass:"md-empty-state-label"},[t._v(t._s(t.mdLabel))]):t._e(),t._v(" "),t.mdDescription?n("p",{staticClass:"md-empty-state-description"},[t._v(t._s(t.mdDescription))]):t._e(),t._v(" "),t._t("default")],2)])])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},r(n(11)),r(n(1)),o=r(n(382)),s=r(n(108)),a=r(n(109)),l=r(n(55)),c=r(n(47)),u={x:-15,y:-48},e.default={name:"MdSelect",components:{MdInput:l.default,MdMenu:s.default,MdMenuContent:a.default,MdDropDownIcon:o.default},mixins:[c.default],props:{mdDense:Boolean,mdClass:String,multiple:Boolean,id:String,name:String},inject:["MdField"],data:function(){return{menuStyles:{},offset:{x:u.x,y:0},showSelect:!0,didMount:!1,MdSelect:{items:{},label:null,multiple:!1,modelValue:this.localValue,setValue:this.setValue,setContent:this.setContent,setMultipleValue:this.setMultipleValue,setMultipleContent:this.setMultipleContent}}},provide:function(){return{MdSelect:this.MdSelect}},computed:{attrs:function(){return i({},this.$attrs,{name:this.name,id:void 0})},inputListeners:function(){return i({},this.$listeners,{input:void 0})}},watch:{localValue:{immediate:!0,handler:function(t){this.setFieldContent(),this.MdSelect.modelValue=this.localValue,this.didMount&&this.emitSelected(t)}},multiple:{immediate:!0,handler:function(t){this.MdSelect.multiple=t,this.$nextTick(this.initialLocalValueByDefault)}}},methods:{elHasScroll:function(t){return t.scrollHeight>t.offsetHeight},scrollToSelectedOption:function(t,e){var n=t.offsetTop,r=t.offsetHeight,i=e.offsetHeight;e.scrollTop=n-(i-r)/2},setOffsets:function(t){var e,n;this.$isServer||(e=this.$refs.menu.$refs.container)&&((n=t||e.querySelector(".md-selected"))?(this.scrollToSelectedOption(n,e),this.offset.y=u.y-n.offsetTop+e.scrollTop+8,this.menuStyles={"transform-origin":"0 "+Math.abs(this.offset.y)+"px"}):(this.offset.y=u.y+1,this.menuStyles={}))},onMenuEnter:function(){this.didMount&&(this.setOffsets(),this.MdField.focused=!0,this.$emit("md-opened"))},applyHighlight:function(){this.MdField.focused=!1,this.MdField.highlighted=!0,this.$refs.input.$el.focus()},onClose:function(){this.$emit("md-closed"),this.didMount&&this.applyHighlight()},onFocus:function(){this.didMount&&this.applyHighlight()},removeHighlight:function(){this.MdField.highlighted=!1},openSelect:function(){this.disabled||(this.showSelect=!0)},arrayAccessorRemove:function(t,e){var n=t.slice(0,e),r=t.slice(e+1,t.length);return n.concat(r)},toggleArrayValue:function(t){var e=this.localValue.indexOf(t),n=e>-1;this.localValue=n?this.arrayAccessorRemove(this.localValue,e):this.localValue.concat([t])},setValue:function(t){this.model=t,this.setFieldValue(),this.showSelect=!1},setContent:function(t){this.MdSelect.label=t},setContentByValue:function(){var t=this.MdSelect.items[this.localValue];t?this.setContent(t):this.setContent("")},setMultipleValue:function(t){var e=t;this.toggleArrayValue(e),this.setFieldValue()},setMultipleContentByValue:function(){var t,e=this;this.localValue||this.initialLocalValueByDefault(),t=[],this.localValue.forEach((function(n){var r=e.MdSelect.items[n];r&&t.push(r)})),this.setContent(t.join(", "))},setFieldContent:function(){this.multiple?this.setMultipleContentByValue():this.setContentByValue()},isLocalValueSet:function(){return void 0!==this.localValue&&null!==this.localValue},setLocalValueIfMultiple:function(){this.isLocalValueSet()?this.localValue=[this.localValue]:this.localValue=[]},setLocalValueIfNotMultiple:function(){this.localValue.length>0?this.localValue=this.localValue[0]:this.localValue=null},initialLocalValueByDefault:function(){var t=Array.isArray(this.localValue);this.multiple&&!t?this.setLocalValueIfMultiple():!this.multiple&&t&&this.setLocalValueIfNotMultiple()},emitSelected:function(t){this.$emit("md-selected",t)},isInvalidValue:function(){return!!this.$refs.selectEl.validity&&this.$refs.selectEl.validity.badInput}},mounted:function(){var t=this;this.showSelect=!1,this.setFieldContent(),this.$nextTick().then((function(){t.didMount=!0}))},updated:function(){this.setFieldContent()}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdDropDownIcon",components:{MdIcon:r.default}}},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",t._g({staticClass:"md-menu"},t.$listeners),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return"function"==typeof Node.prototype.contains?Node.prototype.contains.call(t,e):!!(Node.prototype.compareDocumentPosition.call(e,t)&Node.prototype.DOCUMENT_POSITION_CONTAINS)}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-popover",{attrs:{"md-settings":t.popperSettings,"md-active":t.shouldRender}},[t.shouldRender?n("transition",t._g({attrs:{name:"md-menu-content",css:t.didMount}},t.$listeners),[n("div",{ref:"menu",class:[t.menuClasses,t.mdContentClass,t.$mdActiveTheme],style:t.menuStyles},[n("div",{ref:"container",staticClass:"md-menu-content-container md-scrollbar",class:t.$mdActiveTheme},[n("md-list",t._b({class:t.listClasses},"md-list",t.filteredAttrs,!1),[t._t("default")],2)],1)])]):t._e()],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i;Object.defineProperty(e,"__esModule",{value:!0}),r=n(12),i=function(t){return t&&t.__esModule?t:{default:t}}(r),e.default={name:"MdOption",props:{value:[String,Number,Boolean],disabled:Boolean},inject:{MdSelect:{},MdOptgroup:{default:{}}},data:function(){return{uniqueId:"md-option-"+(0,i.default)(),isSelected:!1,isChecked:!1}},computed:{selectValue:function(){return this.MdSelect.modelValue},isMultiple:function(){return this.MdSelect.multiple},isDisabled:function(){return this.MdOptgroup.disabled||this.disabled},key:function(){return this.value||0===this.value||!1===this.value||""===this.value?this.value:this.uniqueId},inputLabel:function(){return this.MdSelect.label},optionClasses:function(){return{"md-selected":this.isSelected||this.isChecked}}},watch:{selectValue:function(){this.setIsSelected()},isChecked:function(t){t!==this.isSelected&&this.setSelection()},isSelected:function(t){this.isChecked=t}},methods:{getTextContent:function(){if(this.$el)return this.$el.textContent.trim();var t=this.$slots.default;return t?t[0].text.trim():""},setIsSelected:function(){return this.isMultiple?void 0===this.selectValue?void(this.isSelected=!1):void(this.isSelected=this.selectValue.includes(this.value)):void(this.isSelected=this.selectValue===this.value)},setSingleSelection:function(){this.MdSelect.setValue(this.value)},setMultipleSelection:function(){this.MdSelect.setMultipleValue(this.value)},setSelection:function(){this.isDisabled||(this.isMultiple?this.setMultipleSelection():this.setSingleSelection())},setItem:function(){this.$set(this.MdSelect.items,this.key,this.getTextContent())}},updated:function(){this.setItem()},created:function(){this.setItem(),this.setIsSelected()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdOptgroup",props:{label:String,disabled:Boolean},provide:function(){return{MdOptgroup:{disabled:this.disabled}}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),o=n(12),s=r(o),a=r(n(393)),l=r(n(47)),e.default={name:"MdFile",components:{MdFileIcon:a.default},props:{id:{type:String,default:function(){return"md-file-"+(0,s.default)()}},name:String},computed:{iconClass:function(){return{"md-disabled":this.disabled}}},mixins:[l.default],inject:["MdField"],methods:{getMultipleName:function(t){var e=[];return[].concat(i(t)).forEach((function(t){var n=t.name;return e.push(n)})),e.join(", ")},getFileName:function(t,e){return t&&0!==t.length?t.length>1?this.getMultipleName(t):1===t.length?t[0].name:null:e.value.split("\\").pop()},openPicker:function(){this.onFocus(),this.$refs.inputFile.click()},onChange:function(t){this.onFileSelected(t)},onFileSelected:function(t){var e=t.target,n=t.dataTransfer,r=e.files||n.files;this.model=this.getFileName(r,e),this.$emit("md-change",r||e.value)}},created:function(){this.MdField.file=!0},beforeDestroy:function(){this.MdField.file=!1}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdFileIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){var n=t.style.height,r=t.offsetHeight,i=t.scrollHeight;return t.style.overflow="hidden",r>=i&&(t.style.height=r+e+"px",i<t.scrollHeight)?(t.style.height=n,r):i}var o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=r(n(1)),a=n(12),l=r(a),c=r(n(47)),e.default=new s.default({name:"MdTextarea",mixins:[c.default],inject:["MdField"],props:{id:{type:String,default:function(){return"md-textarea-"+(0,l.default)()}},mdAutogrow:Boolean},computed:{listeners:function(){return o({},this.$listeners,{input:this.onInput})},textareaStyles:function(){return{height:this.textareaHeight}}},methods:{getTextAreaLineSize:function(){var t=window.getComputedStyle(this.$el);return parseInt(t.lineHeight,10)},setTextAreaSize:function(t){var e,n=t;t||(e=this.getTextAreaLineSize(),n=i(this.$el,e)),this.textareaHeight=n+"px"},applyStyles:function(){var t=this;this.mdAutogrow&&(this.setTextAreaSize(32),this.$nextTick().then((function(){t.setTextAreaSize(),window.setTimeout((function(){t.$el.style.overflow="auto"}),10)})))},setTextarea:function(){this.MdField.textarea=!0},setAutogrow:function(){this.MdField.autogrow=this.mdAutogrow},onInput:function(){this.setFieldValue()}},watch:{localValue:function(){this.applyStyles()}},created:function(){this.setTextarea(),this.setAutogrow()},mounted:function(){this.$nextTick().then(this.applyStyles)},beforeDestroy:function(){this.setTextarea(!1)}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){var e=t;return e||(e="$&"),'<span class="md-highlight-text-match">'+e+"</span>"}function o(t,e){var n,r,s;if(0===e.length)return t;if(-1===(n=t.toLowerCase().indexOf(e[0].toLowerCase())))return"";for(r=0,s=1;s<e.length&&t[n+s]===e[s];s++)r=s;return t.slice(0,n)+i(t.slice(n,n+r+1))+o(t.slice(n+r+1),e.slice(r+1))}function s(t,e){var n=RegExp(e+"(?!([^<]+)?<)","gi");return t.replace(n,i())}function a(t,e,n){var r=t.text;return r&&e&&e[0]?n?o(r,e)||r:s(r,e):r}var l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),l=n(2),c=r(l),u=r(n(1)),e.default=new u.default({name:"MdHighlightText",abstract:!0,props:{mdTerm:String,mdFuzzySearch:{type:Boolean,default:!0}},render:function(t){var e,n;try{if(!(e=this.$slots.default))return null;if(e.length>1||e[0].tag)throw Error();return n=a(e[0],this.mdTerm,this.mdFuzzySearch),t("div",{staticClass:"md-highlight-text",class:this.$mdActiveTheme,domProps:{innerHTML:n}})}catch(t){c.default.util.warn("MdHighlightText can only render text nodes.",this)}return null}})},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdImage",props:{mdSrc:String}})},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(78),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(186),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(79),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(185),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-ripple",{staticClass:"md-list-item-content",attrs:{"md-disabled":t.mdDisabled}},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-list-item-default",on:{click:t.toggleControl}},[n("md-list-item-content",{attrs:{"md-disabled":""}},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(80),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(188),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-list-item-fake-button",attrs:{disabled:t.disabled}},[n("md-list-item-content",{attrs:{"md-disabled":t.isDisabled}},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(81),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(190),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"md-list-item-button",attrs:{type:"button",disabled:t.disabled}},[n("md-list-item-content",{attrs:{"md-disabled":t.isDisabled}},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(82),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(192),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",t._b({staticClass:"md-list-item-link"},"a",t.$props,!1),[n("md-list-item-content",{attrs:{"md-disabled":t.isDisabled}},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(83),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(194),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-link",t._b({staticClass:"md-list-item-router"},"router-link",t.routerProps,!1),[n("md-list-item-content",{attrs:{"md-disabled":t.isDisabled}},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(196)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(84),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(199),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(85),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(198),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"}}),t._v(" "),n("path",{attrs:{d:"M0-.75h24v24H0z",fill:"none"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-list-item-expand",class:t.expandClasses},[n("md-list-item-content",{attrs:{"md-disabled":t.isDisabled},nativeOn:{click:function(e){return t.toggleExpand.apply(null,arguments)}}},[t._t("default"),t._v(" "),n("md-arrow-down-icon",{staticClass:"md-list-expand-icon"})],2),t._v(" "),n("div",{ref:"listExpand",staticClass:"md-list-expand",style:t.expandStyles},[t._t("md-expand")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=n(101),s=r(o),r(n(110)),e.default=new i.default({name:"MdMenuItem",props:{disabled:Boolean},inject:["MdMenu"],data:function(){return{highlighted:!1}},computed:{itemClasses:function(){return{"md-highlight":this.highlighted}},listeners:function(){var t,e=this;return this.disabled?{}:this.MdMenu.closeOnSelect?(t={},Object.keys(this.$listeners).forEach((function(n){s.default.includes(n)?t[n]=function(t){e.$listeners[n](t),e.closeMenu()}:t[n]=e.$listeners[n]})),t):this.$listeners}},methods:{closeMenu:function(){this.MdMenu.active=!1,this.MdMenu.eventObserver&&this.MdMenu.eventObserver.destroy()},triggerCloseMenu:function(){this.disabled||this.closeMenu()}},mounted:function(){this.$el.children&&this.$el.children[0]&&"A"===this.$el.children[0].tagName.toUpperCase()&&this.$el.addEventListener("click",this.triggerCloseMenu)},beforeDestroy:function(){this.$el.removeEventListener("click",this.triggerCloseMenu)}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(1)),s=r(n(9)),e.default=new o.default({name:"MdProgressBar",props:{mdValue:{type:Number,default:0},mdBuffer:{type:Number,default:0},mdMode:i({type:String,default:"determinate"},(0,s.default)("md-mode",["determinate","indeterminate","query","buffer"]))},computed:{isDeterminate:function(){return"determinate"===this.mdMode},isBuffer:function(){return"buffer"===this.mdMode},hasAmountFill:function(){return this.isBuffer||this.isDeterminate},progressClasses:function(){return"md-"+this.mdMode},progressValueStyle:function(){if(this.hasAmountFill)return"width: "+this.mdValue+"%"},progressTrackStyle:function(){if(this.hasAmountFill)return"width: "+this.mdBuffer+"%"},progressBufferStyle:function(){if(this.hasAmountFill)return"left: calc("+this.mdBuffer+"% + 8px)"}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}var o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=r(n(1)),a=r(n(9)),new Set,e.default=new s.default({name:"MdProgressSpinner",props:{mdValue:{type:Number,default:0},mdDiameter:{type:Number,default:60},mdStroke:{type:Number,default:6},mdMode:o({type:String,default:"determinate"},(0,a.default)("md-mode",["determinate","indeterminate"]))},computed:{isDeterminate:function(){return"determinate"===this.mdMode},isIndeterminate:function(){return"indeterminate"===this.mdMode},isIE:function(){return!this.$isServer&&navigator.userAgent.toLowerCase().includes("trident")},progressClasses:function(){var t,e="md-progress-spinner-indeterminate";return this.isIE&&(e+="-fallback"),i(t={},e,!0),i(t,"md-"+this.mdMode,!0),t},circleRadius:function(){return(this.mdDiameter-this.mdStroke)/2},circleStrokeWidth:function(){return this.mdStroke+"px"},circleCircumference:function(){return 2*Math.PI*this.circleRadius},circleStrokeDashArray:function(){return this.circleCircumference+"px"},circleStrokeDashOffset:function(){return this.isDeterminate?this.circleCircumference*(100-this.mdValue)/100+"px":this.isIndeterminate&&this.isIE?.2*this.circleCircumference+"px":null}},watch:{mdValue:function(){this.attachCircleStyle()},mdDiameter:function(){this.attachSvgStyle(),this.attachCircleStyle()},mdStroke:function(){this.attachCircleStyle()}},methods:{attachSvgStyle:function(){var t=this.$refs["md-progress-spinner-draw"],e=this.mdDiameter+"px";t.style.width=e,t.style.height=e},attachCircleStyle:function(){var t=this.$refs["md-progress-spinner-circle"];t.style.strokeDashoffset=this.circleStrokeDashOffset,t.style.strokeDasharray=this.circleStrokeDashArray,t.style.strokeWidth=this.circleStrokeWidth,t.style.setProperty("--md-progress-spinner-start-value",.95*this.circleCircumference),t.style.setProperty("--md-progress-spinner-end-value",.2*this.circleCircumference)}},mounted:function(){this.attachSvgStyle(),this.attachCircleStyle()}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=n(12),s=r(o),a=r(n(17)),e.default=new i.default({name:"MdRadio",components:{MdRipple:a.default},props:{model:[String,Number,Boolean,Object],value:{type:[String,Number,Boolean,Object],default:"on"},id:{type:String,default:function(){return"md-radio-"+(0,s.default)()}},name:[String,Number],required:Boolean,disabled:Boolean},model:{prop:"model",event:"change"},data:function(){return{rippleActive:!1}},computed:{isSelected:function(){return this.model===this.value},radioClasses:function(){return{"md-checked":this.isSelected,"md-disabled":this.disabled,"md-required":this.required}}},methods:{toggleCheck:function(){this.disabled||(this.rippleActive=!0,this.$emit("change",this.value))}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}var o,s,a,l,c,u;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=r(n(1)),a=r(n(9)),l=r(n(30)),c=r(n(426)),u=n(428),e.default=new s.default({name:"MdSnackbar",components:{MdPortal:l.default,MdSnackbarContent:c.default},props:{mdActive:Boolean,mdPersistent:Boolean,mdDuration:{type:Number,default:4e3},mdPosition:o({type:String,default:"center"},(0,a.default)("md-position",["center","left"]))},computed:{snackbarClasses:function(){return i({},"md-position-"+this.mdPosition,!0)}},watch:{mdActive:function(t){var e=this;t?(0,u.createSnackbar)(this.mdDuration,this.mdPersistent,this).then((function(){e.$emit("update:mdActive",!1),e.$emit("md-opened")})):((0,u.destroySnackbar)(),this.$emit("md-closed"))}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdSnackbarContent",props:{mdClasses:Array}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}var o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),o=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},s=r(n(1)),a=r(n(9)),e.default=new s.default({name:"MdSpeedDial",props:{mdEvent:o({type:String,default:"hover"},(0,a.default)("md-event",["click","hover"])),mdDirection:o({type:String,default:"top"},(0,a.default)("md-direction",["top","bottom"])),mdEffect:o({type:String,default:"fling"},(0,a.default)("md-effect",["fling","scale","opacity"]))},data:function(){return{MdSpeedDial:{active:!1,event:this.mdEvent,direction:this.mdDirection}}},provide:function(){return{MdSpeedDial:this.MdSpeedDial}},computed:{speedDialClasses:function(){var t;return i(t={"md-active":this.MdSpeedDial.active,"md-with-hover":"hover"===this.mdEvent},"md-direction-"+this.mdDirection,!0),i(t,"md-effect-"+this.mdEffect,!0),t}}})},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(35)),e.default={name:"MdSpeedDialTarget",components:{MdButton:r.default},inject:["MdSpeedDial"],methods:{handleClick:function(){"click"===this.MdSpeedDial.event&&(this.MdSpeedDial.active=!this.MdSpeedDial.active)}}}},function(t,e,n){"use strict";function r(t,e,n){return"top"===t?n-e-1:e}Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdSpeedDialContent",inject:["MdSpeedDial"],methods:{setChildrenIndexes:function(){var t=this;this.$nextTick().then((function(){var e=t.$children.length;t.$children.forEach((function(n,i){if("button"===n._vnode.tag){var o=r(t.MdSpeedDial.direction,i,e);n.$el.setAttribute("md-button-index",o),n.$el.classList.add("md-raised")}}))}))}},mounted:function(){this.setChildrenIndexes()},updated:function(){this.setChildrenIndexes()}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=n(50),s=r(o),a=n(111),l=r(a),c=r(n(210)),e.default=new i.default({name:"MdSteppers",components:{MdStepHeader:c.default},props:{mdSyncRoute:Boolean,mdDynamicHeight:Boolean,mdVertical:Boolean,mdLinear:Boolean,mdAlternative:Boolean,mdActiveStep:[String,Number]},data:function(){return{activeStepIndex:0,noTransition:!0,contentStyles:{},activeButtonEl:null,MdSteppers:{activeStep:0,isLinear:!1,isVertical:!1,items:{},syncRoute:this.mdSyncRoute,getStepperNumber:this.getStepperNumber,setActiveStep:this.setActiveStep,isPreviousStepperDone:this.isPreviousStepperDone}}},provide:function(){return{MdSteppers:this.MdSteppers}},computed:{steppersClasses:function(){return{"md-no-transition":this.noTransition,"md-alternative":this.mdAlternative,"md-horizontal":!this.mdVertical,"md-vertical":this.mdVertical,"md-dynamic-height":this.mdDynamicHeight}},activeIndex:function(){return this.MdSteppers.activeStep},containerStyles:function(){return{transform:!this.mdVertical&&"translate3D("+100*-this.activeStepIndex+"%, 0, 0)"}}},watch:{mdActiveStep:function(t){this.MdSteppers.activeStep=t,this.$emit("md-changed",t)},mdLinear:function(t){this.MdSteppers.isLinear=t},mdVertical:function(t){this.MdSteppers.isVertical=t},activeIndex:function(){this.$nextTick(this.setActiveButtonEl)},activeStepIndex:function(){this.onActiveStepIndex(),this.$nextTick(this.calculateStepperPos)},activeButtonEl:function(t){this.activeStepIndex=t?[].indexOf.call(t.parentNode.childNodes,t):0},$route:function(){this.$nextTick(this.setActiveButtonEl)}},methods:{hasActiveStep:function(){return this.MdSteppers.activeStep||this.mdActiveStep},getItemsAndKeys:function(){var t=this.MdSteppers.items;return{items:t,keys:Object.keys(t)}},getStepperNumber:function(t){return Object.keys(this.MdSteppers.items).indexOf(t)+1},isStepperDone:function(t){return this.MdSteppers.items[t].done},isPreviousStepperDone:function(t){var e=this.MdSteppers.items,n=Object.keys(e)[this.getStepperNumber(t)-2];return!n||e[n].done},isStepperEditable:function(t){return this.MdSteppers.items[t].editable},setStepperAsDone:function(t){this.MdSteppers.items[t].done=!0},setPreviousStepperAsDone:function(t){var e=this.getStepperNumber(this.MdSteppers.activeStep);this.getStepperNumber(t)>e&&this.setStepperAsDone(this.MdSteppers.activeStep)},setActiveStep:function(t){if(this.mdLinear&&!this.isPreviousStepperDone(t))return!1;t===this.MdSteppers.activeStep||!this.isStepperEditable(t)&&this.isStepperDone(t)||(this.setPreviousStepperAsDone(t),this.MdSteppers.activeStep=t,this.$emit("md-changed",t),this.$emit("update:mdActiveStep",t),this.MdSteppers.items[t].error=null)},setActiveButtonEl:function(){this.activeButtonEl=this.$el.querySelector(".md-stepper-header.md-button.md-active")},setActiveStepByIndex:function(t){var e=this.getItemsAndKeys().keys;this.hasActiveStep()||(this.MdSteppers.activeStep=e[t])},setupObservers:function(){var t=this.$el.querySelector(".md-steppers-wrapper");"ResizeObserver"in window?(this.resizeObserver=new window.ResizeObserver(this.calculateStepperPos),this.resizeObserver.observe(this.$el)):window.addEventListener("resize",this.calculateStepperPos),t&&(this.resizeObserver=(0,s.default)(this.$el.querySelector(".md-steppers-wrapper"),{childList:!0,characterData:!0,subtree:!0},this.calculateStepperPos))},calculateStepperPos:function(){if(!this.mdVertical){var t=this.$el.querySelector(".md-stepper:nth-child("+(this.activeStepIndex+1)+")");this.contentStyles={height:t.offsetHeight+"px"}}},onActiveStepIndex:function(){var t,e=this.getItemsAndKeys(),n=(e.items,e.keys);if(this.hasActiveStep()||this.activeStepIndex)for(this.MdSteppers.activeStep=n[this.activeStepIndex],t=0;t<this.activeStepIndex;t++)this.setStepperAsDone(n[t]);else this.MdSteppers.activeStep=n[0]}},created:function(){this.calculateStepperPos=(0,l.default)(this.calculateStepperPos,300),this.MdSteppers.activeStep=this.mdActiveStep,this.MdSteppers.isLinear=this.mdLinear,this.MdSteppers.isVertical=this.mdVertical},mounted:function(){var t=this;this.$nextTick().then((function(){return t.mdSyncRoute?t.onActiveStepIndex():t.setActiveStepByIndex(0),t.$nextTick()})).then((function(){t.setActiveButtonEl(),t.calculateStepperPos(),window.setTimeout((function(){t.noTransition=!1,t.setupObservers()}),100)}))},beforeDestroy:function(){"ResizeObserver"in window||window.removeEventListener("resize",this.calculateStepperPos)}})},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(211),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(449),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(443)),o=r(n(445)),s=r(n(447)),e.default={name:"MdStepperHeader",components:{MdWarningIcon:i.default,MdCheckIcon:o.default,MdEditIcon:s.default},props:{index:{type:String,required:!0}},inject:["MdSteppers"],computed:{data:function(){return this.MdSteppers.items[this.index]},shouldDisable:function(){var t=this.data,e=this.index,n=this.MdSteppers;return!(!t.done||t.editable)||n.isLinear&&!n.isPreviousStepperDone(e)},classes:function(){return{"md-active":!this.MdSteppers.syncRoute&&this.index===this.MdSteppers.activeStep,"md-error":this.data.error,"md-done":this.data.done}}}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdWarningIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdCheckIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdEditIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=n(12),s=r(o),a=r(n(28)),l=r(n(210)),e.default={name:"MdStep",components:{MdStepHeader:l.default},mixins:[a.default],props:{id:{type:String,default:function(){return"md-stepper-"+(0,s.default)()}},href:[String,Number],mdLabel:String,mdDescription:String,mdError:String,mdDone:Boolean,mdEditable:{type:Boolean,default:!0}},inject:["MdSteppers"],watch:{$props:{deep:!0,handler:function(){this.setStepperData()}}},computed:{isActive:function(){return this.id===this.MdSteppers.activeStep},tabIndex:function(){return!this.isActive&&-1}},methods:{getPropValues:function(){var t=this,e=Object.keys(this.$options.props),n=["id","mdLabel","mdDescription","mdError","mdEditable"],r={};return e.forEach((function(e){n.includes(e)||(t[e]?r[e]=t[e]:t.$attrs.hasOwnProperty(e)&&(r[e]=!e||t.$attrs[e]))})),r},setStepperData:function(){this.$set(this.MdSteppers.items,this.id,{label:this.mdLabel,description:this.mdDescription,error:this.mdError,done:this.mdDone,editable:this.mdEditable,props:this.getPropValues(),events:this.$listeners})},setupWatchers:function(){var t=this,e=function(e){if(t.MdSteppers.items[t.id])return t.MdSteppers.items[t.id][e]};this.$watch((function(){return e("error")}),(function(){return t.$emit("update:mdError",e("error"))})),this.$watch((function(){return e("done")}),(function(){return t.$emit("update:mdDone",e("done"))}))}},created:function(){this.setStepperData(),this.setupWatchers()},beforeDestroy:function(){this.$delete(this.MdSteppers.items,this.id)},render:function(t){var e={staticClass:"md-stepper",attrs:i({},this.$attrs,{id:this.id}),on:this.$listeners};return this.$router&&this.to&&(this.$options.props=MdRouterLinkProps(this,this.$options.props),e.props=this.$props),t("div",e,this.$slots.default)}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),e.default=new r.default({name:"MdSubheader",computed:{insideList:function(){return"md-list"===this.$parent.$options._componentTag}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(1)),o=r(n(103)),s=n(12),a=r(s),e.default=new i.default({name:"MdSwitch",mixins:[o.default],props:{id:{type:String,default:function(){return"md-switch-"+(0,a.default)()}}}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f,p,m,g,v,b;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=n(11),s=r(o),a=r(n(466)),l=n(12),c=r(l),u=r(n(9)),d=r(n(467)),h=r(n(475)),f=r(n(225)),p=r(n(482)),m=r(n(227)),g=n(65),v=r(g),b=function(t,e){var n,r,i=t,o=!0,s=!1,a=void 0;try{for(n=e.split(".")[Symbol.iterator]();!(o=(r=n.next()).done);o=!0)i=i[r.value]}catch(t){s=!0,a=t}finally{try{!o&&n.return&&n.return()}finally{if(s)throw a}}return i},e.default={name:"MdTable",components:{MdTagSwitcher:a.default,MdTableAlternateHeader:h.default,MdTableThead:d.default,MdTableRow:f.default,MdTableRowGhost:p.default,MdTableCellSelection:m.default},props:{value:[Array,Object],mdModelId:{type:String,default:"id"},mdCard:Boolean,mdFixedHeader:Boolean,mdHeight:{type:[Number,String],default:400},mdSort:String,mdSortOrder:i({type:String,default:"asc"},(0,u.default)("md-sort-order",["asc","desc"])),mdSortFn:{type:Function,default:function(t){var e=this.MdTable.sort,n="asc"===this.MdTable.sortOrder?1:-1,r=function(t,r){var i=b(t,e),o=b(r,e);return i===o?0:null==i||Number.isNaN(i)?1:null==o||Number.isNaN(o)?-1:"number"==typeof i&&"number"==typeof o?(i-o)*n:(i+"").localeCompare(o+"")*n};return t.sort(r)}},mdSelectedValue:{type:[Array,Object]}},data:function(){return{windowResizeObserver:null,fixedHeaderTableWidth:0,fixedHeaderPadding:0,hasContentScroll:!1,MdTable:{items:{},sort:null,sortOrder:null,singleSelection:null,selectedItems:[],selectable:[],fixedHeader:null,contentPadding:null,contentEl:null,hasValue:this.hasValue,emitEvent:this.emitEvent,sortTable:this.sortTable,manageItemSelection:this.manageItemSelection,getModel:this.getModel,getModelItem:this.getModelItem,selectingMode:null},itemsUuidMap:new WeakMap}},computed:{contentTag:function(){return this.mdCard?"md-card":"md-content"},headerCount:function(){return Object.keys(this.MdTable.items).length},selectedCount:function(){return this.MdTable.selectedItems.length},headerStyles:function(){return this.mdFixedHeader?"padding-right: "+this.fixedHeaderPadding+"px":""},hasValue:function(){return this.value&&0!==this.value.length},headerClasses:function(){return this.mdFixedHeader&&this.hasContentScroll||!this.hasValue?"md-table-fixed-header-active":""},contentStyles:function(){if(this.mdFixedHeader){var t="number"==typeof this.mdHeight?this.mdHeight+"px":this.mdHeight;return"height: "+t+";max-height: "+t}return""},contentClasses:function(){return this.mdFixedHeader&&0===this.value.length?"md-table-empty":""},fixedHeaderTableStyles:function(){return{width:this.fixedHeaderTableWidth+"px"}}},provide:function(){return{MdTable:this.MdTable}},watch:{mdSort:{immediate:!0,handler:function(){this.MdTable.sort=this.mdSort}},mdSortOrder:{immediate:!0,handler:function(){this.MdTable.sortOrder=this.mdSortOrder}},mdFixedHeader:{immediate:!0,handler:function(){this.MdTable.fixedHeader=this.mdFixedHeader}},hasValue:{immediate:!0,handler:function(){this.MdTable.hasValue=this.hasValue}},"MdTable.selectedItems":function(t,e){var n=this;(function(){var r=n.isEmpty(t),i=n.isEmpty(e),o=r&&i;return!(o||!o&&t.length===e.length&&t.every((function(t,n){return t==e[n]})))})()&&this.select(t)},"MdTable.singleSelection":function(t,e){t!=e&&this.select(t)},mdSelectedValue:function(){this.syncSelectedValue()},value:function(){this.syncSelectedValue(),this.setWidth()}},methods:{isEmpty:function(t){return!t||0===t.length},emitEvent:function(t,e){this.$emit(t,e)},getRowId:function(t,e){var n=t[e];return n||((n=this.itemsUuidMap.get(t))||(n="md-row-"+(0,c.default)(),this.itemsUuidMap.set(t,n)),n)},setScroll:function(t){var e=this;(0,s.default)((function(){e.mdFixedHeader&&(e.$refs.fixedHeaderContainer.scrollLeft=t.target.scrollLeft),e.hasContentScroll=t.target.scrollTop>0}))},setHeaderScroll:function(t){var e=this;(0,s.default)((function(){e.MdTable.contentEl.scrollLeft=t.target.scrollLeft}))},getContentEl:function(){return this.$el.querySelector(".md-table-content")},setContentEl:function(){this.MdTable.contentEl=this.getContentEl()},setHeaderPadding:function(){var t,e;this.setContentEl(),e=(t=this.MdTable.contentEl).childNodes[0],this.fixedHeaderPadding=t.offsetWidth-e.offsetWidth},getModel:function(){return this.value},getModelItem:function(t){return this.value[t]},manageItemSelection:function(t){this.MdTable.selectedItems.includes(t)?this.MdTable.selectedItems=this.MdTable.selectedItems.filter((function(e){return e!==t})):this.MdTable.selectedItems=this.MdTable.selectedItems.concat([t])},sortTable:function(){Array.isArray(this.value)&&this.$emit("input",this.mdSortFn(this.value))},select:function(t){this.$emit("update:mdSelectedValue",t),this.$emit("md-selected",t)},syncSelectedValue:function(){var t=this;this.$nextTick().then((function(){"single"===t.MdTable.selectingMode?t.MdTable.singleSelection=t.mdSelectedValue:"multiple"===t.MdTable.selectingMode&&(t.MdTable.selectedItems=t.mdSelectedValue||[])}))},setWidth:function(){this.mdFixedHeader&&(this.fixedHeaderTableWidth=this.$refs.contentTable.offsetWidth)}},created:function(){this.mdSort&&this.sortTable(),this.syncSelectedValue()},mounted:function(){this.setContentEl(),this.$nextTick().then(this.setWidth),this.mdFixedHeader&&(this.setHeaderPadding(),this.windowResizeObserver=new v.default(window,this.setWidth))},beforeDestroy:function(){this.windowResizeObserver&&this.windowResizeObserver.destroy()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t};e.default={functional:!0,props:{mdTag:{type:String,default:"div"}},render:function(t,e){var n=e.props,i=e.children,o=e.data,s=e.listeners;return t(n.mdTag,r({},o,{on:s}),i)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(102)),o=r(n(472)),e.default={name:"MdTableThead",inject:["MdTable"],components:{MdTableHead:i.default,MdTableHeadSelection:o.default}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=r(n(469)),o=n(65),s=r(o),e.default={name:"MdTableHead",components:{MdUpwardIcon:i.default},props:{mdNumeric:Boolean,numeric:Boolean,id:[String,Number],label:String,tooltip:String,sortBy:String},inject:["MdTable"],data:function(){return{width:null,windowResizeObserver:null}},computed:{hasSort:function(){return this.MdTable.sort&&this.sortBy},isSorted:function(){return!!this.MdTable.sort&&this.MdTable.sort===this.sortBy},isDescSorted:function(){return this.isSorted&&"desc"===this.MdTable.sortOrder},isAscSorted:function(){return this.isSorted&&"asc"===this.MdTable.sortOrder},headStyles:function(){return{width:this.width+"px"}},headClasses:function(){return{"md-numeric":this.numeric||this.mdNumeric,"md-sortable":this.hasSort,"md-sorted":this.isSorted,"md-sorted-desc":this.isDescSorted}}},methods:{changeSort:function(){this.hasSort&&(this.isAscSorted?this.MdTable.sortOrder="desc":this.MdTable.sortOrder="asc",this.MdTable.sort=this.sortBy,this.MdTable.emitEvent("md-sorted",this.MdTable.sort),this.MdTable.emitEvent("update:mdSort",this.MdTable.sort),this.MdTable.emitEvent("update:mdSortOrder",this.MdTable.sortOrder),this.MdTable.sortTable())},getChildNodesBySelector:function(t,e){return Array.from(t.childNodes).filter((function(t){var n=t.classList;return n&&n.contains(e)}))},getNodeIndex:function(t,e){return[].indexOf.call(t,e)},setWidth:function(){var t,e,n,r;this.MdTable.fixedHeader&&(t="md-table-cell",e=this.getChildNodesBySelector(this.$el.parentNode,"md-table-head"),n=this.MdTable.contentEl.querySelectorAll("tr:first-child ."+t),r=this.getNodeIndex(e,this.$el),this.width=n[r].offsetWidth)}},updated:function(){this.$nextTick().then(this.setWidth)},mounted:function(){this.$nextTick().then(this.setWidth),this.MdTable.fixedHeader&&(this.windowResizeObserver=new s.default(window,this.setWidth))},beforeDestroy:function(){this.windowResizeObserver&&this.windowResizeObserver.destroy()}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(14)),e.default={name:"MdUpwardIcon",components:{MdIcon:r.default}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(102)),e.default={name:"MdTableHeadSelection",components:{MdTableHead:r.default},inject:["MdTable"],computed:{selectableCount:function(){return Object.keys(this.selectable).length},isDisabled:function(){return!this.selectableCount},selectable:function(){return this.MdTable.selectable},selectedItems:function(){return this.MdTable.selectedItems},allSelected:function(){var t=this;return 0!==this.selectableCount&&this.selectable.every((function(e){return t.selectedItems.includes(e)}))}},methods:{onChange:function(t){var e=this;this.MdTable.selectedItems=t?this.selectedItems.concat(this.selectable.filter((function(t){return!e.selectedItems.includes(t)}))):this.selectedItems.filter((function(t){return!e.selectable.includes(t)}))}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdTableAlternateHeader"}},function(t,e,n){"use strict";function r(t){n(478)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(226),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(481),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(9)),s=r(n(227)),e.default={name:"MdTableRow",components:{MdTableCellSelection:s.default},props:{mdIndex:[Number,String],mdId:[Number,String],mdSelectable:i({type:[String]},(0,o.default)("md-selectable",["multiple","single"])),mdDisabled:Boolean,mdAutoSelect:Boolean,mdItem:[Array,Object]},inject:["MdTable"],data:function(){return{index:null}},computed:{selectableCount:function(){return this.MdTable.selectable.length},isMultipleSelected:function(){return this.MdTable.selectedItems.includes(this.mdItem)},isSingleSelected:function(){return this.MdTable.singleSelection===this.mdItem},hasMultipleSelection:function(){return this.MdTable.hasValue&&"multiple"===this.mdSelectable},hasSingleSelection:function(){return this.MdTable.hasValue&&"single"===this.mdSelectable},rowClasses:function(){return this.MdTable.hasValue?{"md-has-selection":!this.mdDisabled&&(this.mdAutoSelect||this.hasSingleSelection),"md-selected":this.isMultipleSelected,"md-selected-single":this.isSingleSelected}:{}},isInSelectedItems:function(){return this.MdTable.selectedItems.includes(this.mdItem)}},watch:{mdDisabled:function(){this.mdDisabled?this.removeSelectableItem():this.addSelectableItem()},mdSelectable:function(){this.MdTable.selectingMode=this.mdSelectable},mdItem:function(t,e){this.removeSelectableItem(e),this.$nextTick(this.addSelectableItem)}},methods:{onClick:function(){this.MdTable.hasValue&&!this.mdDisabled&&(this.hasMultipleSelection?this.selectRowIfMultiple():this.hasSingleSelection&&this.selectRowIfSingle())},toggleSelection:function(){this.MdTable.manageItemSelection(this.mdItem)},addSelection:function(){this.isMultipleSelected||(this.MdTable.selectedItems=this.MdTable.selectedItems.concat([this.mdItem]))},removeSelection:function(){var t=this;this.isMultipleSelected&&(this.MdTable.selectedItems=this.MdTable.selectedItems.filter((function(e){return e!==t.mdItem})))},selectRowIfSingle:function(){this.MdTable.singleSelection===this.mdItem?this.MdTable.singleSelection=null:this.MdTable.singleSelection=this.mdItem},selectRowIfMultiple:function(){this.mdAutoSelect&&this.toggleSelection()},addSelectableItem:function(){return!(!this.hasMultipleSelection||this.mdDisabled)&&!this.MdTable.selectable.includes(this.mdItem)&&void(this.MdTable.selectable=this.MdTable.selectable.concat([this.mdItem]))},removeSelectableItem:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.mdItem;"multiple"===this.mdSelectable&&(this.MdTable.selectable=this.MdTable.selectable.filter((function(e){return e!==t})))}},created:function(){var t=this;this.$nextTick((function(){t.addSelectableItem(),t.MdTable.selectingMode=t.mdSelectable}))},beforeDestroy:function(){this.removeSelectableItem()}}},function(t,e,n){"use strict";function r(t){n(479)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(228),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(480),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdTableCellSelection",props:{value:Boolean,mdRowId:[Number,String],mdSelectable:Boolean,mdDisabled:Boolean},inject:["MdTable"],data:function(){return{isSelected:!1}},watch:{value:{immediate:!0,handler:function(t){this.isSelected=t}}},methods:{onChange:function(){this.$emit("input",this.isSelected)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdTableRowGhost",props:{mdIndex:[String,Number],mdId:[String,Number],mdItem:[Array,Object]},render:function(){return this.$slots.default[0].componentOptions.propsData.mdIndex=this.mdIndex,this.$slots.default[0].componentOptions.propsData.mdId=this.mdId,this.$slots.default[0].componentOptions.propsData.mdItem=this.mdItem,this.$slots.default[0]}}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),r=function(t){return t&&t.__esModule?t:{default:t}}(n(112)),e.default={name:"MdTableToolbar",components:{MdToolbar:r.default},inject:["MdTable"]}},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-toolbar",class:[t.$mdActiveTheme,"md-elevation-"+t.mdElevation]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i;Object.defineProperty(e,"__esModule",{value:!0}),r(n(106)),i=r(n(98)),e.default={name:"MdTableEmptyState",props:i.default,inject:["MdTable"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdTableCell",props:{mdId:[String,Number],mdLabel:String,mdNumeric:Boolean,mdTooltip:String,mdSortBy:String},inject:["MdTable"],data:function(){return{index:null,parentNode:null}},computed:{cellClasses:function(){return{"md-numeric":this.mdNumeric}}},watch:{mdSortBy:function(){this.setCellData()},mdNumeric:function(){this.setCellData()},mdLabel:function(){this.setCellData()},mdTooltip:function(){this.setCellData()}},methods:{setCellData:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this;this.$set(this.MdTable.items,t.index,{id:t.mdId,label:t.mdLabel,numeric:t.mdNumeric,tooltip:t.mdTooltip,sortBy:t.mdSortBy})},updateAllCellData:function(){var t,e=this;this.MdTable.items={},t=Array.from(this.parentNode.childNodes).filter((function(t){var e=t.tagName,n=t.classList,r=n&&n.contains("md-table-cell-selection");return e&&"td"===e.toLowerCase()&&!r})),t.forEach((function(t,n){var r=t.__vue__;r.index=n,e.setCellData(r)}))}},mounted:function(){this.parentNode=this.$el.parentNode,this.updateAllCellData()},destroyed:function(){if(null!==this.$el.parentNode)return!1;this.updateAllCellData()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e,n){return t.slice((e-1)*n,(e-1)*n+n)};e.default={name:"MdTablePagination",inject:["MdTable"],props:{mdData:{type:[Array,Object]},mdPageOptions:{type:[Array,Boolean],default:function(){return[5,10,25,50,100]}},mdPaginatedData:{type:Array,default:function(){return[]}},mdPageSize:{type:Number,default:10},mdUpdate:{type:Function,default:function(){return!0}},mdLabel:{type:String,default:"Rows per page:"},mdSeparator:{type:String,default:"of"}},data:function(){return{mdPage:0,mdCount:0,currentPageSize:0}},computed:{pageCount:function(){return this.getPageCount()},isExternalPagination:function(){return this.mdData&&this.mdData.mdData}},watch:{mdData:{immediate:!0,handler:function(t){this.$emit("update:mdData",t),this.updatePage()}},mdPageSize:{immediate:!0,handler:function(t){this.currentPageSize=t,this.updatePage()}},currentPageSize:{immediate:!0,handler:function(t,e){!1!==this.mdUpdate(this.mdPage,this.currentPageSize,this.MdTable.sort,this.MdTable.sortOrder)&&this.updatePage()}}},methods:{getPageCount:function(){return Math.ceil(this.mdCount/this.currentPageSize)},setPage:function(t,e){this.mdPage=e>0?t>0?t:this.mdPage>0?this.mdPage:1:0;var n=this.getPageCount();this.mdPage>n&&(this.mdPage=n)},updatePage:function(){0!==this.currentPageSize&&(this.isExternalPagination?(this.mdCount=this.mdData.mdCount,this.setPage(this.mdData.mdPage,this.mdCount),this.$emit("update:mdPaginatedData",this.mdData.mdData)):(this.mdCount=this.mdData.length,this.setPage(this.mdPage,this.mdCount),this.mdPage>0?this.$emit("update:mdPaginatedData",r(this.mdData,this.mdPage,this.currentPageSize)):this.$emit("update:mdPaginatedData",[])))},changePage:function(t){!1!==this.mdUpdate(this.mdPage+t,this.currentPageSize,this.MdTable.sort,this.MdTable.sortOrder)&&(this.mdPage=this.mdPage+t,this.isExternalPagination||this.$emit("update:mdPaginatedData",r(this.mdData,this.mdPage,this.currentPageSize)))}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}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}function o(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}var s,a,l,c,u,d,h,f,p,m,g,v,b;Object.defineProperty(e,"__esModule",{value:!0}),s=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},a=n(11),l=r(a),c=r(n(1)),u=r(n(49)),d=r(n(9)),h=n(50),f=r(h),p=n(111),m=r(p),g=r(n(35)),v=r(n(104)),b=r(n(105)),e.default=new c.default({name:"MdTabs",mixins:[u.default,b.default],components:{MdButton:g.default,MdContent:v.default},props:{mdAlignment:s({type:String,default:"left"},(0,d.default)("md-alignment",["left","right","centered","fixed"])),mdElevation:{type:[Number,String],default:0},mdSyncRoute:Boolean,mdDynamicHeight:Boolean,mdActiveTab:[String,Number],mdIsRtl:{type:Boolean,default:!1}},data:function(){return{resizeObserver:null,activeTab:null,activeTabIndex:0,indicatorStyles:{},indicatorClass:null,noTransition:!0,containerStyles:{},contentStyles:{height:"0px"},hasContent:!1,MdTabs:{items:new Map},activeButtonEl:null,orderedIds:[]}},provide:function(){return{MdTabs:this.MdTabs}},computed:{orderedItems:function(){var t=this;return this.orderedIds.map((function(e){return t.MdTabs.items.get(e)}))},tabsClasses:function(){var t;return i(t={},"md-alignment-"+this.mdAlignment,!0),i(t,"md-no-transition",this.noTransition),i(t,"md-dynamic-height",this.mdDynamicHeight),t},navigationClasses:function(){return"md-elevation-"+this.mdElevation},mdSwipeElement:function(){return this.$refs.tabsContent.$el}},watch:{MdTabs:{deep:!0,handler:function(){this.recomputeOrderedIds(),this.setHasContent(),this.tryKeepCurrentTab()}},activeTab:function(t){this.$emit("md-changed",t),this.setActiveButtonElAndIndicatorStyles()},mdActiveTab:function(t){this.activeTab=t},activeButtonEl:function(t){this.activeTabIndex=t?[].indexOf.call(t.parentNode.childNodes,t):-1},activeTabIndex:function(){this.setIndicatorStyles(),this.calculateTabPos()},$route:function(){this.$nextTick(this.setActiveButtonEl)},swiped:function(t){var e=this.orderedIds.length;this.activeTabIndex<e&&"right"===t?this.setActiveTabByIndex(this.activeTabIndex+1):this.activeTabIndex>0&&"left"===t&&this.setActiveTabByIndex(this.activeTabIndex-1)}},methods:{isActiveTabId:function(t){return Number.isNaN(t)&&Number.isNaN(this.activeTab)||t===this.activeTab},hasActiveTab:function(){return null!=this.activeTab||null!=this.mdActiveTab},setActiveTab:function(t){this.mdSyncRoute||(this.activeTab=t)},setActiveButtonElAndIndicatorStyles:function(){var t=this;this.$nextTick().then((function(){t.setIndicatorStyles(),t.setActiveButtonEl()}))},tryKeepCurrentTab:function(){var t,e,n,r;this.mdSyncRoute||(t=-1!==this.orderedIds.indexOf(this.activeTab),e=this.orderedIds.length-1,n=this.activeTabIndex>=0&&this.activeTabIndex<=e,r=-1!==e,t?this.setActiveButtonElAndIndicatorStyles():n?this.setActiveTabByIndex(this.activeTabIndex):r?this.setActiveTabByIndex(e):this.activeTab=null)},setActiveButtonEl:function(){this.activeButtonEl=this.$refs.navigation.querySelector(".md-tab-nav-button.md-active")},setActiveTabByIndex:function(t){this.activeTab=this.orderedIds[t]},ensureHasActiveTab:function(){this.hasActiveTab()||(this.activeTab=this.orderedIds[0])},setHasContent:function(){this.hasContent=this.orderedItems.some((function(t){return t.hasContent}))},setIndicatorStyles:function(){var t=this;(0,l.default)((function(){t.$nextTick().then((function(){var e,n,r;t.activeButtonEl&&t.$refs.indicator?(e=t.activeButtonEl.offsetWidth,n=t.activeButtonEl.offsetLeft,r=t.$refs.indicator.offsetLeft,t.indicatorClass=r<n?"md-tabs-indicator-right":"md-tabs-indicator-left",t.indicatorStyles={left:n+"px",right:"calc(100% - "+(e+n)+"px)"}):t.indicatorStyles={left:"100%",right:"100%"}}))}))},calculateTabPos:function(){var t,e;this.hasContent&&(e=(t=this.ours(this.$refs.tabsContainer.querySelectorAll(".md-tab:nth-child("+(this.activeTabIndex+1)+")"))).length?t[0]:null,this.contentStyles={height:e?e.offsetHeight+"px":0},this.containerStyles={transform:"translate3D("+(this.mdIsRtl?100*this.activeTabIndex:100*-this.activeTabIndex)+"%, 0, 0)"})},callResizeFunctions:function(){this.setIndicatorStyles(),this.calculateTabPos()},setupObservers:function(){var t=this;this.resizeObserver=(0,f.default)(this.$el.querySelector(".md-tabs-content"),{childList:!0,characterData:!0,subtree:!0},(function(){t.callResizeFunctions()})),window.addEventListener("resize",this.callResizeFunctions)},recomputeOrderedIds:function(){var t=this.ours(this.$refs.tabsContainer.querySelectorAll(".md-tab")).map((function(t){return t.mdTabIdAsObject}));o(this.orderedIds,t)||(this.orderedIds=t)},ours:function(t){var e=this;return[].filter.call(t,(function(t){return t.parentNode===e.$refs.tabsContainer}))}},created:function(){this.setIndicatorStyles=(0,m.default)(this.setIndicatorStyles,300),this.activeTab=this.mdActiveTab},mounted:function(){var t=this;this.setupObservers(),this.$nextTick().then((function(){return t.mdSyncRoute||(t.recomputeOrderedIds(),t.ensureHasActiveTab()),t.$nextTick()})).then((function(){window.setTimeout((function(){t.setActiveButtonEl(),t.callResizeFunctions(),t.noTransition=!1,t.setupObservers()}),100)})),this.$refs.navigation.addEventListener("transitionend",this.setIndicatorStyles)},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),window.removeEventListener("resize",this.callResizeFunctions),this.$refs.navigation.removeEventListener("transitionend",this.setIndicatorStyles)}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=n(12),s=r(o),a=r(n(28)),l=n(50),c=r(l),u=n(29),d=r(u),e.default={name:"MdTab",mixins:[a.default],props:{id:{type:[String,Number],default:function(){return"md-tab-"+(0,s.default)()}},href:[String,Number],mdDisabled:Boolean,mdLabel:[String,Number],mdIcon:String,mdTemplateData:{type:Object,default:function(){return{}}}},inject:["MdTabs"],data:function(){return{observer:null}},watch:{$props:{deep:!0,handler:function(){this.setTabData()}},$attrs:{deep:!0,handler:function(){this.setTabData()}}},methods:{setTabContent:function(){this.$set(this.MdTabs.items.get(this.id),"hasContent",!!this.$slots.default)},setupObserver:function(){this.observer=(0,c.default)(this.$el,{childList:!0},this.setTabContent)},setTabData:function(){this.$el.mdTabIdAsObject=this.id,this.MdTabs.items=new Map(this.MdTabs.items.set(this.id,{id:this.id,hasContent:!!this.$slots.default,label:this.mdLabel,icon:this.mdIcon,disabled:this.mdDisabled,data:this.mdTemplateData,props:this.getPropValues(),events:this.$listeners}))},getPropValues:function(){var t=this,e=Object.keys(this.$options.props),n=["id","mdLabel","mdDisabled","mdTemplateData"],r={};return e.forEach((function(e){n.includes(e)||(t[e]?r[e]=t[e]:t.$attrs.hasOwnProperty(e)&&(r[e]=!e||t.$attrs[e]))})),r}},mounted:function(){this.setupObserver(),this.setTabData()},beforeDestroy:function(){this.observer&&this.observer.disconnect(),this.MdTabs.items.delete(this.id),this.MdTabs.items=new Map(this.MdTabs.items)},render:function(t){var e={staticClass:"md-tab",attrs:i({},this.$attrs,{id:this.id}),on:this.$listeners};return this.$router&&this.to&&(this.$options.props=(0,d.default)(this,this.$options.props),e.props=this.$props),t("div",e,this.$slots.default)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=r(n(1)),s=r(n(9)),a=r(n(60)),e.default=new o.default({name:"MdTooltip",components:{MdPopover:a.default},props:{mdActive:Boolean,mdDelay:{type:[String,Number],default:0},mdDirection:i({type:String,default:"bottom"},(0,s.default)("md-direction",["top","right","bottom","left"]))},data:function(){return{shouldRender:!1,targetEl:null}},computed:{tooltipClasses:function(){return"md-tooltip-"+this.mdDirection},tooltipStyles:function(){return"transition-delay: "+this.mdDelay+"ms"},popperSettings:function(){return{placement:this.mdDirection,modifiers:{offset:{offset:"0, 16"}}}}},watch:{mdActive:function(){this.shouldRender=this.mdActive},shouldRender:function(t){this.$emit("update:mdActive",t)}},methods:{show:function(){this.shouldRender=!0},hide:function(){this.shouldRender=!1}},mounted:function(){var t=this;this.$nextTick().then((function(){t.shouldRender=t.mdActive,t.targetEl=t._vnode.componentInstance.originalParentEl,t.targetEl&&(t.targetEl.addEventListener("mouseenter",t.show,!1),t.targetEl.addEventListener("mouseleave",t.hide,!1))}))},beforeDestroy:function(){this.targetEl&&(this.targetEl.removeEventListener("mouseenter",this.show),this.targetEl.removeEventListener("mouseleave",this.hide))}})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(240),a=r(s),l=n(250),c=r(l),u=n(253),d=r(u),h=n(256),f=r(h),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default),t.component(f.default.name,f.default)}},function(t,e,n){"use strict";function r(t){n(241)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(113),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=null,l=!1,c=r,u=null,d=null,h=n(0)(o.a,a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";function r(t){n(243)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(114),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(244),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-app md-app-side-drawer md-layout-row",class:[t.appClasses,t.$mdActiveTheme]},[t._t("md-app-drawer-left"),t._v(" "),t._t("md-app-drawer-right-previous"),t._v(" "),n("main",{staticClass:"md-app-container md-flex md-layout-column",class:[t.$mdActiveTheme,t.scrollerClasses],style:t.contentStyles,on:{"&scroll":function(e){return t.handleScroll.apply(null,arguments)}}},[t._t("md-app-toolbar"),t._v(" "),n("div",{staticClass:"md-app-scroller md-layout-column md-flex",class:[t.$mdActiveTheme,t.scrollerClasses],style:t.containerStyles,on:{"&scroll":function(e){return t.handleScroll.apply(null,arguments)}}},[t._t("md-app-content")],2)],2),t._v(" "),t._t("md-app-drawer-right")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(246)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(116),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(247),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-app md-app-internal-drawer md-layout-column",class:[t.appClasses,t.$mdActiveTheme]},[t._t("md-app-toolbar"),t._v(" "),n("main",{staticClass:"md-app-container md-flex md-layout-row",class:[t.$mdActiveTheme,t.scrollerClasses],style:[t.containerStyles,t.contentStyles]},[t._t("md-app-drawer-left"),t._v(" "),t._t("md-app-drawer-right-previous"),t._v(" "),n("div",{staticClass:"md-app-scroller md-layout-column md-flex",class:[t.$mdActiveTheme,t.scrollerClasses]},[t._t("md-app-content")],2),t._v(" "),t._t("md-app-drawer-right")],2)],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(117),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(249),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"md-drawer md-right-previous",class:t.drawerClasses})},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(251)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(118),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(252),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-toolbar",t._g(t._b({staticClass:"md-app-toolbar",class:t.toolbarClasses,style:t.toolbarStyles},"md-toolbar",t.$attrs,!1),t.$listeners),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(254)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(119),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(255),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showCard?n("md-card",t._g(t._b({staticClass:"md-app-content md-flex"},"md-card",t.$attrs,!1),t.$listeners),[t._t("default")],2):n("md-content",t._g(t._b({staticClass:"md-app-content md-flex"},"md-content",t.$attrs,!1),t.$listeners),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(120),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(257),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-drawer",t._g(t._b({ref:"drawer",staticClass:"md-app-drawer",attrs:{"md-active":t.mdActive&&t.initialized,"md-right":t.mdRight}},"md-drawer",t.$attrs,!1),t.$listeners),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(259),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(260)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(121),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(264),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";function r(t){n(262)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(122),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(263),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-badge",class:[t.$mdActiveTheme]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hasDefaultSlot?n("div",{staticClass:"md-badge-content"},[t._t("default"),t._v(" "),n("md-badge-standalone",{class:t.badgeClasses,style:t.styles},[n("div",[t._v("\n      "+t._s(t.mdContent)+"\n    ")])])],2):n("md-badge-standalone",{class:t.badgeClasses,style:t.styles},[t._v("\n  "+t._s(t.mdContent)+"\n")])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(266),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(267)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(123),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(270),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";function r(t,e){var n,r,i,o=e.length,s=t.length;if(s>o)return!1;if(s===o)return t===e;t:for(n=0,r=0;n<s;n++){for(i=t.charCodeAt(n);r<o;)if(e.charCodeAt(r++)===i)continue t;return!1}return!0}t.exports=r},function(t,e){function n(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=n,t.exports.default=n},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-field",{staticClass:"md-autocomplete",class:t.fieldClasses,attrs:{"md-clearable":"","md-inline":t.isBoxLayout}},[n("md-menu",{attrs:{"md-direction":"bottom-start","md-dense":t.mdDense,"md-align-trigger":"","md-full-width":"","md-active":t.showMenu},on:{"update:mdActive":function(e){t.showMenu=e},"update:md-active":function(e){t.showMenu=e}}},[n("md-input",t._b({attrs:{id:t.mdInputId,name:t.mdInputName,maxlength:t.mdInputMaxlength,placeholder:t.mdInputPlaceholder},on:{focus:function(e){return e.stopPropagation(),t.openOnFocus.apply(null,arguments)},blur:t.hideOptions,input:t.onInput,click:function(e){return e.stopPropagation(),e.preventDefault(),t.openOnFocus.apply(null,arguments)}},model:{value:t.searchTerm,callback:function(e){t.searchTerm=e},expression:"searchTerm"}},"md-input",t.$attrs,!1)),t._v(" "),n("md-menu-content",{directives:[{name:"show",rawName:"v-show",value:t.hasScopedEmptySlot||t.hasFilteredItems,expression:"hasScopedEmptySlot || hasFilteredItems"}],class:t.contentClasses},[t.isPromisePending?n("div",{staticClass:"md-autocomplete-loading"},[n("md-progress-spinner",{attrs:{"md-diameter":40,"md-stroke":4,"md-mode":"indeterminate"}})],1):t._e(),t._v(" "),t.hasFilteredItems?n("div",{staticClass:"md-autocomplete-items"},t._l(t.getOptions(),(function(e,r){return n("md-menu-item",{key:r,on:{click:function(n){return t.selectItem(e,n)}}},[t.$scopedSlots["md-autocomplete-item"]?t._t("md-autocomplete-item",null,{item:e,term:t.searchTerm}):[t._v(t._s(e))]],2)})),1):t.hasScopedEmptySlot?n("md-menu-item",[n("div",{staticClass:"md-autocomplete-empty"},[t._t("md-autocomplete-empty",null,{term:t.searchTerm})],2)]):t._e()],1)],1),t._v(" "),t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(272),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(273)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(124),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(274),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-avatar",class:[t.$mdActiveTheme]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(276),a=r(s),l=n(279),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";function r(t){n(277)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(125),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(278),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-bottom-bar",class:[t.$mdActiveTheme,t.barClasses]},[n("md-ripple",{attrs:{"md-disabled":"fixed"===t.mdType,"md-active":t.MdBottomBar.mouseEvent}},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(126),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(280),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-button",t._g(t._b({staticClass:"md-bottom-bar-item",class:t.itemClasses,attrs:{id:t.id,disabled:t.mdDisabled,"md-ripple":"fixed"===t.MdBottomBar.type},on:{click:t.setActiveItem}},"md-button",t.attrs,!1),t.$listeners),[t.$slots.default?t._t("default"):[t.isAssetIcon(t.mdIcon)?n("md-icon",{staticClass:"md-bottom-bar-icon",attrs:{"md-src":t.mdIcon}}):n("md-icon",{staticClass:"md-bottom-bar-icon"},[t._v(t._s(t.mdIcon))]),t._v(" "),n("span",{staticClass:"md-bottom-bar-label"},[t._v(t._s(t.mdLabel))])]],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(35),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A,T;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(283),a=r(s),l=n(286),c=r(l),u=n(289),d=r(u),h=n(292),f=r(h),p=n(294),m=r(p),g=n(297),v=r(g),b=n(300),y=r(b),x=n(303),w=r(x),k=n(306),_=r(k),S=n(309),O=r(S),M=n(311),C=r(M),A=n(314),T=r(A),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default),t.component(f.default.name,f.default),t.component(m.default.name,m.default),t.component(v.default.name,v.default),t.component(y.default.name,y.default),t.component(w.default.name,w.default),t.component(_.default.name,_.default),t.component(O.default.name,O.default),t.component(C.default.name,C.default),t.component(T.default.name,T.default)}},function(t,e,n){"use strict";function r(t){n(284)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(127),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(285),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card",class:[t.$mdActiveTheme,t.cardClasses]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(287)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(128),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(288),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-area",class:t.areaClasses},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(290)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(129),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(291),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-header"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(130),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(293),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-header-text"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(295)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(131),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(296),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-media",class:t.mediaClasses},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(298)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(132),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(299),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-media-actions"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(301)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(133),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(302),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-card-media-cover",class:t.coverClasses},[t._t("default"),t._v(" "),t.mdTextScrim?n("div",{ref:"backdrop",staticClass:"md-card-backdrop",style:t.coverStyles}):t._e()],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(304)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(134),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(305),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-content"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(307)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(135),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(308),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-expand"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(310)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(136),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=null,l=!1,c=r,u=null,d=null,h=n(0)(o.a,a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";function r(t){n(312)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(137),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(313),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-expand-content",style:t.contentStyles},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(315)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(138),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(316),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-card-actions",class:"md-alignment-"+t.mdAlignment},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(318),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(319)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(139),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(320),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-checkbox",class:[t.$mdActiveTheme,t.checkClasses]},[n("div",{staticClass:"md-checkbox-container",on:{click:function(e){return e.stopPropagation(),t.toggleCheck.apply(null,arguments)}}},[n("md-ripple",{attrs:{"md-centered":"","md-active":t.rippleActive,"md-disabled":t.disabled},on:{"update:mdActive":function(e){t.rippleActive=e},"update:md-active":function(e){t.rippleActive=e}}},[n("input",t._b({attrs:{id:t.id,type:"checkbox"},domProps:{indeterminate:t.indeterminate}},"input",t.attrs,!1))])],1),t._v(" "),t.$slots.default?n("label",{staticClass:"md-checkbox-label",attrs:{for:t.id},on:{click:function(e){return e.preventDefault(),t.toggleCheck.apply(null,arguments)}}},[t._t("default")],2):t._e()])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(322),a=r(s),l=n(325),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";function r(t){n(323)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(140),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(324),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-field",{staticClass:"md-chips",class:[t.$mdActiveTheme,t.chipsClasses]},[t._t("default"),t._v(" "),t._l(t.value,(function(e,r){return n("md-chip",{key:e,attrs:{"md-deletable":!t.mdStatic,"md-clickable":!t.mdStatic,"md-duplicated":t.duplicatedChip===e},on:{keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.$emit("md-click",e,r)},"md-delete":function(n){return n.stopPropagation(),t.removeChip(e)}},nativeOn:{click:function(n){return t.$emit("md-click",e,r)}}},[t.$scopedSlots["md-chip"]?t._t("md-chip",(function(){return[t._v(t._s(e))]}),{chip:e}):[t._v(t._s(e))]],2)})),t._v(" "),!t.mdStatic&&t.modelRespectLimit?n("md-input",{ref:"input",attrs:{type:t.mdInputType,id:t.id,placeholder:t.mdPlaceholder},on:{input:t.handleInput,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.insertChip.apply(null,arguments)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.handleBackRemove.apply(null,arguments):null}],focusout:t.handleFocusOut},model:{value:t.inputValue,callback:function(e){t.inputValue="string"==typeof e?e.trim():e},expression:"inputValue"}}):t._e()],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(326)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(141),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(327),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"md-chip",appear:""}},[n("div",t._g({staticClass:"md-chip",class:[t.$mdActiveTheme,t.chipClasses],attrs:{tabindex:"0"}},t.$listeners),[t.mdClickable||!t.mdRipple?n("md-ripple",{attrs:{"md-disabled":t.mdDisabled}},[t._t("default")],2):t._t("default"),t._v(" "),n("transition",{attrs:{name:"md-input-action",appear:""}},[t.mdDeletable?n("md-button",{staticClass:"md-icon-button md-dense md-input-action md-clear",attrs:{tabindex:"-1"},on:{click:function(e){return t.$emit("md-delete",e)}}},[n("md-clear-icon")],1):t._e()],1)],2)])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(104),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(330),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(331)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(142),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(356),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";t.exports="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent)},function(t,e,n){"use strict";function r(t){var e,n,r;return Object(f.a)(1,arguments),n=(e=Object(h.a)(t)).getTime(),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0),r=n-e.getTime(),Math.floor(r/p)+1}function i(t,e){for(var n=t<0?"-":"",r=""+Math.abs(t);r.length<e;)r="0"+r;return n+r}function o(t,e){var n=t>0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),s=r%60;return 0===s?n+(o+""):n+(o+"")+(e||"")+i(s,2)}function s(t,e){return t%60==0?(t>0?"-":"+")+i(Math.abs(t)/60,2):a(t,e)}function a(t,e){var n=e||"",r=t>0?"-":"+",o=Math.abs(t);return r+i(Math.floor(o/60),2)+n+i(o%60,2)}function l(t,e,n){var r,i,o,s,a,l,p,m,g,v,b,y,x,w,k,P,j,I,N,R,$,B,F,z,H,Y,W;if(Object(f.a)(2,arguments),N=e+"",R=Object(A.a)(),$=null!==(r=null!==(i=null==n?void 0:n.locale)&&void 0!==i?i:R.locale)&&void 0!==r?r:T.a,!((B=Object(C.a)(null!==(o=null!==(s=null!==(a=null!==(l=null==n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null==n||null===(p=n.locale)||void 0===p||null===(m=p.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==a?a:R.firstWeekContainsDate)&&void 0!==s?s:null===(g=R.locale)||void 0===g||null===(v=g.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==o?o:1))>=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");if(!((F=Object(C.a)(null!==(b=null!==(y=null!==(x=null!==(w=null==n?void 0:n.weekStartsOn)&&void 0!==w?w:null==n||null===(k=n.locale)||void 0===k||null===(P=k.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==x?x:R.weekStartsOn)&&void 0!==y?y:null===(j=R.locale)||void 0===j||null===(I=j.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==b?b:0))>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!$.localize)throw new RangeError("locale must contain localize property");if(!$.formatLong)throw new RangeError("locale must contain formatLong property");if(z=Object(h.a)(t),!Object(u.default)(z))throw new RangeError("Invalid time value");return H=Object(O.a)(z),Y=Object(d.a)(z,H),W={firstWeekContainsDate:B,weekStartsOn:F,locale:$,_originalDate:z},N.match(D).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,S.a[e])(t,$.formatLong):t})).join("").match(E).map((function(r){var i,o;if("''"===r)return"'";if("'"===(i=r[0]))return c(r);if(o=_[i])return null!=n&&n.useAdditionalWeekYearTokens||!Object(M.b)(r)||Object(M.c)(r,e,t+""),null!=n&&n.useAdditionalDayOfYearTokens||!Object(M.a)(r)||Object(M.c)(r,e,t+""),o(Y,r,$.localize,W);if(i.match(L))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r})).join("")}function c(t){var e=t.match(P);return e?e[1].replace(j,"'"):t}var u,d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A,T,E,D,P,j,L;Object.defineProperty(e,"__esModule",{value:!0}),u=n(143),d=n(144),h=n(10),f=n(7),p=864e5,m=n(145),g=n(146),v=n(147),b=n(95),y={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return i("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?n+1+"":i(n+1,2)},d:function(t,e){return i(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return i(t.getUTCHours()%12||12,e.length)},H:function(t,e){return i(t.getUTCHours(),e.length)},m:function(t,e){return i(t.getUTCMinutes(),e.length)},s:function(t,e){return i(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds();return i(Math.floor(r*Math.pow(10,n-3)),e.length)}},x=y,w={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},k={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){var r,i;return"yo"===e?(i=(r=t.getUTCFullYear())>0?r:1-r,n.ordinalNumber(i,{unit:"year"})):x.y(t,e)},Y:function(t,e,n,r){var o=Object(b.a)(t,r),s=o>0?o:1-o;return"YY"===e?i(s%100,2):"Yo"===e?n.ordinalNumber(s,{unit:"year"}):i(s,e.length)},R:function(t,e){return i(Object(g.a)(t),e.length)},u:function(t,e){return i(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return r+"";case"QQ":return i(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return r+"";case"qq":return i(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return x.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return r+1+"";case"LL":return i(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var o=Object(v.a)(t,r);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):i(o,e.length)},I:function(t,e,n){var r=Object(m.a)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):i(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):x.d(t,e)},D:function(t,e,n){var o=r(t);return"Do"===e?n.ordinalNumber(o,{unit:"dayOfYear"}):i(o,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var o=t.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return s+"";case"ee":return i(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var o=t.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return s+"";case"cc":return i(s,e.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return o+"";case"ii":return i(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?w.noon:0===i?w.midnight:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?w.evening:i>=12?w.afternoon:i>=4?w.morning:w.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return x.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):x.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):i(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):i(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):x.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):x.s(t,e)},S:function(t,e){return x.S(t,e)},X:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return s(i);case"XXXX":case"XX":return a(i);default:return a(i,":")}},x:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return s(i);case"xxxx":case"xx":return a(i);default:return a(i,":")}},O:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+o(i,":");default:return"GMT"+a(i,":")}},z:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+o(i,":");default:return"GMT"+a(i,":")}},t:function(t,e,n,r){var o=r._originalDate||t;return i(Math.floor(o.getTime()/1e3),e.length)},T:function(t,e,n,r){return i((r._originalDate||t).getTime(),e.length)}},_=k,S=n(148),O=n(149),M=n(150),C=n(20),A=n(48),T=n(151),e.default=l,E=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,D=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P=/^'([^]*?)'?$/,j=/''/g,L=/[a-zA-Z]/},function(t,e,n){"use strict";function r(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}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 o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=u();return function(){var n,r,i=d(t);return e?(r=d(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function p(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function b(t,e,n){return e&&v(t.prototype,e),n&&v(t,n),t}function y(t){return(y="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 x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function k(t,e,n){return e&&w(t.prototype,e),n&&w(t,n),t}function _(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S(t,e)}function S(t,e){return(S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function O(t){var e=A();return function(){var n,r,i=T(t);return e?(r=T(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),M(this,n)}}function M(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?C(t):e}function C(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function D(t,e){return t?{value:e(t.value),rest:t.rest}:t}function P(t,e){var n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function j(t,e){var n,r,i,o,s=e.match(t);return s?"Z"===s[0]?{value:0,rest:e.slice(1)}:(n="+"===s[1]?1:-1,r=s[2]?parseInt(s[2],10):0,i=s[3]?parseInt(s[3],10):0,o=s[5]?parseInt(s[5],10):0,{value:n*(r*qs+i*Xs+o*Ks),rest:e.slice(s[0].length)}):null}function L(t){return P(Js.anyDigitsSigned,t)}function I(t,e){switch(t){case 1:return P(Js.singleDigit,e);case 2:return P(Js.twoDigits,e);case 3:return P(Js.threeDigits,e);case 4:return P(Js.fourDigits,e);default:return P(RegExp("^\\d{1,"+t+"}"),e)}}function N(t,e){switch(t){case 1:return P(Js.singleDigitSigned,e);case 2:return P(Js.twoDigitsSigned,e);case 3:return P(Js.threeDigitsSigned,e);case 4:return P(Js.fourDigitsSigned,e);default:return P(RegExp("^-?\\d{1,"+t+"}"),e)}}function R(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function $(t,e){var n,r,i=e>0,o=i?e:1-e;return o<=50?n=t||100:(r=o+50,n=t+100*Math.floor(r/100)-(t>=r%100?100:0)),i?n:1-n}function B(t){return t%400==0||t%4==0&&t%100!=0}function F(t){return(F="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 z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Y(t,e,n){return e&&H(t.prototype,e),n&&H(t,n),t}function W(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function U(t){var e=q();return function(){var n,r,i=K(t);return e?(r=K(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),G(this,n)}}function G(t,e){return!e||"object"!==F(e)&&"function"!=typeof e?X(t):e}function X(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Z(t){return(Z="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 Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function et(t,e,n){return e&&tt(t.prototype,e),n&&tt(t,n),t}function nt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rt(t,e)}function rt(t,e){return(rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function it(t){var e=at();return function(){var n,r,i=lt(t);return e?(r=lt(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),ot(this,n)}}function ot(t,e){return!e||"object"!==Z(e)&&"function"!=typeof e?st(t):e}function st(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function at(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function lt(t){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ut(t){return(ut="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 dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function ft(t,e,n){return e&&ht(t.prototype,e),n&&ht(t,n),t}function pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mt(t,e)}function mt(t,e){return(mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function gt(t){var e=yt();return function(){var n,r,i=xt(t);return e?(r=xt(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),vt(this,n)}}function vt(t,e){return!e||"object"!==ut(e)&&"function"!=typeof e?bt(t):e}function bt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function xt(t){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kt(t){return(kt="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 _t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Ot(t,e,n){return e&&St(t.prototype,e),n&&St(t,n),t}function Mt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ct(t,e)}function Ct(t,e){return(Ct=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function At(t){var e=Dt();return function(){var n,r,i=Pt(t);return e?(r=Pt(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Tt(this,n)}}function Tt(t,e){return!e||"object"!==kt(e)&&"function"!=typeof e?Et(t):e}function Et(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Pt(t){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lt(t){return(Lt="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 It(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nt(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Rt(t,e,n){return e&&Nt(t.prototype,e),n&&Nt(t,n),t}function $t(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bt(t,e)}function Bt(t,e){return(Bt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ft(t){var e=Yt();return function(){var n,r,i=Wt(t);return e?(r=Wt(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),zt(this,n)}}function zt(t,e){return!e||"object"!==Lt(e)&&"function"!=typeof e?Ht(t):e}function Ht(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Wt(t){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t){return(Ut="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 Gt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xt(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function qt(t,e,n){return e&&Xt(t.prototype,e),n&&Xt(t,n),t}function Kt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jt(t,e)}function Jt(t,e){return(Jt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zt(t){var e=ee();return function(){var n,r,i=ne(t);return e?(r=ne(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Qt(this,n)}}function Qt(t,e){return!e||"object"!==Ut(e)&&"function"!=typeof e?te(t):e}function te(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ee(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ne(t){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ie(t){return(ie="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 oe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function se(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function ae(t,e,n){return e&&se(t.prototype,e),n&&se(t,n),t}function le(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ce(t,e)}function ce(t,e){return(ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ue(t){var e=fe();return function(){var n,r,i=pe(t);return e?(r=pe(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),de(this,n)}}function de(t,e){return!e||"object"!==ie(e)&&"function"!=typeof e?he(t):e}function he(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function pe(t){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ge(t){return(ge="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 ve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function be(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function ye(t,e,n){return e&&be(t.prototype,e),n&&be(t,n),t}function xe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&we(t,e)}function we(t,e){return(we=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ke(t){var e=Oe();return function(){var n,r,i=Me(t);return e?(r=Me(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),_e(this,n)}}function _e(t,e){return!e||"object"!==ge(e)&&"function"!=typeof e?Se(t):e}function Se(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oe(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Me(t){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ae(t,e,n){var r,i,o;return Object(zs.a)(2,arguments),r=Object(Ns.a)(t),i=Object(Fs.a)(e),o=Object(ua.a)(r,n)-i,r.setUTCDate(r.getUTCDate()-7*o),r}function Te(t){return(Te="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 Ee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Pe(t,e,n){return e&&De(t.prototype,e),n&&De(t,n),t}function je(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Le(t,e)}function Le(t,e){return(Le=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ie(t){var e=$e();return function(){var n,r,i=Be(t);return e?(r=Be(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Ne(this,n)}}function Ne(t,e){return!e||"object"!==Te(e)&&"function"!=typeof e?Re(t):e}function Re(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $e(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Be(t){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t,e){var n,r,i;return Object(zs.a)(2,arguments),n=Object(Ns.a)(t),r=Object(Fs.a)(e),i=Object(ha.a)(n)-r,n.setUTCDate(n.getUTCDate()-7*i),n}function He(t){return(He="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 Ye(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function We(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Ve(t,e,n){return e&&We(t.prototype,e),n&&We(t,n),t}function Ue(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ge(t,e)}function Ge(t,e){return(Ge=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Xe(t){var e=Je();return function(){var n,r,i=Ze(t);return e?(r=Ze(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),qe(this,n)}}function qe(t,e){return!e||"object"!==He(e)&&"function"!=typeof e?Ke(t):e}function Ke(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Je(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Ze(t){return(Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tn(t){return(tn="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 en(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function rn(t,e,n){return e&&nn(t.prototype,e),n&&nn(t,n),t}function on(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sn(t,e)}function sn(t,e){return(sn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function an(t){var e=un();return function(){var n,r,i=dn(t);return e?(r=dn(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),ln(this,n)}}function ln(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?cn(t):e}function cn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function un(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function dn(t){return(dn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function hn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fn(t){return(fn="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 pn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function gn(t,e,n){return e&&mn(t.prototype,e),n&&mn(t,n),t}function vn(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bn(t,e)}function bn(t,e){return(bn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function yn(t){var e=kn();return function(){var n,r,i=_n(t);return e?(r=_n(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),xn(this,n)}}function xn(t,e){return!e||"object"!==fn(e)&&"function"!=typeof e?wn(t):e}function wn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _n(t){return(_n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t,e,n){var r,i,o,s,a,l,c,u,d,h,f,p,m;if(Object(zs.a)(2,arguments),d=Object(ba.a)(),!((h=Object(Fs.a)(null!==(r=null!==(i=null!==(o=null!==(s=null==n?void 0:n.weekStartsOn)&&void 0!==s?s:null==n||null===(a=n.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==i?i:null===(c=d.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==r?r:0))>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");return f=Object(Ns.a)(t),m=(((p=Object(Fs.a)(e))%7+7)%7<h?7:0)+p-f.getUTCDay(),f.setUTCDate(f.getUTCDate()+m),f}function Mn(t){return(Mn="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 Cn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Tn(t,e,n){return e&&An(t.prototype,e),n&&An(t,n),t}function En(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dn(t,e)}function Dn(t,e){return(Dn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Pn(t){var e=In();return function(){var n,r,i=Nn(t);return e?(r=Nn(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),jn(this,n)}}function jn(t,e){return!e||"object"!==Mn(e)&&"function"!=typeof e?Ln(t):e}function Ln(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function In(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Nn(t){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $n(t){return($n="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 Bn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function zn(t,e,n){return e&&Fn(t.prototype,e),n&&Fn(t,n),t}function Hn(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yn(t,e)}function Yn(t,e){return(Yn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Wn(t){var e=Gn();return function(){var n,r,i=Xn(t);return e?(r=Xn(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Vn(this,n)}}function Vn(t,e){return!e||"object"!==$n(e)&&"function"!=typeof e?Un(t):e}function Un(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Xn(t){return(Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return(Kn="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 Jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zn(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Qn(t,e,n){return e&&Zn(t.prototype,e),n&&Zn(t,n),t}function tr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&er(t,e)}function er(t,e){return(er=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nr(t){var e=or();return function(){var n,r,i=sr(t);return e?(r=sr(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),rr(this,n)}}function rr(t,e){return!e||"object"!==Kn(e)&&"function"!=typeof e?ir(t):e}function ir(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function or(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function sr(t){return(sr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lr(t,e){var n,r,i;return Object(zs.a)(2,arguments),(n=Object(Fs.a)(e))%7==0&&(n-=7),i=((n%7+7)%7<1?7:0)+n-(r=Object(Ns.a)(t)).getUTCDay(),r.setUTCDate(r.getUTCDate()+i),r}function cr(t){return(cr="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 ur(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dr(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function hr(t,e,n){return e&&dr(t.prototype,e),n&&dr(t,n),t}function fr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pr(t,e)}function pr(t,e){return(pr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function mr(t){var e=br();return function(){var n,r,i=yr(t);return e?(r=yr(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),gr(this,n)}}function gr(t,e){return!e||"object"!==cr(e)&&"function"!=typeof e?vr(t):e}function vr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function br(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function yr(t){return(yr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wr(t){return(wr="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 kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _r(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Sr(t,e,n){return e&&_r(t.prototype,e),n&&_r(t,n),t}function Or(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mr(t,e)}function Mr(t,e){return(Mr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Cr(t){var e=Er();return function(){var n,r,i=Dr(t);return e?(r=Dr(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Ar(this,n)}}function Ar(t,e){return!e||"object"!==wr(e)&&"function"!=typeof e?Tr(t):e}function Tr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Er(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Dr(t){return(Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jr(t){return(jr="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 Lr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ir(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Nr(t,e,n){return e&&Ir(t.prototype,e),n&&Ir(t,n),t}function Rr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$r(t,e)}function $r(t,e){return($r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Br(t){var e=Hr();return function(){var n,r,i=Yr(t);return e?(r=Yr(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Fr(this,n)}}function Fr(t,e){return!e||"object"!==jr(e)&&"function"!=typeof e?zr(t):e}function zr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hr(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Yr(t){return(Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Wr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(t){return(Vr="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 Ur(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Xr(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function qr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kr(t,e)}function Kr(t,e){return(Kr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Jr(t){var e=ti();return function(){var n,r,i=ei(t);return e?(r=ei(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Zr(this,n)}}function Zr(t,e){return!e||"object"!==Vr(e)&&"function"!=typeof e?Qr(t):e}function Qr(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ti(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ei(t){return(ei=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ni(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return(ri="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 ii(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oi(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function si(t,e,n){return e&&oi(t.prototype,e),n&&oi(t,n),t}function ai(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&li(t,e)}function li(t,e){return(li=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ci(t){var e=hi();return function(){var n,r,i=fi(t);return e?(r=fi(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),ui(this,n)}}function ui(t,e){return!e||"object"!==ri(e)&&"function"!=typeof e?di(t):e}function di(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function fi(t){return(fi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function pi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return(mi="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 gi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vi(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function bi(t,e,n){return e&&vi(t.prototype,e),n&&vi(t,n),t}function yi(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xi(t,e)}function xi(t,e){return(xi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function wi(t){var e=Si();return function(){var n,r,i=Oi(t);return e?(r=Oi(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),ki(this,n)}}function ki(t,e){return!e||"object"!==mi(e)&&"function"!=typeof e?_i(t):e}function _i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Si(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Oi(t){return(Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return(Ci="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 Ai(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ti(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Ei(t,e,n){return e&&Ti(t.prototype,e),n&&Ti(t,n),t}function Di(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pi(t,e)}function Pi(t,e){return(Pi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ji(t){var e=Ni();return function(){var n,r,i=Ri(t);return e?(r=Ri(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Li(this,n)}}function Li(t,e){return!e||"object"!==Ci(e)&&"function"!=typeof e?Ii(t):e}function Ii(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ni(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Ri(t){return(Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}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}function Bi(t){return(Bi="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 Fi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zi(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Hi(t,e,n){return e&&zi(t.prototype,e),n&&zi(t,n),t}function Yi(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wi(t,e)}function Wi(t,e){return(Wi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Vi(t){var e=Xi();return function(){var n,r,i=qi(t);return e?(r=qi(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Ui(this,n)}}function Ui(t,e){return!e||"object"!==Bi(e)&&"function"!=typeof e?Gi(t):e}function Gi(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function qi(t){return(qi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ki(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return(Ji="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 Zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qi(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function to(t,e,n){return e&&Qi(t.prototype,e),n&&Qi(t,n),t}function eo(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&no(t,e)}function no(t,e){return(no=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ro(t){var e=so();return function(){var n,r,i=ao(t);return e?(r=ao(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),io(this,n)}}function io(t,e){return!e||"object"!==Ji(e)&&"function"!=typeof e?oo(t):e}function oo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function so(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ao(t){return(ao=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function lo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function co(t){return(co="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 uo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function fo(t,e,n){return e&&ho(t.prototype,e),n&&ho(t,n),t}function po(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mo(t,e)}function mo(t,e){return(mo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function go(t){var e=yo();return function(){var n,r,i=xo(t);return e?(r=xo(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),vo(this,n)}}function vo(t,e){return!e||"object"!==co(e)&&"function"!=typeof e?bo(t):e}function bo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function xo(t){return(xo=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ko(t){return(ko="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 _o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function So(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Oo(t,e,n){return e&&So(t.prototype,e),n&&So(t,n),t}function Mo(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Co(t,e)}function Co(t,e){return(Co=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ao(t){var e=Do();return function(){var n,r,i=Po(t);return e?(r=Po(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),To(this,n)}}function To(t,e){return!e||"object"!==ko(e)&&"function"!=typeof e?Eo(t):e}function Eo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Do(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Po(t){return(Po=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lo(t){return(Lo="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 Io(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function No(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function Ro(t,e,n){return e&&No(t.prototype,e),n&&No(t,n),t}function $o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bo(t,e)}function Bo(t,e){return(Bo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Fo(t){var e=Yo();return function(){var n,r,i=Wo(t);return e?(r=Wo(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),zo(this,n)}}function zo(t,e){return!e||"object"!==Lo(e)&&"function"!=typeof e?Ho(t):e}function Ho(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yo(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Wo(t){return(Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uo(t){return(Uo="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 Go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xo(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function qo(t,e,n){return e&&Xo(t.prototype,e),n&&Xo(t,n),t}function Ko(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jo(t,e)}function Jo(t,e){return(Jo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zo(t){var e=es();return function(){var n,r,i=ns(t);return e?(r=ns(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),Qo(this,n)}}function Qo(t,e){return!e||"object"!==Uo(e)&&"function"!=typeof e?ts(t):e}function ts(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function es(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ns(t){return(ns=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function is(t){return(is="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 os(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ss(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function as(t,e,n){return e&&ss(t.prototype,e),n&&ss(t,n),t}function ls(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cs(t,e)}function cs(t,e){return(cs=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function us(t){var e=fs();return function(){var n,r,i=ps(t);return e?(r=ps(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),ds(this,n)}}function ds(t,e){return!e||"object"!==is(e)&&"function"!=typeof e?hs(t):e}function hs(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fs(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function ps(t){return(ps=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ms(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gs(t){return(gs="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 vs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bs(t,e){var n,r;for(n=0;n<e.length;n++)(r=e[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}function ys(t,e,n){return e&&bs(t.prototype,e),n&&bs(t,n),t}function xs(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ws(t,e)}function ws(t,e){return(ws=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ks(t){var e=Os();return function(){var n,r,i=Ms(t);return e?(r=Ms(this).constructor,n=Reflect.construct(i,arguments,r)):n=i.apply(this,arguments),_s(this,n)}}function _s(t,e){return!e||"object"!==gs(e)&&"function"!=typeof e?Ss(t):e}function Ss(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Os(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Ms(t){return(Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Cs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function As(t){return(As="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 Ts(t,e){var n,r,i,o,s,a;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=Es(t))||e&&t&&"number"==typeof t.length)return n&&(t=n),r=0,{s:i=function(){},n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return o=!0,s=!1,{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function Es(t,e){if(t){if("string"==typeof t)return Ds(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)?Ds(t,e):void 0}}function Ds(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Ps(t,e,n,i){var o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A,T,E,D,P,j,L,I,N,R,$,B,F,z,H,Y,W;if(Object(zs.a)(3,arguments),_=t+"",S=e+"",O=Object(ba.a)(),!(M=null!==(o=null!==(s=null==i?void 0:i.locale)&&void 0!==s?s:O.locale)&&void 0!==o?o:Ls.a).match)throw new RangeError("locale must contain match property");if(!((C=Object(Fs.a)(null!==(a=null!==(l=null!==(c=null!==(u=null==i?void 0:i.firstWeekContainsDate)&&void 0!==u?u:null==i||null===(d=i.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:O.firstWeekContainsDate)&&void 0!==l?l:null===(f=O.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==a?a:1))>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");if(!((A=Object(Fs.a)(null!==(m=null!==(g=null!==(v=null!==(b=null==i?void 0:i.weekStartsOn)&&void 0!==b?b:null==i||null===(y=i.locale)||void 0===y||null===(x=y.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==v?v:O.weekStartsOn)&&void 0!==g?g:null===(w=O.locale)||void 0===w||null===(k=w.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==m?m:0))>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===S)return""===_?Object(Ns.a)(n):new Date(NaN);T={firstWeekContainsDate:C,weekStartsOn:A,locale:M},E=[new Vs],D=S.match(Ba).map((function(t){var e=t[0];return e in Rs.a?(0,Rs.a[e])(t,M.formatLong):t})).join("").match($a),P=[],j=Ts(D);try{for(I=function(){var e,n,r,o,s,a=L.value;if(null!=i&&i.useAdditionalWeekYearTokens||!Object(Bs.b)(a)||Object(Bs.c)(a,S,t),null!=i&&i.useAdditionalDayOfYearTokens||!Object(Bs.a)(a)||Object(Bs.c)(a,S,t),e=a[0],n=Ra[e]){if(r=n.incompatibleTokens,Array.isArray(r)){if(o=P.find((function(t){return r.includes(t.token)||t.token===e})))throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(a,"` at the same time"))}else if("*"===n.incompatibleTokens&&P.length>0)throw new RangeError("The format string mustn't contain `".concat(a,"` and any other token at the same time"));if(P.push({token:e,fullToken:a}),!(s=n.run(_,a,M.match,T)))return{v:new Date(NaN)};E.push(s.setter),_=s.rest}else{if(e.match(Ya))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");if("''"===a?a="'":"'"===e&&(a=js(a)),0!==_.indexOf(a))return{v:new Date(NaN)};_=_.slice(a.length)}},j.s();!(L=j.n()).done;)if("object"===As(N=I()))return N.v}catch(t){j.e(t)}finally{j.f()}if(_.length>0&&Ha.test(_))return new Date(NaN);if(R=E.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,n){return n.indexOf(t)===e})).map((function(t){return E.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),$=Object(Ns.a)(n),isNaN($.getTime()))return new Date(NaN);B=Object(Is.a)($,Object($s.a)($)),F={},z=Ts(R);try{for(z.s();!(H=z.n()).done;){if(!(Y=H.value).validate(B,T))return new Date(NaN);W=Y.set(B,F,T),Array.isArray(W)?(B=W[0],r(F,W[1])):B=W}}catch(t){z.e(t)}finally{z.f()}return B}function js(t){return t.match(Fa)[1].replace(za,"'")}var Ls,Is,Ns,Rs,$s,Bs,Fs,zs,Hs,Ys,Ws,Vs,Us,Gs,Xs,qs,Ks,Js,Zs,Qs,ta,ea,na,ra,ia,oa,sa,aa,la,ca,ua,da,ha,fa,pa,ma,ga,va,ba,ya,xa,wa,ka,_a,Sa,Oa,Ma,Ca,Aa,Ta,Ea,Da,Pa,ja,La,Ia,Na,Ra,$a,Ba,Fa,za,Ha,Ya;Object.defineProperty(e,"__esModule",{value:!0}),Ls=n(151),Is=n(144),Ns=n(10),Rs=n(148),$s=n(149),Bs=n(150),Fs=n(20),zs=n(7),Hs=10,Ys=function(){function t(){h(this,t),m(this,"subPriority",0)}return p(t,[{key:"validate",value:function(t,e){return!0}}]),t}(),Ws=function(t){function e(t,r,i,o,s){var a;return h(this,e),(a=n.call(this)).value=t,a.validateValue=r,a.setValue=i,a.priority=o,s&&(a.subPriority=s),a}o(e,t);var n=a(e);return p(e,[{key:"validate",value:function(t,e){return this.validateValue(t,this.value,e)}},{key:"set",value:function(t,e,n){return this.setValue(t,e,this.value,n)}}]),e}(Ys),Vs=function(t){function e(){var t,r,i,o;for(h(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return m(c(t=n.call.apply(n,[this].concat(i))),"priority",Hs),m(c(t),"subPriority",-1),t}o(e,t);var n=a(e);return p(e,[{key:"set",value:function(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}}]),e}(Ys),Us=function(){function t(){g(this,t)}return b(t,[{key:"run",value:function(t,e,n,r){var i=this.parse(t,e,n,r);return i?{setter:new Ws(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(t,e,n){return!0}}]),t}(),Gs=function(t){function e(){var t,r,i,o;for(x(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return E(C(t=n.call.apply(n,[this].concat(i))),"priority",140),E(C(t),"incompatibleTokens",["R","u","t","T"]),t}_(e,t);var n=O(e);return k(e,[{key:"parse",value:function(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}},{key:"set",value:function(t,e,n){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),e}(Us),Math.pow(10,8),Xs=6e4,qs=36e5,Ks=1e3,Js={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Zs={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/},Qs=function(t){function e(){var t,r,i,o;for(z(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return J(X(t=n.call.apply(n,[this].concat(i))),"priority",130),J(X(t),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),t}W(e,t);var n=U(e);return Y(e,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return D(I(4,t),r);case"yo":return D(n.ordinalNumber(t,{unit:"year"}),r);default:return D(I(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n){var r,i,o=t.getUTCFullYear();return n.isTwoDigitYear?(r=$(n.year,o),t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t):(i="era"in e&&1!==e.era?1-n.year:n.year,t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t)}}]),e}(Us),ta=n(95),ea=n(58),na=function(t){function e(){var t,r,i,o;for(Q(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return ct(st(t=n.call.apply(n,[this].concat(i))),"priority",130),ct(st(t),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),t}nt(e,t);var n=it(e);return et(e,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return D(I(4,t),r);case"Yo":return D(n.ordinalNumber(t,{unit:"year"}),r);default:return D(I(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n,r){var i,o,s=Object(ta.a)(t,r);return n.isTwoDigitYear?(i=$(n.year,s),t.setUTCFullYear(i,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(ea.a)(t,r)):(o="era"in e&&1!==e.era?1-n.year:n.year,t.setUTCFullYear(o,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(ea.a)(t,r))}}]),e}(Us),ra=n(57),ia=function(t){function e(){var t,r,i,o;for(dt(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return wt(bt(t=n.call.apply(n,[this].concat(i))),"priority",130),wt(bt(t),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),t}pt(e,t);var n=gt(e);return ft(e,[{key:"parse",value:function(t,e){return N("R"===e?4:e.length,t)}},{key:"set",value:function(t,e,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),Object(ra.a)(r)}}]),e}(Us),oa=function(t){function e(){var t,r,i,o;for(_t(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return jt(Et(t=n.call.apply(n,[this].concat(i))),"priority",130),jt(Et(t),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),t}Mt(e,t);var n=At(e);return Ot(e,[{key:"parse",value:function(t,e){return N("u"===e?4:e.length,t)}},{key:"set",value:function(t,e,n){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),e}(Us),sa=function(t){function e(){var t,r,i,o;for(It(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Vt(Ht(t=n.call.apply(n,[this].concat(i))),"priority",120),Vt(Ht(t),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),t}$t(e,t);var n=Ft(e);return Rt(e,[{key:"parse",value:function(t,e,n){switch(e){case"Q":case"QQ":return I(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),e}(Us),aa=function(t){function e(){var t,r,i,o;for(Gt(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return re(te(t=n.call.apply(n,[this].concat(i))),"priority",120),re(te(t),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),t}Kt(e,t);var n=Zt(e);return qt(e,[{key:"parse",value:function(t,e,n){switch(e){case"q":case"qq":return I(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}}]),e}(Us),la=function(t){function e(){var t,r,i,o;for(oe(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return me(he(t=n.call.apply(n,[this].concat(i))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),me(he(t),"priority",110),t}le(e,t);var n=ue(e);return ae(e,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"M":return D(P(Js.month,t),r);case"MM":return D(I(2,t),r);case"Mo":return D(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),e}(Us),ca=function(t){function e(){var t,r,i,o;for(ve(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Ce(Se(t=n.call.apply(n,[this].concat(i))),"priority",110),Ce(Se(t),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),t}xe(e,t);var n=ke(e);return ye(e,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"L":return D(P(Js.month,t),r);case"LL":return D(I(2,t),r);case"Lo":return D(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),e}(Us),ua=n(147),da=function(t){function e(){var t,r,i,o;for(Ee(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Fe(Re(t=n.call.apply(n,[this].concat(i))),"priority",100),Fe(Re(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),t}je(e,t);var n=Ie(e);return Pe(e,[{key:"parse",value:function(t,e,n){switch(e){case"w":return P(Js.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n,r){return Object(ea.a)(Ae(t,n,r),r)}}]),e}(Us),ha=n(145),fa=function(t){function e(){var t,r,i,o;for(Ye(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Qe(Ke(t=n.call.apply(n,[this].concat(i))),"priority",100),Qe(Ke(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),t}Ue(e,t);var n=Xe(e);return Ve(e,[{key:"parse",value:function(t,e,n){switch(e){case"I":return P(Js.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n){return Object(ra.a)(ze(t,n))}}]),e}(Us),pa=[31,28,31,30,31,30,31,31,30,31,30,31],ma=[31,29,31,30,31,30,31,31,30,31,30,31],ga=function(t){function e(){var t,r,i,o;for(en(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return hn(cn(t=n.call.apply(n,[this].concat(i))),"priority",90),hn(cn(t),"subPriority",1),hn(cn(t),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),t}on(e,t);var n=an(e);return rn(e,[{key:"parse",value:function(t,e,n){switch(e){case"d":return P(Js.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){var n=B(t.getUTCFullYear()),r=t.getUTCMonth();return n?e>=1&&e<=ma[r]:e>=1&&e<=pa[r]}},{key:"set",value:function(t,e,n){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t}}]),e}(Us),va=function(t){function e(){var t,r,i,o;for(pn(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Sn(wn(t=n.call.apply(n,[this].concat(i))),"priority",90),Sn(wn(t),"subpriority",1),Sn(wn(t),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),t}vn(e,t);var n=yn(e);return gn(e,[{key:"parse",value:function(t,e,n){switch(e){case"D":case"DD":return P(Js.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return B(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,n){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t}}]),e}(Us),ba=n(48),ya=function(t){function e(){var t,r,i,o;for(Cn(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Rn(Ln(t=n.call.apply(n,[this].concat(i))),"priority",90),Rn(Ln(t),"incompatibleTokens",["D","i","e","c","t","T"]),t}En(e,t);var n=Pn(e);return Tn(e,[{key:"parse",value:function(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=On(t,n,r)).setUTCHours(0,0,0,0),t}}]),e}(Us),xa=function(t){function e(){var t,r,i,o;for(Bn(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return qn(Un(t=n.call.apply(n,[this].concat(i))),"priority",90),qn(Un(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),t}Hn(e,t);var n=Wn(e);return zn(e,[{key:"parse",value:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return D(I(e.length,t),i);case"eo":return D(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=On(t,n,r)).setUTCHours(0,0,0,0),t}}]),e}(Us),wa=function(t){function e(){var t,r,i,o;for(Jn(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return ar(ir(t=n.call.apply(n,[this].concat(i))),"priority",90),ar(ir(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),t}tr(e,t);var n=nr(e);return Qn(e,[{key:"parse",value:function(t,e,n,r){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return D(I(e.length,t),i);case"co":return D(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=On(t,n,r)).setUTCHours(0,0,0,0),t}}]),e}(Us),ka=function(t){function e(){var t,r,i,o;for(ur(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return xr(vr(t=n.call.apply(n,[this].concat(i))),"priority",90),xr(vr(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),t}fr(e,t);var n=mr(e);return hr(e,[{key:"parse",value:function(t,e,n){var r=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return I(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return D(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return D(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return D(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return D(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(t,e){return e>=1&&e<=7}},{key:"set",value:function(t,e,n){return(t=lr(t,n)).setUTCHours(0,0,0,0),t}}]),e}(Us),_a=function(t){function e(){var t,r,i,o;for(kr(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Pr(Tr(t=n.call.apply(n,[this].concat(i))),"priority",80),Pr(Tr(t),"incompatibleTokens",["b","B","H","k","t","T"]),t}Or(e,t);var n=Cr(e);return Sr(e,[{key:"parse",value:function(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(R(n),0,0,0),t}}]),e}(Us),Sa=function(t){function e(){var t,r,i,o;for(Lr(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Wr(zr(t=n.call.apply(n,[this].concat(i))),"priority",80),Wr(zr(t),"incompatibleTokens",["a","B","H","k","t","T"]),t}Rr(e,t);var n=Br(e);return Nr(e,[{key:"parse",value:function(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(R(n),0,0,0),t}}]),e}(Us),Oa=function(t){function e(){var t,r,i,o;for(Ur(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return ni(Qr(t=n.call.apply(n,[this].concat(i))),"priority",80),ni(Qr(t),"incompatibleTokens",["a","b","t","T"]),t}qr(e,t);var n=Jr(e);return Xr(e,[{key:"parse",value:function(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(R(n),0,0,0),t}}]),e}(Us),Ma=function(t){function e(){var t,r,i,o;for(ii(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return pi(di(t=n.call.apply(n,[this].concat(i))),"priority",70),pi(di(t),"incompatibleTokens",["H","K","k","t","T"]),t}ai(e,t);var n=ci(e);return si(e,[{key:"parse",value:function(t,e,n){switch(e){case"h":return P(Js.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=12}},{key:"set",value:function(t,e,n){var r=t.getUTCHours()>=12;return r&&n<12?t.setUTCHours(n+12,0,0,0):r||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t}}]),e}(Us),Ca=function(t){function e(){var t,r,i,o;for(gi(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Mi(_i(t=n.call.apply(n,[this].concat(i))),"priority",70),Mi(_i(t),"incompatibleTokens",["a","b","h","K","k","t","T"]),t}yi(e,t);var n=wi(e);return bi(e,[{key:"parse",value:function(t,e,n){switch(e){case"H":return P(Js.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=23}},{key:"set",value:function(t,e,n){return t.setUTCHours(n,0,0,0),t}}]),e}(Us),Aa=function(t){function e(){var t,r,i,o;for(Ai(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return $i(Ii(t=n.call.apply(n,[this].concat(i))),"priority",70),$i(Ii(t),"incompatibleTokens",["h","H","k","t","T"]),t}Di(e,t);var n=ji(e);return Ei(e,[{key:"parse",value:function(t,e,n){switch(e){case"K":return P(Js.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t}}]),e}(Us),Ta=function(t){function e(){var t,r,i,o;for(Fi(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Ki(Gi(t=n.call.apply(n,[this].concat(i))),"priority",70),Ki(Gi(t),"incompatibleTokens",["a","b","h","H","K","t","T"]),t}Yi(e,t);var n=Vi(e);return Hi(e,[{key:"parse",value:function(t,e,n){switch(e){case"k":return P(Js.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=24}},{key:"set",value:function(t,e,n){var r=n<=24?n%24:n;return t.setUTCHours(r,0,0,0),t}}]),e}(Us),Ea=function(t){function e(){var t,r,i,o;for(Zi(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return lo(oo(t=n.call.apply(n,[this].concat(i))),"priority",60),lo(oo(t),"incompatibleTokens",["t","T"]),t}eo(e,t);var n=ro(e);return to(e,[{key:"parse",value:function(t,e,n){switch(e){case"m":return P(Js.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCMinutes(n,0,0),t}}]),e}(Us),Da=function(t){function e(){var t,r,i,o;for(uo(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return wo(bo(t=n.call.apply(n,[this].concat(i))),"priority",50),wo(bo(t),"incompatibleTokens",["t","T"]),t}po(e,t);var n=go(e);return fo(e,[{key:"parse",value:function(t,e,n){switch(e){case"s":return P(Js.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return I(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCSeconds(n,0),t}}]),e}(Us),Pa=function(t){function e(){var t,r,i,o;for(_o(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return jo(Eo(t=n.call.apply(n,[this].concat(i))),"priority",30),jo(Eo(t),"incompatibleTokens",["t","T"]),t}Mo(e,t);var n=Ao(e);return Oo(e,[{key:"parse",value:function(t,e){var n=function(t){return Math.floor(t*Math.pow(10,3-e.length))};return D(I(e.length,t),n)}},{key:"set",value:function(t,e,n){return t.setUTCMilliseconds(n),t}}]),e}(Us),ja=function(t){function e(){var t,r,i,o;for(Io(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Vo(Ho(t=n.call.apply(n,[this].concat(i))),"priority",10),Vo(Ho(t),"incompatibleTokens",["t","T","x"]),t}$o(e,t);var n=Fo(e);return Ro(e,[{key:"parse",value:function(t,e){switch(e){case"X":return j(Zs.basicOptionalMinutes,t);case"XX":return j(Zs.basic,t);case"XXXX":return j(Zs.basicOptionalSeconds,t);case"XXXXX":return j(Zs.extendedOptionalSeconds,t);default:return j(Zs.extended,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),e}(Us),La=function(t){function e(){var t,r,i,o;for(Go(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return rs(ts(t=n.call.apply(n,[this].concat(i))),"priority",10),rs(ts(t),"incompatibleTokens",["t","T","X"]),t}Ko(e,t);var n=Zo(e);return qo(e,[{key:"parse",value:function(t,e){switch(e){case"x":return j(Zs.basicOptionalMinutes,t);case"xx":return j(Zs.basic,t);case"xxxx":return j(Zs.basicOptionalSeconds,t);case"xxxxx":return j(Zs.extendedOptionalSeconds,t);default:return j(Zs.extended,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}]),e}(Us),Ia=function(t){function e(){var t,r,i,o;for(os(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return ms(hs(t=n.call.apply(n,[this].concat(i))),"priority",40),ms(hs(t),"incompatibleTokens","*"),t}ls(e,t);var n=us(e);return as(e,[{key:"parse",value:function(t){return L(t)}},{key:"set",value:function(t,e,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),e}(Us),Na=function(t){function e(){var t,r,i,o;for(vs(this,e),r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return Cs(Ss(t=n.call.apply(n,[this].concat(i))),"priority",20),Cs(Ss(t),"incompatibleTokens","*"),t}xs(e,t);var n=ks(e);return ys(e,[{key:"parse",value:function(t){return L(t)}},{key:"set",value:function(t,e,n){return[new Date(n),{timestampIsSet:!0}]}}]),e}(Us),Ra={G:new Gs,y:new Qs,Y:new na,R:new ia,u:new oa,Q:new sa,q:new aa,M:new la,L:new ca,w:new da,I:new fa,d:new ga,D:new va,E:new ya,e:new xa,c:new wa,i:new ka,a:new _a,b:new Sa,B:new Oa,h:new Ma,H:new Ca,K:new Aa,k:new Ta,m:new Ea,s:new Da,S:new Pa,X:new ja,x:new La,t:new Ia,T:new Na},e.default=Ps,$a=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ba=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Fa=/^'([^]*?)'?$/,za=/''/g,Ha=/\S/,Ya=/[a-zA-Z]/},function(t,e,n){"use strict";function r(t){n(336)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(152),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(352),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";function r(t){Object(o.a)(1,arguments);var e=Object(i.a)(t);return e.setDate(1),e.setHours(0,0,0,0),e}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(10),o=n(7)},function(t,e,n){"use strict";function r(t,e){Object(s.a)(2,arguments);var n=Object(i.a)(e);return Object(o.default)(t,-n)}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(20),o=n(153),s=n(7)},function(t,e,n){"use strict";function r(t){return Object(o.a)(1,arguments),Object(i.a)(t).getDate()}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(10),o=n(7)},function(t,e,n){"use strict";function r(t){return Object(o.a)(1,arguments),Object(i.a)(t).getDay()}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(10),o=n(7)},function(t,e,n){"use strict";function r(t){return Object(o.a)(1,arguments),Object(i.a)(t).getMonth()}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(10),o=n(7)},function(t,e,n){"use strict";function r(t){return Object(o.a)(1,arguments),Object(i.a)(t).getFullYear()}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(10),o=n(7)},function(t,e,n){"use strict";function r(t,e){var n,r;return Object(o.a)(2,arguments),n=Object(i.a)(t),r=Object(i.a)(e),n.getTime()===r.getTime()}var i,o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(10),o=n(7)},function(t,e,n){"use strict";function r(t){Object(s.a)(1,arguments);var e=Object(o.a)(t);return e.setHours(0,0,0,0),e}function i(t,e){var n,i;return Object(s.a)(2,arguments),n=r(t),i=r(e),n.getTime()===i.getTime()}var o,s;Object.defineProperty(e,"__esModule",{value:!0}),o=n(10),s=n(7),e.default=i},function(t,e,n){"use strict";function r(t,e){var n,r;return Object(s.a)(2,arguments),n=Object(o.a)(t),r=Object(i.a)(e),n.setDate(r),n}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(20),o=n(10),s=n(7)},function(t,e,n){"use strict";function r(t,e){var n,r,l,c,u,d;return Object(a.a)(2,arguments),n=Object(o.a)(t),r=Object(i.a)(e),l=n.getFullYear(),c=n.getDate(),(u=new Date(0)).setFullYear(l,r,15),u.setHours(0,0,0,0),d=Object(s.default)(u),n.setMonth(r,Math.min(c,d)),n}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(20),o=n(10),s=n(154),a=n(7)},function(t,e,n){"use strict";function r(t,e){var n,r;return Object(s.a)(2,arguments),n=Object(o.a)(t),r=Object(i.a)(e),isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,i=n(20),o=n(10),s=n(7)},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(155),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(349),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}}),t._v(" "),n("path",{attrs:{d:"M0-.25h24v24H0z",fill:"none"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(156),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(351),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}}),t._v(" "),n("path",{attrs:{d:"M0-.5h24v24H0z",fill:"none"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-popover",{attrs:{"md-settings":t.popperSettings,"md-active":""}},[n("transition",{attrs:{name:"md-datepicker-dialog",appear:""},on:{enter:t.setContentStyles,"after-leave":t.resetDate}},[n("div",{staticClass:"md-datepicker-dialog",class:[t.$mdActiveTheme],attrs:{tabindex:"-1"}},[n("div",{staticClass:"md-datepicker-header"},[n("span",{staticClass:"md-datepicker-year-select",class:{"md-selected":"year"===t.currentView},on:{click:function(e){t.currentView="year"}}},[t._v(t._s(t.selectedYear))]),t._v(" "),n("div",{staticClass:"md-datepicker-date-select",class:{"md-selected":"year"!==t.currentView},on:{click:function(e){t.currentView="day"}}},[n("strong",{staticClass:"md-datepicker-dayname"},[t._v(t._s(t.shortDayName)+", ")]),t._v(" "),n("strong",{staticClass:"md-datepicker-monthname"},[t._v(t._s(t.shortMonthName))]),t._v(" "),n("strong",{staticClass:"md-datepicker-day"},[t._v(t._s(t.currentDay))])])]),t._v(" "),n("div",{staticClass:"md-datepicker-body"},[n("transition",{attrs:{name:"md-datepicker-body-header"}},["day"===t.currentView?n("div",{staticClass:"md-datepicker-body-header"},[n("md-button",{staticClass:"md-dense md-icon-button",on:{click:t.previousMonth}},[n("md-arrow-left-icon")],1),t._v(" "),n("md-button",{staticClass:"md-dense md-icon-button",on:{click:t.nextMonth}},[n("md-arrow-right-icon")],1)],1):t._e()]),t._v(" "),n("div",{staticClass:"md-datepicker-body-content",style:t.contentStyles},[n("transition",{attrs:{name:"md-datepicker-view"}},["day"===t.currentView?n("transition-group",{staticClass:"md-datepicker-panel md-datepicker-calendar",class:t.calendarClasses,attrs:{tag:"div",name:"md-datepicker-month"}},t._l([t.currentDate],(function(e){return n("div",{key:e.getMonth(),staticClass:"md-datepicker-panel md-datepicker-month"},[n("md-button",{staticClass:"md-dense md-datepicker-month-trigger",on:{click:function(e){t.currentView="month"}}},[t._v(t._s(t.currentMonthName)+" "+t._s(t.currentYear))]),t._v(" "),n("div",{staticClass:"md-datepicker-week"},t._l(t.filteredShorterDays,(function(e,r){return n("span",{key:r},[t._v(t._s(e))])})),0),t._v(" "),n("div",{staticClass:"md-datepicker-days"},[t._l(t.prefixEmptyDays,(function(t){return n("span",{key:"day-empty-"+t,staticClass:"md-datepicker-empty"})})),t._v(" "),t._l(t.daysInMonth,(function(e){return n("div",{key:"day-"+e,staticClass:"md-datepicker-day"},[n("span",{staticClass:"md-datepicker-day-button",class:{"md-datepicker-selected":t.isSelectedDay(e),"md-datepicker-today":t.isToday(e),"md-datepicker-disabled":t.isDisabled(e)},on:{click:function(n){return t.selectDate(e)}}},[t._v(t._s(e))])])}))],2)],1)})),0):"month"===t.currentView?n("div",{staticClass:"md-datepicker-panel md-datepicker-month-selector"},[n("md-button",{staticClass:"md-datepicker-year-trigger",on:{click:function(e){t.currentView="year"}}},[t._v(t._s(t.currentYear))]),t._v(" "),t._l(t.locale.months,(function(e,r){return n("span",{key:e,staticClass:"md-datepicker-month-button",class:{"md-datepicker-selected":t.currentMonthName===e},on:{click:function(e){return t.switchMonth(r)}}},[t._v(t._s(e))])}))],2):"year"===t.currentView?n("keep-alive",[n("md-content",{staticClass:"md-datepicker-panel md-datepicker-year-selector md-scrollbar"},t._l(t.availableYears,(function(e){return n("span",{key:e,staticClass:"md-datepicker-year-button",class:{"md-datepicker-selected":t.currentYear===e},on:{click:function(n){return t.switchYear(e)}}},[t._v(t._s(e))])})),0)],1):t._e()],1)],1),t._v(" "),n("md-dialog-actions",{staticClass:"md-datepicker-body-footer"},[n("md-button",{staticClass:"md-primary",on:{click:t.onCancel}},[t._v(t._s(t.locale.cancel))]),t._v(" "),t.mdImmediately?t._e():n("md-button",{staticClass:"md-primary",on:{click:t.onConfirm}},[t._v(t._s(t.locale.confirm))])],1)],1)])])],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(160),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(354),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}}),t._v(" "),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=void 0;return function(){var r=this,i=arguments,o=function(){return t.apply(r,i)};clearTimeout(n),n=setTimeout(o,e)}}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-field",{class:["md-datepicker",{"md-native":!t.mdOverrideNative}],attrs:{"md-clearable":t.mdClearable},on:{"md-clear":t.onClear}},[n("md-date-icon",{staticClass:"md-date-icon",nativeOn:{click:function(e){return t.toggleDialog(!0)}}}),t._v(" "),n("md-input",{ref:"input",attrs:{type:t.type,pattern:t.pattern},nativeOn:{focus:function(e){return t.onFocus.apply(null,arguments)},focusout:function(e){return t.onFocusOut.apply(null,arguments)}},model:{value:t.inputDate,callback:function(e){t.inputDate=e},expression:"inputDate"}}),t._v(" "),t._t("default"),t._v(" "),n("keep-alive",[t.showDialog?n("md-datepicker-dialog",{ref:"mdRef",attrs:{"md-date":t.localDate,"md-disabled-dates":t.mdDisabledDates,mdImmediately:t.mdImmediately,"md-placement":t.mdPlacement},on:{"update:mdDate":function(e){t.localDate=e},"update:md-date":function(e){t.localDate=e},"md-closed":function(e){return t.toggleDialog(!1)}}}):t._e()],1),t._v(" "),n("md-overlay",{staticClass:"md-datepicker-overlay",attrs:{"md-fixed":"","md-active":t.showDialog},on:{click:function(e){return t.toggleDialog(!1)}}})],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(70),a=r(s),l=n(358),c=r(l),u=n(361),d=r(u),h=n(364),f=r(h),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default),t.component(f.default.name,f.default)}},function(t,e,n){"use strict";function r(t){n(359)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(161),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(360),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",{staticClass:"md-dialog-title md-title"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(362)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(162),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(363),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:["md-dialog-content",t.$mdActiveTheme]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(365)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(163),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(366),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-dialog-actions"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(368),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(369)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(164),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(370),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.insideList?n("li",{staticClass:"md-divider",class:[t.$mdActiveTheme]}):n("hr",{staticClass:"md-divider",class:[t.$mdActiveTheme]})},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(372),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(373)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(165),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(374),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-drawer",class:[t.$mdActiveTheme,t.drawerClasses]},[t._t("default"),t._v(" "),t.mdFixed?n("md-overlay",{attrs:{"md-active":t.mdActive},on:{click:t.closeDrawer}}):n("md-overlay",{attrs:{"md-active":t.mdActive,"md-attach-to-parent":""},on:{click:t.closeDrawer}})],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(376),e.default=function(t){}},function(t,e){},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(106),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f,p,m,g,v;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(107),a=r(s),l=n(379),c=r(l),u=n(66),d=r(u),h=n(391),f=r(h),p=n(55),m=r(p),g=n(396),v=r(g),e.default=function(t){(0,o.default)(t),t.use(a.default),t.use(c.default),t.component(d.default.name,d.default),t.component(f.default.name,f.default),t.component(m.default.name,m.default),t.component(v.default.name,v.default)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(380),a=r(s),l=n(385),c=r(l),u=n(388),d=r(u),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default)}},function(t,e,n){"use strict";function r(t){n(381)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(168),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(384),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(169),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(383),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M7 10l5 5 5-5z"}}),t._v(" "),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-menu",{staticClass:"md-select",class:{"md-disabled":t.disabled},attrs:{"md-close-on-select":!1,"md-active":t.showSelect,"md-offset-x":t.offset.x,"md-offset-y":t.offset.y,"md-dense":t.mdDense},on:{"update:mdActive":function(e){t.showSelect=e},"update:md-active":function(e){t.showSelect=e},"md-closed":t.onClose}},[n("md-input",t._g(t._b({ref:"input",staticClass:"md-input md-select-value",attrs:{readonly:"",disabled:t.disabled,required:t.required,placeholder:t.placeholder},on:{focus:function(e){return e.preventDefault(),t.onFocus.apply(null,arguments)},blur:function(e){return e.preventDefault(),t.removeHighlight.apply(null,arguments)},click:t.openSelect,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.openSelect.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.openSelect.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.openSelect.apply(null,arguments)}]},model:{value:t.MdSelect.label,callback:function(e){t.$set(t.MdSelect,"label",e)},expression:"MdSelect.label"}},"md-input",t.attrs,!1),t.inputListeners)),t._v(" "),n("md-drop-down-icon",{nativeOn:{click:function(e){return t.openSelect.apply(null,arguments)}}}),t._v(" "),n("keep-alive",[n("md-menu-content",{ref:"menu",staticClass:"md-select-menu",style:t.menuStyles,attrs:{"md-content-class":t.mdClass},on:{enter:t.onMenuEnter}},[t.showSelect?t._t("default"):t._e()],2)],1),t._v(" "),t.showSelect?t._e():n("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._t("default")],2),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-input-fake",attrs:{disabled:t.disabled,readonly:"",tabindex:"-1"},domProps:{value:t.model},on:{input:function(e){e.target.composing||(t.model=e.target.value)}}}),t._v(" "),n("select",t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],ref:"selectEl",attrs:{readonly:"",tabindex:"-1"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.model=e.target.multiple?n:n[0]}}},"select",t.attributes,!1))],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(386)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(175),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(387),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-menu-item",{class:t.optionClasses,attrs:{disabled:t.isDisabled},on:{click:t.setSelection}},[t.MdSelect.multiple?n("md-checkbox",{staticClass:"md-primary",attrs:{disabled:t.isDisabled},model:{value:t.isChecked,callback:function(e){t.isChecked=e},expression:"isChecked"}}):t._e(),t._v(" "),n("span",{ref:"text",staticClass:"md-list-item-text"},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(389)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(176),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(390),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-optgroup"},[n("md-subheader",[t._v(t._s(t.label))]),t._v(" "),t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(392)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(177),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(395),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(178),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(394),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"}}),t._v(" "),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-file"},[n("md-file-icon",{staticClass:"md-file-icon",class:t.iconClass,nativeOn:{click:function(e){return t.openPicker.apply(null,arguments)}}}),t._v(" "),"checkbox"==={disabled:t.disabled,required:t.required,placeholder:t.placeholder}.type?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-input",attrs:{readonly:"",type:"checkbox"},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t.model},on:{click:t.openPicker,blur:t.onBlur,change:function(e){var n,r,i=t.model,o=e.target,s=!!o.checked;Array.isArray(i)?(n=null,r=t._i(i,n),o.checked?r<0&&(t.model=i.concat([n])):r>-1&&(t.model=i.slice(0,r).concat(i.slice(r+1)))):t.model=s}}},"input",{disabled:t.disabled,required:t.required,placeholder:t.placeholder},!1)):"radio"==={disabled:t.disabled,required:t.required,placeholder:t.placeholder}.type?n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-input",attrs:{readonly:"",type:"radio"},domProps:{checked:t._q(t.model,null)},on:{click:t.openPicker,blur:t.onBlur,change:function(e){t.model=null}}},"input",{disabled:t.disabled,required:t.required,placeholder:t.placeholder},!1)):n("input",t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-input",attrs:{readonly:"",type:{disabled:t.disabled,required:t.required,placeholder:t.placeholder}.type},domProps:{value:t.model},on:{click:t.openPicker,blur:t.onBlur,input:function(e){e.target.composing||(t.model=e.target.value)}}},"input",{disabled:t.disabled,required:t.required,placeholder:t.placeholder},!1)),t._v(" "),n("input",t._g(t._b({ref:"inputFile",attrs:{type:"file"},on:{change:t.onChange}},"input",t.attributes,!1),t.$listeners))],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(179),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(397),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("textarea",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"md-textarea",style:t.textareaStyles,domProps:{value:t.model},on:{focus:t.onFocus,blur:t.onBlur,input:function(e){e.target.composing||(t.model=e.target.value)}}},"textarea",t.attributes,!1),t.listeners))},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(399),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(400)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(180),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=null,l=!1,c=r,u=null,d=null,h=n(0)(o.a,a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(402),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(403)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(181),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(404),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-image",class:[t.$mdActiveTheme]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(406),e.default=function(t){}},function(t,e){},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(76),a=r(s),l=n(110),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(108),a=r(s),l=n(109),c=r(l),u=n(409),d=r(u),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default)}},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(200),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(410),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-list-item",t._g(t._b({staticClass:"md-menu-item",class:[t.itemClasses,t.$mdActiveTheme],attrs:{disabled:t.disabled,tabindex:t.highlighted&&-1}},"md-list-item",t.$attrs,!1),t.listeners),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(412),a=r(s),l=n(415),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";function r(t){n(413)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(201),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(414),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"md-progress-bar",appear:""}},[n("div",{staticClass:"md-progress-bar",class:[t.progressClasses,t.$mdActiveTheme]},[n("div",{staticClass:"md-progress-bar-track",style:t.progressTrackStyle}),t._v(" "),n("div",{staticClass:"md-progress-bar-fill",style:t.progressValueStyle}),t._v(" "),n("div",{staticClass:"md-progress-bar-buffer",attrs:{Style:t.progressBufferStyle}})])])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(416)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(202),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(417),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"md-progress-spinner",appear:""}},[n("div",{staticClass:"md-progress-spinner",class:[t.progressClasses,t.$mdActiveTheme]},[n("svg",{ref:"md-progress-spinner-draw",staticClass:"md-progress-spinner-draw",attrs:{preserveAspectRatio:"xMidYMid meet",focusable:"false",viewBox:"0 0 "+t.mdDiameter+" "+t.mdDiameter}},[n("circle",{ref:"md-progress-spinner-circle",staticClass:"md-progress-spinner-circle",attrs:{cx:"50%",cy:"50%",r:t.circleRadius}})])])])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(419),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(420)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(203),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(421),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-radio",class:[t.$mdActiveTheme,t.radioClasses]},[n("div",{staticClass:"md-radio-container",on:{click:function(e){return e.stopPropagation(),t.toggleCheck.apply(null,arguments)}}},[n("md-ripple",{attrs:{"md-centered":"","md-active":t.rippleActive,"md-disabled":t.disabled},on:{"update:mdActive":function(e){t.rippleActive=e},"update:md-active":function(e){t.rippleActive=e}}},[n("input",t._b({attrs:{type:"radio"}},"input",{id:t.id,name:t.name,disabled:t.disabled,required:t.required,value:t.value,checked:t.isSelected},!1))])],1),t._v(" "),t.$slots.default?n("label",{staticClass:"md-radio-label",attrs:{for:t.id},on:{click:function(e){return e.preventDefault(),t.toggleCheck.apply(null,arguments)}}},[t._t("default")],2):t._e()])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(17),a=r(s),l=n(23),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(424),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(425)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(204),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(429),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(205),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(427),a=!0,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(t,e){var n=e._c;return n("transition",{attrs:{name:"md-snackbar",appear:""}},[n("div",{staticClass:"md-snackbar",class:e.props.mdClasses},[n("div",{staticClass:"md-snackbar-content"},[e._t("default")],2)])])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t,e,n){return new Promise((function(r){i={destroy:function(){i=null,r()}},t!==1/0&&(o=window.setTimeout((function(){s(),e||n._vnode.componentInstance.initDestroy(!0)}),t))}))}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=null,o=null,s=e.destroySnackbar=function(){return new Promise((function(t){i?(window.clearTimeout(o),i.destroy(),window.setTimeout(t,400)):t()}))},e.createSnackbar=function(t,e,n){return i?s().then((function(){return r(t,e,n)})):r(t,e,n)}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mdPersistent&&t.mdDuration!==1/0?n("md-portal",[n("keep-alive",[t.mdActive?n("md-snackbar-content",{attrs:{"md-classes":[t.snackbarClasses,t.$mdActiveTheme]}},[t._t("default")],2):t._e()],1)],1):n("md-portal",[t.mdActive?n("md-snackbar-content",{attrs:{"md-classes":[t.snackbarClasses,t.$mdActiveTheme]}},[t._t("default")],2):t._e()],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(431),a=r(s),l=n(434),c=r(l),u=n(437),d=r(u),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default)}},function(t,e,n){"use strict";function r(t){n(432)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(206),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(433),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-speed-dial",class:[t.$mdActiveTheme,t.speedDialClasses]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(435)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(207),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(436),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-button",t._g(t._b({staticClass:"md-speed-dial-target md-fab",on:{click:t.handleClick}},"md-button",t.$attrs,!1),t.$listeners),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(438)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(208),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(439),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"md-speed-dial-content"},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(441),a=r(s),l=n(451),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";function r(t){n(442)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(209),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(450),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(212),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(444),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),t._v(" "),n("path",{attrs:{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(213),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(446),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),t._v(" "),n("path",{attrs:{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(214),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(448),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}}),t._v(" "),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-button",t._g(t._b({staticClass:"md-stepper-header",class:t.classes,attrs:{disabled:t.shouldDisable},nativeOn:{click:function(e){!t.MdSteppers.syncRoute&&t.MdSteppers.setActiveStep(t.index)}}},"md-button",t.data.props,!1),t.data.events),[t.data.error?n("md-warning-icon",{staticClass:"md-stepper-icon"}):n("div",{staticClass:"md-stepper-number"},[t.data.done&&t.data.editable?n("md-edit-icon",{staticClass:"md-stepper-editable"}):t.data.done?n("md-check-icon",{staticClass:"md-stepper-done"}):[t._v(t._s(t.MdSteppers.getStepperNumber(t.index)))]],2),t._v(" "),n("div",{staticClass:"md-stepper-text"},[n("span",{staticClass:"md-stepper-label"},[t._v(t._s(t.data.label))]),t._v(" "),t.data.error?n("span",{staticClass:"md-stepper-error"},[t._v(t._s(t.data.error))]):t.data.description?n("span",{staticClass:"md-stepper-description"},[t._v(t._s(t.data.description))]):t._e()])],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-steppers",class:[t.steppersClasses,t.$mdActiveTheme]},[t.mdVertical?t._e():n("div",{staticClass:"md-steppers-navigation"},t._l(t.MdSteppers.items,(function(t,e){return n("md-step-header",{key:e,attrs:{index:e}})})),1),t._v(" "),n("div",{staticClass:"md-steppers-wrapper",style:t.contentStyles},[n("div",{staticClass:"md-steppers-container",style:t.containerStyles},[t._t("default")],2)])])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(452)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(215),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(453),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-stepper"},[t.MdSteppers.isVertical?n("md-step-header",{attrs:{index:t.id}}):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],class:["md-stepper-content",{"md-active":t.isActive}],attrs:{tabindex:t.tabIndex}},[t._t("default")],2)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(455),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(456)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(216),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(457),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.insideList?n("li",{staticClass:"md-subheader",class:[t.$mdActiveTheme]},[t._t("default")],2):n("div",{staticClass:"md-subheader",class:[t.$mdActiveTheme]},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(459),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(460)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(217),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(461),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-switch",class:[t.$mdActiveTheme,t.checkClasses]},[n("div",{staticClass:"md-switch-container",on:{click:function(e){return e.stopPropagation(),t.toggleCheck.apply(null,arguments)}}},[n("div",{staticClass:"md-switch-thumb"},[n("md-ripple",{attrs:{"md-centered":"","md-active":t.rippleActive,"md-disabled":t.disabled},on:{"update:mdActive":function(e){t.rippleActive=e},"update:md-active":function(e){t.rippleActive=e}}},[n("input",t._b({attrs:{id:t.id,type:"checkbox"}},"input",{id:t.id,name:t.name,disabled:t.disabled,required:t.required,value:t.value},!1))])],1)]),t._v(" "),t.$slots.default?n("label",{staticClass:"md-switch-label",attrs:{for:t.id},on:{click:function(e){return e.preventDefault(),t.toggleCheck.apply(null,arguments)}}},[t._t("default")],2):t._e()])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f,p,m,g,v,b,y;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(463),a=r(s),l=n(484),c=r(l),u=n(487),d=r(u),h=n(225),f=r(h),p=n(102),m=r(p),g=n(490),v=r(g),b=n(493),y=r(b),e.default=function(t){(0,o.default)(t),t.component("MdTable",a.default),t.component(c.default.name,c.default),t.component(d.default.name,d.default),t.component(f.default.name,f.default),t.component(m.default.name,m.default),t.component(v.default.name,v.default),t.component(y.default.name,y.default)}},function(t,e,n){"use strict";function r(t,e){function n(t){var e=t.componentOptions;return e&&e.tag}var r=["md-table-toolbar","md-table-empty-state","md-table-pagination"],i=Array.from(t),o={};return i.forEach((function(t,e){if(t&&t.tag){var s=n(t);s&&r.includes(s)&&(t.data.slot=s,t.data.attrs=t.data.attrs||{},o[s]=function(){return t},i.splice(e,1))}})),{childNodes:i,slots:o}}var i,o,s;Object.defineProperty(e,"__esModule",{value:!0}),i=Object.assign||function(t){var e,n,r;for(e=1;e<arguments.length;e++)for(r in n=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t},o=n(464),s=function(t){return t&&t.__esModule?t:{default:t}}(o),e.default={name:"MdTableContainer",functional:!0,render:function(t,e){var n,o,a,l=e.data,c=e.props,u=e.children,d=[],h=l.scopedSlots;return u&&(o=(n=r(u,t)).childNodes,a=n.slots,d=o,h=i({},h,a)),t(s.default,i({},l,{props:c,scopedSlots:h}),[d])}}},function(t,e,n){"use strict";function r(t){n(465)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(218),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(483),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(219),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=null,a=!1,l=null,c=null,u=null,d=n(0)(i.a,s,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(220),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(474),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e){},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(222),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(470),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this;return t.$createElement,t._self._c,t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-icon",{staticClass:"md-icon-image"},[n("svg",{attrs:{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),t._v(" "),n("path",{attrs:{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("th",{staticClass:"md-table-head",class:t.headClasses,style:t.headStyles,attrs:{id:t.id},on:{click:t.changeSort}},[t.$slots.default?n("div",{staticClass:"md-table-head-container"},[n("div",{staticClass:"md-table-head-label"},[t._t("default")],2)]):n("md-ripple",{staticClass:"md-table-head-container",attrs:{"md-disabled":!t.hasSort}},[n("div",{staticClass:"md-table-head-label"},[t.hasSort?n("md-upward-icon",{staticClass:"md-table-sortable-icon"},[t._v("arrow_upward")]):t._e(),t._v("\n\n      "+t._s(t.label)+"\n\n      "),t.tooltip?n("md-tooltip",[t._v(t._s(t.tooltip))]):t._e()],1)])],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(223),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(473),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.selectableCount?n("md-table-head",{staticClass:"md-table-cell-selection"},[n("div",{staticClass:"md-table-cell-container"},[n("md-checkbox",{attrs:{model:t.allSelected,disabled:t.isDisabled},on:{change:t.onChange}})],1)]):t._e()},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("md-table-head-selection"),t._v(" "),t._l(t.MdTable.items,(function(e,r){return n("md-table-head",t._b({key:r},"md-table-head",e,!1))}))],2)])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(476)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(224),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(477),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"md-table-alternate-header"}},[n("div",{staticClass:"md-table-alternate-header"},[t._t("default")],2)])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e){},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.mdSelectable?n("td",{staticClass:"md-table-cell md-table-cell-selection"},[n("div",{staticClass:"md-table-cell-container"},[n("md-checkbox",{attrs:{disabled:!t.mdSelectable||t.mdDisabled},on:{change:t.onChange},model:{value:t.isSelected,callback:function(e){t.isSelected=e},expression:"isSelected"}})],1)]):t._e()},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",t._g({staticClass:"md-table-row",class:t.rowClasses,on:{click:t.onClick}},t.$listeners),[t.selectableCount?n("md-table-cell-selection",{attrs:{value:t.isMultipleSelected,"md-disabled":t.mdDisabled,"md-selectable":"multiple"===t.mdSelectable,"md-row-id":t.mdIndex},on:{input:function(e){return e?t.addSelection():t.removeSelection()}}}):t._e(),t._v(" "),t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(229),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=null,a=!1,l=null,c=null,u=null,d=n(0)(i.a,s,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-tag-switcher",{staticClass:"md-table",attrs:{"md-tag":t.contentTag}},[t._t("md-table-toolbar"),t._v(" "),n("keep-alive",[t.$scopedSlots["md-table-alternate-header"]&&t.selectedCount?n("md-table-alternate-header",[t._t("md-table-alternate-header",null,{count:t.selectedCount})],2):t._e()],1),t._v(" "),t.mdFixedHeader?n("div",{staticClass:"md-table-fixed-header",class:t.headerClasses,style:t.headerStyles},[n("div",{ref:"fixedHeaderContainer",staticClass:"md-table-fixed-header-container",on:{scroll:t.setHeaderScroll}},[n("table",{style:t.fixedHeaderTableStyles},[n("md-table-thead")],1)])]):t._e(),t._v(" "),n("md-content",{staticClass:"md-table-content md-scrollbar",class:t.contentClasses,style:t.contentStyles,on:{scroll:t.setScroll}},[n("table",{ref:"contentTable"},[!t.mdFixedHeader&&t.$scopedSlots["md-table-row"]?n("md-table-thead",{class:t.headerClasses}):t._e(),t._v(" "),t.$scopedSlots["md-table-row"]?t.value.length?n("tbody",t._l(t.value,(function(e,r){return n("md-table-row-ghost",{key:t.getRowId(e,t.mdModelId),attrs:{"md-id":t.getRowId(e,t.mdModelId),"md-index":r,"md-item":e}},[t._t("md-table-row",null,{item:e,index:r})],2)})),1):t.$scopedSlots["md-table-empty-state"]?n("tbody",[n("tr",[n("td",{attrs:{colspan:t.headerCount}},[t._t("md-table-empty-state")],2)])]):t._e():n("tbody",[t._t("default")],2)],1),t._v(" "),t._t("md-table-pagination")],2),t._v(" "),!t.hasValue&&t.$scopedSlots["md-table-pagination"]?t._t("default"):t._e()],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(485)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(230),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(486),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-toolbar",{staticClass:"md-table-toolbar md-transparent",attrs:{"md-elevation":0}},[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(488)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(233),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(489),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("md-empty-state",t._b({staticClass:"md-table-empty-state"},"md-empty-state",t.$props,!1),[t._t("default")],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(491)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(234),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(492),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("td",{staticClass:"md-table-cell",class:t.cellClasses},[n("div",{staticClass:"md-table-cell-container"},[t._t("default")],2)])},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){n(494)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(235),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(495),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-table-pagination"},[!1!==t.mdPageOptions?[n("span",{staticClass:"md-table-pagination-label"},[t._v(t._s(t.mdLabel))]),t._v(" "),n("md-field",[n("md-select",{attrs:{"md-dense":"","md-class":"md-pagination-select"},model:{value:t.currentPageSize,callback:function(e){t.currentPageSize=e},expression:"currentPageSize"}},t._l(t.mdPageOptions,(function(e){return n("md-option",{key:e,attrs:{value:e}},[t._v(t._s(e))])})),1)],1)]:t._e(),t._v(" "),n("span",[t._v(t._s((t.mdPage-1)*t.currentPageSize+1)+"–"+t._s(Math.min(t.mdPage*t.currentPageSize,t.mdCount))+" "+t._s(t.mdSeparator)+" "+t._s(t.mdCount))]),t._v(" "),n("md-button",{staticClass:"md-icon-button md-table-pagination-previous",attrs:{disabled:1===t.mdPage},on:{click:function(e){return t.changePage(-1)}}},[n("md-icon",[t._v("keyboard_arrow_left")])],1),t._v(" "),n("md-button",{staticClass:"md-icon-button md-table-pagination-next",attrs:{disabled:t.mdPage===t.pageCount},on:{click:function(e){return t.changePage(1)}}},[n("md-icon",[t._v("keyboard_arrow_right")])],1)],2)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(497),a=r(s),l=n(500),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";function r(t){n(498)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(236),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(499),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"md-tabs",class:[t.tabsClasses,t.$mdActiveTheme]},[n("div",{ref:"navigation",staticClass:"md-tabs-navigation",class:t.navigationClasses},[t._l(t.orderedItems,(function(e,r){var i=e.id,o=e.label,s=e.props,a=e.icon,l=e.disabled,c=e.data,u=e.events;return n("md-button",t._g(t._b({key:r,staticClass:"md-tab-nav-button",class:{"md-active":!t.mdSyncRoute&&t.isActiveTabId(i),"md-icon-label":a&&o},attrs:{disabled:l},nativeOn:{click:function(e){return t.setActiveTab(i)}}},"md-button",s,!1),u),[t.$scopedSlots["md-tab"]?t._t("md-tab",null,{tab:{label:o,icon:a,data:c}}):[a?[t.isAssetIcon(a)?n("md-icon",{staticClass:"md-tab-icon",attrs:{"md-src":a}}):n("md-icon",{staticClass:"md-tab-icon"},[t._v(t._s(a))]),t._v(" "),n("span",{staticClass:"md-tab-label"},[t._v(t._s(o))])]:[t._v(t._s(o))]]],2)})),t._v(" "),n("span",{ref:"indicator",staticClass:"md-tabs-indicator",class:t.indicatorClass,style:t.indicatorStyles})],2),t._v(" "),n("md-content",{directives:[{name:"show",rawName:"v-show",value:t.hasContent,expression:"hasContent"}],ref:"tabsContent",staticClass:"md-tabs-content",style:t.contentStyles},[n("div",{ref:"tabsContainer",staticClass:"md-tabs-container",style:t.containerStyles},[t._t("default")],2)])],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(237),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=null,a=!1,l=null,c=null,u=null,d=n(0)(i.a,s,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(112),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(503),a=r(s),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default)}},function(t,e,n){"use strict";function r(t){n(504)}var i,o,s,a,l,c,u,d,h;for(s in Object.defineProperty(e,"__esModule",{value:!0}),i=n(238),o=n.n(i),i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);a=n(505),l=!1,c=r,u=null,d=null,h=n(0)(o.a,a.a,l,c,u,d),e.default=h.exports},function(t,e){},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-popover",{attrs:{"md-settings":t.popperSettings,"md-active":t.shouldRender}},[t.shouldRender?n("transition",{attrs:{name:"md-tooltip"}},[n("div",{staticClass:"md-tooltip",class:[t.tooltipClasses,t.$mdActiveTheme],style:t.tooltipStyles},[t._t("default")],2)]):t._e()],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdDialogAlert",props:{mdTitle:String,mdContent:String,mdConfirmText:{type:String,default:"Ok"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdDialogConfirm",props:{mdTitle:String,mdContent:String,mdConfirmText:{type:String,default:"Ok"},mdCancelText:{type:String,default:"Cancel"}},methods:{onCancel:function(){this.$emit("md-cancel"),this.$emit("update:mdActive",!1)},onConfirm:function(){this.$emit("md-confirm"),this.$emit("update:mdActive",!1)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"MdDialogPrompt",props:{value:{},mdTitle:String,mdInputName:String,mdInputId:String,mdInputMaxlength:[String,Number],mdInputPlaceholder:[String,Number],mdContent:String,mdConfirmText:{type:String,default:"Ok"},mdCancelText:{type:String,default:"Cancel"}},data:function(){return{inputValue:null}},watch:{value:function(){this.inputValue=this.value}},methods:{onCancel:function(){this.$emit("md-cancel"),this.$emit("update:mdActive",!1)},onConfirm:function(){this.$emit("input",this.inputValue),this.$emit("md-confirm",this.inputValue),this.$emit("update:mdActive",!1)},setInputFocus:function(){var t=this;window.setTimeout((function(){t.$refs.input.$el.focus()}),50)}},created:function(){this.inputValue=this.value}}},function(t,e,n){t.exports=n(510)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c,u,d,h,f,p,m,g,v,b,y,x,w,k,_,S,O,M,C,A,T,E,D,P,j,L,I,N,R,$,B,F,z;Object.defineProperty(e,"__esModule",{value:!0}),e.MdTooltip=e.MdToolbar=e.MdTabs=e.MdTable=e.MdSwitch=e.MdSubheader=e.MdSteppers=e.MdSpeedDial=e.MdSnackbar=e.MdRipple=e.MdRadio=e.MdProgress=e.MdMenu=e.MdList=e.MdLayout=e.MdImage=e.MdIcon=e.MdHighlightText=e.MdField=e.MdEmptyState=e.MdElevation=e.MdDrawer=e.MdDivider=e.MdDialogPrompt=e.MdDialogConfirm=e.MdDialogAlert=e.MdDialog=e.MdDatepicker=e.MdContent=e.MdChips=e.MdCheckbox=e.MdCard=e.MdButton=e.MdBottomBar=e.MdAvatar=e.MdAutocomplete=e.MdApp=e.MdBadge=void 0,i=r(n(239)),o=r(n(258)),s=r(n(265)),a=r(n(271)),l=r(n(275)),c=r(n(281)),u=r(n(282)),d=r(n(317)),h=r(n(321)),f=r(n(328)),p=r(n(329)),m=r(n(357)),g=r(n(511)),v=r(n(514)),b=r(n(517)),y=r(n(367)),x=r(n(371)),w=r(n(375)),k=r(n(377)),_=r(n(378)),S=r(n(398)),O=r(n(107)),M=r(n(401)),C=r(n(405)),A=r(n(407)),T=r(n(408)),E=r(n(411)),D=r(n(418)),P=r(n(422)),j=r(n(423)),L=r(n(430)),I=r(n(440)),N=r(n(454)),R=r(n(458)),$=r(n(462)),B=r(n(496)),F=r(n(501)),z=r(n(502)),e.MdBadge=o.default,e.MdApp=i.default,e.MdAutocomplete=s.default,e.MdAvatar=a.default,e.MdBottomBar=l.default,e.MdButton=c.default,e.MdCard=u.default,e.MdCheckbox=d.default,e.MdChips=h.default,e.MdContent=f.default,e.MdDatepicker=p.default,e.MdDialog=m.default,e.MdDialogAlert=g.default,e.MdDialogConfirm=v.default,e.MdDialogPrompt=b.default,e.MdDivider=y.default,e.MdDrawer=x.default,e.MdElevation=w.default,e.MdEmptyState=k.default,e.MdField=_.default,e.MdHighlightText=S.default,e.MdIcon=O.default,e.MdImage=M.default,e.MdLayout=C.default,e.MdList=A.default,e.MdMenu=T.default,e.MdProgress=E.default,e.MdRadio=D.default,e.MdRipple=P.default,e.MdSnackbar=j.default,e.MdSpeedDial=L.default,e.MdSteppers=I.default,e.MdSubheader=N.default,e.MdSwitch=R.default,e.MdTable=$.default,e.MdTabs=B.default,e.MdToolbar=F.default,e.MdTooltip=z.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(70),a=r(s),l=n(512),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(506),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(513),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-dialog",t._g(t._b({attrs:{"md-fullscreen":!1}},"md-dialog",t.$attrs,!1),t.$listeners),[t.mdTitle?n("md-dialog-title",[t._v(t._s(t.mdTitle))]):t._e(),t._v(" "),t.mdContent?n("md-dialog-content",{domProps:{innerHTML:t._s(t.mdContent)}}):t._e(),t._v(" "),n("md-dialog-actions",[n("md-button",{staticClass:"md-primary",on:{click:function(e){return t.$emit("update:mdActive",!1)}}},[t._v(t._s(t.mdConfirmText))])],1)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(70),a=r(s),l=n(515),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(507),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(516),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-dialog",t._g(t._b({attrs:{"md-fullscreen":!1}},"md-dialog",t.$attrs,!1),t.$listeners),[t.mdTitle?n("md-dialog-title",[t._v(t._s(t.mdTitle))]):t._e(),t._v(" "),t.mdContent?n("md-dialog-content",{domProps:{innerHTML:t._s(t.mdContent)}}):t._e(),t._v(" "),n("md-dialog-actions",[n("md-button",{on:{click:t.onCancel}},[t._v(t._s(t.mdCancelText))]),t._v(" "),n("md-button",{staticClass:"md-primary",on:{click:t.onConfirm}},[t._v(t._s(t.mdConfirmText))])],1)],1)},i={render:r,staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i,o,s,a,l,c;Object.defineProperty(e,"__esModule",{value:!0}),i=n(3),o=r(i),s=n(70),a=r(s),l=n(518),c=r(l),e.default=function(t){(0,o.default)(t),t.component(a.default.name,a.default),t.component(c.default.name,c.default)}},function(t,e,n){"use strict";var r,i,o,s,a,l,c,u,d;for(o in Object.defineProperty(e,"__esModule",{value:!0}),r=n(508),i=n.n(r),r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);s=n(519),a=!1,l=null,c=null,u=null,d=n(0)(i.a,s.a,a,l,c,u),e.default=d.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("md-dialog",t._b({attrs:{"md-fullscreen":!1},on:{"md-opened":t.setInputFocus}},"md-dialog",t.$attrs,!1),[t.mdTitle?n("md-dialog-title",[t._v(t._s(t.mdTitle))]):t._e(),t._v(" "),t.mdContent?n("md-dialog-content",{domProps:{innerHTML:t._s(t.mdContent)}}):t._e(),t._v(" "),n("md-dialog-content",[n("md-field",[n("md-input",{ref:"input",attrs:{id:t.mdInputId,name:t.mdInputName,maxlength:t.mdInputMaxlength,placeholder:t.mdInputPlaceholder},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onConfirm.apply(null,arguments)}},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1)],1),t._v(" "),n("md-dialog-actions",[n("md-button",{staticClass:"md-primary",on:{click:t.onCancel}},[t._v(t._s(t.mdCancelText))]),t._v(" "),n("md-button",{staticClass:"md-primary",on:{click:t.onConfirm}},[t._v(t._s(t.mdConfirmText))])],1)],1)},i={render:r,staticRenderFns:[]};e.a=i}]))},68717:(t,e,n)=>{"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}n.d(e,{Ay:()=>Gt});var i=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},s=/%2C/g,a=function(t){return encodeURIComponent(t).replace(i,o).replace(s,",")};function l(t){try{return decodeURIComponent(t)}catch(t){0}return t}var c=function(t){return null==t||"object"==typeof t?t:String(t)};function u(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=l(n.shift()),i=n.length>0?l(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),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 r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(a(e)):r.push(a(e)+"="+a(t)))})),r.join("&")}return a(e)+"="+a(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var h=/\/?$/;function f(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=p(o)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:v(e,i),matched:t?g(t):[]};return n&&(s.redirectedFrom=v(n,i)),Object.freeze(s)}function p(t){if(Array.isArray(t))return t.map(p);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=p(t[n]);return e}return t}var m=f(null,{path:"/"});function g(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function v(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||d)(r)+i}function b(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(h,"")===e.path.replace(h,"")&&(n||t.hash===e.hash&&y(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&y(t.query,e.query)&&y(t.params,e.params))))}function y(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var o=t[n];if(r[i]!==n)return!1;var s=e[n];return null==o||null==s?o===s:"object"==typeof o&&"object"==typeof s?y(o,s):String(o)===String(s)}))}function x(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var i=n.instances[r],o=n.enteredCbs[r];if(i&&o){delete n.enteredCbs[r];for(var s=0;s<o.length;s++)i._isBeingDestroyed||o[s](i)}}}}var w={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,s=e.data;s.routerView=!0;for(var a=o.$createElement,l=n.name,c=o.$route,u=o._routerViewCache||(o._routerViewCache={}),d=0,h=!1;o&&o._routerRoot!==o;){var f=o.$vnode?o.$vnode.data:{};f.routerView&&d++,f.keepAlive&&o._directInactive&&o._inactive&&(h=!0),o=o.$parent}if(s.routerViewDepth=d,h){var p=u[l],m=p&&p.component;return m?(p.configProps&&k(m,s,p.route,p.configProps),a(m,s,i)):a()}var g=c.matched[d],v=g&&g.components[l];if(!g||!v)return u[l]=null,a();u[l]={component:v},s.registerRouteInstance=function(t,e){var n=g.instances[l];(e&&n!==t||!e&&n===t)&&(g.instances[l]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){g.instances[l]=e.componentInstance},s.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[l]&&(g.instances[l]=t.componentInstance),x(c)};var b=g.props&&g.props[l];return b&&(r(u[l],{route:c,configProps:b}),k(v,s,c,b)),a(v,s,i)}};function k(t,e,n,i){var o=e.props=function(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}}(n,i);if(o){o=e.props=r({},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 _(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?i.pop():"."!==a&&i.push(a)}return""!==i[0]&&i.unshift(""),i.join("/")}function S(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var O=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},M=F,C=P,A=function(t,e){return L(P(t,e),e)},T=L,E=B,D=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function P(t,e){for(var n,r=[],i=0,o=0,s="",a=e&&e.delimiter||"/";null!=(n=D.exec(t));){var l=n[0],c=n[1],u=n.index;if(s+=t.slice(o,u),o=u+l.length,c)s+=c[1];else{var d=t[o],h=n[2],f=n[3],p=n[4],m=n[5],g=n[6],v=n[7];s&&(r.push(s),s="");var b=null!=h&&null!=d&&d!==h,y="+"===g||"*"===g,x="?"===g||"*"===g,w=n[2]||a,k=p||m;r.push({name:f||i++,prefix:h||"",delimiter:w,optional:x,repeat:y,partial:b,asterisk:!!v,pattern:k?N(k):v?".*":"[^"+I(w)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&r.push(s),r}function j(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function L(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",$(e)));return function(e,r){for(var i="",o=e||{},s=(r||{}).pretty?j:encodeURIComponent,a=0;a<t.length;a++){var l=t[a];if("string"!=typeof l){var c,u=o[l.name];if(null==u){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(O(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(c=s(u[d]),!n[a].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");i+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):s(u),!n[a].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');i+=l.prefix+c}}else i+=l}return i}}function I(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function N(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function R(t,e){return t.keys=e,t}function $(t){return t&&t.sensitive?"":"i"}function B(t,e,n){O(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",s=0;s<t.length;s++){var a=t[s];if("string"==typeof a)o+=I(a);else{var l=I(a.prefix),c="(?:"+a.pattern+")";e.push(a),a.repeat&&(c+="(?:"+l+c+")*"),o+=c=a.optional?a.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=I(n.delimiter||"/"),d=o.slice(-u.length)===u;return r||(o=(d?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=i?"$":r&&d?"":"(?="+u+"|$)",R(new RegExp("^"+o,$(n)),e)}function F(t,e,n){return O(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return R(t,e)}(t,e):O(t)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(F(t[i],e,n).source);return R(new RegExp("(?:"+r.join("|")+")",$(n)),e)}(t,e,n):function(t,e,n){return B(P(t,n),e,n)}(t,e,n)}M.parse=C,M.compile=A,M.tokensToFunction=T,M.tokensToRegExp=E;var z=Object.create(null);function H(t,e,n){e=e||{};try{var r=z[t]||(z[t]=M.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function Y(t,e,n,i){var o="string"==typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){var s=(o=r({},t)).params;return s&&"object"==typeof s&&(o.params=r({},s)),o}if(!o.path&&o.params&&e){(o=r({},o))._normalized=!0;var a=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=a;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;o.path=H(l,a,e.path)}else 0;return o}var d=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(o.path||""),h=e&&e.path||"/",f=d.path?_(d.path,h,n||o.append):h,p=function(t,e,n){void 0===e&&(e={});var r,i=n||u;try{r=i(t||"")}catch(t){r={}}for(var o in e){var s=e[o];r[o]=Array.isArray(s)?s.map(c):c(s)}return r}(d.query,o.query,i&&i.options.parseQuery),m=o.hash||d.hash;return m&&"#"!==m.charAt(0)&&(m="#"+m),{_normalized:!0,path:f,query:p,hash:m}}var W,V=function(){},U={name:"RouterLink",props:{to:{type:[String,Object],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:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),s=o.location,a=o.route,l=o.href,c={},u=n.options.linkActiveClass,d=n.options.linkExactActiveClass,p=null==u?"router-link-active":u,m=null==d?"router-link-exact-active":d,g=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?m:this.exactActiveClass,y=a.redirectedFrom?f(null,Y(a.redirectedFrom),null,n):a;c[v]=b(i,y,this.exactPath),c[g]=this.exact||this.exactPath?c[v]:function(t,e){return 0===t.path.replace(h,"/").indexOf(e.path.replace(h,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,y);var x=c[v]?this.ariaCurrentValue:null,w=function(t){G(t)&&(e.replace?n.replace(s,V):n.push(s,V))},k={click:G};Array.isArray(this.event)?this.event.forEach((function(t){k[t]=w})):k[this.event]=w;var _={class:c},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:a,navigate:w,isActive:c[g],isExactActive:c[v]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)_.on=k,_.attrs={href:l,"aria-current":x};else{var O=X(this.$slots.default);if(O){O.isStatic=!1;var M=O.data=r({},O.data);for(var C in M.on=M.on||{},M.on){var A=M.on[C];C in k&&(M.on[C]=Array.isArray(A)?A:[A])}for(var T in k)T in M.on?M.on[T].push(k[T]):M.on[T]=w;var E=O.data.attrs=r({},O.data.attrs);E.href=l,E["aria-current"]=x}else _.on=k}return t(this.tag,_,this.$slots.default)}};function G(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 X(t){if(t)for(var e,n=0;n<t.length;n++){if("a"===(e=t[n]).tag)return e;if(e.children&&(e=X(e.children)))return e}}var q="undefined"!=typeof window;function K(t,e,n,r,i){var o=e||[],s=n||Object.create(null),a=r||Object.create(null);t.forEach((function(t){J(o,s,a,t,i)}));for(var l=0,c=o.length;l<c;l++)"*"===o[l]&&(o.push(o.splice(l,1)[0]),c--,l--);return{pathList:o,pathMap:s,nameMap:a}}function J(t,e,n,r,i,o){var s=r.path,a=r.name;var l=r.pathToRegexpOptions||{},c=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return S(e.path+"/"+t)}(s,i,l.strict);"boolean"==typeof r.caseSensitive&&(l.sensitive=r.caseSensitive);var u={path:c,regex:Z(c,l),components:r.components||{default:r.component},alias:r.alias?"string"==typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:a,parent:i,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach((function(r){var i=o?S(o+"/"+r.path):void 0;J(t,e,n,r,u,i)})),e[u.path]||(t.push(u.path),e[u.path]=u),void 0!==r.alias)for(var d=Array.isArray(r.alias)?r.alias:[r.alias],h=0;h<d.length;++h){0;var f={path:d[h],children:r.children};J(t,e,n,f,i,u.path||"/")}a&&(n[a]||(n[a]=u))}function Z(t,e){return M(t,[],e)}function Q(t,e){var n=K(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function s(t,n,s){var a=Y(t,n,!1,e),c=a.name;if(c){var u=o[c];if(!u)return l(null,a);var d=u.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)&&d.indexOf(h)>-1&&(a.params[h]=n.params[h]);return a.path=H(u.path,a.params),l(u,a,s)}if(a.path){a.params={};for(var f=0;f<r.length;f++){var p=r[f],m=i[p];if(tt(m.regex,a.path,a.params))return l(m,a,s)}}return l(null,a)}function a(t,n){var r=t.redirect,i="function"==typeof r?r(f(t,n,null,e)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return l(null,n);var a=i,c=a.name,u=a.path,d=n.query,h=n.hash,p=n.params;if(d=a.hasOwnProperty("query")?a.query:d,h=a.hasOwnProperty("hash")?a.hash:h,p=a.hasOwnProperty("params")?a.params:p,c){o[c];return s({_normalized:!0,name:c,query:d,hash:h,params:p},void 0,n)}if(u){var m=function(t,e){return _(t,e.parent?e.parent.path:"/",!0)}(u,t);return s({_normalized:!0,path:H(m,p),query:d,hash:h},void 0,n)}return l(null,n)}function l(t,n,r){return t&&t.redirect?a(t,r||n):t&&t.matchAs?function(t,e,n){var r=s({_normalized:!0,path:H(n,e.params)});if(r){var i=r.matched,o=i[i.length-1];return e.params=r.params,l(o,e)}return l(null,e)}(0,n,t.matchAs):f(t,n,r,e)}return{match:s,addRoute:function(t,e){var n="object"!=typeof t?o[t]:void 0;K([e||t],r,i,o,n),n&&n.alias.length&&K(n.alias.map((function(t){return{path:t,children:[e]}})),r,i,o,n)},getRoutes:function(){return r.map((function(t){return i[t]}))},addRoutes:function(t){K(t,r,i,o)}}}function tt(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var s=t.keys[i-1];s&&(n[s.name||"pathMatch"]="string"==typeof r[i]?l(r[i]):r[i])}return!0}var et=q&&window.performance&&window.performance.now?window.performance:Date;function nt(){return et.now().toFixed(3)}var rt=nt();function it(){return rt}function ot(t){return rt=t}var st=Object.create(null);function at(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=it(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ut),function(){window.removeEventListener("popstate",ut)}}function lt(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=function(){var t=it();if(t)return st[t]}(),s=i.call(t,e,n,r?o:null);s&&("function"==typeof s.then?s.then((function(t){mt(t,o)})).catch((function(t){0})):mt(s,o))}))}}function ct(){var t=it();t&&(st[t]={x:window.pageXOffset,y:window.pageYOffset})}function ut(t){ct(),t.state&&t.state.key&&ot(t.state.key)}function dt(t){return ft(t.x)||ft(t.y)}function ht(t){return{x:ft(t.x)?t.x:window.pageXOffset,y:ft(t.y)?t.y:window.pageYOffset}}function ft(t){return"number"==typeof t}var pt=/^#\d/;function mt(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var i=pt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(i,o={x:ft((n=o).x)?n.x:0,y:ft(n.y)?n.y:0})}else dt(t)&&(e=ht(t))}else r&&dt(t)&&(e=ht(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 gt,vt=q&&((-1===(gt=window.navigator.userAgent).indexOf("Android 2.")&&-1===gt.indexOf("Android 4.0")||-1===gt.indexOf("Mobile Safari")||-1!==gt.indexOf("Chrome")||-1!==gt.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function bt(t,e){ct();var n=window.history;try{if(e){var i=r({},n.state);i.key=it(),n.replaceState(i,"",t)}else n.pushState({key:ot(nt())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function yt(t){bt(t,!0)}var xt={redirected:2,aborted:4,cancelled:8,duplicated:16};function wt(t,e){return _t(t,e,xt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return St.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function kt(t,e){return _t(t,e,xt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function _t(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var St=["params","query","hash"];function Ot(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Mt(t,e){return Ot(t)&&t._isRouter&&(null==e||t.type===e)}function Ct(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}function At(t){return function(e,n,r){var i=!1,o=0,s=null;Tt(t,(function(t,e,n,a){if("function"==typeof t&&void 0===t.cid){i=!0,o++;var l,c=Pt((function(e){var i;((i=e).__esModule||Dt&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:W.extend(e),n.components[a]=e,--o<=0&&r()})),u=Pt((function(t){var e="Failed to resolve async component "+a+": "+t;s||(s=Ot(t)?t:new Error(e),r(s))}));try{l=t(c,u)}catch(t){u(t)}if(l)if("function"==typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,u)}}})),i||r()}}function Tt(t,e){return Et(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Et(t){return Array.prototype.concat.apply([],t)}var Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Pt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var jt=function(t,e){this.router=t,this.base=function(t){if(!t)if(q){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Lt(t,e,n,r){var i=Tt(t,(function(t,r,i,o){var s=function(t,e){"function"!=typeof t&&(t=W.extend(t));return t.options[e]}(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,r,i,o)})):n(s,r,i,o)}));return Et(r?i.reverse():i)}function It(t,e){if(e)return function(){return t.apply(e,arguments)}}jt.prototype.listen=function(t){this.cb=t},jt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},jt.prototype.onError=function(t){this.errorCbs.push(t)},jt.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var o=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(Mt(t,xt.redirected)&&o===m||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},jt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var o,s,a=function(t){!Mt(t)&&Ot(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},l=t.matched.length-1,c=i.matched.length-1;if(b(t,i)&&l===c&&t.matched[l]===i.matched[c])return this.ensureURL(),t.hash&&lt(this.router,i,t,!1),a(((s=_t(o=i,t,xt.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",s));var u=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),d=u.updated,h=u.deactivated,f=u.activated,p=[].concat(function(t){return Lt(t,"beforeRouteLeave",It,!0)}(h),this.router.beforeHooks,function(t){return Lt(t,"beforeRouteUpdate",It)}(d),f.map((function(t){return t.beforeEnter})),At(f)),m=function(e,n){if(r.pending!==t)return a(kt(i,t));try{e(t,i,(function(e){!1===e?(r.ensureURL(!0),a(function(t,e){return _t(t,e,xt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(i,t))):Ot(e)?(r.ensureURL(!0),a(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(a(wt(i,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(t){a(t)}};Ct(p,m,(function(){var n=function(t){return Lt(t,"beforeRouteEnter",(function(t,e,n,r){return function(t,e,n){return function(r,i,o){return t(r,i,(function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}(t,n,r)}))}(f);Ct(n.concat(r.router.resolveHooks),m,(function(){if(r.pending!==t)return a(kt(i,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){x(t)}))}))}))},jt.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},jt.prototype.setupListeners=function(){},jt.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var Nt=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Rt(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,r=vt&&n;r&&this.listeners.push(at());var i=function(){var n=t.current,i=Rt(t.base);t.current===m&&i===t._startLocation||t.transitionTo(i,(function(t){r&&lt(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){bt(S(r.base+t.fullPath)),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){yt(S(r.base+t.fullPath)),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Rt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?bt(e):yt(e)}},e.prototype.getCurrentLocation=function(){return Rt(this.base)},e}(jt);function Rt(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(S(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var $t=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Rt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Bt()}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.options.scrollBehavior,n=vt&&e;n&&this.listeners.push(at());var r=function(){var e=t.current;Bt()&&t.transitionTo(Ft(),(function(r){n&&lt(t.router,r,e,!0),vt||Yt(r.fullPath)}))},i=vt?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Ht(t.fullPath),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Yt(t.fullPath),lt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ft()!==e&&(t?Ht(e):Yt(e))},e.prototype.getCurrentLocation=function(){return Ft()},e}(jt);function Bt(){var t=Ft();return"/"===t.charAt(0)||(Yt("/"+t),!1)}function Ft(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function zt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ht(t){vt?bt(zt(t)):window.location.hash=t}function Yt(t){vt?yt(zt(t)):window.location.replace(zt(t))}var Wt=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 r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.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 r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Mt(t,xt.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}(jt),Vt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Q(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!vt&&!1!==t.fallback,this.fallback&&(e="hash"),q||(e="abstract"),this.mode=e,e){case"history":this.history=new Nt(this,t.base);break;case"hash":this.history=new $t(this,t.base,this.fallback);break;case"abstract":this.history=new Wt(this,t.base)}},Ut={currentRoute:{configurable:!0}};Vt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ut.currentRoute.get=function(){return this.history&&this.history.current},Vt.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 Nt||n instanceof $t){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;vt&&i&&"fullPath"in t&&lt(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Vt.prototype.beforeEach=function(t){return Xt(this.beforeHooks,t)},Vt.prototype.beforeResolve=function(t){return Xt(this.resolveHooks,t)},Vt.prototype.afterEach=function(t){return Xt(this.afterHooks,t)},Vt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Vt.prototype.onError=function(t){this.history.onError(t)},Vt.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Vt.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Vt.prototype.go=function(t){this.history.go(t)},Vt.prototype.back=function(){this.go(-1)},Vt.prototype.forward=function(){this.go(1)},Vt.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]}))}))):[]},Vt.prototype.resolve=function(t,e,n){var r=Y(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,s=function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,o,this.mode);return{location:r,route:i,href:s,normalizedTo:r,resolved:i}},Vt.prototype.getRoutes=function(){return this.matcher.getRoutes()},Vt.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Vt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Vt.prototype,Ut);var Gt=Vt;function Xt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Vt.install=function t(e){if(!t.installed||W!==e){t.installed=!0,W=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",w),e.component("RouterLink",U);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Vt.version="3.6.5",Vt.isNavigationFailure=Mt,Vt.NavigationFailureType=xt,Vt.START_LOCATION=m,q&&window.Vue&&window.Vue.use(Vt)},43131:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>b});const r={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(t){this.autoscroll&&t&&this.$nextTick((()=>this.maybeAdjustScroll()))}},methods:{maybeAdjustScroll(){const t=this.$refs.dropdownMenu?.children[this.typeAheadPointer]||!1;if(t){const e=this.getDropdownViewport(),{top:n,bottom:r,height:i}=t.getBoundingClientRect();if(n<e.top)return this.$refs.dropdownMenu.scrollTop=t.offsetTop;if(r>e.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(e.height-i)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},i={data:()=>({typeAheadPointer:-1}),watch:{filteredOptions(){for(let t=0;t<this.filteredOptions.length;t++)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},open(t){t&&this.typeAheadToLastSelected()},selectedValue(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp(){for(let t=this.typeAheadPointer-1;t>=0;t--)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},typeAheadDown(){for(let t=this.typeAheadPointer+1;t<this.filteredOptions.length;t++)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},typeAheadSelect(){const t=this.filteredOptions[this.typeAheadPointer];t&&this.selectable(t)&&this.select(t)},typeAheadToLastSelected(){const t=0!==this.selectedValue.length?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1;-1!==t&&(this.typeAheadPointer=t)}}},o={props:{loading:{type:Boolean,default:!1}},data:()=>({mutableLoading:!1}),watch:{search(){this.$emit("search",this.search,this.toggleLoading)},loading(t){this.mutableLoading=t}},methods:{toggleLoading(t=null){return this.mutableLoading=null==t?!this.mutableLoading:t}}};var s=n(14486);const a={Deselect:(0,s.A)({},(function(){var t=this._self._c;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[t("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])}),[],!1,null,null,null).exports,OpenIndicator:(0,s.A)({},(function(){var t=this._self._c;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[t("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])}),[],!1,null,null,null).exports},l={inserted(t,e,{context:n}){if(n.appendToBody){const{height:e,top:r,left:i,width:o}=n.$refs.toggle.getBoundingClientRect();let s=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;t.unbindPosition=n.calculatePosition(t,n,{width:o+"px",left:s+i+"px",top:a+r+e+"px"}),document.body.appendChild(t)}},unbind(t,e,{context:n}){n.appendToBody&&(t.unbindPosition&&"function"==typeof t.unbindPosition&&t.unbindPosition(),t.parentNode&&t.parentNode.removeChild(t))}};const c=function(t){const e={};return Object.keys(t).sort().forEach((n=>{e[n]=t[n]})),JSON.stringify(e)};let u=0;const d=function(){return++u},h={components:{...a},directives:{appendToBody:l},mixins:[r,i,o],props:{value:{},components:{type:Object,default:()=>({})},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:t=>t},selectable:{type:Function,default:t=>!0},getOptionLabel:{type:Function,default(t){return"object"==typeof t?t.hasOwnProperty(this.label)?t[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(t)}.\nhttps://vue-select.org/api/props.html#getoptionlabel`):t}},getOptionKey:{type:Function,default(t){if("object"!=typeof t)return t;try{return t.hasOwnProperty("id")?t.id:c(t)}catch(e){const n="[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.\nhttps://vue-select.org/api/props.html#getoptionkey";return console.warn(n,t,e)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:(t,e,n)=>(e||"").toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1},filter:{type:Function,default(t,e){return t.filter((t=>{let n=this.getOptionLabel(t);return"number"==typeof n&&(n=n.toString()),this.filterBy(t,n,e)}))}},createOption:{type:Function,default(t){return"object"==typeof this.optionList[0]?{[this.label]:t}:t}},resetOnOptionsChange:{default:!1,validator:t=>["function","boolean"].includes(typeof t)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:t,multiple:e}){return t&&!e}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(t,e)=>t},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(t,e,{width:n,top:r,left:i}){t.style.top=r,t.style.left=i,t.style.width=n}},dropdownShouldOpen:{type:Function,default:({noDrop:t,open:e,mutableLoading:n})=>!t&&(e&&!n)},uid:{type:[String,Number],default:()=>d()}},data:()=>({search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}),computed:{isTrackingValues(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue(){let t=this.value;return this.isTrackingValues&&(t=this.$data._value),null!=t&&""!==t?[].concat(t):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const t={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:{disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search,...this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}},events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,keypress:this.onSearchKeyPress,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:t,listFooter:t,header:{...t,deselect:this.deselect},footer:{...t,deselect:this.deselect}}},childComponents(){return{...a,...this.components}},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const t=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return t;let e=this.search.length?this.filter(t,this.search,this):t;if(this.taggable&&this.search.length){const t=this.createOption(this.search);this.optionExists(t)||e.unshift(t)}return e},isValueEmpty(){return 0===this.selectedValue.length},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(t,e){!this.taggable&&(()=>"function"==typeof this.resetOnOptionsChange?this.resetOnOptionsChange(t,e,this.selectedValue):this.resetOnOptionsChange)()&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler(t){this.isTrackingValues&&this.setInternalValueFromOptions(t)}},multiple(){this.clearSelection()},open(t){this.$emit(t?"open":"close")},search(t){t.length&&(this.open=!0)}},created(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions(t){Array.isArray(t)?this.$data._value=t.map((t=>this.findOptionFromReducedValue(t))):this.$data._value=this.findOptionFromReducedValue(t)},select(t){this.$emit("option:selecting",t),this.isOptionSelected(t)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(t):(this.taggable&&!this.optionExists(t)&&this.$emit("option:created",t),this.multiple&&(t=this.selectedValue.concat(t)),this.updateValue(t),this.$emit("option:selected",t)),this.onAfterSelect(t)},deselect(t){this.$emit("option:deselecting",t),this.updateValue(this.selectedValue.filter((e=>!this.optionComparator(e,t)))),this.$emit("option:deselected",t)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(t){this.closeOnSelect&&(this.open=!this.open),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick((()=>this.$refs.search.focus()))},updateValue(t){void 0===this.value&&(this.$data._value=t),null!==t&&(t=Array.isArray(t)?t.map((t=>this.reduce(t))):this.reduce(t)),this.$emit("input",t)},toggleDropdown(t){const e=t.target!==this.searchEl;e&&t.preventDefault();const n=[...this.$refs.deselectButtons||[],...[this.$refs.clearButton]||0];void 0===this.searchEl||n.filter(Boolean).some((e=>e.contains(t.target)||e===t.target))?t.preventDefault():this.open&&e?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(t){return this.selectedValue.some((e=>this.optionComparator(e,t)))},isOptionDeselectable(t){return this.isOptionSelected(t)&&this.deselectFromDropdown},optionComparator(t,e){return this.getOptionKey(t)===this.getOptionKey(e)},findOptionFromReducedValue(t){const e=[...this.options,...this.pushedTags].filter((e=>JSON.stringify(this.reduce(e))===JSON.stringify(t)));return 1===e.length?e[0]:e.find((t=>this.optionComparator(t,this.$data._value)))||t},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let t=null;this.multiple&&(t=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(t)}},optionExists(t){return this.optionList.some((e=>this.optionComparator(e,t)))},normalizeOptionForSlot(t){return"object"==typeof t?t:{[this.label]:t}},pushTag(t){this.pushedTags.push(t)},onEscape(){this.search.length?this.search="":this.open=!1},onSearchBlur(){if(!this.mousedown||this.searching){const{clearSearchOnSelect:t,multiple:e}=this;return this.clearSearchOnBlur({clearSearchOnSelect:t,multiple:e})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,0!==this.search.length||0!==this.options.length||this.closeSearchOptions()},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(t){const e=t=>(t.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:t=>this.maybeDeleteValue(),9:t=>this.onTab(),27:t=>this.onEscape(),38:t=>{if(t.preventDefault(),this.open)return this.typeAheadUp();this.open=!0},40:t=>{if(t.preventDefault(),this.open)return this.typeAheadDown();this.open=!0}};this.selectOnKeyCodes.forEach((t=>n[t]=e));const r=this.mapKeydown(n,this);if("function"==typeof r[t.keyCode])return r[t.keyCode](t)},onSearchKeyPress(t){this.open||32!==t.keyCode||(t.preventDefault(),this.open=!0)}}},f=h;var p=n(85072),m=n.n(p),g=n(47219),v={insert:"head",singleton:!1};m()(g.A,v);g.A.locals;const b=(0,s.A)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"v-select",class:t.stateClasses,attrs:{dir:t.dir}},[t._t("header",null,null,t.scope.header),t._v(" "),e("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:`vs${t.uid}__combobox`,role:"combobox","aria-expanded":t.dropdownOpen.toString(),"aria-owns":`vs${t.uid}__listbox`,"aria-label":"Search for option"},on:{mousedown:function(e){return t.toggleDropdown(e)}}},[e("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[t._l(t.selectedValue,(function(n){return t._t("selected-option-container",(function(){return[e("span",{key:t.getOptionKey(n),staticClass:"vs__selected"},[t._t("selected-option",(function(){return[t._v("\n            "+t._s(t.getOptionLabel(n))+"\n          ")]}),null,t.normalizeOptionForSlot(n)),t._v(" "),t.multiple?e("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:t.disabled,type:"button",title:`Deselect ${t.getOptionLabel(n)}`,"aria-label":`Deselect ${t.getOptionLabel(n)}`},on:{click:function(e){return t.deselect(n)}}},[e(t.childComponents.Deselect,{tag:"component"})],1):t._e()],2)]}),{option:t.normalizeOptionForSlot(n),deselect:t.deselect,multiple:t.multiple,disabled:t.disabled})})),t._v(" "),t._t("search",(function(){return[e("input",t._g(t._b({staticClass:"vs__search"},"input",t.scope.search.attributes,!1),t.scope.search.events))]}),null,t.scope.search)],2),t._v(" "),e("div",{ref:"actions",staticClass:"vs__actions"},[e("button",{directives:[{name:"show",rawName:"v-show",value:t.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:t.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:t.clearSelection}},[e(t.childComponents.Deselect,{tag:"component"})],1),t._v(" "),t._t("open-indicator",(function(){return[t.noDrop?t._e():e(t.childComponents.OpenIndicator,t._b({tag:"component"},"component",t.scope.openIndicator.attributes,!1))]}),null,t.scope.openIndicator),t._v(" "),t._t("spinner",(function(){return[e("div",{directives:[{name:"show",rawName:"v-show",value:t.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[t._v("Loading...")])]}),null,t.scope.spinner)],2)]),t._v(" "),e("transition",{attrs:{name:t.transition}},[t.dropdownOpen?e("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:`vs${t.uid}__listbox`,ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:`vs${t.uid}__listbox`,role:"listbox",tabindex:"-1"},on:{mousedown:function(e){return e.preventDefault(),t.onMousedown.apply(null,arguments)},mouseup:t.onMouseUp}},[t._t("list-header",null,null,t.scope.listHeader),t._v(" "),t._l(t.filteredOptions,(function(n,r){return e("li",{key:t.getOptionKey(n),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":t.isOptionDeselectable(n)&&r===t.typeAheadPointer,"vs__dropdown-option--selected":t.isOptionSelected(n),"vs__dropdown-option--highlight":r===t.typeAheadPointer,"vs__dropdown-option--disabled":!t.selectable(n)},attrs:{id:`vs${t.uid}__option-${r}`,role:"option","aria-selected":r===t.typeAheadPointer||null},on:{mouseover:function(e){t.selectable(n)&&(t.typeAheadPointer=r)},click:function(e){e.preventDefault(),e.stopPropagation(),t.selectable(n)&&t.select(n)}}},[t._t("option",(function(){return[t._v("\n          "+t._s(t.getOptionLabel(n))+"\n        ")]}),null,t.normalizeOptionForSlot(n))],2)})),t._v(" "),0===t.filteredOptions.length?e("li",{staticClass:"vs__no-options"},[t._t("no-options",(function(){return[t._v("\n          Sorry, no matching options.\n        ")]}),null,t.scope.noOptions)],2):t._e(),t._v(" "),t._t("list-footer",null,null,t.scope.listFooter)],2):e("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:`vs${t.uid}__listbox`,role:"listbox"}})]),t._v(" "),t._t("footer",null,null,t.scope.footer)],2)}),[],!1,null,null,null).exports},48044:(t,e,n)=>{"use strict";e.M5=e.R1=e.kk=void 0;var r=n(73479);var i=n(9476);Object.defineProperty(e,"kk",{enumerable:!0,get:function(){return i.booleanProp}});var o=n(29783);var s=n(31518);var a=n(68186);var l=n(74225);var c=n(72598);var u=n(61233);var d=n(38797);Object.defineProperty(e,"R1",{enumerable:!0,get:function(){return d.objectProp}});var h=n(13482);Object.defineProperty(e,"M5",{enumerable:!0,get:function(){return h.functionProp}});var f=n(22605);var p=n(12266);var m=n(88824);var g=n(97472);var v=n(8963);var b=n(73611);var y=n(58934);var x=n(40466)},72598:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.anyProp=void 0;const r=n(73678);e.anyProp=t=>(0,r.propOptionsGenerator)(void 0,t)},61233:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrayProp=void 0;const r=n(73678);e.arrayProp=t=>(0,r.propOptionsGenerator)(Array,t)},9476:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.booleanProp=void 0;const r=n(73678);e.booleanProp=t=>(0,r.propOptionsGenerator)(Boolean,t)},13482:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functionProp=void 0;const r=n(99878);e.functionProp=t=>({optional:{type:Function,required:!1,default:void 0,validator:(0,r.vuePropValidator)(t)},nullable:{type:Function,required:!1,default:null,validator:(0,r.vuePropValidator)(t)},required:{type:Function,required:!0,validator:(0,r.vuePropValidator)(t)}})},97472:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOfProp=void 0;const r=n(73678),i=n(99878);e.instanceOfProp=(t,e)=>(0,r.propOptionsGenerator)(t,e,(0,i.isInstanceOf)(t))},31518:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.integerProp=void 0;const r=n(73678),i=n(99878);e.integerProp=t=>(0,r.propOptionsGenerator)(Number,t,i.isInteger)},29783:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numberProp=void 0;const r=n(73678);e.numberProp=t=>(0,r.propOptionsGenerator)(Number,t)},38797:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.objectProp=void 0;const r=n(73678);e.objectProp=t=>(0,r.propOptionsGenerator)(Object,t)},22605:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oneOfProp=void 0;const r=n(73678),i=n(99878);e.oneOfProp=(t,e)=>(0,r.propOptionsGenerator)((t=>{const e=[...new Set(t.flatMap((t=>{var e;return null==t?[]:null!==(e=t.constructor)&&void 0!==e?e:[]})))];if(0!==e.length)return 1===e.length?e[0]:e})(t),e,(0,i.isOneOf)(t))},12266:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oneOfObjectKeysProp=void 0;const r=n(22605);e.oneOfObjectKeysProp=(t,e)=>(0,r.oneOfProp)(Object.keys(t),e)},88824:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oneOfTypesProp=void 0;const r=n(73678);e.oneOfTypesProp=(t,e)=>(0,r.propOptionsGenerator)(t,e)},73479:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringProp=void 0;const r=n(73678);e.stringProp=t=>(0,r.propOptionsGenerator)(String,t)},68186:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.symbolProp=void 0;const r=n(73678),i=n(99878);e.symbolProp=t=>(0,r.propOptionsGenerator)(void 0,t,i.isSymbol)},74225:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.vueComponentProp=void 0;const r=n(73678);e.vueComponentProp=t=>(0,r.propOptionsGenerator)([Object,String],t)},73678:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.propOptionsGenerator=void 0;const r=n(99878);e.propOptionsGenerator=(t,e,...n)=>({optional:{type:t,required:!1,default:void 0,validator:(0,r.vuePropValidator)(e,...n)},nullable:{type:t,required:!1,default:null,validator:(0,r.vuePropValidator)(e,...n)},withDefault:i=>({type:t,required:!1,default:i,validator:(0,r.vuePropValidator)(e,...n)}),required:{type:t,required:!0,validator:(0,r.vuePropValidator)(e,...n)}})},99878:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.isSymbol=e.isOneOf=e.isInteger=e.isInstanceOf=e.vuePropValidator=void 0;const i=r(n(1837));e.vuePropValidator=function(t,...e){const n=t?[...e,t]:e;if(0!==n.length)return t=>{for(const e of n){const n=e(t);if(n)return"object"==typeof i.default&&"util"in i.default?i.default.util.warn(`${n} (received: '${String(t)}')`):console.warn(`${n} (received: '${String(t)}')`),!1}return!0}};var o=n(84538);Object.defineProperty(e,"isInstanceOf",{enumerable:!0,get:function(){return o.isInstanceOf}});var s=n(19784);Object.defineProperty(e,"isInteger",{enumerable:!0,get:function(){return s.isInteger}});var a=n(71371);Object.defineProperty(e,"isOneOf",{enumerable:!0,get:function(){return a.isOneOf}});var l=n(11408);Object.defineProperty(e,"isSymbol",{enumerable:!0,get:function(){return l.isSymbol}})},84538:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isInstanceOf=void 0;e.isInstanceOf=t=>e=>{if(!(e instanceof t))return`value should be an instance of ${t.name}`}},19784:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isInteger=void 0;e.isInteger=t=>{if("number"!=typeof t||!Number.isInteger(t))return"value should be an integer"}},8963:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNegative=void 0;e.isNegative=t=>{if("number"!=typeof t||t>=0||Number.isNaN(t))return"value should be a negative number"}},58934:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNonNegative=void 0;e.isNonNegative=t=>{if("number"!=typeof t||t<0||Number.isNaN(t))return"value should be a non-negative number"}},40466:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNonPositive=void 0;e.isNonPositive=t=>{if("number"!=typeof t||t>0||Number.isNaN(t))return"value should be a non-positive number"}},71371:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isOneOf=void 0;e.isOneOf=t=>e=>{if(!t.includes(e))return`value should be one of "${t.join('", "')}"`}},73611:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPositive=void 0;e.isPositive=t=>{if("number"!=typeof t||t<=0||Number.isNaN(t))return"value should be a positive number"}},11408:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSymbol=void 0;e.isSymbol=t=>{if("symbol"!=typeof t)return"value should be a symbol"}},1837:(t,e,n)=>{"use strict";n.r(e),n.d(e,{EffectScope:()=>hn,computed:()=>fe,customRef:()=>ie,default:()=>di,defineAsyncComponent:()=>ur,defineComponent:()=>Mr,del:()=>$t,effectScope:()=>fn,getCurrentInstance:()=>pt,getCurrentScope:()=>pn,h:()=>Gn,inject:()=>Un,isProxy:()=>Ut,isReactive:()=>Yt,isReadonly:()=>Vt,isRef:()=>Kt,isShallow:()=>Wt,markRaw:()=>Xt,mergeDefaults:()=>en,nextTick:()=>ar,onActivated:()=>br,onBeforeMount:()=>hr,onBeforeUnmount:()=>gr,onBeforeUpdate:()=>pr,onDeactivated:()=>yr,onErrorCaptured:()=>Sr,onMounted:()=>fr,onRenderTracked:()=>wr,onRenderTriggered:()=>kr,onScopeDispose:()=>mn,onServerPrefetch:()=>xr,onUnmounted:()=>vr,onUpdated:()=>mr,provide:()=>Wn,proxyRefs:()=>ne,reactive:()=>Ft,readonly:()=>ce,ref:()=>Jt,set:()=>Rt,shallowReactive:()=>zt,shallowReadonly:()=>he,shallowRef:()=>Zt,toRaw:()=>Gt,toRef:()=>se,toRefs:()=>oe,triggerRef:()=>te,unref:()=>ee,useAttrs:()=>Ze,useCssModule:()=>lr,useCssVars:()=>cr,useListeners:()=>Qe,useSlots:()=>Je,version:()=>Or,watch:()=>Hn,watchEffect:()=>$n,watchPostEffect:()=>Bn,watchSyncEffect:()=>Fn});var r=Object.freeze({}),i=Array.isArray;function o(t){return null==t}function s(t){return null!=t}function a(t){return!0===t}function l(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}var d=Object.prototype.toString;function h(t){return"[object Object]"===d.call(t)}function f(t){return"[object RegExp]"===d.call(t)}function p(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 g(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===d?JSON.stringify(t,v,2):String(t)}function v(t,e){return e&&e.__v_isRef?e.value:e}function b(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var x=y("slot,component",!0),w=y("key,ref,slot,slot-scope,is");function k(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var _=Object.prototype.hasOwnProperty;function S(t,e){return _.call(t,e)}function O(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var M=/-(\w)/g,C=O((function(t){return t.replace(M,(function(t,e){return e?e.toUpperCase():""}))})),A=O((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,E=O((function(t){return t.replace(T,"-$1").toLowerCase()}));var D=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function P(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function j(t,e){for(var n in e)t[n]=e[n];return t}function L(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},R=function(t){return t};function $(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return $(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return $(t[n],e[n])}))}catch(t){return!1}}function B(t,e){for(var n=0;n<t.length;n++)if($(t[n],e))return n;return-1}function F(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function z(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var H="data-server-rendered",Y=["component","directive","filter"],W=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],V={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:R,mustUseProp:N,async:!0,_lifecycleHooks:W},U=/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 G(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function X(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var q=new RegExp("[^".concat(U.source,".$_\\d]"));var K="__proto__"in{},J="undefined"!=typeof window,Z=J&&window.navigator.userAgent.toLowerCase(),Q=Z&&/msie|trident/.test(Z),tt=Z&&Z.indexOf("msie 9.0")>0,et=Z&&Z.indexOf("edge/")>0;Z&&Z.indexOf("android");var nt=Z&&/iphone|ipad|ipod|ios/.test(Z);Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z);var rt,it=Z&&Z.match(/firefox\/(\d+)/),ot={}.watch,st=!1;if(J)try{var at={};Object.defineProperty(at,"passive",{get:function(){st=!0}}),window.addEventListener("test-passive",null,at)}catch(t){}var lt=function(){return void 0===rt&&(rt=!J&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),rt},ct=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ut(t){return"function"==typeof t&&/native code/.test(t.toString())}var dt,ht="undefined"!=typeof Symbol&&ut(Symbol)&&"undefined"!=typeof Reflect&&ut(Reflect.ownKeys);dt="undefined"!=typeof Set&&ut(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 ft=null;function pt(){return ft&&{proxy:ft}}function mt(t){void 0===t&&(t=null),t||ft&&ft._scope.off(),ft=t,t&&t._scope.on()}var gt=function(){function t(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,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}(),vt=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function bt(t){return new gt(void 0,void 0,void 0,String(t))}function yt(t){var e=new gt(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}"function"==typeof SuppressedError&&SuppressedError;var xt=0,wt=[],kt=function(){for(var t=0;t<wt.length;t++){var e=wt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}wt.length=0},_t=function(){function t(){this._pending=!1,this.id=xt++,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,wt.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,r=e.length;n<r;n++){0,e[n].update()}},t}();_t.target=null;var St=[];function Ot(t){St.push(t),_t.target=t}function Mt(){St.pop(),_t.target=St[St.length-1]}var Ct=Array.prototype,At=Object.create(Ct);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Ct[t];X(At,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&s.observeArray(i),s.dep.notify(),o}))}));var Tt=Object.getOwnPropertyNames(At),Et={},Dt=!0;function Pt(t){Dt=t}var jt={notify:I,depend:I,addSub:I,removeSub:I},Lt=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?jt:new _t,this.vmCount=0,X(t,"__ob__",this),i(t)){if(!n)if(K)t.__proto__=At;else for(var r=0,o=Tt.length;r<o;r++){X(t,a=Tt[r],At[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(r=0;r<s.length;r++){var a;Nt(t,a=s[r],Et,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)It(t[e],!1,this.mock)},t}();function It(t,e,n){return t&&S(t,"__ob__")&&t.__ob__ instanceof Lt?t.__ob__:!Dt||!n&&lt()||!i(t)&&!h(t)||!Object.isExtensible(t)||t.__v_skip||Kt(t)||t instanceof gt?void 0:new Lt(t,e,n)}function Nt(t,e,n,r,o,s,a){void 0===a&&(a=!1);var l=new _t,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var u=c&&c.get,d=c&&c.set;u&&!d||n!==Et&&2!==arguments.length||(n=t[e]);var h=o?n&&n.__ob__:It(n,!1,s);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return _t.target&&(l.depend(),h&&(h.dep.depend(),i(e)&&Bt(e))),Kt(e)&&!o?e.value:e},set:function(e){var r=u?u.call(t):n;if(z(r,e)){if(d)d.call(t,e);else{if(u)return;if(!o&&Kt(r)&&!Kt(e))return void(r.value=e);n=e}h=o?e&&e.__ob__:It(e,!1,s),l.notify()}}}),l}}function Rt(t,e,n){if(!Vt(t)){var r=t.__ob__;return i(t)&&p(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&It(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(Nt(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function $t(t,e){if(i(t)&&p(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Vt(t)||S(t,e)&&(delete t[e],n&&n.dep.notify())}}function Bt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),i(e)&&Bt(e)}function Ft(t){return Ht(t,!1),t}function zt(t){return Ht(t,!0),X(t,"__v_isShallow",!0),t}function Ht(t,e){if(!Vt(t)){It(t,e,lt());0}}function Yt(t){return Vt(t)?Yt(t.__v_raw):!(!t||!t.__ob__)}function Wt(t){return!(!t||!t.__v_isShallow)}function Vt(t){return!(!t||!t.__v_isReadonly)}function Ut(t){return Yt(t)||Vt(t)}function Gt(t){var e=t&&t.__v_raw;return e?Gt(e):t}function Xt(t){return Object.isExtensible(t)&&X(t,"__v_skip",!0),t}var qt="__v_isRef";function Kt(t){return!(!t||!0!==t.__v_isRef)}function Jt(t){return Qt(t,!1)}function Zt(t){return Qt(t,!0)}function Qt(t,e){if(Kt(t))return t;var n={};return X(n,qt,!0),X(n,"__v_isShallow",e),X(n,"dep",Nt(n,"value",t,null,e,lt())),n}function te(t){t.dep&&t.dep.notify()}function ee(t){return Kt(t)?t.value:t}function ne(t){if(Yt(t))return t;for(var e={},n=Object.keys(t),r=0;r<n.length;r++)re(e,t,n[r]);return e}function re(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Kt(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Kt(r)&&!Kt(t)?r.value=t:e[n]=t}})}function ie(t){var e=new _t,n=t((function(){e.depend()}),(function(){e.notify()})),r=n.get,i=n.set,o={get value(){return r()},set value(t){i(t)}};return X(o,qt,!0),o}function oe(t){var e=i(t)?new Array(t.length):{};for(var n in t)e[n]=se(t,n);return e}function se(t,e,n){var r=t[e];if(Kt(r))return r;var i={get value(){var r=t[e];return void 0===r?n:r},set value(n){t[e]=n}};return X(i,qt,!0),i}var ae="__v_rawToReadonly",le="__v_rawToShallowReadonly";function ce(t){return ue(t,!1)}function ue(t,e){if(!h(t))return t;if(Vt(t))return t;var n=e?le:ae,r=t[n];if(r)return r;var i=Object.create(Object.getPrototypeOf(t));X(t,n,i),X(i,"__v_isReadonly",!0),X(i,"__v_raw",t),Kt(t)&&X(i,qt,!0),(e||Wt(t))&&X(i,"__v_isShallow",!0);for(var o=Object.keys(t),s=0;s<o.length;s++)de(i,t,o[s],e);return i}function de(t,e,n,r){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];return r||!h(t)?t:ce(t)},set:function(){}})}function he(t){return ue(t,!0)}function fe(t,e){var n,r,i=c(t);i?(n=t,r=I):(n=t.get,r=t.set);var o=lt()?null:new Dr(ft,n,I,{lazy:!0});var s={effect:o,get value(){return o?(o.dirty&&o.evaluate(),_t.target&&o.depend(),o.value):n()},set value(t){r(t)}};return X(s,qt,!0),X(s,"__v_isReadonly",i),s}var pe=O((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function me(t,e){function n(){var t=n.fns;if(!i(t))return qn(t,null,arguments,e,"v-on handler");for(var r=t.slice(),o=0;o<r.length;o++)qn(r[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function ge(t,e,n,r,i,s){var l,c,u,d;for(l in t)c=t[l],u=e[l],d=pe(l),o(c)||(o(u)?(o(c.fns)&&(c=t[l]=me(c,s)),a(d.once)&&(c=t[l]=i(d.name,c,d.capture)),n(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)o(t[l])&&r((d=pe(l)).name,e[l],d.capture)}function ve(t,e,n){var r;t instanceof gt&&(t=t.data.hook||(t.data.hook={}));var i=t[e];function l(){n.apply(this,arguments),k(r.fns,l)}o(i)?r=me([l]):s(i.fns)&&a(i.merged)?(r=i).fns.push(l):r=me([i,l]),r.merged=!0,t[e]=r}function be(t,e,n,r,i){if(s(e)){if(S(e,n))return t[n]=e[n],i||delete e[n],!0;if(S(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function ye(t){return l(t)?[bt(t)]:i(t)?we(t):void 0}function xe(t){return s(t)&&s(t.text)&&!1===t.isComment}function we(t,e){var n,r,c,u,d=[];for(n=0;n<t.length;n++)o(r=t[n])||"boolean"==typeof r||(u=d[c=d.length-1],i(r)?r.length>0&&(xe((r=we(r,"".concat(e||"","_").concat(n)))[0])&&xe(u)&&(d[c]=bt(u.text+r[0].text),r.shift()),d.push.apply(d,r)):l(r)?xe(u)?d[c]=bt(u.text+r):""!==r&&d.push(bt(r)):xe(r)&&xe(u)?d[c]=bt(u.text+r.text):(a(t._isVList)&&s(r.tag)&&o(r.key)&&s(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),d.push(r)));return d}var ke=1,_e=2;function Se(t,e,n,r,o,d){return(i(n)||l(n))&&(o=r,r=n,n=void 0),a(d)&&(o=_e),function(t,e,n,r,o){if(s(n)&&s(n.__ob__))return vt();s(n)&&s(n.is)&&(e=n.is);if(!e)return vt();0;i(r)&&c(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);o===_e?r=ye(r):o===ke&&(r=function(t){for(var e=0;e<t.length;e++)if(i(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var a,l;if("string"==typeof e){var d=void 0;l=t.$vnode&&t.$vnode.ns||V.getTagNamespace(e),a=V.isReservedTag(e)?new gt(V.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!s(d=oi(t.$options,"components",e))?new gt(e,n,r,void 0,void 0,t):qr(d,n,t,r,e)}else a=qr(e,n,t,r);return i(a)?a:s(a)?(s(l)&&Oe(a,l),s(n)&&function(t){u(t.style)&&Ar(t.style);u(t.class)&&Ar(t.class)}(n),a):vt()}(t,e,n,r,o)}function Oe(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),s(t.children))for(var r=0,i=t.children.length;r<i;r++){var l=t.children[r];s(l.tag)&&(o(l.ns)||a(n)&&"svg"!==l.tag)&&Oe(l,e,n)}}function Me(t,e){var n,r,o,a,l=null;if(i(t)||"string"==typeof t)for(l=new Array(t.length),n=0,r=t.length;n<r;n++)l[n]=e(t[n],n);else if("number"==typeof t)for(l=new Array(t),n=0;n<t;n++)l[n]=e(n+1,n);else if(u(t))if(ht&&t[Symbol.iterator]){l=[];for(var c=t[Symbol.iterator](),d=c.next();!d.done;)l.push(e(d.value,l.length)),d=c.next()}else for(o=Object.keys(t),l=new Array(o.length),n=0,r=o.length;n<r;n++)a=o[n],l[n]=e(t[a],a,n);return s(l)||(l=[]),l._isVList=!0,l}function Ce(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=j(j({},r),n)),i=o(n)||(c(e)?e():e)):i=this.$slots[t]||(c(e)?e():e);var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Ae(t){return oi(this.$options,"filters",t,!0)||R}function Te(t,e){return i(t)?-1===t.indexOf(e):t!==e}function Ee(t,e,n,r,i){var o=V.keyCodes[e]||n;return i&&r&&!V.keyCodes[e]?Te(i,r):o?Te(o,t):r?E(r)!==e:void 0===t}function De(t,e,n,r,o){if(n)if(u(n)){i(n)&&(n=L(n));var s=void 0,a=function(i){if("class"===i||"style"===i||w(i))s=t;else{var a=t.attrs&&t.attrs.type;s=r||V.mustUseProp(e,a,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=C(i),c=E(i);l in s||c in s||(s[i]=n[i],o&&((t.on||(t.on={}))["update:".concat(i)]=function(t){n[i]=t}))};for(var l in n)a(l)}else;return t}function Pe(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||Le(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function je(t,e,n){return Le(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function Le(t,e,n){if(i(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Ie(t[r],"".concat(e,"_").concat(r),n);else Ie(t,e,n)}function Ie(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ne(t,e){if(e)if(h(e)){var n=t.on=t.on?j({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Re(t,e,n,r){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var s=t[o];i(s)?Re(s,e,n):s&&(s.proxy&&(s.fn.proxy=!0),e[s.key]=s.fn)}return r&&(e.$key=r),e}function $e(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Be(t,e){return"string"==typeof t?e+t:t}function Fe(t){t._o=je,t._n=b,t._s=g,t._l=Me,t._t=Ce,t._q=$,t._i=B,t._m=Pe,t._f=Ae,t._k=Ee,t._b=De,t._v=bt,t._e=vt,t._u=Re,t._g=Ne,t._d=$e,t._p=Be}function ze(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],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,l=n[a]||(n[a]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(He)&&delete n[c];return n}function He(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Ye(t){return t.isComment&&t.asyncFactory}function We(t,e,n,i){var o,s=Object.keys(n).length>0,a=e?!!e.$stable:!s,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&i&&i!==r&&l===i.$key&&!s&&!i.$hasNormal)return i;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=Ve(t,n,c,e[c]))}else o={};for(var u in n)u in o||(o[u]=Ue(n,u));return e&&Object.isExtensible(e)&&(e._normalized=o),X(o,"$stable",a),X(o,"$key",l),X(o,"$hasNormal",s),o}function Ve(t,e,n,r){var o=function(){var e=ft;mt(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!i(n)?[n]:ye(n))&&n[0];return mt(e),n&&(!o||1===n.length&&o.isComment&&!Ye(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Ue(t,e){return function(){return t[e]}}function Ge(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};X(e,"_v_attr_proxy",!0),Xe(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||Xe(t._listenersProxy={},t.$listeners,r,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||Ke(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:D(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return re(t,e,n)}))}}}function Xe(t,e,n,r,i){var o=!1;for(var s in e)s in t?e[s]!==n[s]&&(o=!0):(o=!0,qe(t,s,r,i));for(var s in t)s in e||(o=!0,delete t[s]);return o}function qe(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function Ke(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Je(){return tn().slots}function Ze(){return tn().attrs}function Qe(){return tn().listeners}function tn(){var t=ft;return t._setupContext||(t._setupContext=Ge(t))}function en(t,e){var n=i(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var r in e){var o=n[r];o?i(o)||c(o)?n[r]={type:o,default:e[r]}:o.default=e[r]:null===o&&(n[r]={default:e[r]})}return n}var nn,rn,on=null;function sn(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function an(t){if(i(t))for(var e=0;e<t.length;e++){var n=t[e];if(s(n)&&(s(n.componentOptions)||Ye(n)))return n}}function ln(t,e){nn.$on(t,e)}function cn(t,e){nn.$off(t,e)}function un(t,e){var n=nn;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function dn(t,e,n){nn=t,ge(e,n||{},ln,cn,un,t),nn=void 0}var hn=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=rn,!t&&rn&&(this.index=(rn.scopes||(rn.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=rn;try{return rn=this,t()}finally{rn=e}}else 0},t.prototype.on=function(){rn=this},t.prototype.off=function(){rn=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 r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function fn(t){return new hn(t)}function pn(){return rn}function mn(t){rn&&rn.cleanups.push(t)}var gn=null;function vn(t){var e=gn;return gn=t,function(){gn=e}}function bn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function yn(t,e){if(e){if(t._directInactive=!1,bn(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++)yn(t.$children[n]);wn(t,"activated")}}function xn(t,e){if(!(e&&(t._directInactive=!0,bn(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)xn(t.$children[n]);wn(t,"deactivated")}}function wn(t,e,n,r){void 0===r&&(r=!0),Ot();var i=ft,o=pn();r&&mt(t);var s=t.$options[e],a="".concat(e," hook");if(s)for(var l=0,c=s.length;l<c;l++)qn(s[l],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),r&&(mt(i),o&&o.on()),Mt()}var kn=[],_n=[],Sn={},On=!1,Mn=!1,Cn=0;var An=0,Tn=Date.now;if(J&&!Q){var En=window.performance;En&&"function"==typeof En.now&&Tn()>document.createEvent("Event").timeStamp&&(Tn=function(){return En.now()})}var Dn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Pn(){var t,e;for(An=Tn(),Mn=!0,kn.sort(Dn),Cn=0;Cn<kn.length;Cn++)(t=kn[Cn]).before&&t.before(),e=t.id,Sn[e]=null,t.run();var n=_n.slice(),r=kn.slice();Cn=kn.length=_n.length=0,Sn={},On=Mn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,yn(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&wn(r,"updated")}}(r),kt(),ct&&V.devtools&&ct.emit("flush")}function jn(t){var e=t.id;if(null==Sn[e]&&(t!==_t.target||!t.noRecurse)){if(Sn[e]=!0,Mn){for(var n=kn.length-1;n>Cn&&kn[n].id>t.id;)n--;kn.splice(n+1,0,t)}else kn.push(t);On||(On=!0,ar(Pn))}}var Ln="watcher",In="".concat(Ln," callback"),Nn="".concat(Ln," getter"),Rn="".concat(Ln," cleanup");function $n(t,e){return Yn(t,null,e)}function Bn(t,e){return Yn(t,null,{flush:"post"})}function Fn(t,e){return Yn(t,null,{flush:"sync"})}var zn={};function Hn(t,e,n){return Yn(t,e,n)}function Yn(t,e,n){var o=void 0===n?r:n,s=o.immediate,a=o.deep,l=o.flush,u=void 0===l?"pre":l;o.onTrack,o.onTrigger;var d,h,f=ft,p=function(t,e,n){void 0===n&&(n=null);var r=qn(t,null,n,f,e);return a&&r&&r.__ob__&&r.__ob__.dep.depend(),r},m=!1,g=!1;if(Kt(t)?(d=function(){return t.value},m=Wt(t)):Yt(t)?(d=function(){return t.__ob__.dep.depend(),t},a=!0):i(t)?(g=!0,m=t.some((function(t){return Yt(t)||Wt(t)})),d=function(){return t.map((function(t){return Kt(t)?t.value:Yt(t)?(t.__ob__.dep.depend(),Ar(t)):c(t)?p(t,Nn):void 0}))}):d=c(t)?e?function(){return p(t,Nn)}:function(){if(!f||!f._isDestroyed)return h&&h(),p(t,Ln,[b])}:I,e&&a){var v=d;d=function(){return Ar(v())}}var b=function(t){h=y.onStop=function(){p(t,Rn)}};if(lt())return b=I,e?s&&p(e,In,[d(),g?[]:void 0,b]):d(),I;var y=new Dr(ft,d,I,{lazy:!0});y.noRecurse=!e;var x=g?[]:zn;return y.run=function(){if(y.active)if(e){var t=y.get();(a||m||(g?t.some((function(t,e){return z(t,x[e])})):z(t,x)))&&(h&&h(),p(e,In,[t,x===zn?void 0:x,b]),x=t)}else y.get()},"sync"===u?y.update=y.run:"post"===u?(y.post=!0,y.update=function(){return jn(y)}):y.update=function(){if(f&&f===ft&&!f._isMounted){var t=f._preWatchers||(f._preWatchers=[]);t.indexOf(y)<0&&t.push(y)}else jn(y)},e?s?y.run():x=y.get():"post"===u&&f?f.$once("hook:mounted",(function(){return y.get()})):y.get(),function(){y.teardown()}}function Wn(t,e){ft&&(Vn(ft)[t]=e)}function Vn(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function Un(t,e,n){void 0===n&&(n=!1);var r=ft;if(r){var i=r.$parent&&r.$parent._provided;if(i&&t in i)return i[t];if(arguments.length>1)return n&&c(e)?e.call(r):e}else 0}function Gn(t,e,n){return Se(ft,t,e,n,2,!0)}function Xn(t,e,n){Ot();try{if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){Kn(t,r,"errorCaptured hook")}}Kn(t,e,n)}finally{Mt()}}function qn(t,e,n,r,i){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return Xn(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(t){Xn(t,r,i)}return o}function Kn(t,e,n){if(V.errorHandler)try{return V.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Jn(e,null,"config.errorHandler")}Jn(t,e,n)}function Jn(t,e,n){if(!J||"undefined"==typeof console)throw t;console.error(t)}var Zn,Qn=!1,tr=[],er=!1;function nr(){er=!1;var t=tr.slice(0);tr.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&ut(Promise)){var rr=Promise.resolve();Zn=function(){rr.then(nr),nt&&setTimeout(I)},Qn=!0}else if(Q||"undefined"==typeof MutationObserver||!ut(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Zn="undefined"!=typeof setImmediate&&ut(setImmediate)?function(){setImmediate(nr)}:function(){setTimeout(nr,0)};else{var ir=1,or=new MutationObserver(nr),sr=document.createTextNode(String(ir));or.observe(sr,{characterData:!0}),Zn=function(){ir=(ir+1)%2,sr.data=String(ir)},Qn=!0}function ar(t,e){var n;if(tr.push((function(){if(t)try{t.call(e)}catch(t){Xn(t,e,"nextTick")}else n&&n(e)})),er||(er=!0,Zn()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function lr(t){if(void 0===t&&(t="$style"),!ft)return r;var e=ft[t];return e||r}function cr(t){if(J){var e=ft;e&&Bn((function(){var n=e.$el,r=t(e,e._setupProxy);if(n&&1===n.nodeType){var i=n.style;for(var o in r)i.setProperty("--".concat(o),r[o])}}))}}function ur(t){c(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,r=t.errorComponent,i=t.delay,o=void 0===i?200:i,s=t.timeout,a=(t.suspensible,t.onError);var l=null,u=0,d=function(){var t;return l||(t=l=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),a)return new Promise((function(e,n){a(t,(function(){return e((u++,l=null,d()))}),(function(){return n(t)}),u+1)}));throw t})).then((function(e){return t!==l&&l?l:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){return{component:d(),delay:o,timeout:s,error:r,loading:n}}}function dr(t){return function(e,n){if(void 0===n&&(n=ft),n)return function(t,e,n){var r=t.$options;r[e]=ei(r[e],n)}(n,t,e)}}var hr=dr("beforeMount"),fr=dr("mounted"),pr=dr("beforeUpdate"),mr=dr("updated"),gr=dr("beforeDestroy"),vr=dr("destroyed"),br=dr("activated"),yr=dr("deactivated"),xr=dr("serverPrefetch"),wr=dr("renderTracked"),kr=dr("renderTriggered"),_r=dr("errorCaptured");function Sr(t,e){void 0===e&&(e=ft),_r(t,e)}var Or="2.7.16";function Mr(t){return t}var Cr=new dt;function Ar(t){return Tr(t,Cr),Cr.clear(),t}function Tr(t,e){var n,r,o=i(t);if(!(!o&&!u(t)||t.__v_skip||Object.isFrozen(t)||t instanceof gt)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(o)for(n=t.length;n--;)Tr(t[n],e);else if(Kt(t))Tr(t.value,e);else for(n=(r=Object.keys(t)).length;n--;)Tr(t[r[n]],e)}}var Er=0,Dr=function(){function t(t,e,n,r,i){var o,s;o=this,void 0===(s=rn&&!rn._vm?rn:t?t._scope:void 0)&&(s=rn),s&&s.active&&s.effects.push(o),(this.vm=t)&&i&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Er,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new dt,this.newDepIds=new dt,this.expression="",c(e)?this.getter=e:(this.getter=function(t){if(!q.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}}}(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Ot(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Xn(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Ar(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(){for(var t=this.deps.length;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():jn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');qn(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(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&k(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}(),Pr={enumerable:!0,configurable:!0,get:I,set:I};function jr(t,e,n){Pr.get=function(){return this[e][n]},Pr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Pr)}function Lr(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=zt({}),i=t.$options._propKeys=[],o=!t.$parent;o||Pt(!1);var s=function(o){i.push(o);var s=si(o,e,n,t);Nt(r,o,s,void 0,!0),o in t||jr(t,"_props",o)};for(var a in e)s(a);Pt(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Ge(t);mt(t),Ot();var i=qn(n,null,[t._props||zt({}),r],t,"setup");if(Mt(),mt(),c(i))e.render=i;else if(u(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var s in i)"__sfc"!==s&&re(o,i,s)}else for(var s in i)G(s)||re(t,i,s)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?I:D(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=c(e)?function(t,e){Ot();try{return t.call(e,e)}catch(t){return Xn(t,e,"data()"),{}}finally{Mt()}}(e,t):e||{},h(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&S(r,o)||G(o)||jr(t,"_data",o)}var s=It(e);s&&s.vmCount++}(t);else{var n=It(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=lt();for(var i in e){var o=e[i],s=c(o)?o:o.get;0,r||(n[i]=new Dr(t,s||I,I,Ir)),i in t||Nr(t,i,o)}}(t,e.computed),e.watch&&e.watch!==ot&&function(t,e){for(var n in e){var r=e[n];if(i(r))for(var o=0;o<r.length;o++)Br(t,n,r[o]);else Br(t,n,r)}}(t,e.watch)}var Ir={lazy:!0};function Nr(t,e,n){var r=!lt();c(n)?(Pr.get=r?Rr(e):$r(n),Pr.set=I):(Pr.get=n.get?r&&!1!==n.cache?Rr(e):$r(n.get):I,Pr.set=n.set||I),Object.defineProperty(t,e,Pr)}function Rr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),_t.target&&e.depend(),e.value}}function $r(t){return function(){return t.call(this,this)}}function Br(t,e,n,r){return h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Fr(t,e){if(t){for(var n=Object.create(null),r=ht?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];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]=c(a)?a.call(e):a}else 0}}return n}}var zr=0;function Hr(t){var e=t.options;if(t.super){var n=Hr(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}(t);r&&j(t.extendOptions,r),(e=t.options=ii(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Yr(t,e,n,o,s){var l,c=this,u=s.options;S(o,"_uid")?(l=Object.create(o))._original=o:(l=o,o=o._original);var d=a(u._compiled),h=!d;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=Fr(u.inject,o),this.slots=function(){return c.$slots||We(o,t.scopedSlots,c.$slots=ze(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return We(o,t.scopedSlots,this.slots())}}),d&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=We(o,t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var s=Se(l,t,e,n,r,h);return s&&!i(s)&&(s.fnScopeId=u._scopeId,s.fnContext=o),s}:this._c=function(t,e,n,r){return Se(l,t,e,n,r,h)}}function Wr(t,e,n,r,i){var o=yt(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Vr(t,e){for(var n in e)t[C(n)]=e[n]}function Ur(t){return t.name||t.__name||t._componentTag}Fe(Yr.prototype);var Gr={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Gr.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;s(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,gn)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,o){var s=i.data.scopedSlots,a=t.$scopedSlots,l=!!(s&&!s.$stable||a!==r&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key||!s&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||l),u=t.$vnode;t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o;var d=i.data.attrs||r;t._attrsProxy&&Xe(t._attrsProxy,d,u.data&&u.data.attrs||r,t,"$attrs")&&(c=!0),t.$attrs=d,n=n||r;var h=t.$options._parentListeners;if(t._listenersProxy&&Xe(t._listenersProxy,n,h||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,dn(t,n,h),e&&t.$options.props){Pt(!1);for(var f=t._props,p=t.$options._propKeys||[],m=0;m<p.length;m++){var g=p[m],v=t.$options.props;f[g]=si(g,v,e,t)}Pt(!0),t.$options.propsData=e}c&&(t.$slots=ze(o,i.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,wn(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,_n.push(e)):yn(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?xn(e,!0):e.$destroy())}},Xr=Object.keys(Gr);function qr(t,e,n,l,c){if(!o(t)){var d=n.$options._base;if(u(t)&&(t=d.extend(t)),"function"==typeof t){var h;if(o(t.cid)&&(t=function(t,e){if(a(t.error)&&s(t.errorComp))return t.errorComp;if(s(t.resolved))return t.resolved;var n=on;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 r=t.owners=[n],i=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return k(r,n)}));var d=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==l&&(clearTimeout(l),l=null),null!==c&&(clearTimeout(c),c=null))},h=F((function(n){t.resolved=sn(n,e),i?r.length=0:d(!0)})),f=F((function(e){s(t.errorComp)&&(t.error=!0,d(!0))})),p=t(h,f);return u(p)&&(m(p)?o(t.resolved)&&p.then(h,f):m(p.component)&&(p.component.then(h,f),s(p.error)&&(t.errorComp=sn(p.error,e)),s(p.loading)&&(t.loadingComp=sn(p.loading,e),0===p.delay?t.loading=!0:l=setTimeout((function(){l=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,d(!1))}),p.delay||200)),s(p.timeout)&&(c=setTimeout((function(){c=null,o(t.resolved)&&f(null)}),p.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}(h=t,d),void 0===t))return function(t,e,n,r,i){var o=vt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(h,e,n,l,c);e=e||{},Hr(t),s(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[r],l=e.model.callback;s(a)?(i(a)?-1===a.indexOf(l):a!==l)&&(o[r]=[l].concat(a)):o[r]=l}(t.options,e);var f=function(t,e,n){var r=e.options.props;if(!o(r)){var i={},a=t.attrs,l=t.props;if(s(a)||s(l))for(var c in r){var u=E(c);be(i,l,c,u,!0)||be(i,a,c,u,!1)}return i}}(e,t);if(a(t.options.functional))return function(t,e,n,o,a){var l=t.options,c={},u=l.props;if(s(u))for(var d in u)c[d]=si(d,u,e||r);else s(n.attrs)&&Vr(c,n.attrs),s(n.props)&&Vr(c,n.props);var h=new Yr(n,c,a,o,t),f=l.render.call(null,h._c,h);if(f instanceof gt)return Wr(f,n,h.parent,l);if(i(f)){for(var p=ye(f)||[],m=new Array(p.length),g=0;g<p.length;g++)m[g]=Wr(p[g],n,h.parent,l);return m}}(t,f,e,n,l);var p=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var g=e.slot;e={},g&&(e.slot=g)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Xr.length;n++){var r=Xr[n],i=e[r],o=Gr[r];i===o||i&&i._merged||(e[r]=i?Kr(o,i):o)}}(e);var v=Ur(t.options)||c;return new gt("vue-component-".concat(t.cid).concat(v?"-".concat(v):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:p,tag:c,children:l},h)}}}function Kr(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var Jr=I,Zr=V.optionMergeStrategies;function Qr(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,i,o,s=ht?Reflect.ownKeys(e):Object.keys(e),a=0;a<s.length;a++)"__ob__"!==(r=s[a])&&(i=t[r],o=e[r],n&&S(t,r)?i!==o&&h(i)&&h(o)&&Qr(i,o):Rt(t,r,o));return t}function ti(t,e,n){return n?function(){var r=c(e)?e.call(n,n):e,i=c(t)?t.call(n,n):t;return r?Qr(r,i):i}:e?t?function(){return Qr(c(e)?e.call(this,this):e,c(t)?t.call(this,this):t)}:e:t}function ei(t,e){var n=e?t?t.concat(e):i(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function ni(t,e,n,r){var i=Object.create(t||null);return e?j(i,e):i}Zr.data=function(t,e,n){return n?ti(t,e,n):e&&"function"!=typeof e?t:ti(t,e)},W.forEach((function(t){Zr[t]=ei})),Y.forEach((function(t){Zr[t+"s"]=ni})),Zr.watch=function(t,e,n,r){if(t===ot&&(t=void 0),e===ot&&(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],l=e[s];a&&!i(a)&&(a=[a]),o[s]=a?a.concat(l):i(l)?l:[l]}return o},Zr.props=Zr.methods=Zr.inject=Zr.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return j(i,t),e&&j(i,e),i},Zr.provide=function(t,e){return t?function(){var n=Object.create(null);return Qr(n,c(t)?t.call(this):t),e&&Qr(n,c(e)?e.call(this):e,!1),n}:e};var ri=function(t,e){return void 0===e?t:e};function ii(t,e,n){if(c(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var r,o,s={};if(i(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(s[C(o)]={type:null});else if(h(n))for(var a in n)o=n[a],s[C(a)]=h(o)?o:{type:o};t.props=s}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(i(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(h(n))for(var s in n){var a=n[s];r[s]=h(a)?j({from:s},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];c(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=ii(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=ii(t,e.mixins[r],n);var s,a={};for(s in t)l(s);for(s in e)S(t,s)||l(s);function l(r){var i=Zr[r]||ri;a[r]=i(t[r],e[r],n,r)}return a}function oi(t,e,n,r){if("string"==typeof n){var i=t[e];if(S(i,n))return i[n];var o=C(n);if(S(i,o))return i[o];var s=A(o);return S(i,s)?i[s]:i[n]||i[o]||i[s]}}function si(t,e,n,r){var i=e[t],o=!S(n,t),s=n[t],a=ui(Boolean,i.type);if(a>-1)if(o&&!S(i,"default"))s=!1;else if(""===s||s===E(t)){var l=ui(String,i.type);(l<0||a<l)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!S(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return c(r)&&"Function"!==li(e.type)?r.call(t):r}(r,i,t);var u=Dt;Pt(!0),It(s),Pt(u)}return s}var ai=/^\s*function (\w+)/;function li(t){var e=t&&t.toString().match(ai);return e?e[1]:""}function ci(t,e){return li(t)===li(e)}function ui(t,e){if(!i(e))return ci(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(ci(e[n],t))return n;return-1}function di(t){this._init(t)}function hi(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=Ur(t)||Ur(n.options);var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=ii(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)jr(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)Nr(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,Y.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),i[r]=s,s}}function fi(t){return t&&(Ur(t.Ctor.options)||t.tag)}function pi(t,e){return i(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function mi(t,e){var n=t.cache,r=t.keys,i=t._vnode,o=t.$vnode;for(var s in n){var a=n[s];if(a){var l=a.name;l&&!e(l)&&gi(n,s,r,i)}}o.componentOptions.children=void 0}function gi(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,k(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=zr++,e._isVue=!0,e.__v_skip=!0,e._scope=new hn(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=ii(Hr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;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}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&dn(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=ze(e._renderChildren,i),t.$scopedSlots=n?We(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,i){return Se(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Se(t,e,n,r,i,!0)};var o=n&&n.data;Nt(t,"$attrs",o&&o.attrs||r,null,!0),Nt(t,"$listeners",e._parentListeners||r,null,!0)}(e),wn(e,"beforeCreate",void 0,!1),function(t){var e=Fr(t.$options.inject,t);e&&(Pt(!1),Object.keys(e).forEach((function(n){Nt(t,n,e[n])})),Pt(!0))}(e),Lr(e),function(t){var e=t.$options.provide;if(e){var n=c(e)?e.call(t):e;if(!u(n))return;for(var r=Vn(t),i=ht?Reflect.ownKeys(n):Object.keys(n),o=0;o<i.length;o++){var s=i[o];Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(n,s))}}}(e),wn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(di),function(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=Rt,t.prototype.$delete=$t,t.prototype.$watch=function(t,e,n){var r=this;if(h(e))return Br(r,t,e,n);(n=n||{}).user=!0;var i=new Dr(r,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');Ot(),qn(e,r,[i.value],r,o),Mt()}return function(){i.teardown()}}}(di),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(i(t))for(var o=0,s=t.length;o<s;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(i(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var s,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var l=a.length;l--;)if((s=a[l])===e||s.fn===e){a.splice(l,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?P(n):n;for(var r=P(arguments,1),i='event handler for "'.concat(t,'"'),o=0,s=n.length;o<s;o++)qn(n[o],e,r,e,i)}return e}}(di),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=vn(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var s=n;s&&s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode;)s.$parent.$el=s.$el,s=s.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){wn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||k(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),wn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(di),function(t){Fe(t.prototype),t.prototype.$nextTick=function(t){return ar(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=We(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Ke(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,s=ft,a=on;try{mt(t),on=t,o=n.call(t._renderProxy,t.$createElement)}catch(e){Xn(e,t,"render"),o=t._vnode}finally{on=a,mt(s)}return i(o)&&1===o.length&&(o=o[0]),o instanceof gt||(o=vt()),o.parent=r,o}}(di);var vi=[String,RegExp,Array],bi={name:"keep-alive",abstract:!0,props:{include:vi,exclude:vi,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,s=r.componentInstance,a=r.componentOptions;e[i]={name:fi(a),tag:o,componentInstance:s},n.push(i),this.max&&n.length>parseInt(this.max)&&gi(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)gi(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){mi(t,(function(t){return pi(e,t)}))})),this.$watch("exclude",(function(e){mi(t,(function(t){return!pi(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=an(t),n=e&&e.componentOptions;if(n){var r=fi(n),i=this.include,o=this.exclude;if(i&&(!r||!pi(i,r))||o&&r&&pi(o,r))return e;var s=this.cache,a=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;s[l]?(e.componentInstance=s[l].componentInstance,k(a,l),a.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},yi={KeepAlive:bi};!function(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:Jr,extend:j,mergeOptions:ii,defineReactive:Nt},t.set=Rt,t.delete=$t,t.nextTick=ar,t.observable=function(t){return It(t),t},t.options=Object.create(null),Y.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,yi),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=P(arguments,1);return n.unshift(this),c(t.install)?t.install.apply(t,n):c(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=ii(this.options,t),this}}(t),hi(t),function(t){Y.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&c(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(di),Object.defineProperty(di.prototype,"$isServer",{get:lt}),Object.defineProperty(di.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(di,"FunctionalRenderContext",{value:Yr}),di.version=Or;var xi=y("style,class"),wi=y("input,textarea,option,select,progress"),ki=function(t,e,n){return"value"===n&&wi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},_i=y("contenteditable,draggable,spellcheck"),Si=y("events,caret,typing,plaintext-only"),Oi=function(t,e){return Ei(e)||"false"===e?"false":"contenteditable"===t&&Si(e)?e:"true"},Mi=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"),Ci="http://www.w3.org/1999/xlink",Ai=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ti=function(t){return Ai(t)?t.slice(6,t.length):""},Ei=function(t){return null==t||!1===t};function Di(t){for(var e=t.data,n=t,r=t;s(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Pi(r.data,e));for(;s(n=n.parent);)n&&n.data&&(e=Pi(e,n.data));return function(t,e){if(s(t)||s(e))return ji(t,Li(e));return""}(e.staticClass,e.class)}function Pi(t,e){return{staticClass:ji(t.staticClass,e.staticClass),class:s(t.class)?[t.class,e.class]:e.class}}function ji(t,e){return t?e?t+" "+e:t:e||""}function Li(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r<i;r++)s(e=Li(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Ii={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ni=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"),Ri=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),$i=function(t){return Ni(t)||Ri(t)};function Bi(t){return Ri(t)?"svg":"math"===t?"math":void 0}var Fi=Object.create(null);var zi=y("text,number,password,search,email,tel,url");function Hi(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var Yi=Object.freeze({__proto__:null,createElement:function(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},createElementNS:function(t,e){return document.createElementNS(Ii[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Wi={create:function(t,e){Vi(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Vi(t,!0),Vi(e))},destroy:function(t){Vi(t,!0)}};function Vi(t,e){var n=t.data.ref;if(s(n)){var r=t.context,o=t.componentInstance||t.elm,a=e?null:o,l=e?void 0:o;if(c(n))qn(n,r,[a],r,"template ref function");else{var u=t.data.refInFor,d="string"==typeof n||"number"==typeof n,h=Kt(n),f=r.$refs;if(d||h)if(u){var p=d?f[n]:n.value;e?i(p)&&k(p,o):i(p)?p.includes(o)||p.push(o):d?(f[n]=[o],Ui(r,n,f[n])):n.value=[o]}else if(d){if(e&&f[n]!==o)return;f[n]=l,Ui(r,n,a)}else if(h){if(e&&n.value!==o)return;n.value=a}else 0}}}function Ui(t,e,n){var r=t._setupState;r&&S(r,e)&&(Kt(r[e])?r[e].value=n:r[e]=n)}var Gi=new gt("",{},[]),Xi=["create","activate","update","remove","destroy"];function qi(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)&&function(t,e){if("input"!==t.tag)return!0;var n,r=s(n=t.data)&&s(n=n.attrs)&&n.type,i=s(n=e.data)&&s(n=n.attrs)&&n.type;return r===i||zi(r)&&zi(i)}(t,e)||a(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function Ki(t,e,n){var r,i,o={};for(r=e;r<=n;++r)s(i=t[r].key)&&(o[i]=r);return o}var Ji={create:Zi,update:Zi,destroy:function(t){Zi(t,Gi)}};function Zi(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===Gi,s=e===Gi,a=to(t.data.directives,t.context),l=to(e.data.directives,e.context),c=[],u=[];for(n in l)r=a[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,no(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(no(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n<c.length;n++)no(c[n],"inserted",e,t)};o?ve(e,"insert",d):d()}u.length&&ve(e,"postpatch",(function(){for(var n=0;n<u.length;n++)no(u[n],"componentUpdated",e,t)}));if(!o)for(n in a)l[n]||no(a[n],"unbind",t,t,s)}(t,e)}var Qi=Object.create(null);function to(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++){if((r=t[n]).modifiers||(r.modifiers=Qi),i[eo(r)]=r,e._setupState&&e._setupState.__sfc){var o=r.def||oi(e,"_setupState","v-"+r.name);r.def="function"==typeof o?{bind:o,update:o}:o}r.def=r.def||oi(e.$options,"directives",r.name)}return i}function eo(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function no(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Xn(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var ro=[Wi,Ji];function io(t,e){var n=e.componentOptions;if(!(s(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,i,l=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(r in(s(u.__ob__)||a(u._v_attr_proxy))&&(u=e.data.attrs=j({},u)),u)i=u[r],c[r]!==i&&oo(l,r,i,e.data.pre);for(r in(Q||et)&&u.value!==c.value&&oo(l,"value",u.value),c)o(u[r])&&(Ai(r)?l.removeAttributeNS(Ci,Ti(r)):_i(r)||l.removeAttribute(r))}}function oo(t,e,n,r){r||t.tagName.indexOf("-")>-1?so(t,e,n):Mi(e)?Ei(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):_i(e)?t.setAttribute(e,Oi(e,n)):Ai(e)?Ei(n)?t.removeAttributeNS(Ci,Ti(e)):t.setAttributeNS(Ci,e,n):so(t,e,n)}function so(t,e,n){if(Ei(n))t.removeAttribute(e);else{if(Q&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var ao={create:io,update:io};function lo(t,e){var n=e.elm,r=e.data,i=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var a=Di(e),l=n._transitionClasses;s(l)&&(a=ji(a,Li(l))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var co,uo,ho,fo,po,mo,go={create:lo,update:lo},vo=/[\w).+\-_$\]]/;function bo(t){var e,n,r,i,o,s=!1,a=!1,l=!1,c=!1,u=0,d=0,h=0,f=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),s)39===e&&92!==n&&(s=!1);else if(a)34===e&&92!==n&&(a=!1);else if(l)96===e&&92!==n&&(l=!1);else if(c)47===e&&92!==n&&(c=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||u||d||h){switch(e){case 34:a=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:h++;break;case 41:h--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===e){for(var p=r-1,m=void 0;p>=0&&" "===(m=t.charAt(p));p--);m&&vo.test(m)||(c=!0)}}else void 0===i?(f=r+1,i=t.slice(0,r).trim()):g();function g(){(o||(o=[])).push(t.slice(f,r).trim()),f=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==f&&g(),o)for(r=0;r<o.length;r++)i=yo(i,o[r]);return i}function yo(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");var r=e.slice(0,n),i=e.slice(n+1);return'_f("'.concat(r,'")(').concat(t).concat(")"!==i?","+i:i)}function xo(t,e){console.error("[Vue compiler]: ".concat(t))}function wo(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function ko(t,e,n,r,i){(t.props||(t.props=[])).push(Do({name:e,value:n,dynamic:i},r)),t.plain=!1}function _o(t,e,n,r,i){(i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Do({name:e,value:n,dynamic:i},r)),t.plain=!1}function So(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(Do({name:e,value:n},r))}function Oo(t,e,n,r,i,o,s,a){(t.directives||(t.directives=[])).push(Do({name:e,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:s},a)),t.plain=!1}function Mo(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function Co(t,e,n,i,o,s,a,l){var c;(i=i||r).right?l?e="(".concat(e,")==='click'?'contextmenu':(").concat(e,")"):"click"===e&&(e="contextmenu",delete i.right):i.middle&&(l?e="(".concat(e,")==='click'?'mouseup':(").concat(e,")"):"click"===e&&(e="mouseup")),i.capture&&(delete i.capture,e=Mo("!",e,l)),i.once&&(delete i.once,e=Mo("~",e,l)),i.passive&&(delete i.passive,e=Mo("&",e,l)),i.native?(delete i.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=Do({value:n.trim(),dynamic:l},a);i!==r&&(u.modifiers=i);var d=c[e];Array.isArray(d)?o?d.unshift(u):d.push(u):c[e]=d?o?[u,d]:[d,u]:u,t.plain=!1}function Ao(t,e,n){var r=To(t,":"+e)||To(t,"v-bind:"+e);if(null!=r)return bo(r);if(!1!==n){var i=To(t,e);if(null!=i)return JSON.stringify(i)}}function To(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,s=i.length;o<s;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function Eo(t,e){for(var n=t.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(e.test(o.name))return n.splice(r,1),o}}function Do(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Po(t,e,n){var r=n||{},i=r.number,o="$$v",s=o;r.trim&&(s="(typeof ".concat(o," === 'string'")+"? ".concat(o,".trim()")+": ".concat(o,")")),i&&(s="_n(".concat(s,")"));var a=jo(e,s);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(o,") {").concat(a,"}")}}function jo(t,e){var n=function(t){if(t=t.trim(),co=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<co-1)return(fo=t.lastIndexOf("."))>-1?{exp:t.slice(0,fo),key:'"'+t.slice(fo+1)+'"'}:{exp:t,key:null};uo=t,fo=po=mo=0;for(;!Io();)No(ho=Lo())?$o(ho):91===ho&&Ro(ho);return{exp:t.slice(0,po),key:t.slice(po+1,mo)}}(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function Lo(){return uo.charCodeAt(++fo)}function Io(){return fo>=co}function No(t){return 34===t||39===t}function Ro(t){var e=1;for(po=fo;!Io();)if(No(t=Lo()))$o(t);else if(91===t&&e++,93===t&&e--,0===e){mo=fo;break}}function $o(t){for(var e=t;!Io()&&(t=Lo())!==e;);}var Bo,Fo="__r",zo="__c";function Ho(t,e,n){var r=Bo;return function i(){null!==e.apply(null,arguments)&&Vo(t,i,n,r)}}var Yo=Qn&&!(it&&Number(it[1])<=53);function Wo(t,e,n,r){if(Yo){var i=An,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Bo.addEventListener(t,e,st?{capture:n,passive:r}:n)}function Vo(t,e,n,r){(r||Bo).removeEventListener(t,e._wrapper||e,n)}function Uo(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Bo=e.elm||t.elm,function(t){if(s(t[Fo])){var e=Q?"change":"input";t[e]=[].concat(t[Fo],t[e]||[]),delete t[Fo]}s(t[zo])&&(t.change=[].concat(t[zo],t.change||[]),delete t[zo])}(n),ge(n,r,Wo,Vo,Ho,e.context),Bo=void 0}}var Go,Xo={create:Uo,update:Uo,destroy:function(t){return Uo(t,Gi)}};function qo(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,i=e.elm,l=t.data.domProps||{},c=e.data.domProps||{};for(n in(s(c.__ob__)||a(c._v_attr_proxy))&&(c=e.data.domProps=j({},c)),l)n in c||(i[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===l[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var u=o(r)?"":String(r);Ko(i,u)&&(i.value=u)}else if("innerHTML"===n&&Ri(i.tagName)&&o(i.innerHTML)){(Go=Go||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var d=Go.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;d.firstChild;)i.appendChild(d.firstChild)}else if(r!==l[n])try{i[n]=r}catch(t){}}}}function Ko(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(s(r)){if(r.number)return b(n)!==b(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Jo={create:qo,update:qo},Zo=O((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Qo(t){var e=ts(t.style);return t.staticStyle?j(t.staticStyle,e):e}function ts(t){return Array.isArray(t)?L(t):"string"==typeof t?Zo(t):t}var es,ns=/^--/,rs=/\s*!important$/,is=function(t,e,n){if(ns.test(e))t.style.setProperty(e,n);else if(rs.test(n))t.style.setProperty(E(e),n.replace(rs,""),"important");else{var r=ss(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},os=["Webkit","Moz","ms"],ss=O((function(t){if(es=es||document.createElement("div").style,"filter"!==(t=C(t))&&t in es)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<os.length;n++){var r=os[n]+e;if(r in es)return r}}));function as(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var i,a,l=e.elm,c=r.staticStyle,u=r.normalizedStyle||r.style||{},d=c||u,h=ts(e.data.style)||{};e.data.normalizedStyle=s(h.__ob__)?j({},h):h;var f=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Qo(i.data))&&j(r,n);(n=Qo(t.data))&&j(r,n);for(var o=t;o=o.parent;)o.data&&(n=Qo(o.data))&&j(r,n);return r}(e,!0);for(a in d)o(f[a])&&is(l,a,"");for(a in f)i=f[a],is(l,a,null==i?"":i)}}var ls={create:as,update:as},cs=/\s+/;function us(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(cs).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 ds(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(cs).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function hs(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&j(e,fs(t.name||"v")),j(e,t),e}return"string"==typeof t?fs(t):void 0}}var fs=O((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")}})),ps=J&&!tt,ms="transition",gs="animation",vs="transition",bs="transitionend",ys="animation",xs="animationend";ps&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(vs="WebkitTransition",bs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ys="WebkitAnimation",xs="webkitAnimationEnd"));var ws=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ks(t){ws((function(){ws(t)}))}function _s(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),us(t,e))}function Ss(t,e){t._transitionClasses&&k(t._transitionClasses,e),ds(t,e)}function Os(t,e,n){var r=Cs(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===ms?bs:xs,l=0,c=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l<s&&c()}),o+1),t.addEventListener(a,u)}var Ms=/\b(transform|all)(,|$)/;function Cs(t,e){var n,r=window.getComputedStyle(t),i=(r[vs+"Delay"]||"").split(", "),o=(r[vs+"Duration"]||"").split(", "),s=As(i,o),a=(r[ys+"Delay"]||"").split(", "),l=(r[ys+"Duration"]||"").split(", "),c=As(a,l),u=0,d=0;return e===ms?s>0&&(n=ms,u=s,d=o.length):e===gs?c>0&&(n=gs,u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?ms:gs:null)?n===ms?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===ms&&Ms.test(r[vs+"Property"])}}function As(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Ts(e)+Ts(t[n])})))}function Ts(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Es(t,e){var n=t.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=hs(t.data.transition);if(!o(r)&&!s(n._enterCb)&&1===n.nodeType){for(var i=r.css,a=r.type,l=r.enterClass,d=r.enterToClass,h=r.enterActiveClass,f=r.appearClass,p=r.appearToClass,m=r.appearActiveClass,g=r.beforeEnter,v=r.enter,y=r.afterEnter,x=r.enterCancelled,w=r.beforeAppear,k=r.appear,_=r.afterAppear,S=r.appearCancelled,O=r.duration,M=gn,C=gn.$vnode;C&&C.parent;)M=C.context,C=C.parent;var A=!M._isMounted||!t.isRootInsert;if(!A||k||""===k){var T=A&&f?f:l,E=A&&m?m:h,D=A&&p?p:d,P=A&&w||g,j=A&&c(k)?k:v,L=A&&_||y,I=A&&S||x,N=b(u(O)?O.enter:O);0;var R=!1!==i&&!tt,$=js(j),B=n._enterCb=F((function(){R&&(Ss(n,D),Ss(n,E)),B.cancelled?(R&&Ss(n,T),I&&I(n)):L&&L(n),n._enterCb=null}));t.data.show||ve(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),j&&j(n,B)})),P&&P(n),R&&(_s(n,T),_s(n,E),ks((function(){Ss(n,T),B.cancelled||(_s(n,D),$||(Ps(N)?setTimeout(B,N):Os(n,a,B)))}))),t.data.show&&(e&&e(),j&&j(n,B)),R||$||B()}}}function Ds(t,e){var n=t.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=hs(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!s(n._leaveCb)){var i=r.css,a=r.type,l=r.leaveClass,c=r.leaveToClass,d=r.leaveActiveClass,h=r.beforeLeave,f=r.leave,p=r.afterLeave,m=r.leaveCancelled,g=r.delayLeave,v=r.duration,y=!1!==i&&!tt,x=js(f),w=b(u(v)?v.leave:v);0;var k=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(Ss(n,c),Ss(n,d)),k.cancelled?(y&&Ss(n,l),m&&m(n)):(e(),p&&p(n)),n._leaveCb=null}));g?g(_):_()}function _(){k.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),y&&(_s(n,l),_s(n,d),ks((function(){Ss(n,l),k.cancelled||(_s(n,c),x||(Ps(w)?setTimeout(k,w):Os(n,a,k)))}))),f&&f(n,k),y||x||k())}}function Ps(t){return"number"==typeof t&&!isNaN(t)}function js(t){if(o(t))return!1;var e=t.fns;return s(e)?js(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ls(t,e){!0!==e.data.show&&Es(e)}var Is=function(t){var e,n,r={},c=t.modules,u=t.nodeOps;for(e=0;e<Xi.length;++e)for(r[Xi[e]]=[],n=0;n<c.length;++n)s(c[n][Xi[e]])&&r[Xi[e]].push(c[n][Xi[e]]);function d(t){var e=u.parentNode(t);s(e)&&u.removeChild(e,t)}function h(t,e,n,i,o,l,c){if(s(t.elm)&&s(l)&&(t=l[c]=yt(t)),t.isRootInsert=!o,!function(t,e,n,i){var o=t.data;if(s(o)){var l=s(t.componentInstance)&&o.keepAlive;if(s(o=o.hook)&&s(o=o.init)&&o(t,!1),s(t.componentInstance))return f(t,e),p(n,t.elm,i),a(l)&&function(t,e,n,i){var o,a=t;for(;a.componentInstance;)if(s(o=(a=a.componentInstance._vnode).data)&&s(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](Gi,a);e.push(a);break}p(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var d=t.data,h=t.children,g=t.tag;s(g)?(t.elm=t.ns?u.createElementNS(t.ns,g):u.createElement(g,t),b(t),m(t,h,e),s(d)&&v(t,e),p(n,t.elm,i)):a(t.isComment)?(t.elm=u.createComment(t.text),p(n,t.elm,i)):(t.elm=u.createTextNode(t.text),p(n,t.elm,i))}}function f(t,e){s(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(v(t,e),b(t)):(Vi(t),e.push(t))}function p(t,e,n){s(t)&&(s(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function m(t,e,n){if(i(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else l(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return s(t.tag)}function v(t,n){for(var i=0;i<r.create.length;++i)r.create[i](Gi,t);s(e=t.data.hook)&&(s(e.create)&&e.create(Gi,t),s(e.insert)&&n.push(t))}function b(t){var e;if(s(e=t.fnScopeId))u.setStyleScope(t.elm,e);else for(var n=t;n;)s(e=n.context)&&s(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent;s(e=gn)&&e!==t.context&&e!==t.fnContext&&s(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function x(t,e,n,r,i,o){for(;r<=i;++r)h(n[r],o,t,e,!1,n,r)}function w(t){var e,n,i=t.data;if(s(i))for(s(e=i.hook)&&s(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(s(e=t.children))for(n=0;n<t.children.length;++n)w(t.children[n])}function k(t,e,n){for(;e<=n;++e){var r=t[e];s(r)&&(s(r.tag)?(_(r),w(r)):d(r.elm))}}function _(t,e){if(s(e)||s(t.data)){var n,i=r.remove.length+1;for(s(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&d(t)}return n.listeners=e,n}(t.elm,i),s(n=t.componentInstance)&&s(n=n._vnode)&&s(n.data)&&_(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);s(n=t.data.hook)&&s(n=n.remove)?n(t,e):e()}else d(t.elm)}function S(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(s(o)&&qi(t,o))return i}}function O(t,e,n,i,l,c){if(t!==e){s(e.elm)&&s(i)&&(e=i[l]=yt(e));var d=e.elm=t.elm;if(a(t.isAsyncPlaceholder))s(e.asyncFactory.resolved)?A(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 f,p=e.data;s(p)&&s(f=p.hook)&&s(f=f.prepatch)&&f(t,e);var m=t.children,v=e.children;if(s(p)&&g(e)){for(f=0;f<r.update.length;++f)r.update[f](t,e);s(f=p.hook)&&s(f=f.update)&&f(t,e)}o(e.text)?s(m)&&s(v)?m!==v&&function(t,e,n,r,i){var a,l,c,d=0,f=0,p=e.length-1,m=e[0],g=e[p],v=n.length-1,b=n[0],y=n[v],w=!i;for(;d<=p&&f<=v;)o(m)?m=e[++d]:o(g)?g=e[--p]:qi(m,b)?(O(m,b,r,n,f),m=e[++d],b=n[++f]):qi(g,y)?(O(g,y,r,n,v),g=e[--p],y=n[--v]):qi(m,y)?(O(m,y,r,n,v),w&&u.insertBefore(t,m.elm,u.nextSibling(g.elm)),m=e[++d],y=n[--v]):qi(g,b)?(O(g,b,r,n,f),w&&u.insertBefore(t,g.elm,m.elm),g=e[--p],b=n[++f]):(o(a)&&(a=Ki(e,d,p)),o(l=s(b.key)?a[b.key]:S(b,e,d,p))?h(b,r,t,m.elm,!1,n,f):qi(c=e[l],b)?(O(c,b,r,n,f),e[l]=void 0,w&&u.insertBefore(t,c.elm,m.elm)):h(b,r,t,m.elm,!1,n,f),b=n[++f]);d>p?x(t,o(n[v+1])?null:n[v+1].elm,n,f,v,r):f>v&&k(e,d,p)}(d,m,v,n,c):s(v)?(s(t.text)&&u.setTextContent(d,""),x(d,null,v,0,v.length-1,n)):s(m)?k(m,0,m.length-1):s(t.text)&&u.setTextContent(d,""):t.text!==e.text&&u.setTextContent(d,e.text),s(p)&&s(f=p.hook)&&s(f=f.postpatch)&&f(t,e)}}}function M(t,e,n){if(a(n)&&s(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var C=y("attrs,class,staticClass,staticStyle,key");function A(t,e,n,r){var i,o=e.tag,l=e.data,c=e.children;if(r=r||l&&l.pre,e.elm=t,a(e.isComment)&&s(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(s(l)&&(s(i=l.hook)&&s(i=i.init)&&i(e,!0),s(i=e.componentInstance)))return f(e,n),!0;if(s(o)){if(s(c))if(t.hasChildNodes())if(s(i=l)&&s(i=i.domProps)&&s(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var u=!0,d=t.firstChild,h=0;h<c.length;h++){if(!d||!A(d,c[h],n,r)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else m(e,c,n);if(s(l)){var p=!1;for(var g in l)if(!C(g)){p=!0,v(e,n);break}!p&&l.class&&Ar(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,i){if(!o(e)){var l,c=!1,d=[];if(o(t))c=!0,h(e,d);else{var f=s(t.nodeType);if(!f&&qi(t,e))O(t,e,d,null,null,i);else{if(f){if(1===t.nodeType&&t.hasAttribute(H)&&(t.removeAttribute(H),n=!0),a(n)&&A(t,e,d))return M(e,d,!0),t;l=t,t=new gt(u.tagName(l).toLowerCase(),{},[],void 0,l)}var p=t.elm,m=u.parentNode(p);if(h(e,d,p._leaveCb?null:m,u.nextSibling(p)),s(e.parent))for(var v=e.parent,b=g(e);v;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](v);if(v.elm=e.elm,b){for(var x=0;x<r.create.length;++x)r.create[x](Gi,v);var _=v.data.hook.insert;if(_.merged)for(var S=_.fns.slice(1),C=0;C<S.length;C++)S[C]()}else Vi(v);v=v.parent}s(m)?k([t],0,0):s(t.tag)&&w(t)}}return M(e,d,c),e.elm}s(t)&&w(t)}}({nodeOps:Yi,modules:[ao,go,Xo,Jo,ls,J?{create:Ls,activate:Ls,remove:function(t,e){!0!==t.data.show?Ds(t,e):e()}}:{}].concat(ro)});tt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ys(t,"input")}));var Ns={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ve(n,"postpatch",(function(){Ns.componentUpdated(t,e,n)})):Rs(t,e,n.context),t._vOptions=[].map.call(t.options,Fs)):("textarea"===n.tag||zi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",zs),t.addEventListener("compositionend",Hs),t.addEventListener("change",Hs),tt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Rs(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Fs);if(i.some((function(t,e){return!$(t,r[e])})))(t.multiple?e.value.some((function(t){return Bs(t,i)})):e.value!==e.oldValue&&Bs(e.value,i))&&Ys(t,"change")}}};function Rs(t,e,n){$s(t,e,n),(Q||et)&&setTimeout((function(){$s(t,e,n)}),0)}function $s(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,l=t.options.length;a<l;a++)if(s=t.options[a],i)o=B(r,Fs(s))>-1,s.selected!==o&&(s.selected=o);else if($(Fs(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function Bs(t,e){return e.every((function(e){return!$(e,t)}))}function Fs(t){return"_value"in t?t._value:t.value}function zs(t){t.target.composing=!0}function Hs(t){t.target.composing&&(t.target.composing=!1,Ys(t.target,"input"))}function Ys(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ws(t){return!t.componentInstance||t.data&&t.data.transition?t:Ws(t.componentInstance._vnode)}var Vs={bind:function(t,e,n){var r=e.value,i=(n=Ws(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Es(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Ws(n)).data&&n.data.transition?(n.data.show=!0,r?Es(n,(function(){t.style.display=t.__vOriginalDisplay})):Ds(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Us={model:Ns,show:Vs},Gs={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 Xs(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Xs(an(e.children)):t}function qs(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var r in i)e[C(r)]=i[r];return e}function Ks(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Js=function(t){return t.tag||Ye(t)},Zs=function(t){return"show"===t.name},Qs={name:"transition",props:Gs,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Js)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=Xs(i);if(!o)return i;if(this._leaving)return Ks(t,i);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=qs(this),c=this._vnode,u=Xs(c);if(o.data.directives&&o.data.directives.some(Zs)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!Ye(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=j({},a);if("out-in"===r)return this._leaving=!0,ve(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ks(t,i);if("in-out"===r){if(Ye(o))return c;var h,f=function(){h()};ve(a,"afterEnter",f),ve(a,"enterCancelled",f),ve(d,"delayLeave",(function(t){h=t}))}}return i}}},ta=j({tag:String,moveClass:String},Gs);delete ta.mode;var ea={props:ta,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=vn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=qs(this),a=0;a<i.length;a++){if((u=i[a]).tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=s;else;}if(r){var l=[],c=[];for(a=0;a<r.length;a++){var u;(u=r[a]).data.transition=s,u.data.pos=u.elm.getBoundingClientRect(),n[u.key]?l.push(u):c.push(u)}this.kept=t(e,null,l),this.removed=c}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(na),t.forEach(ra),t.forEach(ia),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;_s(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(bs,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(bs,t),n._moveCb=null,Ss(n,e))})}})))},methods:{hasMove:function(t,e){if(!ps)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){ds(n,t)})),us(n,e),n.style.display="none",this.$el.appendChild(n);var r=Cs(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function na(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ra(t){t.data.newPos=t.elm.getBoundingClientRect()}function ia(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var oa={Transition:Qs,TransitionGroup:ea};di.config.mustUseProp=ki,di.config.isReservedTag=$i,di.config.isReservedAttr=xi,di.config.getTagNamespace=Bi,di.config.isUnknownElement=function(t){if(!J)return!0;if($i(t))return!1;if(t=t.toLowerCase(),null!=Fi[t])return Fi[t];var e=document.createElement(t);return t.indexOf("-")>-1?Fi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Fi[t]=/HTMLUnknownElement/.test(e.toString())},j(di.options.directives,Us),j(di.options.components,oa),di.prototype.__patch__=J?Is:I,di.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=vt),wn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Dr(t,r,I,{before:function(){t._isMounted&&!t._isDestroyed&&wn(t,"beforeUpdate")}},!0),n=!1;var i=t._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return null==t.$vnode&&(t._isMounted=!0,wn(t,"mounted")),t}(this,t=t&&J?Hi(t):void 0,e)},J&&setTimeout((function(){V.devtools&&ct&&ct.emit("init",di)}),0);var sa=/\{\{((?:.|\r?\n)+?)\}\}/g,aa=/[-.*+?^${}()|[\]\/\\]/g,la=O((function(t){var e=t[0].replace(aa,"\\$&"),n=t[1].replace(aa,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var ca={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=To(t,"class");n&&(t.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var r=Ao(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:".concat(t.staticClass,",")),t.classBinding&&(e+="class:".concat(t.classBinding,",")),e}};var ua,da={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=To(t,"style");n&&(t.staticStyle=JSON.stringify(Zo(n)));var r=Ao(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:".concat(t.staticStyle,",")),t.styleBinding&&(e+="style:(".concat(t.styleBinding,"),")),e}},ha=function(t){return(ua=ua||document.createElement("div")).innerHTML=t,ua.textContent},fa=y("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),pa=y("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ma=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"),ga=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,va=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ba="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(U.source,"]*"),ya="((?:".concat(ba,"\\:)?").concat(ba,")"),xa=new RegExp("^<".concat(ya)),wa=/^\s*(\/?)>/,ka=new RegExp("^<\\/".concat(ya,"[^>]*>")),_a=/^<!DOCTYPE [^>]+>/i,Sa=/^<!\--/,Oa=/^<!\[/,Ma=y("script,style,textarea",!0),Ca={},Aa={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Ta=/&(?:lt|gt|quot|amp|#39);/g,Ea=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Da=y("pre,textarea",!0),Pa=function(t,e){return t&&Da(t)&&"\n"===e[0]};function ja(t,e){var n=e?Ea:Ta;return t.replace(n,(function(t){return Aa[t]}))}function La(t,e){for(var n,r,i=[],o=e.expectHTML,s=e.isUnaryTag||N,a=e.canBeLeftOpenTag||N,l=0,c=function(){if(n=t,r&&Ma(r)){var c=0,h=r.toLowerCase(),f=Ca[h]||(Ca[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i"));k=t.replace(f,(function(t,n,r){return c=r.length,Ma(h)||"noscript"===h||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Pa(h,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));l+=t.length-k.length,t=k,d(h,l-c,l)}else{var p=t.indexOf("<");if(0===p){if(Sa.test(t)){var m=t.indexOf("--\x3e");if(m>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,m),l,l+m+3),u(m+3),"continue"}if(Oa.test(t)){var g=t.indexOf("]>");if(g>=0)return u(g+2),"continue"}var v=t.match(_a);if(v)return u(v[0].length),"continue";var b=t.match(ka);if(b){var y=l;return u(b[0].length),d(b[1],y,l),"continue"}var x=function(){var e=t.match(xa);if(e){var n={tagName:e[1],attrs:[],start:l};u(e[0].length);for(var r=void 0,i=void 0;!(r=t.match(wa))&&(i=t.match(va)||t.match(ga));)i.start=l,u(i[0].length),i.end=l,n.attrs.push(i);if(r)return n.unarySlash=r[1],u(r[0].length),n.end=l,n}}();if(x)return function(t){var n=t.tagName,l=t.unarySlash;o&&("p"===r&&ma(n)&&d(r),a(n)&&r===n&&d(n));for(var c=s(n)||!!l,u=t.attrs.length,h=new Array(u),f=0;f<u;f++){var p=t.attrs[f],m=p[3]||p[4]||p[5]||"",g="a"===n&&"href"===p[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[f]={name:p[1],value:ja(m,g)}}c||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),r=n);e.start&&e.start(n,h,c,t.start,t.end)}(x),Pa(x.tagName,t)&&u(1),"continue"}var w=void 0,k=void 0,_=void 0;if(p>=0){for(k=t.slice(p);!(ka.test(k)||xa.test(k)||Sa.test(k)||Oa.test(k)||(_=k.indexOf("<",1))<0);)p+=_,k=t.slice(p);w=t.substring(0,p)}p<0&&(w=t),w&&u(w.length),e.chars&&w&&e.chars(w,l-w.length,l)}if(t===n)return e.chars&&e.chars(t),"break"};t;){if("break"===c())break}function u(e){l+=e,t=t.substring(e)}function d(t,n,o){var s,a;if(null==n&&(n=l),null==o&&(o=l),t)for(a=t.toLowerCase(),s=i.length-1;s>=0&&i[s].lowerCasedTag!==a;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)e.end&&e.end(i[c].tag,n,o);i.length=s,r=s&&i[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))}d()}var Ia,Na,Ra,$a,Ba,Fa,za,Ha,Ya=/^@|^v-on:/,Wa=/^v-|^@|^:|^#/,Va=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ua=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ga=/^\(|\)$/g,Xa=/^\[.*\]$/,qa=/:(.*)$/,Ka=/^:|^\.|^v-bind:/,Ja=/\.[^.\]]+(?=[^\]]*$)/g,Za=/^v-slot(:|$)|^#/,Qa=/[\r\n]/,tl=/[ \f\t\r\n]+/g,el=O(ha),nl="_empty_";function rl(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ul(e),rawAttrsMap:{},parent:n,children:[]}}function il(t,e){Ia=e.warn||xo,Fa=e.isPreTag||N,za=e.mustUseProp||N,Ha=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)))}),Ra=wo(e.modules,"transformNode"),$a=wo(e.modules,"preTransformNode"),Ba=wo(e.modules,"postTransformNode"),Na=e.delimiters;var r,i,o=[],s=!1!==e.preserveWhitespace,a=e.whitespace,l=!1,c=!1;function u(t){if(d(t),l||t.processed||(t=ol(t,e)),o.length||t===r||r.if&&(t.elseif||t.else)&&al(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)s=t,a=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(i.children),a&&a.if&&al(a,{exp:s.elseif,block:s});else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}var s,a;t.children=t.children.filter((function(t){return!t.slotScope})),d(t),t.pre&&(l=!1),Fa(t.tag)&&(c=!1);for(var u=0;u<Ba.length;u++)Ba[u](t,e)}function d(t){if(!c)for(var e=void 0;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return La(t,{warn:Ia,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,d){var h=i&&i.ns||Ha(t);Q&&"svg"===h&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];dl.test(r.name)||(r.name=r.name.replace(hl,""),e.push(r))}return e}(n));var f,p=rl(t,n,i);h&&(p.ns=h),"style"!==(f=p).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||lt()||(p.forbidden=!0);for(var m=0;m<$a.length;m++)p=$a[m](p,e)||p;l||(!function(t){null!=To(t,"v-pre")&&(t.pre=!0)}(p),p.pre&&(l=!0)),Fa(p.tag)&&(c=!0),l?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),i=0;i<n;i++)r[i]={name:e[i].name,value:JSON.stringify(e[i].value)},null!=e[i].start&&(r[i].start=e[i].start,r[i].end=e[i].end);else t.pre||(t.plain=!0)}(p):p.processed||(sl(p),function(t){var e=To(t,"v-if");if(e)t.if=e,al(t,{exp:e,block:t});else{null!=To(t,"v-else")&&(t.else=!0);var n=To(t,"v-else-if");n&&(t.elseif=n)}}(p),function(t){var e=To(t,"v-once");null!=e&&(t.once=!0)}(p)),r||(r=p),s?u(p):(i=p,o.push(p))},end:function(t,e,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],u(r)},chars:function(t,e,n){if(i&&(!Q||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var r,o=i.children;if(t=c||t.trim()?"script"===(r=i).tag||"style"===r.tag?t:el(t):o.length?a?"condense"===a&&Qa.test(t)?"":" ":s?" ":"":""){c||"condense"!==a||(t=t.replace(tl," "));var u=void 0,d=void 0;!l&&" "!==t&&(u=function(t,e){var n=e?la(e):sa;if(n.test(t)){for(var r,i,o,s=[],a=[],l=n.lastIndex=0;r=n.exec(t);){(i=r.index)>l&&(a.push(o=t.slice(l,i)),s.push(JSON.stringify(o)));var c=bo(r[1].trim());s.push("_s(".concat(c,")")),a.push({"@binding":c}),l=i+r[0].length}return l<t.length&&(a.push(o=t.slice(l)),s.push(JSON.stringify(o))),{expression:s.join("+"),tokens:a}}}(t,Na))?d={type:2,expression:u.expression,tokens:u.tokens,text:t}:" "===t&&o.length&&" "===o[o.length-1].text||(d={type:3,text:t}),d&&o.push(d)}}},comment:function(t,e,n){if(i){var r={type:3,text:t,isComment:!0};0,i.children.push(r)}}}),r}function ol(t,e){var n;!function(t){var e=Ao(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Ao(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=To(t,"scope"),t.slotScope=e||To(t,"slot-scope")):(e=To(t,"slot-scope"))&&(t.slotScope=e);var n=Ao(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||_o(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){if(s=Eo(t,Za)){0;var r=ll(s),i=r.name,o=r.dynamic;t.slotTarget=i,t.slotTargetDynamic=o,t.slotScope=s.value||nl}}else{var s;if(s=Eo(t,Za)){0;var a=t.scopedSlots||(t.scopedSlots={}),l=ll(s),c=l.name,u=(o=l.dynamic,a[c]=rl("template",[],t));u.slotTarget=c,u.slotTargetDynamic=o,u.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=u,!0})),u.slotScope=s.value||nl,t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=Ao(n,"name")),function(t){var e;(e=Ao(t,"is"))&&(t.component=e);null!=To(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<Ra.length;r++)t=Ra[r](t,e)||t;return function(t){var e,n,r,i,o,s,a,l,c=t.attrsList;for(e=0,n=c.length;e<n;e++){if(r=i=c[e].name,o=c[e].value,Wa.test(r))if(t.hasBindings=!0,(s=cl(r.replace(Wa,"")))&&(r=r.replace(Ja,"")),Ka.test(r))r=r.replace(Ka,""),o=bo(o),(l=Xa.test(r))&&(r=r.slice(1,-1)),s&&(s.prop&&!l&&"innerHtml"===(r=C(r))&&(r="innerHTML"),s.camel&&!l&&(r=C(r)),s.sync&&(a=jo(o,"$event"),l?Co(t,'"update:"+('.concat(r,")"),a,null,!1,0,c[e],!0):(Co(t,"update:".concat(C(r)),a,null,!1,0,c[e]),E(r)!==C(r)&&Co(t,"update:".concat(E(r)),a,null,!1,0,c[e])))),s&&s.prop||!t.component&&za(t.tag,t.attrsMap.type,r)?ko(t,r,o,c[e],l):_o(t,r,o,c[e],l);else if(Ya.test(r))r=r.replace(Ya,""),(l=Xa.test(r))&&(r=r.slice(1,-1)),Co(t,r,o,s,!1,0,c[e],l);else{var u=(r=r.replace(Wa,"")).match(qa),d=u&&u[1];l=!1,d&&(r=r.slice(0,-(d.length+1)),Xa.test(d)&&(d=d.slice(1,-1),l=!0)),Oo(t,r,i,o,d,l,s,c[e])}else _o(t,r,JSON.stringify(o),c[e]),!t.component&&"muted"===r&&za(t.tag,t.attrsMap.type,r)&&ko(t,r,"true",c[e])}}(t),t}function sl(t){var e;if(e=To(t,"v-for")){var n=function(t){var e=t.match(Va);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(Ga,""),i=r.match(Ua);i?(n.alias=r.replace(Ua,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(e);n&&j(t,n)}}function al(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function ll(t){var e=t.name.replace(Za,"");return e||"#"!==t.name[0]&&(e="default"),Xa.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'.concat(e,'"'),dynamic:!1}}function cl(t){var e=t.match(Ja);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function ul(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var dl=/^xmlns:NS\d+/,hl=/^NS\d+:/;function fl(t){return rl(t.tag,t.attrsList.slice(),t.parent)}var pl=[ca,da,{preTransformNode:function(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=Ao(t,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var i=To(t,"v-if",!0),o=i?"&&(".concat(i,")"):"",s=null!=To(t,"v-else",!0),a=To(t,"v-else-if",!0),l=fl(t);sl(l),So(l,"type","checkbox"),ol(l,e),l.processed=!0,l.if="(".concat(r,")==='checkbox'")+o,al(l,{exp:l.if,block:l});var c=fl(t);To(c,"v-for",!0),So(c,"type","radio"),ol(c,e),al(l,{exp:"(".concat(r,")==='radio'")+o,block:c});var u=fl(t);return To(u,"v-for",!0),So(u,":type",r),ol(u,e),al(l,{exp:i,block:u}),s?l.else=!0:a&&(l.elseif=a),l}}}}];var ml,gl,vl={model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,s=t.attrsMap.type;if(t.component)return Po(t,r,i),!1;if("select"===o)!function(t,e,n){var r=n&&n.number,i='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(r?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",s="var $$selectedVal = ".concat(i,";");s="".concat(s," ").concat(jo(e,o)),Co(t,"change",s,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===s)!function(t,e,n){var r=n&&n.number,i=Ao(t,"value")||"null",o=Ao(t,"true-value")||"true",s=Ao(t,"false-value")||"false";ko(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(i,")>-1")+("true"===o?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")"))),Co(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(s,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(jo(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(jo(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(jo(e,"$$c"),"}"),null,!0)}(t,r,i);else if("input"===o&&"radio"===s)!function(t,e,n){var r=n&&n.number,i=Ao(t,"value")||"null";i=r?"_n(".concat(i,")"):i,ko(t,"checked","_q(".concat(e,",").concat(i,")")),Co(t,"change",jo(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},o=i.lazy,s=i.number,a=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?Fo:"input",u="$event.target.value";a&&(u="$event.target.value.trim()");s&&(u="_n(".concat(u,")"));var d=jo(e,u);l&&(d="if($event.target.composing)return;".concat(d));ko(t,"value","(".concat(e,")")),Co(t,c,d,null,!0),(a||s)&&Co(t,"blur","$forceUpdate()")}(t,r,i);else{if(!V.isReservedTag(o))return Po(t,r,i),!1}return!0},text:function(t,e){e.value&&ko(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&ko(t,"innerHTML","_s(".concat(e.value,")"),e)}},bl={expectHTML:!0,modules:pl,directives:vl,isPreTag:function(t){return"pre"===t},isUnaryTag:fa,mustUseProp:ki,canBeLeftOpenTag:pa,isReservedTag:$i,getTagNamespace:Bi,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(pl)},yl=O((function(t){return y("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function xl(t,e){t&&(ml=yl(e.staticKeys||""),gl=e.isReservedTag||N,wl(t),kl(t,!1))}function wl(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||x(t.tag)||!gl(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(ml)))}(t),1===t.type){if(!gl(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];wl(r),r.static||(t.static=!1)}if(t.ifConditions)for(e=1,n=t.ifConditions.length;e<n;e++){var i=t.ifConditions[e].block;wl(i),i.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,r=t.children.length;n<r;n++)kl(t.children[n],e||!!t.for);if(t.ifConditions)for(n=1,r=t.ifConditions.length;n<r;n++)kl(t.ifConditions[n].block,e)}}var _l=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Sl=/\([^)]*?\);*$/,Ol=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ml={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Cl={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"]},Al=function(t){return"if(".concat(t,")return null;")},Tl={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Al("$event.target !== $event.currentTarget"),ctrl:Al("!$event.ctrlKey"),shift:Al("!$event.shiftKey"),alt:Al("!$event.altKey"),meta:Al("!$event.metaKey"),left:Al("'button' in $event && $event.button !== 0"),middle:Al("'button' in $event && $event.button !== 1"),right:Al("'button' in $event && $event.button !== 2")};function El(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var o in t){var s=Dl(t[o]);t[o]&&t[o].dynamic?i+="".concat(o,",").concat(s,","):r+='"'.concat(o,'":').concat(s,",")}return r="{".concat(r.slice(0,-1),"}"),i?n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])"):n+r}function Dl(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return Dl(t)})).join(","),"]");var e=Ol.test(t.value),n=_l.test(t.value),r=Ol.test(t.value.replace(Sl,""));if(t.modifiers){var i="",o="",s=[],a=function(e){if(Tl[e])o+=Tl[e],Ml[e]&&s.push(e);else if("exact"===e){var n=t.modifiers;o+=Al(["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 l in t.modifiers)a(l);s.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(Pl).join("&&"),")return null;")}(s)),o&&(i+=o);var c=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):r?"return ".concat(t.value):t.value;return"function($event){".concat(i).concat(c,"}")}return e||n?t.value:"function($event){".concat(r?"return ".concat(t.value):t.value,"}")}function Pl(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=Ml[t],r=Cl[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var jl={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(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":"",")")}},cloak:I},Ll=function(t){this.options=t,this.warn=t.warn||xo,this.transforms=wo(t.modules,"transformCode"),this.dataGenFns=wo(t.modules,"genData"),this.directives=j(j({},jl),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};function Il(t,e){var n=new Ll(e),r=t?"script"===t.tag?"null":Nl(t,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Nl(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Rl(t,e);if(t.once&&!t.onceProcessed)return $l(t,e);if(t.for&&!t.forProcessed)return zl(t,e);if(t.if&&!t.ifProcessed)return Bl(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Vl(t,e),i="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),o=t.attrs||t.dynamicAttrs?Xl((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:C(t.name),value:t.value,dynamic:t.dynamic}}))):null,s=t.attrsMap["v-bind"];!o&&!s||r||(i+=",null");o&&(i+=",".concat(o));s&&(i+="".concat(o?"":",null",",").concat(s));return i+")"}(t,e);var n=void 0;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Vl(e,n,!0);return"_c(".concat(t,",").concat(Hl(e,n)).concat(r?",".concat(r):"",")")}(t.component,t,e);else{var r=void 0,i=e.maybeComponent(t);(!t.plain||t.pre&&i)&&(r=Hl(t,e));var o=void 0,s=e.options.bindings;i&&s&&!1!==s.__isScriptSetup&&(o=function(t,e){var n=C(e),r=A(n),i=function(i){return t[e]===i?e:t[n]===i?n:t[r]===i?r:void 0},o=i("setup-const")||i("setup-reactive-const");if(o)return o;var s=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");if(s)return s}(s,t.tag)),o||(o="'".concat(t.tag,"'"));var a=t.inlineTemplate?null:Vl(t,e,!0);n="_c(".concat(o).concat(r?",".concat(r):"").concat(a?",".concat(a):"",")")}for(var l=0;l<e.transforms.length;l++)n=e.transforms[l](t,n);return n}return Vl(t,e)||"void 0"}function Rl(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return ".concat(Nl(t,e),"}")),e.pre=n,"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function $l(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Bl(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(Nl(t,e),",").concat(e.onceId++,",").concat(n,")"):Nl(t,e)}return Rl(t,e)}function Bl(t,e,n,r){return t.ifProcessed=!0,Fl(t.ifConditions.slice(),e,n,r)}function Fl(t,e,n,r){if(!t.length)return r||"_e()";var i=t.shift();return i.exp?"(".concat(i.exp,")?").concat(o(i.block),":").concat(Fl(t,e,n,r)):"".concat(o(i.block));function o(t){return n?n(t,e):t.once?$l(t,e):Nl(t,e)}}function zl(t,e,n,r){var i=t.for,o=t.alias,s=t.iterator1?",".concat(t.iterator1):"",a=t.iterator2?",".concat(t.iterator2):"";return t.forProcessed=!0,"".concat(r||"_l","((").concat(i,"),")+"function(".concat(o).concat(s).concat(a,"){")+"return ".concat((n||Nl)(t,e))+"})"}function Hl(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,s,a="directives:[",l=!1;for(r=0,i=n.length;r<i;r++){o=n[r],s=!0;var c=e.directives[o.name];c&&(s=!!c(t,o,e.warn)),s&&(l=!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)):"","},"))}if(l)return a.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),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 i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:".concat(Xl(t.attrs),",")),t.props&&(n+="domProps:".concat(Xl(t.props),",")),t.events&&(n+="".concat(El(t.events,!1),",")),t.nativeEvents&&(n+="".concat(El(t.nativeEvents,!0),",")),t.slotTarget&&!t.slotScope&&(n+="slot:".concat(t.slotTarget,",")),t.scopedSlots&&(n+="".concat(function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Yl(n)})),i=!!t.if;if(!r)for(var o=t.parent;o;){if(o.slotScope&&o.slotScope!==nl||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var s=Object.keys(e).map((function(t){return Wl(e[t],n)})).join(",");return"scopedSlots:_u([".concat(s,"]").concat(r?",null,true":"").concat(!r&&i?",null,false,".concat(function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(s)):"",")")}(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=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=Il(n,e.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}(t,e);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(Xl(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Yl(t){return 1===t.type&&("slot"===t.tag||t.children.some(Yl))}function Wl(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Bl(t,e,Wl,"null");if(t.for&&!t.forProcessed)return zl(t,e,Wl);var r=t.slotScope===nl?"":String(t.slotScope),i="function(".concat(r,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(Vl(t,e)||"undefined",":undefined"):Vl(t,e)||"undefined":Nl(t,e),"}"),o=r?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(i).concat(o,"}")}function Vl(t,e,n,r,i){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((r||Nl)(s,e)).concat(a)}var l=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(Ul(i)||i.ifConditions&&i.ifConditions.some((function(t){return Ul(t.block)}))){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(o,e.maybeComponent):0,c=i||Gl;return"[".concat(o.map((function(t){return c(t,e)})).join(","),"]").concat(l?",".concat(l):"")}}function Ul(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Gl(t,e){return 1===t.type?Nl(t,e):3===t.type&&t.isComment?function(t){return"_e(".concat(JSON.stringify(t.text),")")}(t):function(t){return"_v(".concat(2===t.type?t.expression:ql(JSON.stringify(t.text)),")")}(t)}function Xl(t){for(var e="",n="",r=0;r<t.length;r++){var i=t[r],o=ql(i.value);i.dynamic?n+="".concat(i.name,",").concat(o,","):e+='"'.concat(i.name,'":').concat(o,",")}return e="{".concat(e.slice(0,-1),"}"),n?"_d(".concat(e,",[").concat(n.slice(0,-1),"])"):e}function ql(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 Kl(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),I}}function Jl(t){var e=Object.create(null);return function(n,r,i){(r=j({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var s=t(n,r);var a={},l=[];return a.render=Kl(s.render,l),a.staticRenderFns=s.staticRenderFns.map((function(t){return Kl(t,l)})),e[o]=a}}var Zl,Ql,tc=(Zl=function(t,e){var n=il(t.trim(),e);!1!==e.optimize&&xl(n,e);var r=Il(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),i=[],o=[];if(n)for(var s in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=j(Object.create(t.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(r[s]=n[s]);r.warn=function(t,e,n){(n?o:i).push(t)};var a=Zl(e.trim(),r);return a.errors=i,a.tips=o,a}return{compile:e,compileToFunctions:Jl(e)}}),ec=tc(bl).compileToFunctions;function nc(t){return(Ql=Ql||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Ql.innerHTML.indexOf("&#10;")>0}var rc=!!J&&nc(!1),ic=!!J&&nc(!0),oc=O((function(t){var e=Hi(t);return e&&e.innerHTML})),sc=di.prototype.$mount;di.prototype.$mount=function(t,e){if((t=t&&Hi(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=oc(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=ec(r,{outputSourceRange:!1,shouldDecodeNewlines:rc,shouldDecodeNewlinesForHref:ic,delimiters:n.delimiters,comments:n.comments},this),o=i.render,s=i.staticRenderFns;n.render=o,n.staticRenderFns=s}}return sc.call(this,t,e)},di.compile=ec},78137:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>P,L8:()=>_,PY:()=>k,aH:()=>w,i0:()=>S});var r=("undefined"!=typeof window?window:void 0!==n.g?n.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,r=(n=function(e){return e.original===t},e.filter(n)[0]);if(r)return r.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=i(t[n],e)})),o}function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function s(t){return null!==t&&"object"==typeof t}var a=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)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.hasChild=function(t){return t in this._children},a.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)},a.prototype.forEachChild=function(t){o(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,l);var c=function(t){this.register([],t,!1)};function u(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;u(t.concat(r),e.getChild(r),n.modules[r])}}c.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},c.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},c.prototype.update=function(t){u([],this.root,t)},c.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new a(e,n);0===t.length?this.root=i:this.get(t.slice(0,-1)).addChild(t[t.length-1],i);e.modules&&o(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},c.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},c.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var d;var h=function(t){var e=this;void 0===t&&(t={}),!d&&"undefined"!=typeof window&&window.Vue&&x(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 c(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new d,this._makeLocalGettersCache=Object.create(null);var o=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return a.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;v(this,l,[],this._modules.root),g(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:d.config.devtools)&&function(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){r.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function p(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 m(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;v(t,n,[],t._modules.root,!0),g(t,n,e)}function g(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,s={};o(i,(function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=d.config.silent;d.config.silent=!0,t._vm=new d({data:{$$state:e},computed:s}),d.config.silent=a,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),d.nextTick((function(){return r.$destroy()})))}function v(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!o&&!i){var a=b(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){d.set(a,l,r.state)}))}var c=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=y(n,r,i),s=o.payload,a=o.options,l=o.type;return a&&a.root||(l=e+l),t.dispatch(l,s)},commit:r?t.commit:function(n,r,i){var o=y(n,r,i),s=o.payload,a=o.options,l=o.type;a&&a.root||(l=e+l),t.commit(l,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return b(t.state,n)}}}),i}(t,s,n);r.forEachMutation((function(e,n){!function(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}(t,s+n,e,c)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;!function(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i,o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,i,c)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,s+n,e,c)})),r.forEachChild((function(r,o){v(t,e,n.concat(o),r,i)}))}function b(t,e){return e.reduce((function(t,e){return t[e]}),t)}function y(t,e,n){return s(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function x(t){d&&t===d||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){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)}}(d=t)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){0},h.prototype.commit=function(t,e,n){var r=this,i=y(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},h.prototype.dispatch=function(t,e){var n=this,r=y(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){0}var l=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){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(t){0}e(t)}))}))}},h.prototype.subscribe=function(t,e){return p(t,this._subscribers,e)},h.prototype.subscribeAction=function(t,e){return p("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},h.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},h.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},h.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),g(this,this.state)},h.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=b(e.state,t.slice(0,-1));d.delete(n,t[t.length-1])})),m(this)},h.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},h.prototype.hotUpdate=function(t){this._modules.update(t),m(this,!0)},h.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(h.prototype,f);var w=M((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=C(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),k=M((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=C(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),_=M((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||C(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),S=M((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=C(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function O(t){return function(t){return Array.isArray(t)||s(t)}(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 M(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function C(t,e,n){return t._modulesNamespaceMap[n]}function A(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function T(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function E(){var t=new Date;return" @ "+D(t.getHours(),2)+":"+D(t.getMinutes(),2)+":"+D(t.getSeconds(),2)+"."+D(t.getMilliseconds(),3)}function D(t,e){return n="0",r=e-t.toString().length,new Array(r+1).join(n)+t;var n,r}const P={Store:h,install:x,version:"3.6.2",mapState:w,mapMutations:k,mapGetters:_,mapActions:S,createNamespacedHelpers:function(t){return{mapState:w.bind(null,t),mapGetters:_.bind(null,t),mapMutations:k.bind(null,t),mapActions:S.bind(null,t)}},createLogger:function(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 r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var s=t.actionFilter;void 0===s&&(s=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=i(t.state);void 0!==u&&(l&&t.subscribe((function(t,s){var a=i(s);if(n(t,d,a)){var l=E(),c=o(t),h="mutation "+t.type+l;A(u,h,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),T(u)}d=a})),c&&t.subscribeAction((function(t,n){if(s(t,n)){var r=E(),i=a(t),o="action "+t.type+r;A(u,o,e),u.log("%c action","color: #03A9F4; font-weight: bold",i),T(u)}})))}}}},81938:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vld-overlay,.vld-shown{overflow:hidden}.vld-overlay{align-items:center;bottom:0;display:none;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:9999}.vld-overlay.is-active{display:flex}.vld-overlay.is-full-page{position:fixed;z-index:9999}.vld-overlay .vld-background{background:#fff;bottom:0;left:0;opacity:.5;position:absolute;right:0;top:0}.vld-overlay .vld-icon,.vld-parent{position:relative}",""]);const o=i},63951:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vc-chrome{background:#fff;background-color:#fff;border-radius:2px;box-shadow:0 0 2px #0000004d,0 4px 8px #0000004d;box-sizing:initial;font-family:Menlo;width:225px}.vc-chrome-controls{display:flex}.vc-chrome-color-wrap{position:relative;width:36px}.vc-chrome-active-color{border-radius:15px;height:30px;overflow:hidden;position:relative;width:30px;z-index:1}.vc-chrome-color-wrap .vc-checkerboard{background-size:auto;border-radius:15px;height:30px;width:30px}.vc-chrome-sliders{flex:1}.vc-chrome-fields-wrap{display:flex;padding-top:16px}.vc-chrome-fields{display:flex;flex:1;margin-left:-6px}.vc-chrome-field{padding-left:6px;width:100%}.vc-chrome-toggle-btn{position:relative;text-align:right;width:32px}.vc-chrome-toggle-icon{cursor:pointer;margin-right:-4px;margin-top:12px;position:relative;z-index:2}.vc-chrome-toggle-icon-highlight{background:#eee;border-radius:4px;height:28px;left:12px;position:absolute;top:10px;width:24px}.vc-chrome-hue-wrap{margin-bottom:8px}.vc-chrome-alpha-wrap,.vc-chrome-hue-wrap{height:10px;position:relative}.vc-chrome-alpha-wrap .vc-alpha-gradient,.vc-chrome-hue-wrap .vc-hue{border-radius:2px}.vc-chrome-alpha-wrap .vc-alpha-picker,.vc-chrome-hue-wrap .vc-hue-picker{background-color:#f8f8f8;border-radius:6px;box-shadow:0 1px 4px 0 #0000005e;height:12px;transform:translate(-6px,-2px);width:12px}.vc-chrome-body{background-color:#fff;padding:16px 16px 12px}.vc-chrome-saturation-wrap{border-radius:2px 2px 0 0;overflow:hidden;padding-bottom:55%;position:relative;width:100%}.vc-chrome-saturation-wrap .vc-saturation-circle{height:12px;width:12px}.vc-chrome-fields .vc-input__input{border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #dadada;color:#333;font-size:11px;height:21px;text-align:center;width:100%}.vc-chrome-fields .vc-input__label{color:#969696;display:block;font-size:11px;line-height:11px;margin-top:12px;text-align:center;text-transform:uppercase}.vc-chrome__disable-alpha .vc-chrome-active-color{height:18px;width:18px}.vc-chrome__disable-alpha .vc-chrome-color-wrap{width:30px}.vc-chrome__disable-alpha .vc-chrome-hue-wrap{margin-bottom:4px;margin-top:4px}",""]);const o=i},89552:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vc-alpha,.vc-alpha-checkboard-wrap{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-checkboard-wrap{overflow:hidden}.vc-alpha-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.vc-alpha-container{cursor:pointer;height:100%;margin:0 3px;position:relative;z-index:2}.vc-alpha-pointer{position:absolute;z-index:2}.vc-alpha-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px #0009;cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}",""]);const o=i},38183:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}",""]);const o=i},61257:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vc-editable-input{position:relative}.vc-input__input{border:0;outline:none;padding:0}.vc-input__label{text-transform:capitalize}",""]);const o=i},82619:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px #0009;cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}",""]);const o=i},87117:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".vc-saturation,.vc-saturation--black,.vc-saturation--white{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.vc-saturation--white{background:linear-gradient(90deg,#fff,#fff0)}.vc-saturation--black{background:linear-gradient(0deg,#000,#0000)}.vc-saturation-pointer{cursor:pointer;position:absolute}.vc-saturation-circle{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;cursor:head;height:4px;transform:translate(-2px,-2px);width:4px}",""]);const o=i},47219:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(55386),i=n.n(r),o=n(32070),s=i()((function(t){return t[1]}));s.i(o.A),s.push([t.id,"",""]);const a=s},39558:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,":root {\n    --vs-transition-timing-function: cubic-bezier(1, 0.5, 0.8, 1);\n    --vs-transition-duration: 0.15s;\n}\n\n/* KeyFrames */\n@-webkit-keyframes vSelectSpinner {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n}\n\n@keyframes vSelectSpinner {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n}\n\n/* Dropdown Default Transition */\n.vs__fade-enter-active,\n.vs__fade-leave-active {\n    pointer-events: none;\n    transition: opacity var(--vs-transition-duration)\n        var(--vs-transition-timing-function);\n}\n.vs__fade-enter,\n.vs__fade-leave-to {\n    opacity: 0;\n}\n",""]);const o=i},92310:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,".v-select {\n  position: relative;\n  font-family: inherit;\n}\n\n.v-select,\n.v-select * {\n  box-sizing: border-box;\n}\n",""]);const o=i},39837:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/** Component States */\n\n/*\n * Disabled\n *\n * When the component is disabled, all interaction\n * should be prevented. Here we modify the bg color,\n * and change the cursor displayed on the interactive\n * components.\n */\n\n:root {\n    --vs-disabled-bg: var(--vs-state-disabled-bg);\n    --vs-disabled-color: var(--vs-state-disabled-color);\n    --vs-disabled-cursor: var(--vs-state-disabled-cursor);\n}\n\n.vs--disabled {\n    .vs__dropdown-toggle,\n    .vs__clear,\n    .vs__search,\n    .vs__selected,\n    .vs__open-indicator {\n        cursor: var(--vs-disabled-cursor);\n        background-color: var(--vs-disabled-bg);\n    }\n}\n\n/*\n *  RTL - Right to Left Support\n *\n *  Because we're using a flexbox layout, the `dir=\"rtl\"`\n *  HTML attribute does most of the work for us by\n *  rearranging the child elements visually.\n */\n\n.v-select[dir='rtl'] {\n    .vs__actions {\n        padding: 0 3px 0 6px;\n    }\n\n    .vs__clear {\n        margin-left: 6px;\n        margin-right: 0;\n    }\n\n    .vs__deselect {\n        margin-left: 0;\n        margin-right: 2px;\n    }\n\n    .vs__dropdown-menu {\n        text-align: right;\n    }\n}\n",""]);const o=i},19596:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,":root,\n:host {\n    --vs-colors--lightest: rgba(60, 60, 60, 0.26);\n    --vs-colors--light: rgba(60, 60, 60, 0.5);\n    --vs-colors--dark: #333;\n    --vs-colors--darkest: rgba(0, 0, 0, 0.15);\n\n    /* Search Input */\n    --vs-search-input-color: inherit;\n    --vs-search-input-bg: rgb(255, 255, 255);\n    --vs-search-input-placeholder-color: inherit;\n\n    /* Font */\n    --vs-font-size: 1rem;\n    --vs-line-height: 1.4;\n\n    /* Disabled State */\n    --vs-state-disabled-bg: rgb(248, 248, 248);\n    --vs-state-disabled-color: var(--vs-colors--light);\n    --vs-state-disabled-controls-color: var(--vs-colors--light);\n    --vs-state-disabled-cursor: not-allowed;\n\n    /* Borders */\n    --vs-border-color: var(--vs-colors--lightest);\n    --vs-border-width: 1px;\n    --vs-border-style: solid;\n    --vs-border-radius: 4px;\n\n    /* Actions: house the component controls */\n    --vs-actions-padding: 4px 6px 0 3px;\n\n    /* Component Controls: Clear, Open Indicator */\n    --vs-controls-color: var(--vs-colors--light);\n    --vs-controls-size: 1;\n    --vs-controls--deselect-text-shadow: 0 1px 0 #fff;\n\n    /* Selected */\n    --vs-selected-bg: #f0f0f0;\n    --vs-selected-color: var(--vs-colors--dark);\n    --vs-selected-border-color: var(--vs-border-color);\n    --vs-selected-border-style: var(--vs-border-style);\n    --vs-selected-border-width: var(--vs-border-width);\n\n    /* Dropdown */\n    --vs-dropdown-bg: #fff;\n    --vs-dropdown-color: inherit;\n    --vs-dropdown-z-index: 1000;\n    --vs-dropdown-min-width: 160px;\n    --vs-dropdown-max-height: 350px;\n    --vs-dropdown-box-shadow: 0px 3px 6px 0px var(--vs-colors--darkest);\n\n    /* Options */\n    --vs-dropdown-option-bg: #000;\n    --vs-dropdown-option-color: var(--vs-dropdown-color);\n    --vs-dropdown-option-padding: 3px 20px;\n\n    /* Active State */\n    --vs-dropdown-option--active-bg: #5897fb;\n    --vs-dropdown-option--active-color: #fff;\n\n    /* Deselect State */\n    --vs-dropdown-option--deselect-bg: #fb5858;\n    --vs-dropdown-option--deselect-color: #fff;\n\n    /* Transitions */\n    --vs-transition-timing-function: cubic-bezier(1, -0.115, 0.975, 0.855);\n    --vs-transition-duration: 150ms;\n}\n",""]);const o=i},14162:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/* Clear Button */\n\n.vs__clear {\n    fill: var(--vs-controls-color);\n    padding: 0;\n    border: 0;\n    background-color: transparent;\n    cursor: pointer;\n    margin-right: 8px;\n}\n",""]);const o=i},73896:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/* Dropdown Menu */\n\n.vs__dropdown-menu {\n    display: block;\n    box-sizing: border-box;\n    position: absolute;\n    /* calc to ensure the left and right borders of the dropdown appear flush with the toggle. */\n    top: calc(100% - var(--vs-border-width));\n    left: 0;\n    z-index: var(--vs-dropdown-z-index);\n    padding: 5px 0;\n    margin: 0;\n    width: 100%;\n    max-height: var(--vs-dropdown-max-height);\n    min-width: var(--vs-dropdown-min-width);\n    overflow-y: auto;\n    box-shadow: var(--vs-dropdown-box-shadow);\n    border: var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);\n    border-top-style: none;\n    border-radius: 0 0 var(--vs-border-radius) var(--vs-border-radius);\n    text-align: left;\n    list-style: none;\n    background: var(--vs-dropdown-bg);\n    color: var(--vs-dropdown-color);\n}\n\n.vs__no-options {\n    text-align: center;\n}\n",""]);const o=i},44638:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/* List Items */\n.vs__dropdown-option {\n    line-height: 1.42857143; /* Normalize line height */\n    display: block;\n    padding: var(--vs-dropdown-option-padding);\n    clear: both;\n    color: var(--vs-dropdown-option-color); /* Overrides most CSS frameworks */\n    white-space: nowrap;\n    cursor: pointer;\n}\n\n.vs__dropdown-option--highlight {\n    background: var(--vs-dropdown-option--active-bg);\n    color: var(--vs-dropdown-option--active-color);\n}\n\n.vs__dropdown-option--deselect {\n    background: var(--vs-dropdown-option--deselect-bg);\n    color: var(--vs-dropdown-option--deselect-color);\n}\n\n.vs__dropdown-option--disabled {\n    background: var(--vs-state-disabled-bg);\n    color: var(--vs-state-disabled-color);\n    cursor: var(--vs-state-disabled-cursor);\n}\n",""]);const o=i},10797:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/**\n    Dropdown Toggle\n\n    The dropdown toggle is the primary wrapper of the component. It\n    has two direct descendants: .vs__selected-options, and .vs__actions.\n\n    .vs__selected-options holds the .vs__selected's as well as the\n    main search input.\n\n    .vs__actions holds the clear button and dropdown toggle.\n */\n\n.vs__dropdown-toggle {\n    appearance: none;\n    display: flex;\n    padding: 0 0 4px 0;\n    background: var(--vs-search-input-bg);\n    border: var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);\n    border-radius: var(--vs-border-radius);\n    white-space: normal;\n}\n\n.vs__selected-options {\n    display: flex;\n    flex-basis: 100%;\n    flex-grow: 1;\n    flex-wrap: wrap;\n    padding: 0 2px;\n    position: relative;\n}\n\n.vs__actions {\n    display: flex;\n    align-items: center;\n    padding: var(--vs-actions-padding);\n}\n\n/* Dropdown Toggle States */\n.vs--searchable .vs__dropdown-toggle {\n    cursor: text;\n}\n.vs--unsearchable .vs__dropdown-toggle {\n    cursor: pointer;\n}\n.vs--open .vs__dropdown-toggle {\n    border-bottom-color: transparent;\n    border-bottom-left-radius: 0;\n    border-bottom-right-radius: 0;\n}\n",""]);const o=i},66585:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/* Open Indicator */\n\n/*\n  The open indicator appears as a down facing\n  caret on the right side of the select.\n */\n\n.vs__open-indicator {\n    fill: var(--vs-controls-color);\n    transform: scale(var(--vs-controls-size));\n    transition: transform var(--vs-transition-duration)\n        var(--vs-transition-timing-function);\n    transition-timing-function: var(--vs-transition-timing-function);\n}\n\n/* Open State */\n\n.vs--open .vs__open-indicator {\n    transform: rotate(180deg) scale(var(--vs-controls-size));\n}\n\n/* Loading State */\n\n.vs--loading .vs__open-indicator {\n    opacity: 0;\n}\n",""]);const o=i},88130:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/* Search Input */\n\n/**\n * Super weird bug... If this declaration is grouped\n * below, the cancel button will still appear in chrome.\n * If it's up here on it's own, it'll hide it.\n */\n.vs__search::-webkit-search-cancel-button {\n    display: none;\n}\n\n.vs__search::-webkit-search-decoration,\n.vs__search::-webkit-search-results-button,\n.vs__search::-webkit-search-results-decoration,\n.vs__search::-ms-clear {\n    display: none;\n}\n\n.vs__search,\n.vs__search:focus {\n    color: var(--vs-search-input-color);\n    appearance: none;\n    line-height: var(--vs-line-height);\n    font-size: var(--vs-font-size);\n    border: 1px solid transparent;\n    border-left: none;\n    outline: none;\n    margin: 4px 0 0 0;\n    padding: 0 7px;\n    background: none;\n    box-shadow: none;\n    width: 0;\n    max-width: 100%;\n    flex-grow: 1;\n    z-index: 1;\n}\n\n.vs__search::placeholder {\n    color: var(--vs-search-input-placeholder-color);\n}\n\n/**\n    States\n */\n\n/* Unsearchable */\n.vs--unsearchable {\n    .vs__search {\n        opacity: 1;\n    }\n    &:not(.vs--disabled) .vs__search {\n        cursor: pointer;\n    }\n}\n\n/* Single, when searching but not loading or open */\n.vs--single.vs--searching:not(.vs--open):not(.vs--loading) {\n    .vs__search {\n        opacity: 0.2;\n    }\n}\n",""]);const o=i},66618:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/* Selected Tags */\n.vs__selected {\n    display: flex;\n    align-items: center;\n    background-color: var(--vs-selected-bg);\n    border: var(--vs-selected-border-width) var(--vs-selected-border-style)\n        var(--vs-selected-border-color);\n    border-radius: var(--vs-border-radius);\n    color: var(--vs-selected-color);\n    line-height: var(--vs-line-height);\n    margin: 4px 2px 0px 2px;\n    padding: 0 0.25em;\n    z-index: 0;\n}\n\n.vs__deselect {\n    display: inline-flex;\n    appearance: none;\n    margin-left: 4px;\n    padding: 0;\n    border: 0;\n    cursor: pointer;\n    background: none;\n    fill: var(--vs-controls-color);\n    text-shadow: var(--vs-controls--deselect-text-shadow);\n}\n\n/* States */\n\n.vs--single {\n    .vs__selected {\n        background-color: transparent;\n        border-color: transparent;\n    }\n    &.vs--open .vs__selected,\n    &.vs--loading .vs__selected {\n        position: absolute;\n        opacity: 0.4;\n    }\n    &.vs--searching .vs__selected {\n        display: none;\n    }\n}\n",""]);const o=i},97802:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"/* Loading Spinner */\n.vs__spinner {\n    align-self: center;\n    opacity: 0;\n    font-size: 5px;\n    text-indent: -9999em;\n    overflow: hidden;\n    border-top: 0.9em solid rgba(100, 100, 100, 0.1);\n    border-right: 0.9em solid rgba(100, 100, 100, 0.1);\n    border-bottom: 0.9em solid rgba(100, 100, 100, 0.1);\n    border-left: 0.9em solid rgba(60, 60, 60, 0.45);\n    transform: translateZ(0)\n        scale(var(--vs-controls--spinner-size, var(--vs-controls-size)));\n    animation: vSelectSpinner 1.1s infinite linear;\n    transition: opacity 0.1s;\n}\n.vs__spinner,\n.vs__spinner:after {\n    border-radius: 50%;\n    width: 5em;\n    height: 5em;\n    transform: scale(var(--vs-controls--spinner-size, var(--vs-controls-size)));\n}\n\n/* Loading Spinner States */\n.vs--loading .vs__spinner {\n    opacity: 1;\n}\n",""]);const o=i},32070:(t,e,n)=>{"use strict";n.d(e,{A:()=>b});var r=n(55386),i=n.n(r),o=n(19596),s=n(92310),a=n(39558),l=n(39837),c=n(10797),u=n(66585),d=n(14162),h=n(73896),f=n(44638),p=n(66618),m=n(88130),g=n(97802),v=i()((function(t){return t[1]}));v.i(o.A),v.i(s.A),v.i(a.A),v.i(l.A),v.i(c.A),v.i(u.A),v.i(d.A),v.i(h.A),v.i(f.A),v.i(p.A),v.i(m.A),v.i(g.A),v.push([t.id,"\n",""]);const b=v},95339:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(55386),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,":host,:root{--vs-colors--lightest:rgba(60,60,60,0.26);--vs-colors--light:rgba(60,60,60,0.5);--vs-colors--dark:#333;--vs-colors--darkest:rgba(0,0,0,0.15);--vs-search-input-color:inherit;--vs-search-input-bg:#fff;--vs-search-input-placeholder-color:inherit;--vs-font-size:1rem;--vs-line-height:1.4;--vs-state-disabled-bg:#f8f8f8;--vs-state-disabled-color:var(--vs-colors--light);--vs-state-disabled-controls-color:var(--vs-colors--light);--vs-state-disabled-cursor:not-allowed;--vs-border-color:var(--vs-colors--lightest);--vs-border-width:1px;--vs-border-style:solid;--vs-border-radius:4px;--vs-actions-padding:4px 6px 0 3px;--vs-controls-color:var(--vs-colors--light);--vs-controls-size:1;--vs-controls--deselect-text-shadow:0 1px 0 #fff;--vs-selected-bg:#f0f0f0;--vs-selected-color:var(--vs-colors--dark);--vs-selected-border-color:var(--vs-border-color);--vs-selected-border-style:var(--vs-border-style);--vs-selected-border-width:var(--vs-border-width);--vs-dropdown-bg:#fff;--vs-dropdown-color:inherit;--vs-dropdown-z-index:1000;--vs-dropdown-min-width:160px;--vs-dropdown-max-height:350px;--vs-dropdown-box-shadow:0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg:#000;--vs-dropdown-option-color:var(--vs-dropdown-color);--vs-dropdown-option-padding:3px 20px;--vs-dropdown-option--active-bg:#5897fb;--vs-dropdown-option--active-color:#fff;--vs-dropdown-option--deselect-bg:#fb5858;--vs-dropdown-option--deselect-color:#fff;--vs-transition-timing-function:cubic-bezier(1,-0.115,0.975,0.855);--vs-transition-duration:150ms}.v-select{font-family:inherit;position:relative}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function:cubic-bezier(1,0.5,0.8,1);--vs-transition-duration:0.15s}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes vSelectSpinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg:var(--vs-state-disabled-bg);--vs-disabled-color:var(--vs-state-disabled-color);--vs-disabled-cursor:var(--vs-state-disabled-cursor)}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{background-color:var(--vs-disabled-bg);cursor:var(--vs-disabled-cursor)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--vs-search-input-bg);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);display:flex;padding:0 0 4px;white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{align-items:center;display:flex;padding:var(--vs-actions-padding)}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);background-color:transparent;border:0;cursor:pointer;margin-right:8px;padding:0}.vs__dropdown-menu{background:var(--vs-dropdown-bg);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);border-top-style:none;box-shadow:var(--vs-dropdown-box-shadow);box-sizing:border-box;color:var(--vs-dropdown-color);display:block;left:0;list-style:none;margin:0;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);overflow-y:auto;padding:5px 0;position:absolute;text-align:left;top:calc(100% - var(--vs-border-width));width:100%;z-index:var(--vs-dropdown-z-index)}.vs__no-options{text-align:center}.vs__dropdown-option{clear:both;color:var(--vs-dropdown-option-color);cursor:pointer;display:block;line-height:1.42857143;padding:var(--vs-dropdown-option-padding);white-space:nowrap}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{align-items:center;background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);display:flex;line-height:var(--vs-line-height);margin:4px 2px 0;padding:0 .25em;z-index:0}.vs__deselect{fill:var(--vs-controls-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;cursor:pointer;display:inline-flex;margin-left:4px;padding:0;text-shadow:var(--vs-controls--deselect-text-shadow)}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--loading .vs__selected,.vs--single.vs--open .vs__selected{opacity:.4;position:absolute}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-ms-clear,.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration{display:none}.vs__search,.vs__search:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:1px solid transparent;border-left:none;box-shadow:none;color:var(--vs-search-input-color);flex-grow:1;font-size:var(--vs-font-size);line-height:var(--vs-line-height);margin:4px 0 0;max-width:100%;outline:none;padding:0 7px;width:0;z-index:1}.vs__search::-moz-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search:-ms-input-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;-webkit-animation:vSelectSpinner 1.1s linear infinite;animation:vSelectSpinner 1.1s linear infinite;border:.9em solid hsla(0,0%,39%,.1);border-left-color:rgba(60,60,60,.45);font-size:5px;opacity:0;overflow:hidden;text-indent:-9999em;transform:translateZ(0) scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;height:5em;transform:scale(var(--vs-controls--spinner-size,var(--vs-controls-size)));width:5em}.vs--loading .vs__spinner{opacity:1}",""]);const o=i},64217:(t,e,n)=>{"use strict";var r=n(85072),i=n.n(r),o=n(81938),s={insert:"head",singleton:!1};i()(o.A,s),o.A.locals},85072:(t,e,n)=>{"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function a(t){for(var e=-1,n=0;n<s.length;n++)if(s[n].identifier===t){e=n;break}return e}function l(t,e){for(var n={},r=[],i=0;i<t.length;i++){var o=t[i],l=e.base?o[0]+e.base:o[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=a(u),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(s[d].references++,s[d].updater(h)):s.push({identifier:u,updater:g(h,e),references:1}),r.push(u)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var s=o(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function h(t,e,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=d(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function f(t,e,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var p=null,m=0;function g(t,e){var n,r,i;if(e.singleton){var o=m++;n=p||(p=c(e)),r=h.bind(null,n,o,!1),i=h.bind(null,n,o,!0)}else n=c(e),r=f.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var i=a(n[r]);s[i].references--}for(var o=l(t,e),c=0;c<n.length;c++){var u=a(n[c]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=o}}}},73786:(t,e,n)=>{"use strict";n.d(e,{A:()=>bt});function r(t){return r="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},r(t)}var i=/^\s+/,o=/\s+$/;function s(t,e){if(e=e||{},(t=t||"")instanceof s)return t;if(!(this instanceof s))return new s(t,e);var n=function(t){var e={r:0,g:0,b:0},n=1,s=null,a=null,l=null,c=!1,u=!1;"string"==typeof t&&(t=function(t){t=t.replace(i,"").replace(o,"").toLowerCase();var e,n=!1;if(_[t])t=_[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=N.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=N.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=N.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=N.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=N.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=N.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=N.hex8.exec(t))return{r:A(e[1]),g:A(e[2]),b:A(e[3]),a:P(e[4]),format:n?"name":"hex8"};if(e=N.hex6.exec(t))return{r:A(e[1]),g:A(e[2]),b:A(e[3]),format:n?"name":"hex"};if(e=N.hex4.exec(t))return{r:A(e[1]+""+e[1]),g:A(e[2]+""+e[2]),b:A(e[3]+""+e[3]),a:P(e[4]+""+e[4]),format:n?"name":"hex8"};if(e=N.hex3.exec(t))return{r:A(e[1]+""+e[1]),g:A(e[2]+""+e[2]),b:A(e[3]+""+e[3]),format:n?"name":"hex"};return!1}(t));"object"==r(t)&&(R(t.r)&&R(t.g)&&R(t.b)?(d=t.r,h=t.g,f=t.b,e={r:255*M(d,255),g:255*M(h,255),b:255*M(f,255)},c=!0,u="%"===String(t.r).substr(-1)?"prgb":"rgb"):R(t.h)&&R(t.s)&&R(t.v)?(s=E(t.s),a=E(t.v),e=function(t,e,n){t=6*M(t,360),e=M(e,100),n=M(n,100);var r=Math.floor(t),i=t-r,o=n*(1-e),s=n*(1-i*e),a=n*(1-(1-i)*e),l=r%6,c=[n,s,o,o,a,n][l],u=[a,n,n,s,o,o][l],d=[o,o,a,n,n,s][l];return{r:255*c,g:255*u,b:255*d}}(t.h,s,a),c=!0,u="hsv"):R(t.h)&&R(t.s)&&R(t.l)&&(s=E(t.s),l=E(t.l),e=function(t,e,n){var r,i,o;function s(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=M(t,360),e=M(e,100),n=M(n,100),0===e)r=i=o=n;else{var a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;r=s(l,a,t+1/3),i=s(l,a,t),o=s(l,a,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(t.h,s,l),c=!0,u="hsl"),t.hasOwnProperty("a")&&(n=t.a));var d,h,f;return n=O(n),{ok:c,format:t.format||u,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}function a(t,e,n){t=M(t,255),e=M(e,255),n=M(n,255);var r,i,o=Math.max(t,e,n),s=Math.min(t,e,n),a=(o+s)/2;if(o==s)r=i=0;else{var l=o-s;switch(i=a>.5?l/(2-o-s):l/(o+s),o){case t:r=(e-n)/l+(e<n?6:0);break;case e:r=(n-t)/l+2;break;case n:r=(t-e)/l+4}r/=6}return{h:r,s:i,l:a}}function l(t,e,n){t=M(t,255),e=M(e,255),n=M(n,255);var r,i,o=Math.max(t,e,n),s=Math.min(t,e,n),a=o,l=o-s;if(i=0===o?0:l/o,o==s)r=0;else{switch(o){case t:r=(e-n)/l+(e<n?6:0);break;case e:r=(n-t)/l+2;break;case n:r=(t-e)/l+4}r/=6}return{h:r,s:i,v:a}}function c(t,e,n,r){var i=[T(Math.round(t).toString(16)),T(Math.round(e).toString(16)),T(Math.round(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function u(t,e,n,r){return[T(D(r)),T(Math.round(t).toString(16)),T(Math.round(e).toString(16)),T(Math.round(n).toString(16))].join("")}function d(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.s-=e/100,n.s=C(n.s),s(n)}function h(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.s+=e/100,n.s=C(n.s),s(n)}function f(t){return s(t).desaturate(100)}function p(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.l+=e/100,n.l=C(n.l),s(n)}function m(t,e){e=0===e?0:e||10;var n=s(t).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-e/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-e/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-e/100*255))),s(n)}function g(t,e){e=0===e?0:e||10;var n=s(t).toHsl();return n.l-=e/100,n.l=C(n.l),s(n)}function v(t,e){var n=s(t).toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,s(n)}function b(t){var e=s(t).toHsl();return e.h=(e.h+180)%360,s(e)}function y(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var n=s(t).toHsl(),r=[s(t)],i=360/e,o=1;o<e;o++)r.push(s({h:(n.h+o*i)%360,s:n.s,l:n.l}));return r}function x(t){var e=s(t).toHsl(),n=e.h;return[s(t),s({h:(n+72)%360,s:e.s,l:e.l}),s({h:(n+216)%360,s:e.s,l:e.l})]}function w(t,e,n){e=e||6,n=n||30;var r=s(t).toHsl(),i=360/n,o=[s(t)];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(s(r));return o}function k(t,e){e=e||6;for(var n=s(t).toHsv(),r=n.h,i=n.s,o=n.v,a=[],l=1/e;e--;)a.push(s({h:r,s:i,v:o})),o=(o+l)%1;return a}s.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,r=this.toRgb();return t=r.r/255,e=r.g/255,n=r.b/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=O(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=l(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=l(this._r,this._g,this._b),e=Math.round(360*t.h),n=Math.round(100*t.s),r=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=a(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=a(this._r,this._g,this._b),e=Math.round(360*t.h),n=Math.round(100*t.s),r=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return c(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,n,r,i){var o=[T(Math.round(t).toString(16)),T(Math.round(e).toString(16)),T(Math.round(n).toString(16)),T(D(r))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*M(this._r,255))+"%",g:Math.round(100*M(this._g,255))+"%",b:Math.round(100*M(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*M(this._r,255))+"%, "+Math.round(100*M(this._g,255))+"%, "+Math.round(100*M(this._b,255))+"%)":"rgba("+Math.round(100*M(this._r,255))+"%, "+Math.round(100*M(this._g,255))+"%, "+Math.round(100*M(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(S[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+u(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=s(t);n="#"+u(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return s(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(p,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(g,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(f,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(w,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(k,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(y,[3])},tetrad:function(){return this._applyCombination(y,[4])}},s.fromRatio=function(t,e){if("object"==r(t)){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]="a"===i?t[i]:E(t[i]));t=n}return s(t,e)},s.equals=function(t,e){return!(!t||!e)&&s(t).toRgbString()==s(e).toRgbString()},s.random=function(){return s.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},s.mix=function(t,e,n){n=0===n?0:n||50;var r=s(t).toRgb(),i=s(e).toRgb(),o=n/100;return s({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},s.readability=function(t,e){var n=s(t),r=s(e);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},s.isReadable=function(t,e,n){var r,i,o=s.readability(t,e);switch(i=!1,(r=function(t){var e,n;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==n&&"large"!==n&&(n="small");return{level:e,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},s.mostReadable=function(t,e,n){var r,i,o,a,l=null,c=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var u=0;u<e.length;u++)(r=s.readability(t,e[u]))>c&&(c=r,l=s(e[u]));return s.isReadable(t,l,{level:o,size:a})||!i?l:(n.includeFallbackColors=!1,s.mostReadable(t,["#fff","#000"],n))};var _=s.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},S=s.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(_);function O(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function M(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function C(t){return Math.min(1,Math.max(0,t))}function A(t){return parseInt(t,16)}function T(t){return 1==t.length?"0"+t:""+t}function E(t){return t<=1&&(t=100*t+"%"),t}function D(t){return Math.round(255*parseFloat(t)).toString(16)}function P(t){return A(t)/255}var j,L,I,N=(L="[\\s|\\(]+("+(j="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+j+")[,|\\s]+("+j+")\\s*\\)?",I="[\\s|\\(]+("+j+")[,|\\s]+("+j+")[,|\\s]+("+j+")[,|\\s]+("+j+")\\s*\\)?",{CSS_UNIT:new RegExp(j),rgb:new RegExp("rgb"+L),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+L),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+L),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function R(t){return!!N.CSS_UNIT.exec(t)}function $(t,e){var n,r=t&&t.a;!(n=t&&t.hsl?s(t.hsl):t&&t.hex&&t.hex.length>0?s(t.hex):t&&t.hsv?s(t.hsv):t&&t.rgba?s(t.rgba):t&&t.rgb?s(t.rgb):s(t))||void 0!==n._a&&null!==n._a||n.setAlpha(r||1);var i=n.toHsl(),o=n.toHsv();return 0===i.s&&(o.h=i.h=t.h||t.hsl&&t.hsl.h||e||0),{hsl:i,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:o,oldHue:t.h||e||i.h,source:t.source,a:t.a||n.getAlpha()}}const B={props:["value"],data(){return{val:$(this.value)}},computed:{colors:{get(){return this.val},set(t){this.val=t,this.$emit("input",t)}}},watch:{value(t){this.val=$(t)}},methods:{colorChange(t,e){this.oldHue=this.colors.hsl.h,this.colors=$(t,e||this.oldHue)},isValidHex:t=>s(t).isValid(),simpleCheckForValidColor(t){for(var e=["r","g","b","a","h","s","l","v"],n=0,r=0,i=0;i<e.length;i++){var o=e[i];t[o]&&(n++,isNaN(t[o])||r++)}if(n===r)return t},paletteUpperCase:t=>t.map((t=>t.toUpperCase())),isTransparent:t=>0===s(t).getAlpha()}};const F={name:"editableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get(){return this.value},set(t){if(!(void 0!==this.max&&+t>this.max))return t;this.$refs.input.value=this.max}},labelId(){return`input__label__${this.label}__${Math.random().toString().slice(2,5)}`},labelSpanText(){return this.labelText||this.label}},methods:{update(t){this.handleChange(t.target.value)},handleChange(t){let e={};e[this.label]=t,(void 0===e.hex&&void 0===e["#"]||t.length>5)&&this.$emit("change",e)},handleKeyDown(t){let e=this.val,n=Number(e);if(n){let r=this.arrowOffset||1;38===t.keyCode&&(e=n+r,this.handleChange(e),t.preventDefault()),40===t.keyCode&&(e=n-r,this.handleChange(e),t.preventDefault())}}}};var z=n(85072),H=n.n(z),Y=n(61257),W={insert:"head",singleton:!1};H()(Y.A,W);Y.A.locals;var V=n(14486);const U=(0,V.A)(F,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"vc-editable-input"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],ref:"input",staticClass:"vc-input__input",attrs:{"aria-labelledby":t.labelId},domProps:{value:t.val},on:{keydown:t.handleKeyDown,input:[function(e){e.target.composing||(t.val=e.target.value)},t.update]}}),t._v(" "),e("span",{staticClass:"vc-input__label",attrs:{for:t.label,id:t.labelId}},[t._v(t._s(t.labelSpanText))]),t._v(" "),e("span",{staticClass:"vc-input__desc"},[t._v(t._s(t.desc))])])}),[],!1,null,null,null).exports;var G=n(31532),X=n.n(G),q=n(44002),K=n.n(q);const J={name:"Saturation",props:{value:Object},computed:{colors(){return this.value},bgColor(){return`hsl(${this.colors.hsv.h}, 100%, 50%)`},pointerTop(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft(){return 100*this.colors.hsv.s+"%"}},methods:{throttle:K()(((t,e)=>{t(e)}),20,{leading:!0,trailing:!1}),handleChange(t,e){!e&&t.preventDefault();var n=this.$refs.container;if(n){var r=n.clientWidth,i=n.clientHeight,o=n.getBoundingClientRect().left+window.pageXOffset,s=n.getBoundingClientRect().top+window.pageYOffset,a=t.pageX||(t.touches?t.touches[0].pageX:0),l=t.pageY||(t.touches?t.touches[0].pageY:0),c=X()(a-o,0,r),u=X()(l-s,0,i),d=c/r,h=X()(-u/i+1,0,1);this.throttle(this.onChange,{h:this.colors.hsv.h,s:d,v:h,a:this.colors.hsv.a,source:"hsva"})}},onChange(t){this.$emit("change",t)},handleMouseDown(t){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(t){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};var Z=n(87117),Q={insert:"head",singleton:!1};H()(Z.A,Q);Z.A.locals;const tt=(0,V.A)(J,(function(){var t=this,e=t._self._c;return e("div",{ref:"container",staticClass:"vc-saturation",style:{background:t.bgColor},on:{mousedown:t.handleMouseDown,touchmove:t.handleChange,touchstart:t.handleChange}},[e("div",{staticClass:"vc-saturation--white"}),t._v(" "),e("div",{staticClass:"vc-saturation--black"}),t._v(" "),e("div",{staticClass:"vc-saturation-pointer",style:{top:t.pointerTop,left:t.pointerLeft}},[e("div",{staticClass:"vc-saturation-circle"})])])}),[],!1,null,null,null).exports;const et={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data:()=>({oldHue:0,pullDirection:""}),computed:{colors(){const t=this.value.hsl.h;return 0!==t&&t-this.oldHue>0&&(this.pullDirection="right"),0!==t&&t-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=t,this.value},directionClass(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},methods:{handleChange(t,e){!e&&t.preventDefault();var n=this.$refs.container;if(n){var r,i=n.clientWidth,o=n.clientHeight,s=n.getBoundingClientRect().left+window.pageXOffset,a=n.getBoundingClientRect().top+window.pageYOffset,l=(t.pageX||(t.touches?t.touches[0].pageX:0))-s,c=(t.pageY||(t.touches?t.touches[0].pageY:0))-a;"vertical"===this.direction?(r=c<0?360:c>o?0:360*(-100*c/o+100)/100,this.colors.hsl.h!==r&&this.$emit("change",{h:r,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(r=l<0?0:l>i?360:360*(100*l/i)/100,this.colors.hsl.h!==r&&this.$emit("change",{h:r,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))}},handleMouseDown(t){this.handleChange(t,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(t){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};var nt=n(82619),rt={insert:"head",singleton:!1};H()(nt.A,rt);nt.A.locals;const it=(0,V.A)(et,(function(){var t=this,e=t._self._c;return e("div",{class:["vc-hue",t.directionClass]},[e("div",{ref:"container",staticClass:"vc-hue-container",attrs:{role:"slider","aria-valuenow":t.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360"},on:{mousedown:t.handleMouseDown,touchmove:t.handleChange,touchstart:t.handleChange}},[e("div",{staticClass:"vc-hue-pointer",style:{top:t.pointerTop,left:t.pointerLeft},attrs:{role:"presentation"}},[e("div",{staticClass:"vc-hue-picker"})])])])}),[],!1,null,null,null).exports;let ot={};function st(t,e,n){var r=t+","+e+","+n;if(ot[r])return ot[r];var i=function(t,e,n){if("undefined"==typeof document)return null;var r=document.createElement("canvas");r.width=r.height=2*n;var i=r.getContext("2d");return i?(i.fillStyle=t,i.fillRect(0,0,r.width,r.height),i.fillStyle=e,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),r.toDataURL()):null}(t,e,n);return ot[r]=i,i}const at={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle(){return{"background-image":"url("+st(this.white,this.grey,this.size)+")"}}}};var lt=n(38183),ct={insert:"head",singleton:!1};H()(lt.A,ct);lt.A.locals;const ut=(0,V.A)(at,(function(){return(0,this._self._c)("div",{staticClass:"vc-checkerboard",style:this.bgStyle})}),[],!1,null,null,null).exports,dt={name:"Alpha",props:{value:Object,onChange:Function},components:{checkboard:ut},computed:{colors(){return this.value},gradientColor(){var t=this.colors.rgba,e=[t.r,t.g,t.b].join(",");return"linear-gradient(to right, rgba("+e+", 0) 0%, rgba("+e+", 1) 100%)"}},methods:{handleChange(t,e){!e&&t.preventDefault();var n=this.$refs.container;if(n){var r,i=n.clientWidth,o=n.getBoundingClientRect().left+window.pageXOffset,s=(t.pageX||(t.touches?t.touches[0].pageX:0))-o;r=s<0?0:s>i?1:Math.round(100*s/i)/100,this.colors.a!==r&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:r,source:"rgba"})}},handleMouseDown(t){this.handleChange(t,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.unbindEventListeners()},unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}};var ht=n(89552),ft={insert:"head",singleton:!1};H()(ht.A,ft);ht.A.locals;const pt=(0,V.A)(dt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"vc-alpha"},[e("div",{staticClass:"vc-alpha-checkboard-wrap"},[e("checkboard")],1),t._v(" "),e("div",{staticClass:"vc-alpha-gradient",style:{background:t.gradientColor}}),t._v(" "),e("div",{ref:"container",staticClass:"vc-alpha-container",on:{mousedown:t.handleMouseDown,touchmove:t.handleChange,touchstart:t.handleChange}},[e("div",{staticClass:"vc-alpha-pointer",style:{left:100*t.colors.a+"%"}},[e("div",{staticClass:"vc-alpha-picker"})])])])}),[],!1,null,null,null).exports,mt={name:"Chrome",mixins:[B],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},components:{saturation:tt,hue:it,alpha:pt,"ed-in":U,checkboard:ut},data:()=>({fieldsIndex:0,highlight:!1}),computed:{hsl(){const{h:t,s:e,l:n}=this.colors.hsl;return{h:t.toFixed(),s:`${(100*e).toFixed()}%`,l:`${(100*n).toFixed()}%`}},activeColor(){const t=this.colors.rgba;return"rgba("+[t.r,t.g,t.b,t.a].join(",")+")"},hasAlpha(){return this.colors.a<1}},methods:{childChange(t){this.colorChange(t)},inputChange(t){if(t)if(t.hex)this.isValidHex(t.hex)&&this.colorChange({hex:t.hex,source:"hex"});else if(t.r||t.g||t.b||t.a)this.colorChange({r:t.r||this.colors.rgba.r,g:t.g||this.colors.rgba.g,b:t.b||this.colors.rgba.b,a:t.a||this.colors.rgba.a,source:"rgba"});else if(t.h||t.s||t.l){const e=t.s?t.s.replace("%","")/100:this.colors.hsl.s,n=t.l?t.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:t.h||this.colors.hsl.h,s:e,l:n,source:"hsl"})}},toggleViews(){this.fieldsIndex>=2?this.fieldsIndex=0:this.fieldsIndex++},showHighlight(){this.highlight=!0},hideHighlight(){this.highlight=!1}}};var gt=n(63951),vt={insert:"head",singleton:!1};H()(gt.A,vt);gt.A.locals;const bt=(0,V.A)(mt,(function(){var t=this,e=t._self._c;return e("div",{class:["vc-chrome",t.disableAlpha?"vc-chrome__disable-alpha":""],attrs:{role:"application","aria-label":"Chrome color picker"}},[e("div",{staticClass:"vc-chrome-saturation-wrap"},[e("saturation",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-body"},[e("div",{staticClass:"vc-chrome-controls"},[e("div",{staticClass:"vc-chrome-color-wrap"},[e("div",{staticClass:"vc-chrome-active-color",style:{background:t.activeColor},attrs:{"aria-label":`current color is ${t.colors.hex}`}}),t._v(" "),t.disableAlpha?t._e():e("checkboard")],1),t._v(" "),e("div",{staticClass:"vc-chrome-sliders"},[e("div",{staticClass:"vc-chrome-hue-wrap"},[e("hue",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1),t._v(" "),t.disableAlpha?t._e():e("div",{staticClass:"vc-chrome-alpha-wrap"},[e("alpha",{on:{change:t.childChange},model:{value:t.colors,callback:function(e){t.colors=e},expression:"colors"}})],1)])]),t._v(" "),t.disableFields?t._e():e("div",{staticClass:"vc-chrome-fields-wrap"},[e("div",{directives:[{name:"show",rawName:"v-show",value:0===t.fieldsIndex,expression:"fieldsIndex === 0"}],staticClass:"vc-chrome-fields"},[e("div",{staticClass:"vc-chrome-field"},[t.hasAlpha?t._e():e("ed-in",{attrs:{label:"hex",value:t.colors.hex},on:{change:t.inputChange}}),t._v(" "),t.hasAlpha?e("ed-in",{attrs:{label:"hex",value:t.colors.hex8},on:{change:t.inputChange}}):t._e()],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:1===t.fieldsIndex,expression:"fieldsIndex === 1"}],staticClass:"vc-chrome-fields"},[e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"r",value:t.colors.rgba.r},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"g",value:t.colors.rgba.g},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"b",value:t.colors.rgba.b},on:{change:t.inputChange}})],1),t._v(" "),t.disableAlpha?t._e():e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"a",value:t.colors.a,"arrow-offset":.01,max:1},on:{change:t.inputChange}})],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:2===t.fieldsIndex,expression:"fieldsIndex === 2"}],staticClass:"vc-chrome-fields"},[e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"h",value:t.hsl.h},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"s",value:t.hsl.s},on:{change:t.inputChange}})],1),t._v(" "),e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"l",value:t.hsl.l},on:{change:t.inputChange}})],1),t._v(" "),t.disableAlpha?t._e():e("div",{staticClass:"vc-chrome-field"},[e("ed-in",{attrs:{label:"a",value:t.colors.a,"arrow-offset":.01,max:1},on:{change:t.inputChange}})],1)]),t._v(" "),e("div",{staticClass:"vc-chrome-toggle-btn",attrs:{role:"button","aria-label":"Change another color definition"},on:{click:t.toggleViews}},[e("div",{staticClass:"vc-chrome-toggle-icon"},[e("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"},on:{mouseover:t.showHighlight,mouseenter:t.showHighlight,mouseout:t.hideHighlight}},[e("path",{attrs:{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.highlight,expression:"highlight"}],staticClass:"vc-chrome-toggle-icon-highlight"})])])])])}),[],!1,null,null,null).exports},14486:(t,e,n)=>{"use strict";function r(t,e,n,r,i,o,s,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,{A:()=>r})},7873:(t,e,n)=>{var r=n(13474).default;function i(){"use strict";t.exports=i=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},o=Object.prototype,s=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function h(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof x?e:x,o=Object.create(i.prototype),s=new j(r||[]);return a(o,"_invoke",{value:T(t,n,s)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var m="suspendedStart",g="suspendedYield",v="executing",b="completed",y={};function x(){}function w(){}function k(){}var _={};h(_,c,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(L([])));O&&O!==o&&s.call(O,c)&&(_=O);var M=k.prototype=x.prototype=Object.create(_);function C(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(i,o,a,l){var c=p(t[i],t,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&s.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,l)}))}l(c.arg)}var i;a(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function T(t,n,r){var i=m;return function(o,s){if(i===v)throw Error("Generator is already running");if(i===b){if("throw"===o)throw s;return{value:e,done:!0}}for(r.method=o,r.arg=s;;){var a=r.delegate;if(a){var l=E(a,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===m)throw i=b,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var c=p(t,n,r);if("normal"===c.type){if(i=r.done?b:g,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=b,r.method="throw",r.arg=c.arg)}}}function E(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=p(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var s=o.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(s.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(r(t)+" is not iterable")}return w.prototype=k,a(M,"constructor",{value:k,configurable:!0}),a(k,"constructor",{value:w,configurable:!0}),w.displayName=h(k,d,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,h(t,d,"GeneratorFunction")),t.prototype=Object.create(M),t},n.awrap=function(t){return{__await:t}},C(A.prototype),h(A.prototype,u,(function(){return this})),n.AsyncIterator=A,n.async=function(t,e,r,i,o){void 0===o&&(o=Promise);var s=new A(f(t,e,r,i),o);return n.isGeneratorFunction(e)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},C(M),h(M,d,"Generator"),h(M,c,(function(){return this})),h(M,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=L,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&s.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return a.type="throw",a.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=s.call(o,"catchLoc"),c=s.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&s.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},n}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},13474:t=>{function e(n){return t.exports=e="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.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},44860:(t,e,n)=>{var r=n(7873)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},54943:(t,e,n)=>{"use strict";n.d(e,{KE:()=>te,YY:()=>ht,CU:()=>oe,bP:()=>se,gk:()=>X,iI:()=>z,z6:()=>jt,BQ:()=>Ht,eE:()=>wt,OX:()=>ee,Zc:()=>ae,KV:()=>V,jT:()=>ne,MG:()=>Yt,JJ:()=>re,tG:()=>ie});var r=n(34149),i=n(41775),o=n(69349),s=n(18932),a=n(74094);const l=(t,e)=>!t.selection.empty&&(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function c(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const u=(t,e,n)=>{let i=c(t,n);if(!i)return!1;let o=p(i);if(!o){let n=i.blockRange(),r=n&&(0,a.jP)(n);return null!=r&&(e&&e(t.tr.lift(n,r).scrollIntoView()),!0)}let l=o.nodeBefore;if(!l.type.spec.isolating&&M(t,o,e))return!0;if(0==i.parent.content.size&&(h(l,"end")||r.nh.isSelectable(l))){let n=(0,a.$L)(t.doc,i.before(),i.after(),s.Ji.empty);if(n&&n.slice.size<n.to-n.from){if(e){let i=t.tr.step(n);i.setSelection(h(l,"end")?r.LN.findFrom(i.doc.resolve(i.mapping.map(o.pos,-1)),-1):r.nh.create(i.doc,o.pos-l.nodeSize)),e(i.scrollIntoView())}return!0}}return!(!l.isAtom||o.depth!=i.depth-1)&&(e&&e(t.tr.delete(o.pos-l.nodeSize,o.pos).scrollIntoView()),!0)};function d(t,e,n){let i=e.nodeBefore,o=e.pos-1;for(;!i.isTextblock;o--){if(i.type.spec.isolating)return!1;let t=i.lastChild;if(!t)return!1;i=t}let l=e.nodeAfter,c=e.pos+1;for(;!l.isTextblock;c++){if(l.type.spec.isolating)return!1;let t=l.firstChild;if(!t)return!1;l=t}let u=(0,a.$L)(t.doc,o,c,s.Ji.empty);if(!u||u.from!=o||u instanceof a.Ln&&u.slice.size>=c-o)return!1;if(n){let e=t.tr.step(u);e.setSelection(r.U3.create(e.doc,o)),n(e.scrollIntoView())}return!0}function h(t,e,n=!1){for(let r=t;r;r="start"==e?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&1!=r.childCount)return!1}return!1}const f=(t,e,n)=>{let{$head:i,empty:o}=t.selection,s=i;if(!o)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):i.parentOffset>0)return!1;s=p(i)}let a=s&&s.nodeBefore;return!(!a||!r.nh.isSelectable(a))&&(e&&e(t.tr.setSelection(r.nh.create(t.doc,s.pos-a.nodeSize)).scrollIntoView()),!0)};function p(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function m(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)?null:n}const g=(t,e,n)=>{let i=m(t,n);if(!i)return!1;let o=b(i);if(!o)return!1;let l=o.nodeAfter;if(M(t,o,e))return!0;if(0==i.parent.content.size&&(h(l,"start")||r.nh.isSelectable(l))){let n=(0,a.$L)(t.doc,i.before(),i.after(),s.Ji.empty);if(n&&n.slice.size<n.to-n.from){if(e){let i=t.tr.step(n);i.setSelection(h(l,"start")?r.LN.findFrom(i.doc.resolve(i.mapping.map(o.pos)),1):r.nh.create(i.doc,i.mapping.map(o.pos))),e(i.scrollIntoView())}return!0}}return!(!l.isAtom||o.depth!=i.depth-1)&&(e&&e(t.tr.delete(o.pos,o.pos+l.nodeSize).scrollIntoView()),!0)},v=(t,e,n)=>{let{$head:i,empty:o}=t.selection,s=i;if(!o)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):i.parentOffset<i.parent.content.size)return!1;s=b(i)}let a=s&&s.nodeAfter;return!(!a||!r.nh.isSelectable(a))&&(e&&e(t.tr.setSelection(r.nh.create(t.doc,s.pos)).scrollIntoView()),!0)};function b(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let n=t.node(e);if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1));if(n.type.spec.isolating)break}return null}const y=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(e&&e(t.tr.insertText("\n").scrollIntoView()),!0)};function x(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const w=(t,e)=>{let{$head:n,$anchor:i}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let o=n.node(-1),s=n.indexAfter(-1),a=x(o.contentMatchAt(s));if(!a||!o.canReplaceWith(s,s,a))return!1;if(e){let i=n.after(),o=t.tr.replaceWith(i,i,a.createAndFill());o.setSelection(r.LN.near(o.doc.resolve(i),1)),e(o.scrollIntoView())}return!0},k=(t,e)=>{let n=t.selection,{$from:i,$to:o}=n;if(n instanceof r.i5||i.parent.inlineContent||o.parent.inlineContent)return!1;let s=x(o.parent.contentMatchAt(o.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let n=(!i.parentOffset&&o.index()<o.parent.childCount?i:o).pos,a=t.tr.insert(n,s.createAndFill());a.setSelection(r.U3.create(a.doc,n+1)),e(a.scrollIntoView())}return!0},_=(t,e)=>{let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if((0,a.zy)(t.doc,r))return e&&e(t.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&(0,a.jP)(r);return null!=i&&(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)};const S=(t,e)=>{let{$from:n,$to:i}=t.selection;if(t.selection instanceof r.nh&&t.selection.node.isBlock)return!(!n.parentOffset||!(0,a.zy)(t.doc,n.pos)||(e&&e(t.tr.split(n.pos).scrollIntoView()),0));if(!n.parent.isBlock)return!1;if(e){let o=i.parentOffset==i.parent.content.size,s=t.tr;(t.selection instanceof r.U3||t.selection instanceof r.i5)&&s.deleteSelection();let l=0==n.depth?null:x(n.node(-1).contentMatchAt(n.indexAfter(-1))),c=O&&O(i.parent,o),u=c?[c]:o&&l?[{type:l}]:void 0,d=(0,a.zy)(s.doc,s.mapping.map(n.pos),1,u);if(u||d||!(0,a.zy)(s.doc,s.mapping.map(n.pos),1,l?[{type:l}]:void 0)||(l&&(u=[{type:l}]),d=!0),d&&(s.split(s.mapping.map(n.pos),1,u),!o&&!n.parentOffset&&n.parent.type!=l)){let t=s.mapping.map(n.before()),e=s.doc.resolve(t);l&&n.node(-1).canReplaceWith(e.index(),e.index()+1,l)&&s.setNodeMarkup(s.mapping.map(n.before()),l)}e(s.scrollIntoView())}return!0};var O;function M(t,e,n){let i,o,l=e.nodeBefore,c=e.nodeAfter;if(l.type.spec.isolating||c.type.spec.isolating)return!1;if(function(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!(!(r&&i&&r.type.compatibleContent(i.type))||(!r.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),0):!e.parent.canReplace(o,o+1)||!i.isTextblock&&!(0,a.n9)(t.doc,e.pos)||(n&&n(t.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),0)))}(t,e,n))return!0;let u=e.parent.canReplace(e.index(),e.index()+1);if(u&&(i=(o=l.contentMatchAt(l.childCount)).findWrapping(c.type))&&o.matchType(i[0]||c.type).validEnd){if(n){let r=e.pos+c.nodeSize,o=s.FK.empty;for(let t=i.length-1;t>=0;t--)o=s.FK.from(i[t].create(null,o));o=s.FK.from(l.copy(o));let u=t.tr.step(new a.Wg(e.pos-1,r,e.pos,r,new s.Ji(o,1,0),i.length,!0)),d=r+2*i.length;(0,a.n9)(u.doc,d)&&u.join(d),n(u.scrollIntoView())}return!0}let d=r.LN.findFrom(e,1),f=d&&d.$from.blockRange(d.$to),p=f&&(0,a.jP)(f);if(null!=p&&p>=e.depth)return n&&n(t.tr.lift(f,p).scrollIntoView()),!0;if(u&&h(c,"start",!0)&&h(l,"end")){let r=l,i=[];for(;i.push(r),!r.isTextblock;)r=r.lastChild;let o=c,u=1;for(;!o.isTextblock;o=o.firstChild)u++;if(r.canReplace(r.childCount,r.childCount,o.content)){if(n){let r=s.FK.empty;for(let t=i.length-1;t>=0;t--)r=s.FK.from(i[t].copy(r));n(t.tr.step(new a.Wg(e.pos-i.length,e.pos+c.nodeSize,e.pos+u,e.pos+c.nodeSize-u,new s.Ji(r,i.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function C(t){return function(e,n){let i=e.selection,o=t<0?i.$from:i.$to,s=o.depth;for(;o.node(s).isInline;){if(!s)return!1;s--}return!!o.node(s).isTextblock&&(n&&n(e.tr.setSelection(r.U3.create(e.doc,t<0?o.start(s):o.end(s)))),!0)}}const A=C(-1),T=C(1);function E(t,e=null){return function(n,r){let i=!1;for(let r=0;r<n.selection.ranges.length&&!i;r++){let{$from:{pos:o},$to:{pos:s}}=n.selection.ranges[r];n.doc.nodesBetween(o,s,((r,o)=>{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(t,e))if(r.type==t)i=!0;else{let e=n.doc.resolve(o),r=e.index();i=e.parent.canReplaceWith(r,r+1,t)}}))}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:o},$to:{pos:s}}=n.selection.ranges[r];i.setBlockType(o,s,t,e)}r(i.scrollIntoView())}return!0}}function D(...t){return function(e,n,r){for(let i=0;i<t.length;i++)if(t[i](e,n,r))return!0;return!1}}let P=D(l,u,f),j=D(l,g,v);const L={Enter:D(y,k,_,S),"Mod-Enter":w,Backspace:P,"Mod-Backspace":P,"Shift-Backspace":P,Delete:j,"Mod-Delete":j,"Mod-a":(t,e)=>(e&&e(t.tr.setSelection(new r.i5(t.doc))),!0)},I={"Ctrl-h":L.Backspace,"Alt-Backspace":L["Mod-Backspace"],"Ctrl-d":L.Delete,"Ctrl-Alt-Backspace":L["Mod-Delete"],"Alt-Delete":L["Mod-Delete"],"Alt-d":L["Mod-Delete"],"Ctrl-a":A,"Ctrl-e":T};for(let t in L)I[t]=L[t];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!("undefined"==typeof os||!os.platform)&&os.platform();function N(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,l=i.blockRange(o),c=!1,u=l;if(!l)return!1;if(l.depth>=2&&i.node(l.depth-1).type.compatibleContent(t)&&0==l.startIndex){if(0==i.index(l.depth-1))return!1;let t=n.doc.resolve(l.start-2);u=new s.u$(t,t,l.depth),l.endIndex<l.parent.childCount&&(l=new s.u$(i,n.doc.resolve(o.end(l.depth)),l.depth)),c=!0}let d=(0,a.oM)(u,t,e,l);return!!d&&(r&&r(function(t,e,n,r,i){let o=s.FK.empty;for(let t=n.length-1;t>=0;t--)o=s.FK.from(n[t].type.create(n[t].attrs,o));t.step(new a.Wg(e.start-(r?2:0),e.end,e.start,e.end,new s.Ji(o,0,0),n.length,!0));let l=0;for(let t=0;t<n.length;t++)n[t].type==i&&(l=t+1);let c=n.length-l,u=e.start+n.length-(r?2:0),d=e.parent;for(let n=e.startIndex,r=e.endIndex,i=!0;n<r;n++,i=!1)!i&&(0,a.zy)(t.doc,u,c)&&(t.split(u,c),u+=2*c),u+=d.child(n).nodeSize;return t}(n.tr,l,d,c,t).scrollIntoView()),!0)}}function R(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,(e=>e.childCount>0&&e.firstChild.type==t));return!!o&&(!n||(r.node(o.depth-1).type==t?function(t,e,n,r){let i=t.tr,o=r.end,l=r.$to.end(r.depth);o<l&&(i.step(new a.Wg(o-1,l,o,l,new s.Ji(s.FK.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new s.u$(i.doc.resolve(r.$from.pos),i.doc.resolve(l),r.depth));const c=(0,a.jP)(r);if(null==c)return!1;i.lift(r,c);let u=i.mapping.map(o,-1)-1;(0,a.n9)(i.doc,u)&&i.join(u);return e(i.scrollIntoView()),!0}(e,n,t,o):function(t,e,n){let r=t.tr,i=n.parent;for(let t=n.end,e=n.endIndex-1,o=n.startIndex;e>o;e--)t-=i.child(e).nodeSize,r.delete(t-1,t+1);let o=r.doc.resolve(n.start),l=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let c=0==n.startIndex,u=n.endIndex==i.childCount,d=o.node(-1),h=o.index(-1);if(!d.canReplace(h+(c?0:1),h+1,l.content.append(u?s.FK.empty:s.FK.from(i))))return!1;let f=o.pos,p=f+l.nodeSize;return r.step(new a.Wg(f-(c?1:0),p+(u?1:0),f+1,p-1,new s.Ji((c?s.FK.empty:s.FK.from(i.copy(s.FK.empty))).append(u?s.FK.empty:s.FK.from(i.copy(s.FK.empty))),c?0:1,u?0:1),c?0:1)),e(r.scrollIntoView()),!0}(e,n,o)))}}function $(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:i}=n,{storedMarks:o}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return o},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,o=n.storedMarks,n}}}class B{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:r}=e,{tr:i}=n,o=this.buildProps(i);return Object.fromEntries(Object.entries(t).map((([t,e])=>[t,(...t)=>{const n=e(...t)(o);return i.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(i),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:r,state:i}=this,{view:o}=r,s=[],a=!!t,l=t||i.tr,c={...Object.fromEntries(Object.entries(n).map((([t,n])=>[t,(...t)=>{const r=this.buildProps(l,e),i=n(...t)(r);return s.push(i),c}]))),run:()=>(a||!e||l.getMeta("preventDispatch")||this.hasCustomState||o.dispatch(l),s.every((t=>!0===t)))};return c}createCan(t){const{rawCommands:e,state:n}=this,r=!1,i=t||n.tr,o=this.buildProps(i,r),s=Object.fromEntries(Object.entries(e).map((([t,e])=>[t,(...t)=>e(...t)({...o,dispatch:void 0})])));return{...s,chain:()=>this.createChain(i,r)}}buildProps(t,e=!0){const{rawCommands:n,editor:r,state:i}=this,{view:o}=r,s={tr:t,editor:r,view:o,state:$({state:i,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t,e),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map((([t,e])=>[t,(...t)=>e(...t)(s)])))}};return s}}class F{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach((t=>t.apply(this,e))),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter((t=>t!==e)):delete this.callbacks[t]),this}removeAllListeners(){this.callbacks={}}}function z(t,e,n){if(void 0===t.config[e]&&t.parent)return z(t.parent,e,n);if("function"==typeof t.config[e]){return t.config[e].bind({...n,parent:t.parent?z(t.parent,e,n):null})}return t.config[e]}function H(t){return{baseExtensions:t.filter((t=>"extension"===t.type)),nodeExtensions:t.filter((t=>"node"===t.type)),markExtensions:t.filter((t=>"mark"===t.type))}}function Y(t){const e=[],{nodeExtensions:n,markExtensions:r}=H(t),i=[...n,...r],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return t.forEach((t=>{const n=z(t,"addGlobalAttributes",{name:t.name,options:t.options,storage:t.storage});if(!n)return;n().forEach((t=>{t.types.forEach((n=>{Object.entries(t.attributes).forEach((([t,r])=>{e.push({type:n,name:t,attribute:{...o,...r}})}))}))}))})),i.forEach((t=>{const n={name:t.name,options:t.options,storage:t.storage},r=z(t,"addAttributes",n);if(!r)return;const i=r();Object.entries(i).forEach((([n,r])=>{const i={...o,...r};"function"==typeof(null==i?void 0:i.default)&&(i.default=i.default()),(null==i?void 0:i.isRequired)&&void 0===(null==i?void 0:i.default)&&delete i.default,e.push({type:t.name,name:n,attribute:i})}))})),e}function W(t,e){if("string"==typeof t){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}function V(...t){return t.filter((t=>!!t)).reduce(((t,e)=>{const n={...t};return Object.entries(e).forEach((([t,e])=>{if(n[t])if("class"===t){const r=e?e.split(" "):[],i=n[t]?n[t].split(" "):[],o=r.filter((t=>!i.includes(t)));n[t]=[...i,...o].join(" ")}else n[t]="style"===t?[n[t],e].join("; "):e;else n[t]=e})),n}),{})}function U(t,e){return e.filter((t=>t.attribute.rendered)).map((e=>e.attribute.renderHTML?e.attribute.renderHTML(t.attrs)||{}:{[e.name]:t.attrs[e.name]})).reduce(((t,e)=>V(t,e)),{})}function G(t){return"function"==typeof t}function X(t,e=void 0,...n){return G(t)?e?t.bind(e)(...n):t(...n):t}function q(t,e){return t.style?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(!1===r)return!1;const i=e.reduce(((t,e)=>{const r=e.attribute.parseHTML?e.attribute.parseHTML(n):function(t){return"string"!=typeof t?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):"true"===t||"false"!==t&&t}(n.getAttribute(e.name));return null==r?t:{...t,[e.name]:r}}),{});return{...r,...i}}}}function K(t){return Object.fromEntries(Object.entries(t).filter((([t,e])=>("attrs"!==t||!function(t={}){return 0===Object.keys(t).length&&t.constructor===Object}(e))&&null!=e)))}function J(t,e){var n;const r=Y(t),{nodeExtensions:i,markExtensions:o}=H(t),a=null===(n=i.find((t=>z(t,"topNode"))))||void 0===n?void 0:n.name,l=Object.fromEntries(i.map((n=>{const i=r.filter((t=>t.type===n.name)),o={name:n.name,options:n.options,storage:n.storage,editor:e},s=K({...t.reduce(((t,e)=>{const r=z(e,"extendNodeSchema",o);return{...t,...r?r(n):{}}}),{}),content:X(z(n,"content",o)),marks:X(z(n,"marks",o)),group:X(z(n,"group",o)),inline:X(z(n,"inline",o)),atom:X(z(n,"atom",o)),selectable:X(z(n,"selectable",o)),draggable:X(z(n,"draggable",o)),code:X(z(n,"code",o)),defining:X(z(n,"defining",o)),isolating:X(z(n,"isolating",o)),attrs:Object.fromEntries(i.map((t=>{var e;return[t.name,{default:null===(e=null==t?void 0:t.attribute)||void 0===e?void 0:e.default}]})))}),a=X(z(n,"parseHTML",o));a&&(s.parseDOM=a.map((t=>q(t,i))));const l=z(n,"renderHTML",o);l&&(s.toDOM=t=>l({node:t,HTMLAttributes:U(t,i)}));const c=z(n,"renderText",o);return c&&(s.toText=c),[n.name,s]}))),c=Object.fromEntries(o.map((n=>{const i=r.filter((t=>t.type===n.name)),o={name:n.name,options:n.options,storage:n.storage,editor:e},s=K({...t.reduce(((t,e)=>{const r=z(e,"extendMarkSchema",o);return{...t,...r?r(n):{}}}),{}),inclusive:X(z(n,"inclusive",o)),excludes:X(z(n,"excludes",o)),group:X(z(n,"group",o)),spanning:X(z(n,"spanning",o)),code:X(z(n,"code",o)),attrs:Object.fromEntries(i.map((t=>{var e;return[t.name,{default:null===(e=null==t?void 0:t.attribute)||void 0===e?void 0:e.default}]})))}),a=X(z(n,"parseHTML",o));a&&(s.parseDOM=a.map((t=>q(t,i))));const l=z(n,"renderHTML",o);return l&&(s.toDOM=t=>l({mark:t,HTMLAttributes:U(t,i)})),[n.name,s]})));return new s.Sj({topNode:a,nodes:l,marks:c})}function Z(t,e){return e.nodes[t]||e.marks[t]||null}function Q(t,e){return Array.isArray(e)?e.some((e=>("string"==typeof e?e:e.name)===t.name)):e}const tt=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,((t,e,i,o)=>{var s,a;const l=(null===(a=(s=t.type.spec).toText)||void 0===a?void 0:a.call(s,{node:t,pos:e,parent:i,index:o}))||t.textContent||"%leaf%";n+=l.slice(0,Math.max(0,r-e))})),n};function et(t){return"[object RegExp]"===Object.prototype.toString.call(t)}class nt{constructor(t){this.find=t.find,this.handler=t.handler}}const rt=(t,e)=>{if(et(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function it(t){var e;const{editor:n,from:r,to:i,text:o,rules:s,plugin:a}=t,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||(null===(e=c.nodeBefore||c.nodeAfter)||void 0===e?void 0:e.marks.find((t=>t.type.spec.code))))return!1;let u=!1;const d=tt(c)+o;return s.forEach((t=>{if(u)return;const e=rt(d,t.find);if(!e)return;const s=l.state.tr,c=$({state:l.state,transaction:s}),h={from:r-(e[0].length-o.length),to:i},{commands:f,chain:p,can:m}=new B({editor:n,state:c});null!==t.handler({state:c,range:h,match:e,commands:f,chain:p,can:m})&&s.steps.length&&(s.setMeta(a,{transform:s,from:r,to:i,text:o}),l.dispatch(s),u=!0)})),u}function ot(t){const{editor:e,rules:n}=t,i=new r.k_({state:{init:()=>null,apply(t,r){const o=t.getMeta(i);if(o)return o;const s=t.getMeta("applyInputRules");return!!s&&setTimeout((()=>{const{from:t,text:r}=s,o=t+r.length;it({editor:e,from:t,to:o,text:r,rules:n,plugin:i})})),t.selectionSet||t.docChanged?null:r}},props:{handleTextInput:(t,r,o,s)=>it({editor:e,from:r,to:o,text:s,rules:n,plugin:i}),handleDOMEvents:{compositionend:t=>(setTimeout((()=>{const{$cursor:r}=t.state.selection;r&&it({editor:e,from:r.pos,to:r.pos,text:"",rules:n,plugin:i})})),!1)},handleKeyDown(t,r){if("Enter"!==r.key)return!1;const{$cursor:o}=t.state.selection;return!!o&&it({editor:e,from:o.pos,to:o.pos,text:"\n",rules:n,plugin:i})}},isInputRules:!0});return i}class st{constructor(t){this.find=t.find,this.handler=t.handler}}const at=(t,e,n)=>{if(et(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map((e=>{const n=[e.text];return n.index=e.index,n.input=t,n.data=e.data,e.replaceWith&&(e.text.includes(e.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(e.replaceWith)),n})):[]};function lt(t){const{editor:e,rules:n}=t;let i=null,o=!1,s=!1,a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,l="undefined"!=typeof DragEvent?new DragEvent("drop"):null;const c=({state:t,from:n,to:r,rule:i,pasteEvt:o})=>{const s=t.tr,c=$({state:t,transaction:s}),u=function(t){const{editor:e,state:n,from:r,to:i,rule:o,pasteEvent:s,dropEvent:a}=t,{commands:l,chain:c,can:u}=new B({editor:e,state:n}),d=[];return n.doc.nodesBetween(r,i,((t,e)=>{if(!t.isTextblock||t.type.spec.code)return;const h=Math.max(r,e),f=Math.min(i,e+t.content.size),p=t.textBetween(h-e,f-e,void 0,"￼");at(p,o.find,s).forEach((t=>{if(void 0===t.index)return;const e=h+t.index+1,r=e+t[0].length,i={from:n.tr.mapping.map(e),to:n.tr.mapping.map(r)},f=o.handler({state:n,range:i,match:t,commands:l,chain:c,can:u,pasteEvent:s,dropEvent:a});d.push(f)}))})),d.every((t=>null!==t))}({editor:e,state:c,from:Math.max(n-1,0),to:r.b-1,rule:i,pasteEvent:o,dropEvent:l});if(u&&s.steps.length)return l="undefined"!=typeof DragEvent?new DragEvent("drop"):null,a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,s};return n.map((t=>new r.k_({view(t){const e=e=>{var n;i=(null===(n=t.dom.parentElement)||void 0===n?void 0:n.contains(e.target))?t.dom.parentElement:null};return window.addEventListener("dragstart",e),{destroy(){window.removeEventListener("dragstart",e)}}},props:{handleDOMEvents:{drop:(t,e)=>(s=i===t.dom.parentElement,l=e,!1),paste:(t,e)=>{var n;const r=null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/html");return a=e,o=!!(null==r?void 0:r.includes("data-pm-slice")),!1}}},appendTransaction:(e,n,r)=>{const i=e[0],l="paste"===i.getMeta("uiEvent")&&!o,u="drop"===i.getMeta("uiEvent")&&!s,d=i.getMeta("applyPasteRules"),h=!!d;if(!l&&!u&&!h)return;if(h){const{from:e,text:n}=d,i=e+n.length,o=(t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return null===(e=n.clipboardData)||void 0===e||e.setData("text/html",t),n})(n);return c({rule:t,state:r,from:e,to:{b:i},pasteEvt:o})}const f=n.doc.content.findDiffStart(r.doc.content),p=n.doc.content.findDiffEnd(r.doc.content);return"number"==typeof f&&p&&f!==p.b?c({rule:t,state:r,from:f,to:p,pasteEvt:a}):void 0}})))}class ct{constructor(t,e){this.splittableMarks=[],this.editor=e,this.extensions=ct.resolve(t),this.schema=J(this.extensions,e),this.setupExtensions()}static resolve(t){const e=ct.sort(ct.flatten(t)),n=function(t){const e=t.filter(((e,n)=>t.indexOf(e)!==n));return[...new Set(e)]}(e.map((t=>t.name)));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((t=>`'${t}'`)).join(", ")}]. This can lead to issues.`),e}static flatten(t){return t.map((t=>{const e=z(t,"addExtensions",{name:t.name,options:t.options,storage:t.storage});return e?[t,...this.flatten(e())]:t})).flat(10)}static sort(t){return t.sort(((t,e)=>{const n=z(t,"priority")||100,r=z(e,"priority")||100;return n>r?-1:n<r?1:0}))}get commands(){return this.extensions.reduce(((t,e)=>{const n=z(e,"addCommands",{name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:Z(e.name,this.schema)});return n?{...t,...n()}:t}),{})}get plugins(){const{editor:t}=this,e=ct.sort([...this.extensions].reverse()),n=[],r=[],i=e.map((e=>{const i={name:e.name,options:e.options,storage:e.storage,editor:t,type:Z(e.name,this.schema)},s=[],a=z(e,"addKeyboardShortcuts",i);let l={};if("mark"===e.type&&e.config.exitable&&(l.ArrowRight=()=>oe.handleExit({editor:t,mark:e})),a){const e=Object.fromEntries(Object.entries(a()).map((([e,n])=>[e,()=>n({editor:t})])));l={...l,...e}}const c=(0,o.w)(l);s.push(c);const u=z(e,"addInputRules",i);Q(e,t.options.enableInputRules)&&u&&n.push(...u());const d=z(e,"addPasteRules",i);Q(e,t.options.enablePasteRules)&&d&&r.push(...d());const h=z(e,"addProseMirrorPlugins",i);if(h){const t=h();s.push(...t)}return s})).flat();return[ot({editor:t,rules:n}),...lt({editor:t,rules:r}),...i]}get attributes(){return Y(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=H(this.extensions);return Object.fromEntries(e.filter((t=>!!z(t,"addNodeView"))).map((e=>{const n=this.attributes.filter((t=>t.type===e.name)),r={name:e.name,options:e.options,storage:e.storage,editor:t,type:W(e.name,this.schema)},i=z(e,"addNodeView",r);if(!i)return[];return[e.name,(r,o,s,a)=>{const l=U(r,n);return i()({editor:t,node:r,getPos:s,decorations:a,HTMLAttributes:l,extension:e})}]})))}setupExtensions(){this.extensions.forEach((t=>{var e;this.editor.extensionStorage[t.name]=t.storage;const n={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:Z(t.name,this.schema)};if("mark"===t.type){(null===(e=X(z(t,"keepOnSplit",n)))||void 0===e||e)&&this.splittableMarks.push(t.name)}const r=z(t,"onBeforeCreate",n),i=z(t,"onCreate",n),o=z(t,"onUpdate",n),s=z(t,"onSelectionUpdate",n),a=z(t,"onTransaction",n),l=z(t,"onFocus",n),c=z(t,"onBlur",n),u=z(t,"onDestroy",n);r&&this.editor.on("beforeCreate",r),i&&this.editor.on("create",i),o&&this.editor.on("update",o),s&&this.editor.on("selectionUpdate",s),a&&this.editor.on("transaction",a),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),u&&this.editor.on("destroy",u)}))}}function ut(t){return"Object"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)&&(t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype)}function dt(t,e){const n={...t};return ut(t)&&ut(e)&&Object.keys(e).forEach((r=>{ut(e[r])?r in t?n[r]=dt(t[r],e[r]):Object.assign(n,{[r]:e[r]}):Object.assign(n,{[r]:e[r]})})),n}class ht{constructor(t={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=X(z(this,"addOptions",{name:this.name}))),this.storage=X(z(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new ht(t)}configure(t={}){const e=this.extend();return e.parent=this.parent,e.options=dt(this.options,t),e.storage=X(z(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new ht({...this.config,...t});return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=X(z(e,"addOptions",{name:e.name})),e.storage=X(z(e,"addStorage",{name:e.name,options:e.options})),e}}function ft(t,e,n){const{from:r,to:i}=e,{blockSeparator:o="\n\n",textSerializers:s={}}=n||{};let a="";return t.nodesBetween(r,i,((t,n,l,c)=>{var u;t.isBlock&&n>r&&(a+=o);const d=null==s?void 0:s[t.type.name];if(d)return l&&(a+=d({node:t,pos:n,parent:l,index:c,range:e})),!1;t.isText&&(a+=null===(u=null==t?void 0:t.text)||void 0===u?void 0:u.slice(Math.max(r,n)-n,i-n))})),a}function pt(t){return Object.fromEntries(Object.entries(t.nodes).filter((([,t])=>t.spec.toText)).map((([t,e])=>[t,e.spec.toText])))}const mt=ht.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new r.k_({key:new r.hs("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:i}=e,{ranges:o}=i,s=Math.min(...o.map((t=>t.$from.pos))),a=Math.max(...o.map((t=>t.$to.pos))),l=pt(n);return ft(r,{from:s,to:a},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}});function gt(t,e,n={strict:!0}){const r=Object.keys(e);return!r.length||r.every((r=>n.strict?e[r]===t[r]:et(e[r])?e[r].test(t[r]):e[r]===t[r]))}function vt(t,e,n={}){return t.find((t=>t.type===e&&gt(t.attrs,n)))}function bt(t,e,n={}){return!!vt(t,e,n)}function yt(t,e,n={}){if(!t||!e)return;let r=t.parent.childAfter(t.parentOffset);if(t.parentOffset===r.offset&&0!==r.offset&&(r=t.parent.childBefore(t.parentOffset)),!r.node)return;const i=vt([...r.node.marks],e,n);if(!i)return;let o=r.index,s=t.start()+r.offset,a=o+1,l=s+r.node.nodeSize;for(vt([...r.node.marks],e,n);o>0&&i.isInSet(t.parent.child(o-1).marks);)o-=1,s-=t.parent.child(o).nodeSize;for(;a<t.parent.childCount&&bt([...t.parent.child(a).marks],e,n);)l+=t.parent.child(a).nodeSize,a+=1;return{from:s,to:l}}function xt(t,e){if("string"==typeof t){if(!e.marks[t])throw Error(`There is no mark type named '${t}'. Maybe you forgot to add the extension?`);return e.marks[t]}return t}function wt(t){return t instanceof r.U3}function kt(t=0,e=0,n=0){return Math.min(Math.max(t,e),n)}function _t(t,e=null){if(!e)return null;const n=r.LN.atStart(t),i=r.LN.atEnd(t);if("start"===e||!0===e)return n;if("end"===e)return i;const o=n.from,s=i.to;return"all"===e?r.U3.create(t,kt(0,o,s),kt(t.content.size,o,s)):r.U3.create(t,kt(e,o,s),kt(e,o,s))}function St(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Ot=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];3===r.nodeType&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):1===r.nodeType&&Ot(r)}return t};function Mt(t){const e=`<body>${t}</body>`,n=(new window.DOMParser).parseFromString(e,"text/html").body;return Ot(n)}function Ct(t,e,n){n={slice:!0,parseOptions:{},...n};const r="string"==typeof t;if("object"==typeof t&&null!==t)try{return Array.isArray(t)&&t.length>0?s.FK.fromArray(t.map((t=>e.nodeFromJSON(t)))):e.nodeFromJSON(t)}catch(r){return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",r),Ct("",e,n)}if(r){const r=s.S4.fromSchema(e);return n.slice?r.parseSlice(Mt(t),n.parseOptions).content:r.parse(Mt(t),n.parseOptions)}return Ct("",e,n)}function At(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function Tt(t,e,n={}){const{from:r,to:i,empty:o}=t.selection,s=e?W(e,t.schema):null,a=[];t.doc.nodesBetween(r,i,((t,e)=>{if(t.isText)return;const n=Math.max(r,e),o=Math.min(i,e+t.nodeSize);a.push({node:t,from:n,to:o})}));const l=i-r,c=a.filter((t=>!s||s.name===t.node.type.name)).filter((t=>gt(t.node.attrs,n,{strict:!1})));if(o)return!!c.length;return c.reduce(((t,e)=>t+e.to-e.from),0)>=l}function Et(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function Dt(t,e){const n="string"==typeof e?[e]:e;return Object.keys(t).reduce(((e,r)=>(n.includes(r)||(e[r]=t[r]),e)),{})}function Pt(t,e,n={}){return Ct(t,e,{slice:!1,parseOptions:n})}function jt(t,e){const n=xt(e,t.schema),{from:r,to:i,empty:o}=t.selection,s=[];o?(t.storedMarks&&s.push(...t.storedMarks),s.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,i,(t=>{s.push(...t.marks)}));const a=s.find((t=>t.type.name===n.name));return a?{...a.attrs}:{}}function Lt(t){return e=>function(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}(e.$from,t)}function It(t,e){const n=s.ZF.fromSchema(e).serializeFragment(t),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(n),r.innerHTML}function Nt(t,e){return ft(t,{from:0,to:t.content.size},e)}function Rt(t,e){const n=Et("string"==typeof e?e:e.name,t.schema);return"node"===n?function(t,e){const n=W(e,t.schema),{from:r,to:i}=t.selection,o=[];t.doc.nodesBetween(r,i,(t=>{o.push(t)}));const s=o.reverse().find((t=>t.type.name===n.name));return s?{...s.attrs}:{}}(t,e):"mark"===n?jt(t,e):{}}function $t(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach((e=>{const i=yt(n.resolve(t-1),e.type);i&&r.push({mark:e,...i})})):n.nodesBetween(t,e,((t,e)=>{t&&void 0!==(null==t?void 0:t.nodeSize)&&r.push(...t.marks.map((n=>({from:e,to:e+t.nodeSize,mark:n}))))})),r}function Bt(t,e,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const r=t.find((t=>t.type===e&&t.name===n));return!!r&&r.attribute.keepOnSplit})))}function Ft(t,e,n={}){const{empty:r,ranges:i}=t.selection,o=e?xt(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter((t=>!o||o.name===t.type.name)).find((t=>gt(t.attrs,n,{strict:!1})));let s=0;const a=[];if(i.forEach((({$from:e,$to:n})=>{const r=e.pos,i=n.pos;t.doc.nodesBetween(r,i,((t,e)=>{if(!t.isText&&!t.marks.length)return;const n=Math.max(r,e),o=Math.min(i,e+t.nodeSize);s+=o-n,a.push(...t.marks.map((t=>({mark:t,from:n,to:o}))))}))})),0===s)return!1;const l=a.filter((t=>!o||o.name===t.mark.type.name)).filter((t=>gt(t.mark.attrs,n,{strict:!1}))).reduce(((t,e)=>t+e.to-e.from),0),c=a.filter((t=>!o||t.mark.type!==o&&t.mark.type.excludes(o))).reduce(((t,e)=>t+e.to-e.from),0);return(l>0?l+c:l)>=s}function zt(t,e){const{nodeExtensions:n}=H(e),r=n.find((e=>e.name===t));if(!r)return!1;const i=X(z(r,"group",{name:r.name,options:r.options,storage:r.storage}));return"string"==typeof i&&i.split(" ").includes("list")}function Ht(t){return t instanceof r.nh}function Yt(t,e,n){const r=t.state.doc.content.size,i=kt(e,0,r),o=kt(n,0,r),s=t.coordsAtPos(i),a=t.coordsAtPos(o,-1),l=Math.min(s.top,a.top),c=Math.max(s.bottom,a.bottom),u=Math.min(s.left,a.left),d=Math.max(s.right,a.right),h={top:l,bottom:c,left:u,right:d,width:d-u,height:c-l,x:u,y:l};return{...h,toJSON:()=>h}}function Wt(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter((t=>null==e?void 0:e.includes(t.type.name)));t.tr.ensureMarks(r)}}const Vt=(t,e)=>{const n=Lt((t=>t.type===e))(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===r)return!0;const i=t.doc.nodeAt(r);return n.node.type!==(null==i?void 0:i.type)||!(0,a.n9)(t.doc,n.pos)||(t.join(n.pos),!0)},Ut=(t,e)=>{const n=Lt((t=>t.type===e))(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(void 0===r)return!0;const i=t.doc.nodeAt(r);return n.node.type!==(null==i?void 0:i.type)||!(0,a.n9)(t.doc,r)||(t.join(r),!0)};var Gt=Object.freeze({__proto__:null,blur:()=>({editor:t,view:e})=>(requestAnimationFrame((()=>{var n;t.isDestroyed||(e.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(t=!1)=>({commands:e})=>e.setContent("",t),clearNodes:()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:i}=r;return!n||(i.forEach((({$from:n,$to:r})=>{t.doc.nodesBetween(n.pos,r.pos,((t,n)=>{if(t.type.isText)return;const{doc:r,mapping:i}=e,o=r.resolve(i.map(n)),s=r.resolve(i.map(n+t.nodeSize)),l=o.blockRange(s);if(!l)return;const c=(0,a.jP)(l);if(t.type.isTextblock){const{defaultType:t}=o.parent.contentMatchAt(o.index());e.setNodeMarkup(l.start,t)}(c||0===c)&&e.lift(l,c)}))})),!0)},command:t=>e=>t(e),createParagraphNear:()=>({state:t,dispatch:e})=>k(t,e),cut:(t,e)=>({editor:n,tr:i})=>{const{state:o}=n,s=o.doc.slice(t.from,t.to);i.deleteRange(t.from,t.to);const a=i.mapping.map(e);return i.insert(a,s.content),i.setSelection(new r.U3(i.doc.resolve(a-1))),!0},deleteCurrentNode:()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const i=t.selection.$anchor;for(let n=i.depth;n>0;n-=1){if(i.node(n).type===r.type){if(e){const e=i.before(n),r=i.after(n);t.delete(e,r).scrollIntoView()}return!0}}return!1},deleteNode:t=>({tr:e,state:n,dispatch:r})=>{const i=W(t,n.schema),o=e.selection.$anchor;for(let t=o.depth;t>0;t-=1){if(o.node(t).type===i){if(r){const n=o.before(t),r=o.after(t);e.delete(n,r).scrollIntoView()}return!0}}return!1},deleteRange:t=>({tr:e,dispatch:n})=>{const{from:r,to:i}=t;return n&&e.delete(r,i),!0},deleteSelection:()=>({state:t,dispatch:e})=>l(t,e),enter:()=>({commands:t})=>t.keyboardShortcut("Enter"),exitCode:()=>({state:t,dispatch:e})=>w(t,e),extendMarkRange:(t,e={})=>({tr:n,state:i,dispatch:o})=>{const s=xt(t,i.schema),{doc:a,selection:l}=n,{$from:c,from:u,to:d}=l;if(o){const t=yt(c,s,e);if(t&&t.from<=u&&t.to>=d){const e=r.U3.create(a,t.from,t.to);n.setSelection(e)}}return!0},first:t=>e=>{const n="function"==typeof t?t(e):t;for(let t=0;t<n.length;t+=1)if(n[t](e))return!0;return!1},focus:(t=null,e={})=>({editor:n,view:r,tr:i,dispatch:o})=>{e={scrollIntoView:!0,...e};const s=()=>{St()&&r.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(r.focus(),(null==e?void 0:e.scrollIntoView)&&n.commands.scrollIntoView())}))};if(r.hasFocus()&&null===t||!1===t)return!0;if(o&&null===t&&!wt(n.state.selection))return s(),!0;const a=_t(i.doc,t)||n.state.selection,l=n.state.selection.eq(a);return o&&(l||i.setSelection(a),l&&i.storedMarks&&i.setStoredMarks(i.storedMarks),s()),!0},forEach:(t,e)=>n=>t.every(((t,r)=>e(t,{...n,index:r}))),insertContent:(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),insertContentAt:(t,e,n)=>({tr:i,dispatch:o,editor:s})=>{if(o){n={parseOptions:{},updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};const o=Ct(e,s.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions}});if("<>"===o.toString())return!0;let{from:l,to:c}="number"==typeof t?{from:t,to:t}:{from:t.from,to:t.to},u=!0,d=!0;if((o.toString().startsWith("<")?o:[o]).forEach((t=>{t.check(),u=!!u&&(t.isText&&0===t.marks.length),d=!!d&&t.isBlock})),l===c&&d){const{parent:t}=i.doc.resolve(l);t.isTextblock&&!t.type.spec.code&&!t.childCount&&(l-=1,c+=1)}let h;u?(h=Array.isArray(e)?e.map((t=>t.text||"")).join(""):"object"==typeof e&&e&&e.text?e.text:e,i.insertText(h,l,c)):(h=o,i.replaceWith(l,c,h)),n.updateSelection&&function(t,e,n){const i=t.steps.length-1;if(i<e)return;const o=t.steps[i];if(!(o instanceof a.Ln||o instanceof a.Wg))return;const s=t.mapping.maps[i];let l=0;s.forEach(((t,e,n,r)=>{0===l&&(l=r)})),t.setSelection(r.LN.near(t.doc.resolve(l),n))}(i,i.steps.length-1,-1),n.applyInputRules&&i.setMeta("applyInputRules",{from:l,text:h}),n.applyPasteRules&&i.setMeta("applyPasteRules",{from:l,text:h})}return!0},joinUp:()=>({state:t,dispatch:e})=>((t,e)=>{let n,i=t.selection,o=i instanceof r.nh;if(o){if(i.node.isTextblock||!(0,a.n9)(t.doc,i.from))return!1;n=i.from}else if(n=(0,a.N0)(t.doc,i.from,-1),null==n)return!1;if(e){let i=t.tr.join(n);o&&i.setSelection(r.nh.create(i.doc,n-t.doc.resolve(n).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0})(t,e),joinDown:()=>({state:t,dispatch:e})=>((t,e)=>{let n,i=t.selection;if(i instanceof r.nh){if(i.node.isTextblock||!(0,a.n9)(t.doc,i.to))return!1;n=i.to}else if(n=(0,a.N0)(t.doc,i.to,1),null==n)return!1;return e&&e(t.tr.join(n).scrollIntoView()),!0})(t,e),joinBackward:()=>({state:t,dispatch:e})=>u(t,e),joinForward:()=>({state:t,dispatch:e})=>g(t,e),joinItemBackward:()=>({tr:t,state:e,dispatch:n})=>{try{const r=(0,a.N0)(e.doc,e.selection.$from.pos,-1);return null!=r&&(t.join(r,2),n&&n(t),!0)}catch{return!1}},joinItemForward:()=>({state:t,dispatch:e,tr:n})=>{try{const r=(0,a.N0)(t.doc,t.selection.$from.pos,1);return null!=r&&(n.join(r,2),e&&e(n),!0)}catch(t){return!1}},joinTextblockBackward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let r=c(t,n);if(!r)return!1;let i=p(r);return!!i&&d(t,i,e)})(t,e),joinTextblockForward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let r=m(t,n);if(!r)return!1;let i=b(r);return!!i&&d(t,i,e)})(t,e),keyboardShortcut:t=>({editor:e,view:n,tr:r,dispatch:i})=>{const o=function(t){const e=t.split(/-(?!$)/);let n,r,i,o,s=e[e.length-1];"Space"===s&&(s=" ");for(let t=0;t<e.length-1;t+=1){const s=e[t];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else if(/^s(hift)?$/i.test(s))i=!0;else{if(!/^mod$/i.test(s))throw new Error(`Unrecognized modifier name: ${s}`);St()||At()?o=!0:r=!0}}return n&&(s=`Alt-${s}`),r&&(s=`Ctrl-${s}`),o&&(s=`Meta-${s}`),i&&(s=`Shift-${s}`),s}(t).split(/-(?!$)/),s=o.find((t=>!["Alt","Ctrl","Meta","Shift"].includes(t))),a=new KeyboardEvent("keydown",{key:"Space"===s?" ":s,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0}),l=e.captureTransaction((()=>{n.someProp("handleKeyDown",(t=>t(n,a)))}));return null==l||l.steps.forEach((t=>{const e=t.map(r.mapping);e&&i&&r.maybeStep(e)})),!0},lift:(t,e={})=>({state:n,dispatch:r})=>!!Tt(n,W(t,n.schema),e)&&((t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),o=i&&(0,a.jP)(i);return null!=o&&(e&&e(t.tr.lift(i,o).scrollIntoView()),!0)})(n,r),liftEmptyBlock:()=>({state:t,dispatch:e})=>_(t,e),liftListItem:t=>({state:e,dispatch:n})=>R(W(t,e.schema))(e,n),newlineInCode:()=>({state:t,dispatch:e})=>y(t,e),resetAttributes:(t,e)=>({tr:n,state:r,dispatch:i})=>{let o=null,s=null;const a=Et("string"==typeof t?t:t.name,r.schema);return!!a&&("node"===a&&(o=W(t,r.schema)),"mark"===a&&(s=xt(t,r.schema)),i&&n.selection.ranges.forEach((t=>{r.doc.nodesBetween(t.$from.pos,t.$to.pos,((t,r)=>{o&&o===t.type&&n.setNodeMarkup(r,void 0,Dt(t.attrs,e)),s&&t.marks.length&&t.marks.forEach((i=>{s===i.type&&n.addMark(r,r+t.nodeSize,s.create(Dt(i.attrs,e)))}))}))})),!0)},scrollIntoView:()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),selectAll:()=>({tr:t,commands:e})=>e.setTextSelection({from:0,to:t.doc.content.size}),selectNodeBackward:()=>({state:t,dispatch:e})=>f(t,e),selectNodeForward:()=>({state:t,dispatch:e})=>v(t,e),selectParentNode:()=>({state:t,dispatch:e})=>((t,e)=>{let n,{$from:i,to:o}=t.selection,s=i.sharedDepth(o);return 0!=s&&(n=i.before(s),e&&e(t.tr.setSelection(r.nh.create(t.doc,n))),!0)})(t,e),selectTextblockEnd:()=>({state:t,dispatch:e})=>T(t,e),selectTextblockStart:()=>({state:t,dispatch:e})=>A(t,e),setContent:(t,e=!1,n={})=>({tr:r,editor:i,dispatch:o})=>{const{doc:s}=r,a=Pt(t,i.schema,n);return o&&r.replaceWith(0,s.content.size,a).setMeta("preventUpdate",!e),!0},setMark:(t,e={})=>({tr:n,state:r,dispatch:i})=>{const{selection:o}=n,{empty:s,ranges:a}=o,l=xt(t,r.schema);if(i)if(s){const t=jt(r,l);n.addStoredMark(l.create({...t,...e}))}else a.forEach((t=>{const i=t.$from.pos,o=t.$to.pos;r.doc.nodesBetween(i,o,((t,r)=>{const s=Math.max(r,i),a=Math.min(r+t.nodeSize,o);t.marks.find((t=>t.type===l))?t.marks.forEach((t=>{l===t.type&&n.addMark(s,a,l.create({...t.attrs,...e}))})):n.addMark(s,a,l.create(e))}))}));return function(t,e,n){var r;const{selection:i}=e;let o=null;if(wt(i)&&(o=i.$cursor),o){const e=null!==(r=t.storedMarks)&&void 0!==r?r:o.marks();return!!n.isInSet(e)||!e.some((t=>t.type.excludes(n)))}const{ranges:s}=i;return s.some((({$from:e,$to:r})=>{let i=0===e.depth&&t.doc.inlineContent&&t.doc.type.allowsMarkType(n);return t.doc.nodesBetween(e.pos,r.pos,((t,e,r)=>{if(i)return!1;if(t.isInline){const e=!r||r.type.allowsMarkType(n),o=!!n.isInSet(t.marks)||!t.marks.some((t=>t.type.excludes(n)));i=e&&o}return!i})),i}))}(r,n,l)},setMeta:(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),setNode:(t,e={})=>({state:n,dispatch:r,chain:i})=>{const o=W(t,n.schema);return o.isTextblock?i().command((({commands:t})=>!!E(o,e)(n)||t.clearNodes())).command((({state:t})=>E(o,e)(t,r))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:t=>({tr:e,dispatch:n})=>{if(n){const{doc:n}=e,i=kt(t,0,n.content.size),o=r.nh.create(n,i);e.setSelection(o)}return!0},setTextSelection:t=>({tr:e,dispatch:n})=>{if(n){const{doc:n}=e,{from:i,to:o}="number"==typeof t?{from:t,to:t}:t,s=r.U3.atStart(n).from,a=r.U3.atEnd(n).to,l=kt(i,s,a),c=kt(o,s,a),u=r.U3.create(n,l,c);e.setSelection(u)}return!0},sinkListItem:t=>({state:e,dispatch:n})=>{const r=W(t,e.schema);return(i=r,function(t,e){let{$from:n,$to:r}=t.selection,o=n.blockRange(r,(t=>t.childCount>0&&t.firstChild.type==i));if(!o)return!1;let l=o.startIndex;if(0==l)return!1;let c=o.parent,u=c.child(l-1);if(u.type!=i)return!1;if(e){let n=u.lastChild&&u.lastChild.type==c.type,r=s.FK.from(n?i.create():null),l=new s.Ji(s.FK.from(i.create(null,s.FK.from(c.type.create(null,r)))),n?3:1,0),d=o.start,h=o.end;e(t.tr.step(new a.Wg(d-(n?3:1),h,d,h,l,1,!0)).scrollIntoView())}return!0})(e,n);var i},splitBlock:({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:i,editor:o})=>{const{selection:s,doc:l}=e,{$from:c,$to:u}=s,d=Bt(o.extensionManager.attributes,c.node().type.name,c.node().attrs);if(s instanceof r.nh&&s.node.isBlock)return!(!c.parentOffset||!(0,a.zy)(l,c.pos))&&(i&&(t&&Wt(n,o.extensionManager.splittableMarks),e.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;if(i){const i=u.parentOffset===u.parent.content.size;s instanceof r.U3&&e.deleteSelection();const l=0===c.depth?void 0:function(t){for(let e=0;e<t.edgeCount;e+=1){const{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(c.node(-1).contentMatchAt(c.indexAfter(-1)));let h=i&&l?[{type:l,attrs:d}]:void 0,f=(0,a.zy)(e.doc,e.mapping.map(c.pos),1,h);if(h||f||!(0,a.zy)(e.doc,e.mapping.map(c.pos),1,l?[{type:l}]:void 0)||(f=!0,h=l?[{type:l,attrs:d}]:void 0),f&&(e.split(e.mapping.map(c.pos),1,h),l&&!i&&!c.parentOffset&&c.parent.type!==l)){const t=e.mapping.map(c.before()),n=e.doc.resolve(t);c.node(-1).canReplaceWith(n.index(),n.index()+1,l)&&e.setNodeMarkup(e.mapping.map(c.before()),l)}t&&Wt(n,o.extensionManager.splittableMarks),e.scrollIntoView()}return!0},splitListItem:t=>({tr:e,state:n,dispatch:i,editor:o})=>{var l;const c=W(t,n.schema),{$from:u,$to:d}=n.selection,h=n.selection.node;if(h&&h.isBlock||u.depth<2||!u.sameParent(d))return!1;const f=u.node(-1);if(f.type!==c)return!1;const p=o.extensionManager.attributes;if(0===u.parent.content.size&&u.node(-1).childCount===u.indexAfter(-1)){if(2===u.depth||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(i){let t=s.FK.empty;const n=u.index(-1)?1:u.index(-2)?2:3;for(let e=u.depth-n;e>=u.depth-3;e-=1)t=s.FK.from(u.node(e).copy(t));const i=u.indexAfter(-1)<u.node(-2).childCount?1:u.indexAfter(-2)<u.node(-3).childCount?2:3,o=Bt(p,u.node().type.name,u.node().attrs),a=(null===(l=c.contentMatch.defaultType)||void 0===l?void 0:l.createAndFill(o))||void 0;t=t.append(s.FK.from(c.createAndFill(null,a)||void 0));const d=u.before(u.depth-(n-1));e.replace(d,u.after(-i),new s.Ji(t,4-n,0));let h=-1;e.doc.nodesBetween(d,e.doc.content.size,((t,e)=>{if(h>-1)return!1;t.isTextblock&&0===t.content.size&&(h=e+1)})),h>-1&&e.setSelection(r.U3.near(e.doc.resolve(h))),e.scrollIntoView()}return!0}const m=d.pos===u.end()?f.contentMatchAt(0).defaultType:null,g=Bt(p,f.type.name,f.attrs),v=Bt(p,u.node().type.name,u.node().attrs);e.delete(u.pos,d.pos);const b=m?[{type:c,attrs:g},{type:m,attrs:v}]:[{type:c,attrs:g}];if(!(0,a.zy)(e.doc,u.pos,2))return!1;if(i){const{selection:t,storedMarks:r}=n,{splittableMarks:s}=o.extensionManager,a=r||t.$to.parentOffset&&t.$from.marks();if(e.split(u.pos,2,b).scrollIntoView(),!a||!i)return!0;const l=a.filter((t=>s.includes(t.type.name)));e.ensureMarks(l)}return!0},toggleList:(t,e,n,r={})=>({editor:i,tr:o,state:s,dispatch:a,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:h}=i.extensionManager,f=W(t,s.schema),p=W(e,s.schema),{selection:m,storedMarks:g}=s,{$from:v,$to:b}=m,y=v.blockRange(b),x=g||m.$to.parentOffset&&m.$from.marks();if(!y)return!1;const w=Lt((t=>zt(t.type.name,d)))(m);if(y.depth>=1&&w&&y.depth-w.depth<=1){if(w.node.type===f)return c.liftListItem(p);if(zt(w.node.type.name,d)&&f.validContent(w.node.content)&&a)return l().command((()=>(o.setNodeMarkup(w.pos,f),!0))).command((()=>Vt(o,f))).command((()=>Ut(o,f))).run()}return n&&x&&a?l().command((()=>{const t=u().wrapInList(f,r),e=x.filter((t=>h.includes(t.type.name)));return o.ensureMarks(e),!!t||c.clearNodes()})).wrapInList(f,r).command((()=>Vt(o,f))).command((()=>Ut(o,f))).run():l().command((()=>!!u().wrapInList(f,r)||c.clearNodes())).wrapInList(f,r).command((()=>Vt(o,f))).command((()=>Ut(o,f))).run()},toggleMark:(t,e={},n={})=>({state:r,commands:i})=>{const{extendEmptyMarkRange:o=!1}=n,s=xt(t,r.schema);return Ft(r,s,e)?i.unsetMark(s,{extendEmptyMarkRange:o}):i.setMark(s,e)},toggleNode:(t,e,n={})=>({state:r,commands:i})=>{const o=W(t,r.schema),s=W(e,r.schema);return Tt(r,o,n)?i.setNode(s):i.setNode(o,n)},toggleWrap:(t,e={})=>({state:n,commands:r})=>{const i=W(t,n.schema);return Tt(n,i,e)?r.lift(i):r.wrapIn(i,e)},undoInputRule:()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r<n.length;r+=1){const i=n[r];let o;if(i.spec.isInputRules&&(o=i.getState(t))){if(e){const e=t.tr,n=o.transform;for(let t=n.steps.length-1;t>=0;t-=1)e.step(n.steps[t].invert(n.docs[t]));if(o.text){const n=e.doc.resolve(o.from).marks();e.replaceWith(o.from,o.to,t.schema.text(o.text,n))}else e.delete(o.from,o.to)}return!0}}return!1},unsetAllMarks:()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:i}=n;return r||e&&i.forEach((e=>{t.removeMark(e.$from.pos,e.$to.pos)})),!0},unsetMark:(t,e={})=>({tr:n,state:r,dispatch:i})=>{var o;const{extendEmptyMarkRange:s=!1}=e,{selection:a}=n,l=xt(t,r.schema),{$from:c,empty:u,ranges:d}=a;if(!i)return!0;if(u&&s){let{from:t,to:e}=a;const r=null===(o=c.marks().find((t=>t.type===l)))||void 0===o?void 0:o.attrs,i=yt(c,l,r);i&&(t=i.from,e=i.to),n.removeMark(t,e,l)}else d.forEach((t=>{n.removeMark(t.$from.pos,t.$to.pos,l)}));return n.removeStoredMark(l),!0},updateAttributes:(t,e={})=>({tr:n,state:r,dispatch:i})=>{let o=null,s=null;const a=Et("string"==typeof t?t:t.name,r.schema);return!!a&&("node"===a&&(o=W(t,r.schema)),"mark"===a&&(s=xt(t,r.schema)),i&&n.selection.ranges.forEach((t=>{const i=t.$from.pos,a=t.$to.pos;r.doc.nodesBetween(i,a,((t,r)=>{o&&o===t.type&&n.setNodeMarkup(r,void 0,{...t.attrs,...e}),s&&t.marks.length&&t.marks.forEach((o=>{if(s===o.type){const l=Math.max(r,i),c=Math.min(r+t.nodeSize,a);n.addMark(l,c,s.create({...o.attrs,...e}))}}))}))})),!0)},wrapIn:(t,e={})=>({state:n,dispatch:r})=>function(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,s=i.blockRange(o),l=s&&(0,a.oM)(s,t,e);return!!l&&(r&&r(n.tr.wrap(s,l).scrollIntoView()),!0)}}(W(t,n.schema),e)(n,r),wrapInList:(t,e={})=>({state:n,dispatch:r})=>N(W(t,n.schema),e)(n,r)});const Xt=ht.create({name:"commands",addCommands:()=>({...Gt})}),qt=ht.create({name:"editable",addProseMirrorPlugins(){return[new r.k_({key:new r.hs("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Kt=ht.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new r.k_({key:new r.hs("focusEvents"),props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),Jt=ht.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first((({commands:t})=>[()=>t.undoInputRule(),()=>t.command((({tr:e})=>{const{selection:n,doc:i}=e,{empty:o,$anchor:s}=n,{pos:a,parent:l}=s,c=s.parent.isTextblock&&a>0?e.doc.resolve(a-1):s,u=c.parent.type.spec.isolating,d=s.pos-s.parentOffset,h=u&&1===c.parent.childCount?d===s.pos:r.LN.atStart(i).from===a;return!(!o||!l.type.isTextblock||l.textContent.length||!h||h&&"paragraph"===s.parent.type.name)&&t.clearNodes()})),()=>t.deleteSelection(),()=>t.joinBackward(),()=>t.selectNodeBackward()])),e=()=>this.editor.commands.first((({commands:t})=>[()=>t.deleteSelection(),()=>t.deleteCurrentNode(),()=>t.joinForward(),()=>t.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:t})=>[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),()=>t.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},i={...n},o={...n,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return St()||At()?o:i},addProseMirrorPlugins(){return[new r.k_({key:new r.hs("clearDocument"),appendTransaction:(t,e,n)=>{if(!(t.some((t=>t.docChanged))&&!e.doc.eq(n.doc)))return;const{empty:i,from:o,to:s}=e.selection,a=r.LN.atStart(e.doc).from,l=r.LN.atEnd(e.doc).to;if(i||!(o===a&&s===l))return;if(!(0===n.doc.textBetween(0,n.doc.content.size," "," ").length))return;const c=n.tr,u=$({state:n,transaction:c}),{commands:d}=new B({editor:this.editor,state:u});return d.clearNodes(),c.steps.length?c:void 0}})]}}),Zt=ht.create({name:"tabindex",addProseMirrorPlugins(){return[new r.k_({key:new r.hs("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});class Qt{constructor(t,e,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=t,this.editor=e,this.currentNode=r}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var t;return null!==(t=this.actualDepth)&&void 0!==t?t:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(t){let e=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);e=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:e,to:n},t)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(0===this.depth)return null;const t=this.resolvedPos.start(this.resolvedPos.depth-1),e=this.resolvedPos.doc.resolve(t);return new Qt(e,this.editor)}get before(){let t=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.from-3)),new Qt(t,this.editor)}get after(){let t=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.to+3)),new Qt(t,this.editor)}get children(){const t=[];return this.node.content.forEach(((e,n)=>{const r=e.isBlock&&!e.isTextblock,i=this.pos+n+1,o=this.resolvedPos.doc.resolve(i);if(!r&&o.depth<=this.depth)return;const s=new Qt(o,this.editor,r,r?e:null);r&&(s.actualDepth=this.depth+1),t.push(new Qt(o,this.editor,r,r?e:null))})),t}get firstChild(){return this.children[0]||null}get lastChild(){const t=this.children;return t[t.length-1]||null}closest(t,e={}){let n=null,r=this.parent;for(;r&&!n;){if(r.node.type.name===t)if(Object.keys(e).length>0){const t=r.node.attrs,n=Object.keys(e);for(let r=0;r<n.length;r+=1){const i=n[r];if(t[i]!==e[i])break}}else n=r;r=r.parent}return n}querySelector(t,e={}){return this.querySelectorAll(t,e,!0)[0]||null}querySelectorAll(t,e={},n=!1){let r=[];if(!this.children||0===this.children.length)return r;const i=Object.keys(e);return this.children.forEach((o=>{if(!(n&&r.length>0)){if(o.node.type.name===t){i.every((t=>e[t]===o.node.attrs[t]))&&r.push(o)}n&&r.length>0||(r=r.concat(o.querySelectorAll(t,e,n)))}})),r}setAttribute(t){const e=this.editor.state.selection;this.editor.chain().setTextSelection(this.from).updateAttributes(this.node.type.name,t).setTextSelection(e.from).run()}}class te extends F{constructor(t={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(t,e,n){const r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(null!==r)return r;const i=document.createElement("style");return e&&i.setAttribute("nonce",e),i.setAttribute("data-tiptap-style"+(n?`-${n}`:""),""),i.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(i),i}('.ProseMirror {\n  position: relative;\n}\n\n.ProseMirror {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  white-space: break-spaces;\n  -webkit-font-variant-ligatures: none;\n  font-variant-ligatures: none;\n  font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n  white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n  white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n  white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n  display: inline !important;\n  border: none !important;\n  margin: 0 !important;\n  width: 1px !important;\n  height: 1px !important;\n}\n\n.ProseMirror-gapcursor {\n  display: none;\n  pointer-events: none;\n  position: absolute;\n  margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n  content: "";\n  display: block;\n  position: absolute;\n  top: -2px;\n  width: 20px;\n  border-top: 1px solid black;\n  animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n  to {\n    visibility: hidden;\n  }\n}\n\n.ProseMirror-hideselection *::selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n  background: transparent;\n}\n\n.ProseMirror-hideselection * {\n  caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n  display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n  opacity: 0\n}',this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,e){const n=G(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:n});this.view.updateState(r)}unregisterPlugin(t){if(this.isDestroyed)return;const e="string"==typeof t?`${t}$`:t.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((t=>!t.key.startsWith(e)))});this.view.updateState(n)}createExtensionManager(){var t,e;const n=[...this.options.enableCoreExtensions?[qt,mt.configure({blockSeparator:null===(e=null===(t=this.options.coreExtensionOptions)||void 0===t?void 0:t.clipboardTextSerializer)||void 0===e?void 0:e.blockSeparator}),Xt,Kt,Jt,Zt]:[],...this.options.extensions].filter((t=>["extension","node","mark"].includes(null==t?void 0:t.type)));this.extensionManager=new ct(n,this)}createCommandManager(){this.commandManager=new B({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const t=Pt(this.options.content,this.schema,this.options.parseOptions),e=_t(t,this.options.autofocus);this.view=new i.Lz(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:r.$t.create({doc:t,selection:e||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass();this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void t.steps.forEach((t=>{var e;return null===(e=this.capturedTransaction)||void 0===e?void 0:e.step(t)})):void(this.capturedTransaction=t);const e=this.state.apply(t),n=!this.state.selection.eq(e.selection);this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t}),n&&this.emit("selectionUpdate",{editor:this,transaction:t});const r=t.getMeta("focus"),i=t.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:t}),i&&this.emit("blur",{editor:this,event:i.event,transaction:t}),t.docChanged&&!t.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:t})}getAttributes(t){return Rt(this.state,t)}isActive(t,e){const n="string"==typeof t?t:null,r="string"==typeof t?e:t;return function(t,e,n={}){if(!e)return Tt(t,null,n)||Ft(t,null,n);const r=Et(e,t.schema);return"node"===r?Tt(t,e,n):"mark"===r&&Ft(t,e,n)}(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return It(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:n={}}=t||{};return Nt(this.state.doc,{blockSeparator:e,textSerializers:{...pt(this.schema),...n}})}get isEmpty(){return function(t){var e;const n=null===(e=t.type.createAndFill())||void 0===e?void 0:e.toJSON(),r=t.toJSON();return JSON.stringify(n)===JSON.stringify(r)}(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var t;return!(null===(t=this.view)||void 0===t?void 0:t.docView)}$node(t,e){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t);return new Qt(e,this)}get $doc(){return this.$pos(0)}}function ee(t){return new nt({find:t.find,handler:({state:e,range:n,match:r})=>{const i=X(t.getAttributes,void 0,r);if(!1===i||null===i)return null;const{tr:o}=e,s=r[r.length-1],a=r[0];if(s){const r=a.search(/\S/),l=n.from+a.indexOf(s),c=l+s.length;if($t(n.from,n.to,e.doc).filter((e=>e.mark.type.excluded.find((n=>n===t.type&&n!==e.mark.type)))).filter((t=>t.to>l)).length)return null;c<n.to&&o.delete(c,n.to),l>n.from&&o.delete(n.from+r,l);const u=n.from+r+s.length;o.addMark(n.from+r,u,t.type.create(i||{})),o.removeStoredMark(t.type)}}})}function ne(t){return new nt({find:t.find,handler:({state:e,range:n,match:r})=>{const i=X(t.getAttributes,void 0,r)||{},{tr:o}=e,s=n.from;let a=n.to;const l=t.type.create(i);if(r[1]){let t=s+r[0].lastIndexOf(r[1]);t>a?t=a:a=t+r[1].length;const e=r[0][r[0].length-1];o.insertText(e,s+r[0].length-1),o.replaceWith(t,a,l)}else r[0]&&o.insert(s-1,t.type.create(i)).delete(o.mapping.map(s),o.mapping.map(a));o.scrollIntoView()}})}function re(t){return new nt({find:t.find,handler:({state:e,range:n,match:r})=>{const i=e.doc.resolve(n.from),o=X(t.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,o)}})}function ie(t){return new nt({find:t.find,handler:({state:e,range:n,match:r,chain:i})=>{const o=X(t.getAttributes,void 0,r)||{},s=e.tr.delete(n.from,n.to),l=s.doc.resolve(n.from).blockRange(),c=l&&(0,a.oM)(l,t.type,o);if(!c)return null;if(s.wrap(l,c),t.keepMarks&&t.editor){const{selection:n,storedMarks:r}=e,{splittableMarks:i}=t.editor.extensionManager,o=r||n.$to.parentOffset&&n.$from.marks();if(o){const t=o.filter((t=>i.includes(t.type.name)));s.ensureMarks(t)}}if(t.keepAttributes){const e="bulletList"===t.type.name||"orderedList"===t.type.name?"listItem":"taskList";i().updateAttributes(e,o).run()}const u=s.doc.resolve(n.from-1).nodeBefore;u&&u.type===t.type&&(0,a.n9)(s.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,u))&&s.join(n.from-1)}})}class oe{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=X(z(this,"addOptions",{name:this.name}))),this.storage=X(z(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new oe(t)}configure(t={}){const e=this.extend();return e.options=dt(this.options,t),e.storage=X(z(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new oe({...this.config,...t});return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=X(z(e,"addOptions",{name:e.name})),e.storage=X(z(e,"addStorage",{name:e.name,options:e.options})),e}static handleExit({editor:t,mark:e}){const{tr:n}=t.state,r=t.state.selection.$from;if(r.pos===r.end()){const i=r.marks();if(!!!i.find((t=>(null==t?void 0:t.type.name)===e.name)))return!1;const o=i.find((t=>(null==t?void 0:t.type.name)===e.name));return o&&n.removeStoredMark(o),n.insertText(" ",r.pos),t.view.dispatch(n),!0}return!1}}class se{constructor(t={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=X(z(this,"addOptions",{name:this.name}))),this.storage=X(z(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new se(t)}configure(t={}){const e=this.extend();return e.options=dt(this.options,t),e.storage=X(z(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new se({...this.config,...t});return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=X(z(e,"addOptions",{name:e.name})),e.storage=X(z(e,"addStorage",{name:e.name,options:e.options})),e}}function ae(t){return new st({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:i})=>{const o=X(t.getAttributes,void 0,r,i);if(!1===o||null===o)return null;const{tr:s}=e,a=r[r.length-1],l=r[0];let c=n.to;if(a){const r=l.search(/\S/),i=n.from+l.indexOf(a),u=i+a.length;if($t(n.from,n.to,e.doc).filter((e=>e.mark.type.excluded.find((n=>n===t.type&&n!==e.mark.type)))).filter((t=>t.to>i)).length)return null;u<n.to&&s.delete(u,n.to),i>n.from&&s.delete(n.from+r,i),c=n.from+r+a.length,s.addMark(n.from+r,c,t.type.create(o||{})),s.removeStoredMark(t.type)}}})}},26706:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(54943);const i=r.CU.create({name:"underline",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>!!t.includes("underline")&&{}}],renderHTML({HTMLAttributes:t}){return["u",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}})},63604:(t,e,n)=>{"use strict";n.d(e,{A:()=>_t});var r=n(54943);const i=/^\s*>\s$/,o=r.bP.create({name:"blockquote",addOptions:()=>({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=>[{tag:"blockquote"}],renderHTML({HTMLAttributes:t}){return["blockquote",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[(0,r.tG)({find:i,type:this.type})]}}),s=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,a=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,l=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,c=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,u=r.CU.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:t=>"normal"!==t.style.fontWeight&&null},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}],renderHTML({HTMLAttributes:t}){return["strong",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[(0,r.OX)({find:s,type:this.type}),(0,r.OX)({find:l,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:a,type:this.type}),(0,r.Zc)({find:c,type:this.type})]}}),d=r.bP.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",(0,r.KV)(this.options.HTMLAttributes,t),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),h=r.CU.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:t=>!!t.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:t}){return["span",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:e})=>{const n=(0,r.z6)(t,this.type);return!!Object.entries(n).some((([,t])=>!!t))||e.unsetMark(this.name)}}}}),f=/^\s*([-+*])\s$/,p=r.bP.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:t}){return["ul",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(d.name,this.editor.getAttributes(h.name)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=(0,r.tG)({find:f,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=(0,r.tG)({find:f,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(h.name),editor:this.editor})),[t]}}),m=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))$/,g=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))/g,v=r.CU.create({name:"code",addOptions:()=>({HTMLAttributes:{}}),excludes:"_",code:!0,exitable:!0,parseHTML:()=>[{tag:"code"}],renderHTML({HTMLAttributes:t}){return["code",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[(0,r.OX)({find:m,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:g,type:this.type})]}});var b=n(34149);const y=/^```([a-z]+)?[\s\n]$/,x=/^~~~([a-z]+)?[\s\n]$/,w=r.bP.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:null,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options,r=[...(null===(e=t.firstElementChild)||void 0===e?void 0:e.classList)||[]].filter((t=>t.startsWith(n))).map((t=>t.replace(n,"")))[0];return r||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:t,HTMLAttributes:e}){return["pre",(0,r.KV)(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=1===e.pos;return!(!t||e.parent.type.name!==this.name)&&(!(!n&&e.parent.textContent.length)&&this.editor.commands.clearNodes())},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=t,{selection:n}=e,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;const o=r.parentOffset===r.parent.nodeSize-2,s=r.parent.textContent.endsWith("\n\n");return!(!o||!s)&&t.chain().command((({tr:t})=>(t.delete(r.pos-2,r.pos),!0))).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:i,empty:o}=n;if(!o||i.parent.type!==this.type)return!1;if(!(i.parentOffset===i.parent.nodeSize-2))return!1;const s=i.after();if(void 0===s)return!1;return!r.nodeAt(s)&&t.commands.exitCode()}}},addInputRules(){return[(0,r.JJ)({find:y,type:this.type,getAttributes:t=>({language:t[1]})}),(0,r.JJ)({find:x,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new b.k_({key:new b.hs("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData)return!1;if(this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,o=null==i?void 0:i.mode;if(!n||!o)return!1;const{tr:s}=t.state;return t.state.selection.from===t.state.doc.nodeSize-(1+2*t.state.selection.$to.depth)?s.insert(t.state.selection.from-1,this.type.create({language:o})):s.replaceSelectionWith(this.type.create({language:o})),s.setSelection(b.U3.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.insertText(n.replace(/\r\n?/g,"\n")),s.setMeta("paste",!0),t.dispatch(s),!0}}})]}}),k=r.bP.create({name:"doc",topNode:!0,content:"block+"});var _=n(74094);function S(t={}){return new b.k_({view:e=>new O(e,t)})}class O{constructor(t,e){var n;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(n=e.width)&&void 0!==n?n:1,this.color=!1===e.color?void 0:e.color||"black",this.class=e.class,this.handlers=["dragover","dragend","drop","dragleave"].map((e=>{let n=t=>{this[e](t)};return t.dom.addEventListener(e,n),{name:e,handler:n}}))}destroy(){this.handlers.forEach((({name:t,handler:e})=>this.editorView.dom.removeEventListener(t,e)))}update(t,e){null!=this.cursorPos&&e.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,null==t?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t,e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent;if(n){let n=e.nodeBefore,r=e.nodeAfter;if(n||r){let e=this.editorView.nodeDOM(this.cursorPos-(n?n.nodeSize:0));if(e){let i=e.getBoundingClientRect(),o=n?i.bottom:i.top;n&&r&&(o=(o+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),t={left:i.left,right:i.right,top:o-this.width/2,bottom:o+this.width/2}}}}if(!t){let e=this.editorView.coordsAtPos(this.cursorPos);t={left:e.left-this.width/2,right:e.left+this.width/2,top:e.top,bottom:e.bottom}}let r,i,o=this.editorView.dom.offsetParent;if(this.element||(this.element=o.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n),!o||o==document.body&&"static"==getComputedStyle(o).position)r=-pageXOffset,i=-pageYOffset;else{let t=o.getBoundingClientRect();r=t.left-o.scrollLeft,i=t.top-o.scrollTop}this.element.style.left=t.left-r+"px",this.element.style.top=t.top-i+"px",this.element.style.width=t.right-t.left+"px",this.element.style.height=t.bottom-t.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout((()=>this.setCursor(null)),t)}dragover(t){if(!this.editorView.editable)return;let e=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),n=e&&e.inside>=0&&this.editorView.state.doc.nodeAt(e.inside),r=n&&n.type.spec.disableDropCursor,i="function"==typeof r?r(this.editorView,e,t):r;if(e&&!i){let t=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let e=(0,_.Um)(this.editorView.state.doc,t,this.editorView.dragging.slice);null!=e&&(t=e)}this.setCursor(t),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){t.target!=this.editorView.dom&&this.editorView.dom.contains(t.relatedTarget)||this.setCursor(null)}}const M=r.YY.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[S(this.options)]}});var C=n(69349),A=n(18932),T=n(41775);class E extends b.LN{constructor(t){super(t,t)}map(t,e){let n=t.resolve(e.map(this.head));return E.valid(n)?new E(n):b.LN.near(n)}content(){return A.Ji.empty}eq(t){return t instanceof E&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new E(t.resolve(e.pos))}getBookmark(){return new D(this.anchor)}static valid(t){let e=t.parent;if(e.isTextblock||!function(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(0!=n)for(let t=r.child(n-1);;t=t.lastChild){if(0==t.childCount&&!t.inlineContent||t.isAtom||t.type.spec.isolating)return!0;if(t.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(t)||!function(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n!=r.childCount)for(let t=r.child(n);;t=t.firstChild){if(0==t.childCount&&!t.inlineContent||t.isAtom||t.type.spec.isolating)return!0;if(t.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(t))return!1;let n=e.type.spec.allowGapCursor;if(null!=n)return n;let r=e.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,e,n=!1){t:for(;;){if(!n&&E.valid(t))return t;let r=t.pos,i=null;for(let n=t.depth;;n--){let o=t.node(n);if(e>0?t.indexAfter(n)<o.childCount:t.index(n)>0){i=o.child(e>0?t.indexAfter(n):t.index(n)-1);break}if(0==n)return null;r+=e;let s=t.doc.resolve(r);if(E.valid(s))return s}for(;;){let o=e>0?i.firstChild:i.lastChild;if(!o){if(i.isAtom&&!i.isText&&!b.nh.isSelectable(i)){t=t.doc.resolve(r+i.nodeSize*e),n=!1;continue t}break}i=o,r+=e;let s=t.doc.resolve(r);if(E.valid(s))return s}return null}}}E.prototype.visible=!1,E.findFrom=E.findGapCursorFrom,b.LN.jsonID("gapcursor",E);class D{constructor(t){this.pos=t}map(t){return new D(t.map(this.pos))}resolve(t){let e=t.resolve(this.pos);return E.valid(e)?new E(e):b.LN.near(e)}}const P=(0,C.K)({ArrowLeft:j("horiz",-1),ArrowRight:j("horiz",1),ArrowUp:j("vert",-1),ArrowDown:j("vert",1)});function j(t,e){const n="vert"==t?e>0?"down":"up":e>0?"right":"left";return function(t,r,i){let o=t.selection,s=e>0?o.$to:o.$from,a=o.empty;if(o instanceof b.U3){if(!i.endOfTextblock(n)||0==s.depth)return!1;a=!1,s=t.doc.resolve(e>0?s.after():s.before())}let l=E.findGapCursorFrom(s,e,a);return!!l&&(r&&r(t.tr.setSelection(new E(l))),!0)}}function L(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!E.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return!(i&&i.inside>-1&&b.nh.isSelectable(t.state.doc.nodeAt(i.inside)))&&(t.dispatch(t.state.tr.setSelection(new E(r))),!0)}function I(t,e){if("insertCompositionText"!=e.inputType||!(t.state.selection instanceof E))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=A.FK.empty;for(let t=r.length-1;t>=0;t--)i=A.FK.from(r[t].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new A.Ji(i,0,0));return o.setSelection(b.U3.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function N(t){if(!(t.selection instanceof E))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",T.zF.create(t.doc,[T.NZ.widget(t.selection.head,e,{key:"gapcursor"})])}const R=r.YY.create({name:"gapCursor",addProseMirrorPlugins:()=>[new b.k_({props:{decorations:N,createSelectionBetween:(t,e,n)=>e.pos==n.pos&&E.valid(n)?new E(n):null,handleClick:L,handleKeyDown:P,handleDOMEvents:{beforeinput:I}}})],extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:null!==(e=(0,r.gk)((0,r.iI)(t,"allowGapCursor",n)))&&void 0!==e?e:null}}}),$=r.bP.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:t}){return["br",(0,r.KV)(this.options.HTMLAttributes,t)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command((()=>{const{selection:t,storedMarks:i}=n;if(t.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:s}=r.extensionManager,a=i||t.$to.parentOffset&&t.$from.marks();return e().insertContent({type:this.name}).command((({tr:t,dispatch:e})=>{if(e&&a&&o){const e=a.filter((t=>s.includes(t.type.name)));t.ensureMarks(e)}return!0})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),B=r.bP.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map((t=>({tag:`h${t}`,attrs:{level:t}})))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setHeading:t=>({commands:e})=>!!this.options.levels.includes(t.level)&&e.setNode(this.name,t),toggleHeading:t=>({commands:e})=>!!this.options.levels.includes(t.level)&&e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return this.options.levels.reduce(((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})})),{})},addInputRules(){return this.options.levels.map((t=>(0,r.JJ)({find:new RegExp(`^(#{1,${t}})\\s$`),type:this.type,getAttributes:{level:t}})))}});var F=200,z=function(){};z.prototype.append=function(t){return t.length?(t=z.from(t),!this.length&&t||t.length<F&&this.leafAppend(t)||this.length<F&&t.leafPrepend(this)||this.appendInner(t)):this},z.prototype.prepend=function(t){return t.length?z.from(t).append(this):this},z.prototype.appendInner=function(t){return new Y(this,t)},z.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?z.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},z.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},z.prototype.forEach=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length),e<=n?this.forEachInner(t,e,n,0):this.forEachInvertedInner(t,e,n,0)},z.prototype.map=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length);var r=[];return this.forEach((function(e,n){return r.push(t(e,n))}),e,n),r},z.from=function(t){return t instanceof z?t:t&&t.length?new H(t):z.empty};var H=function(t){function e(e){t.call(this),this.values=e}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(t,n){return 0==t&&n==this.length?this:new e(this.values.slice(t,n))},e.prototype.getInner=function(t){return this.values[t]},e.prototype.forEachInner=function(t,e,n,r){for(var i=e;i<n;i++)if(!1===t(this.values[i],r+i))return!1},e.prototype.forEachInvertedInner=function(t,e,n,r){for(var i=e-1;i>=n;i--)if(!1===t(this.values[i],r+i))return!1},e.prototype.leafAppend=function(t){if(this.length+t.length<=F)return new e(this.values.concat(t.flatten()))},e.prototype.leafPrepend=function(t){if(this.length+t.length<=F)return new e(t.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(z);z.empty=new H([]);var Y=function(t){function e(e,n){t.call(this),this.left=e,this.right=n,this.length=e.length+n.length,this.depth=Math.max(e.depth,n.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(t){return t<this.left.length?this.left.get(t):this.right.get(t-this.left.length)},e.prototype.forEachInner=function(t,e,n,r){var i=this.left.length;return!(e<i&&!1===this.left.forEachInner(t,e,Math.min(n,i),r))&&(!(n>i&&!1===this.right.forEachInner(t,Math.max(e-i,0),Math.min(this.length,n)-i,r+i))&&void 0)},e.prototype.forEachInvertedInner=function(t,e,n,r){var i=this.left.length;return!(e>i&&!1===this.right.forEachInvertedInner(t,e-i,Math.max(n,i)-i,r+i))&&(!(n<i&&!1===this.left.forEachInvertedInner(t,Math.min(e,i),n,r))&&void 0)},e.prototype.sliceInner=function(t,e){if(0==t&&e==this.length)return this;var n=this.left.length;return e<=n?this.left.slice(t,e):t>=n?this.right.slice(t-n,e-n):this.left.slice(t,n).append(this.right.slice(0,e-n))},e.prototype.leafAppend=function(t){var n=this.right.leafAppend(t);if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(t){var n=this.left.leafPrepend(t);if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(z);const W=z;class V{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(0==this.eventCount)return null;let n,r,i=this.items.length;for(;;i--){if(this.items.get(i-1).selection){--i;break}}e&&(n=this.remapping(i,this.items.length),r=n.maps.length);let o,s,a=t.tr,l=[],c=[];return this.items.forEach(((t,e)=>{if(!t.step)return n||(n=this.remapping(i,e+1),r=n.maps.length),r--,void c.push(t);if(n){c.push(new U(t.map));let e,i=t.step.map(n.slice(r));i&&a.maybeStep(i).doc&&(e=a.mapping.maps[a.mapping.maps.length-1],l.push(new U(e,void 0,void 0,l.length+c.length))),r--,e&&n.appendMap(e,r)}else a.maybeStep(t.step);return t.selection?(o=n?t.selection.map(n.slice(r)):t.selection,s=new V(this.items.slice(0,i).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0}),this.items.length,0),{remaining:s,transform:a,selection:o}}addTransform(t,e,n,r){let i=[],o=this.eventCount,s=this.items,a=!r&&s.length?s.get(s.length-1):null;for(let n=0;n<t.steps.length;n++){let l,c=t.steps[n].invert(t.docs[n]),u=new U(t.mapping.maps[n],c,e);(l=a&&a.merge(u))&&(u=l,n?i.pop():s=s.slice(0,s.length-1)),i.push(u),e&&(o++,e=void 0),r||(a=u)}let l=o-n.depth;return l>X&&(s=function(t,e){let n;return t.forEach(((t,r)=>{if(t.selection&&0==e--)return n=r,!1})),t.slice(n)}(s,l),o-=l),new V(s.append(i),o)}remapping(t,e){let n=new _.X9;return this.items.forEach(((e,r)=>{let i=null!=e.mirrorOffset&&r-e.mirrorOffset>=t?n.maps.length-e.mirrorOffset:void 0;n.appendMap(e.map,i)}),t,e),n}addMaps(t){return 0==this.eventCount?this:new V(this.items.append(t.map((t=>new U(t)))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-e),i=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach((t=>{t.selection&&s--}),r);let a=e;this.items.forEach((e=>{let r=i.getMirror(--a);if(null==r)return;o=Math.min(o,r);let l=i.maps[r];if(e.step){let o=t.steps[r].invert(t.docs[r]),c=e.selection&&e.selection.map(i.slice(a+1,r));c&&s++,n.push(new U(l,o,c))}else n.push(new U(l))}),r);let l=[];for(let t=e;t<o;t++)l.push(new U(i.maps[t]));let c=this.items.slice(0,r).append(l).append(n),u=new V(c,s);return u.emptyItemCount()>500&&(u=u.compress(this.items.length-n.length)),u}emptyItemCount(){let t=0;return this.items.forEach((e=>{e.step||t++})),t}compress(t=this.items.length){let e=this.remapping(0,t),n=e.maps.length,r=[],i=0;return this.items.forEach(((o,s)=>{if(s>=t)r.push(o),o.selection&&i++;else if(o.step){let t=o.step.map(e.slice(n)),s=t&&t.getMap();if(n--,s&&e.appendMap(s,n),t){let a=o.selection&&o.selection.map(e.slice(n));a&&i++;let l,c=new U(s.invert(),t,a),u=r.length-1;(l=r.length&&r[u].merge(c))?r[u]=l:r.push(c)}}else o.map&&n--}),this.items.length,0),new V(W.from(r.reverse()),i)}}V.empty=new V(W.empty,0);class U{constructor(t,e,n,r){this.map=t,this.step=e,this.selection=n,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step);if(e)return new U(e.getMap().invert(),e,this.selection)}}}class G{constructor(t,e,n,r,i){this.done=t,this.undone=e,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}}const X=20;function q(t){let e=[];return t.forEach(((t,n,r,i)=>e.push(r,i))),e}function K(t,e){if(!t)return null;let n=[];for(let r=0;r<t.length;r+=2){let i=e.map(t[r],1),o=e.map(t[r+1],-1);i<=o&&n.push(i,o)}return n}let J=!1,Z=null;function Q(t){let e=t.plugins;if(Z!=e){J=!1,Z=e;for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){J=!0;break}}return J}const tt=new b.hs("history"),et=new b.hs("closeHistory");function nt(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new b.k_({key:tt,state:{init:()=>new G(V.empty,V.empty,null,0,-1),apply:(e,n,r)=>function(t,e,n,r){let i,o=n.getMeta(tt);if(o)return o.historyState;n.getMeta(et)&&(t=new G(t.done,t.undone,null,0,-1));let s=n.getMeta("appendedTransaction");if(0==n.steps.length)return t;if(s&&s.getMeta(tt))return s.getMeta(tt).redo?new G(t.done.addTransform(n,void 0,r,Q(e)),t.undone,q(n.mapping.maps[n.steps.length-1]),t.prevTime,t.prevComposition):new G(t.done,t.undone.addTransform(n,void 0,r,Q(e)),null,t.prevTime,t.prevComposition);if(!1===n.getMeta("addToHistory")||s&&!1===s.getMeta("addToHistory"))return(i=n.getMeta("rebased"))?new G(t.done.rebased(n,i),t.undone.rebased(n,i),K(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new G(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),K(t.prevRanges,n.mapping),t.prevTime,t.prevComposition);{let i=n.getMeta("composition"),o=0==t.prevTime||!s&&t.prevComposition!=i&&(t.prevTime<(n.time||0)-r.newGroupDelay||!function(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach(((t,r)=>{for(let i=0;i<e.length;i+=2)t<=e[i+1]&&r>=e[i]&&(n=!0)})),n}(n,t.prevRanges)),a=s?K(t.prevRanges,n.mapping):q(n.mapping.maps[n.steps.length-1]);return new G(t.done.addTransform(n,o?e.selection.getBookmark():void 0,r,Q(e)),V.empty,a,n.time,null==i?t.prevComposition:i)}}(n,r,e,t)},config:t,props:{handleDOMEvents:{beforeinput(t,e){let n=e.inputType,r="historyUndo"==n?it:"historyRedo"==n?ot:null;return!!r&&(e.preventDefault(),r(t.state,t.dispatch))}}}})}function rt(t,e){return(n,r)=>{let i=tt.getState(n);if(!i||0==(t?i.undone:i.done).eventCount)return!1;if(r){let o=function(t,e,n){let r=Q(e),i=tt.get(e).spec.config,o=(n?t.undone:t.done).popEvent(e,r);if(!o)return null;let s=o.selection.resolve(o.transform.doc),a=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),i,r),l=new G(n?a:o.remaining,n?o.remaining:a,null,0,-1);return o.transform.setSelection(s).setMeta(tt,{redo:n,historyState:l})}(i,n,t);o&&r(e?o.scrollIntoView():o)}return!0}}const it=rt(!1,!0),ot=rt(!0,!0);rt(!1,!1),rt(!0,!1);const st=r.YY.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:t,dispatch:e})=>it(t,e),redo:()=>({state:t,dispatch:e})=>ot(t,e)}),addProseMirrorPlugins(){return[nt(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),at=r.bP.create({name:"horizontalRule",addOptions:()=>({HTMLAttributes:{}}),group:"block",parseHTML:()=>[{tag:"hr"}],renderHTML({HTMLAttributes:t}){return["hr",(0,r.KV)(this.options.HTMLAttributes,t)]},addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{const{$to:n}=e.selection,r=t();return 0===n.parentOffset?r.insertContentAt(Math.max(n.pos-2,0),{type:this.name}):r.insertContent({type:this.name}),r.command((({tr:t,dispatch:e})=>{var n;if(e){const{$to:e}=t.selection,r=e.end();if(e.nodeAfter)e.nodeAfter.isTextblock?t.setSelection(b.U3.create(t.doc,e.pos+1)):e.nodeAfter.isBlock?t.setSelection(b.nh.create(t.doc,e.pos)):t.setSelection(b.U3.create(t.doc,e.pos));else{const i=null===(n=e.parent.type.contentMatch.defaultType)||void 0===n?void 0:n.create();i&&(t.insert(r,i),t.setSelection(b.U3.create(t.doc,r+1)))}t.scrollIntoView()}return!0})).run()}}},addInputRules(){return[(0,r.jT)({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),lt=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,ct=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,ut=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,dt=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,ht=r.CU.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"em"},{tag:"i",getAttrs:t=>"normal"!==t.style.fontStyle&&null},{style:"font-style=italic"}],renderHTML({HTMLAttributes:t}){return["em",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[(0,r.OX)({find:lt,type:this.type}),(0,r.OX)({find:ut,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:ct,type:this.type}),(0,r.Zc)({find:dt,type:this.type})]}}),ft=r.bP.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",(0,r.KV)(this.options.HTMLAttributes,t),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),pt=r.bP.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",(0,r.KV)(this.options.HTMLAttributes,t),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),mt=r.CU.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:t=>!!t.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:t}){return["span",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:e})=>{const n=(0,r.z6)(t,this.type);return!!Object.entries(n).some((([,t])=>!!t))||e.unsetMark(this.name)}}}}),gt=/^(\d+)\.\s$/,vt=r.bP.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return 1===e?["ol",(0,r.KV)(this.options.HTMLAttributes,n),0]:["ol",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(pt.name,this.editor.getAttributes(mt.name)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=(0,r.tG)({find:gt,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=(0,r.tG)({find:gt,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(mt.name)}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1],editor:this.editor})),[t]}}),bt=r.bP.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:t}){return["p",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),yt=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,xt=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,wt=r.CU.create({name:"strike",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>!!t.includes("line-through")&&{}}],renderHTML({HTMLAttributes:t}){return["s",(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[(0,r.OX)({find:yt,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:xt,type:this.type})]}}),kt=r.bP.create({name:"text",group:"inline"}),_t=r.YY.create({name:"starterKit",addExtensions(){var t,e,n,r,i,s,a,l,c,d,h,f,m,g,b,y,x,_;const S=[];return!1!==this.options.blockquote&&S.push(o.configure(null===(t=this.options)||void 0===t?void 0:t.blockquote)),!1!==this.options.bold&&S.push(u.configure(null===(e=this.options)||void 0===e?void 0:e.bold)),!1!==this.options.bulletList&&S.push(p.configure(null===(n=this.options)||void 0===n?void 0:n.bulletList)),!1!==this.options.code&&S.push(v.configure(null===(r=this.options)||void 0===r?void 0:r.code)),!1!==this.options.codeBlock&&S.push(w.configure(null===(i=this.options)||void 0===i?void 0:i.codeBlock)),!1!==this.options.document&&S.push(k.configure(null===(s=this.options)||void 0===s?void 0:s.document)),!1!==this.options.dropcursor&&S.push(M.configure(null===(a=this.options)||void 0===a?void 0:a.dropcursor)),!1!==this.options.gapcursor&&S.push(R.configure(null===(l=this.options)||void 0===l?void 0:l.gapcursor)),!1!==this.options.hardBreak&&S.push($.configure(null===(c=this.options)||void 0===c?void 0:c.hardBreak)),!1!==this.options.heading&&S.push(B.configure(null===(d=this.options)||void 0===d?void 0:d.heading)),!1!==this.options.history&&S.push(st.configure(null===(h=this.options)||void 0===h?void 0:h.history)),!1!==this.options.horizontalRule&&S.push(at.configure(null===(f=this.options)||void 0===f?void 0:f.horizontalRule)),!1!==this.options.italic&&S.push(ht.configure(null===(m=this.options)||void 0===m?void 0:m.italic)),!1!==this.options.listItem&&S.push(ft.configure(null===(g=this.options)||void 0===g?void 0:g.listItem)),!1!==this.options.orderedList&&S.push(vt.configure(null===(b=this.options)||void 0===b?void 0:b.orderedList)),!1!==this.options.paragraph&&S.push(bt.configure(null===(y=this.options)||void 0===y?void 0:y.paragraph)),!1!==this.options.strike&&S.push(wt.configure(null===(x=this.options)||void 0===x?void 0:x.strike)),!1!==this.options.text&&S.push(kt.configure(null===(_=this.options)||void 0===_?void 0:_.text)),S}})},9316:(t,e,n)=>{"use strict";n.d(e,{KE:()=>st,$Z:()=>at});var r=n(54943),i=n(34149),o=n(27736),s=n(37983),a="tippy-content",l="tippy-backdrop",c="tippy-arrow",u="tippy-svg-arrow",d={passive:!0,capture:!0},h=function(){return document.body};function f(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function p(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function m(t,e){return"function"==typeof t?t.apply(void 0,e):t}function g(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function v(t){return[].concat(t)}function b(t,e){-1===t.indexOf(e)&&t.push(e)}function y(t){return t.split("-")[0]}function x(t){return[].slice.call(t)}function w(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function k(){return document.createElement("div")}function _(t){return["Element","Fragment"].some((function(e){return p(t,e)}))}function S(t){return p(t,"MouseEvent")}function O(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function M(t){return _(t)?[t]:function(t){return p(t,"NodeList")}(t)?x(t):Array.isArray(t)?t:x(document.querySelectorAll(t))}function C(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function A(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function T(t){var e,n=v(t)[0];return null!=n&&null!=(e=n.ownerDocument)&&e.body?n.ownerDocument:document}function E(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}function D(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var P={isTouch:!1},j=0;function L(){P.isTouch||(P.isTouch=!0,window.performance&&document.addEventListener("mousemove",I))}function I(){var t=performance.now();t-j<20&&(P.isTouch=!1,document.removeEventListener("mousemove",I)),j=t}function N(){var t=document.activeElement;if(O(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var R=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var $={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},B=Object.assign({appendTo:h,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},$,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),F=Object.keys(B);function z(t){var e=(t.plugins||[]).reduce((function(e,n){var r,i=n.name,o=n.defaultValue;i&&(e[i]=void 0!==t[i]?t[i]:null!=(r=B[i])?r:o);return e}),{});return Object.assign({},t,e)}function H(t,e){var n=Object.assign({},e,{content:m(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(z(Object.assign({},B,{plugins:e}))):F).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},B.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}var Y=function(){return"innerHTML"};function W(t,e){t[Y()]=e}function V(t){var e=k();return!0===t?e.className=c:(e.className=u,_(t)?e.appendChild(t):W(e,t)),e}function U(t,e){_(e.content)?(W(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?W(t,e.content):t.textContent=e.content)}function G(t){var e=t.firstElementChild,n=x(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(a)})),arrow:n.find((function(t){return t.classList.contains(c)||t.classList.contains(u)})),backdrop:n.find((function(t){return t.classList.contains(l)}))}}function X(t){var e=k(),n=k();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=k();function i(n,r){var i=G(e),o=i.box,s=i.content,a=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||U(s,t.props),r.arrow?a?n.arrow!==r.arrow&&(o.removeChild(a),o.appendChild(V(r.arrow))):o.appendChild(V(r.arrow)):a&&o.removeChild(a)}return r.className=a,r.setAttribute("data-state","hidden"),U(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props),{popper:e,onUpdate:i}}X.$$tippy=!0;var q=1,K=[],J=[];function Z(t,e){var n,r,i,s,a,l,c,u,p=H(t,Object.assign({},B,z(w(e)))),_=!1,O=!1,M=!1,j=!1,L=[],I=g(xt,p.interactiveDebounce),N=q++,$=(u=p.plugins).filter((function(t,e){return u.indexOf(t)===e})),F={id:N,reference:t,popper:k(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:$,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(e){0;if(F.state.isDestroyed)return;st("onBeforeUpdate",[F,e]),bt();var n=F.props,r=H(t,Object.assign({},n,w(e),{ignoreAttributes:!0}));F.props=r,vt(),n.interactiveDebounce!==r.interactiveDebounce&&(ct(),I=g(xt,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?v(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&t.removeAttribute("aria-expanded");lt(),ot(),V&&V(n,r);F.popperInstance&&(St(),Mt().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));st("onAfterUpdate",[F,e])},setContent:function(t){F.setProps({content:t})},show:function(){0;var t=F.state.isVisible,e=F.state.isDestroyed,n=!F.state.isEnabled,r=P.isTouch&&!F.props.touch,i=f(F.props.duration,0,B.duration);if(t||e||n||r)return;if(et().hasAttribute("disabled"))return;if(st("onShow",[F],!1),!1===F.props.onShow(F))return;F.state.isVisible=!0,tt()&&(W.style.visibility="visible");ot(),ft(),F.state.isMounted||(W.style.transition="none");if(tt()){var o=rt();C([o.box,o.content],0)}l=function(){var t;if(F.state.isVisible&&!j){if(j=!0,W.offsetHeight,W.style.transition=F.props.moveTransition,tt()&&F.props.animation){var e=rt(),n=e.box,r=e.content;C([n,r],i),A([n,r],"visible")}at(),lt(),b(J,F),null==(t=F.popperInstance)||t.forceUpdate(),st("onMount",[F]),F.props.animation&&tt()&&function(t,e){mt(t,e)}(i,(function(){F.state.isShown=!0,st("onShown",[F])}))}},function(){var t,e=F.props.appendTo,n=et();t=F.props.interactive&&e===h||"parent"===e?n.parentNode:m(e,[n]);t.contains(W)||t.appendChild(W);F.state.isMounted=!0,St(),!1}()},hide:function(){0;var t=!F.state.isVisible,e=F.state.isDestroyed,n=!F.state.isEnabled,r=f(F.props.duration,1,B.duration);if(t||e||n)return;if(st("onHide",[F],!1),!1===F.props.onHide(F))return;F.state.isVisible=!1,F.state.isShown=!1,j=!1,_=!1,tt()&&(W.style.visibility="hidden");if(ct(),pt(),ot(!0),tt()){var i=rt(),o=i.box,s=i.content;F.props.animation&&(C([o,s],r),A([o,s],"hidden"))}at(),lt(),F.props.animation?tt()&&function(t,e){mt(t,(function(){!F.state.isVisible&&W.parentNode&&W.parentNode.contains(W)&&e()}))}(r,F.unmount):F.unmount()},hideWithInteractivity:function(t){0;nt().addEventListener("mousemove",I),b(K,I),I(t)},enable:function(){F.state.isEnabled=!0},disable:function(){F.hide(),F.state.isEnabled=!1},unmount:function(){0;F.state.isVisible&&F.hide();if(!F.state.isMounted)return;Ot(),Mt().forEach((function(t){t._tippy.unmount()})),W.parentNode&&W.parentNode.removeChild(W);J=J.filter((function(t){return t!==F})),F.state.isMounted=!1,st("onHidden",[F])},destroy:function(){0;if(F.state.isDestroyed)return;F.clearDelayTimeouts(),F.unmount(),bt(),delete t._tippy,F.state.isDestroyed=!0,st("onDestroy",[F])}};if(!p.render)return F;var Y=p.render(F),W=Y.popper,V=Y.onUpdate;W.setAttribute("data-tippy-root",""),W.id="tippy-"+F.id,F.popper=W,t._tippy=F,W._tippy=F;var U=$.map((function(t){return t.fn(F)})),X=t.hasAttribute("aria-expanded");return vt(),lt(),ot(),st("onCreate",[F]),p.showOnCreate&&Ct(),W.addEventListener("mouseenter",(function(){F.props.interactive&&F.state.isVisible&&F.clearDelayTimeouts()})),W.addEventListener("mouseleave",(function(){F.props.interactive&&F.props.trigger.indexOf("mouseenter")>=0&&nt().addEventListener("mousemove",I)})),F;function Z(){var t=F.props.touch;return Array.isArray(t)?t:[t,0]}function Q(){return"hold"===Z()[0]}function tt(){var t;return!(null==(t=F.props.render)||!t.$$tippy)}function et(){return c||t}function nt(){var t=et().parentNode;return t?T(t):document}function rt(){return G(W)}function it(t){return F.state.isMounted&&!F.state.isVisible||P.isTouch||s&&"focus"===s.type?0:f(F.props.delay,t?0:1,B.delay)}function ot(t){void 0===t&&(t=!1),W.style.pointerEvents=F.props.interactive&&!t?"":"none",W.style.zIndex=""+F.props.zIndex}function st(t,e,n){var r;(void 0===n&&(n=!0),U.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(r=F.props)[t].apply(r,e)}function at(){var e=F.props.aria;if(e.content){var n="aria-"+e.content,r=W.id;v(F.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(n);if(F.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var i=e&&e.replace(r,"").trim();i?t.setAttribute(n,i):t.removeAttribute(n)}}))}}function lt(){!X&&F.props.aria.expanded&&v(F.props.triggerTarget||t).forEach((function(t){F.props.interactive?t.setAttribute("aria-expanded",F.state.isVisible&&t===et()?"true":"false"):t.removeAttribute("aria-expanded")}))}function ct(){nt().removeEventListener("mousemove",I),K=K.filter((function(t){return t!==I}))}function ut(e){if(!P.isTouch||!M&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!F.props.interactive||!D(W,n)){if(v(F.props.triggerTarget||t).some((function(t){return D(t,n)}))){if(P.isTouch)return;if(F.state.isVisible&&F.props.trigger.indexOf("click")>=0)return}else st("onClickOutside",[F,e]);!0===F.props.hideOnClick&&(F.clearDelayTimeouts(),F.hide(),O=!0,setTimeout((function(){O=!1})),F.state.isMounted||pt())}}}function dt(){M=!0}function ht(){M=!1}function ft(){var t=nt();t.addEventListener("mousedown",ut,!0),t.addEventListener("touchend",ut,d),t.addEventListener("touchstart",ht,d),t.addEventListener("touchmove",dt,d)}function pt(){var t=nt();t.removeEventListener("mousedown",ut,!0),t.removeEventListener("touchend",ut,d),t.removeEventListener("touchstart",ht,d),t.removeEventListener("touchmove",dt,d)}function mt(t,e){var n=rt().box;function r(t){t.target===n&&(E(n,"remove",r),e())}if(0===t)return e();E(n,"remove",a),E(n,"add",r),a=r}function gt(e,n,r){void 0===r&&(r=!1),v(F.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,n,r),L.push({node:t,eventType:e,handler:n,options:r})}))}function vt(){var t;Q()&&(gt("touchstart",yt,{passive:!0}),gt("touchend",wt,{passive:!0})),(t=F.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(gt(t,yt),t){case"mouseenter":gt("mouseleave",wt);break;case"focus":gt(R?"focusout":"blur",kt);break;case"focusin":gt("focusout",kt)}}))}function bt(){L.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options;e.removeEventListener(n,r,i)})),L=[]}function yt(t){var e,n=!1;if(F.state.isEnabled&&!_t(t)&&!O){var r="focus"===(null==(e=s)?void 0:e.type);s=t,c=t.currentTarget,lt(),!F.state.isVisible&&S(t)&&K.forEach((function(e){return e(t)})),"click"===t.type&&(F.props.trigger.indexOf("mouseenter")<0||_)&&!1!==F.props.hideOnClick&&F.state.isVisible?n=!0:Ct(t),"click"===t.type&&(_=!n),n&&!r&&At(t)}}function xt(t){var e=t.target,n=et().contains(e)||W.contains(e);if("mousemove"!==t.type||!n){var r=Mt().concat(W).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean);(function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,i=t.popperState,o=t.props.interactiveBorder,s=y(i.placement),a=i.modifiersData.offset;if(!a)return!0;var l="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,u="right"===s?a.left.x:0,d="left"===s?a.right.x:0,h=e.top-r+l>o,f=r-e.bottom-c>o,p=e.left-n+u>o,m=n-e.right-d>o;return h||f||p||m}))})(r,t)&&(ct(),At(t))}}function wt(t){_t(t)||F.props.trigger.indexOf("click")>=0&&_||(F.props.interactive?F.hideWithInteractivity(t):At(t))}function kt(t){F.props.trigger.indexOf("focusin")<0&&t.target!==et()||F.props.interactive&&t.relatedTarget&&W.contains(t.relatedTarget)||At(t)}function _t(t){return!!P.isTouch&&Q()!==t.type.indexOf("touch")>=0}function St(){Ot();var e=F.props,n=e.popperOptions,r=e.placement,i=e.offset,s=e.getReferenceClientRect,a=e.moveTransition,c=tt()?G(W).arrow:null,u=s?{getBoundingClientRect:s,contextElement:s.contextElement||et()}:t,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(tt()){var n=rt().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}},h=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},d];tt()&&c&&h.push({name:"arrow",options:{element:c,padding:3}}),h.push.apply(h,(null==n?void 0:n.modifiers)||[]),F.popperInstance=(0,o.n4)(u,W,Object.assign({},n,{placement:r,onFirstUpdate:l,modifiers:h}))}function Ot(){F.popperInstance&&(F.popperInstance.destroy(),F.popperInstance=null)}function Mt(){return x(W.querySelectorAll("[data-tippy-root]"))}function Ct(t){F.clearDelayTimeouts(),t&&st("onTrigger",[F,t]),ft();var e=it(!0),r=Z(),i=r[0],o=r[1];P.isTouch&&"hold"===i&&o&&(e=o),e?n=setTimeout((function(){F.show()}),e):F.show()}function At(t){if(F.clearDelayTimeouts(),st("onUntrigger",[F,t]),F.state.isVisible){if(!(F.props.trigger.indexOf("mouseenter")>=0&&F.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&_)){var e=it(!1);e?r=setTimeout((function(){F.state.isVisible&&F.hide()}),e):i=requestAnimationFrame((function(){F.hide()}))}}else pt()}}function Q(t,e){void 0===e&&(e={});var n=B.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",L,d),window.addEventListener("blur",N);var r=Object.assign({},e,{plugins:n}),i=M(t).reduce((function(t,e){var n=e&&Z(e,r);return n&&t.push(n),t}),[]);return _(t)?i[0]:i}Q.defaultProps=B,Q.setDefaultProps=function(t){Object.keys(t).forEach((function(e){B[e]=t[e]}))},Q.currentInput=P;Object.assign({},s.A,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});Q.setDefaultProps({render:X});const tt=Q;class et{constructor({editor:t,element:e,view:n,tippyOptions:i={},updateDelay:o=250,shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:t,state:e,from:n,to:i})=>{const{doc:o,selection:s}=e,{empty:a}=s,l=!o.textBetween(n,i).length&&(0,r.eE)(e.selection),c=this.element.contains(document.activeElement);return!(!t.hasFocus()&&!c||a||l||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:t})=>{var e;this.preventHide?this.preventHide=!1:(null==t?void 0:t.relatedTarget)&&(null===(e=this.element.parentNode)||void 0===e?void 0:e.contains(t.relatedTarget))||this.hide()},this.tippyBlurHandler=t=>{this.blurHandler({event:t})},this.handleDebouncedUpdate=(t,e)=>{const n=!(null==e?void 0:e.selection.eq(t.state.selection)),r=!(null==e?void 0:e.doc.eq(t.state.doc));(n||r)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout((()=>{this.updateHandler(t,n,r,e)}),this.updateDelay))},this.updateHandler=(t,e,n,i)=>{var o,s,a;const{state:l,composing:c}=t,{selection:u}=l;if(c||!e&&!n)return;this.createTooltip();const{ranges:d}=u,h=Math.min(...d.map((t=>t.$from.pos))),f=Math.max(...d.map((t=>t.$to.pos)));(null===(o=this.shouldShow)||void 0===o?void 0:o.call(this,{editor:this.editor,view:t,state:l,oldState:i,from:h,to:f}))?(null===(s=this.tippy)||void 0===s||s.setProps({getReferenceClientRect:(null===(a=this.tippyOptions)||void 0===a?void 0:a.getReferenceClientRect)||(()=>{if((0,r.BQ)(l.selection)){let e=t.nodeDOM(h);const n=e.dataset.nodeViewWrapper?e:e.querySelector("[data-node-view-wrapper]");if(n&&(e=n.firstChild),e)return e.getBoundingClientRect()}return(0,r.MG)(t,h,f)})}),this.show()):this.hide()},this.editor=t,this.element=e,this.view=n,this.updateDelay=o,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options,e=!!t.parentElement;!this.tippy&&e&&(this.tippy=tt(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,e){const{state:n}=t,r=n.selection.$from.pos!==n.selection.$to.pos;if(this.updateDelay>0&&r)return void this.handleDebouncedUpdate(t,e);const i=!(null==e?void 0:e.selection.eq(t.state.selection)),o=!(null==e?void 0:e.doc.eq(t.state.doc));this.updateHandler(t,i,o,e)}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t,e;(null===(t=this.tippy)||void 0===t?void 0:t.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const nt=t=>new i.k_({key:"string"==typeof t.pluginKey?new i.hs(t.pluginKey):t.pluginKey,view:e=>new et({view:e,...t})});r.YY.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[nt({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class rt{constructor({editor:t,element:e,view:n,tippyOptions:r={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:t,state:e})=>{const{selection:n}=e,{$anchor:r,empty:i}=n,o=1===r.depth,s=r.parent.isTextblock&&!r.parent.type.spec.code&&!r.parent.textContent;return!!(t.hasFocus()&&i&&o&&s&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:t})=>{var e;this.preventHide?this.preventHide=!1:(null==t?void 0:t.relatedTarget)&&(null===(e=this.element.parentNode)||void 0===e?void 0:e.contains(t.relatedTarget))||this.hide()},this.tippyBlurHandler=t=>{this.blurHandler({event:t})},this.editor=t,this.element=e,this.view=n,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options,e=!!t.parentElement;!this.tippy&&e&&(this.tippy=tt(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,e){var n,i,o;const{state:s}=t,{doc:a,selection:l}=s,{from:c,to:u}=l;if(e&&e.doc.eq(a)&&e.selection.eq(l))return;this.createTooltip();(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:t,state:s,oldState:e}))?(null===(i=this.tippy)||void 0===i||i.setProps({getReferenceClientRect:(null===(o=this.tippyOptions)||void 0===o?void 0:o.getReferenceClientRect)||(()=>(0,r.MG)(t,c,u))}),this.show()):this.hide()}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t,e;(null===(t=this.tippy)||void 0===t?void 0:t.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const it=t=>new i.k_({key:"string"==typeof t.pluginKey?new i.hs(t.pluginKey):t.pluginKey,view:e=>new rt({view:e,...t})});r.YY.create({name:"floatingMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[it({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});var ot=n(48044);class st extends r.KE{constructor(){super(...arguments),this.contentComponent=null}}const at={name:"EditorContent",props:{editor:{default:null,type:Object}},watch:{editor:{immediate:!0,handler(t){t&&t.options.element&&this.$nextTick((()=>{const e=this.$el;e&&t.options.element.firstChild&&(e.append(...t.options.element.childNodes),t.contentComponent=this,t.setOptions({element:e}),t.createNodeViews())}))}}},render:t=>t("div"),beforeDestroy(){const{editor:t}=this;if(!t)return;if(t.isDestroyed||t.view.setProps({nodeViews:{}}),t.contentComponent=null,!t.options.element.firstChild)return;const e=document.createElement("div");e.append(...t.options.element.childNodes),t.setOptions({element:e})}};(0,ot.R1)().required,(0,ot.R1)().required,(0,ot.R1)().required,(0,ot.kk)().required,(0,ot.R1)().required,(0,ot.M5)().required,(0,ot.M5)().required,(0,ot.M5)().required},45830:(t,e,n)=>{"use strict";n.d(e,{A:()=>ge});var r={};function i(t,e){return function(){return t.apply(e,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>lt,hasStandardBrowserEnv:()=>ct,hasStandardBrowserWebWorkerEnv:()=>dt,origin:()=>ht});const{toString:o}=Object.prototype,{getPrototypeOf:s}=Object,a=(l=Object.create(null),t=>{const e=o.call(t);return l[e]||(l[e]=e.slice(8,-1).toLowerCase())});var l;const c=t=>(t=t.toLowerCase(),e=>a(e)===t),u=t=>e=>typeof e===t,{isArray:d}=Array,h=u("undefined");const f=c("ArrayBuffer");const p=u("string"),m=u("function"),g=u("number"),v=t=>null!==t&&"object"==typeof t,b=t=>{if("object"!==a(t))return!1;const e=s(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},y=c("Date"),x=c("File"),w=c("Blob"),k=c("FileList"),_=c("URLSearchParams"),[S,O,M,C]=["ReadableStream","Request","Response","Headers"].map(c);function A(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,i;if("object"!=typeof t&&(t=[t]),d(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let s;for(r=0;r<o;r++)s=i[r],e.call(null,t[s],s,t)}}function T(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}const E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,D=t=>!h(t)&&t!==E;const P=(j="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>j&&t instanceof j);var j;const L=c("HTMLFormElement"),I=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),N=c("RegExp"),R=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};A(n,((n,i)=>{let o;!1!==(o=e(n,i,t))&&(r[i]=o||n)})),Object.defineProperties(t,r)},$="abcdefghijklmnopqrstuvwxyz",B="0123456789",F={DIGIT:B,ALPHA:$,ALPHA_DIGIT:$+$.toUpperCase()+B};const z=c("AsyncFunction"),H={isArray:d,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!h(t)&&null!==t.constructor&&!h(t.constructor)&&m(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||m(t.append)&&("formdata"===(e=a(t))||"object"===e&&m(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer),e},isString:p,isNumber:g,isBoolean:t=>!0===t||!1===t,isObject:v,isPlainObject:b,isReadableStream:S,isRequest:O,isResponse:M,isHeaders:C,isUndefined:h,isDate:y,isFile:x,isBlob:w,isRegExp:N,isFunction:m,isStream:t=>v(t)&&m(t.pipe),isURLSearchParams:_,isTypedArray:P,isFileList:k,forEach:A,merge:function t(){const{caseless:e}=D(this)&&this||{},n={},r=(r,i)=>{const o=e&&T(n,i)||i;b(n[o])&&b(r)?n[o]=t(n[o],r):b(r)?n[o]=t({},r):d(r)?n[o]=r.slice():n[o]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&A(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(A(e,((e,r)=>{n&&m(e)?t[r]=i(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,o,a;const l={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)a=i[o],r&&!r(a,t,e)||l[a]||(e[a]=t[a],l[a]=!0);t=!1!==n&&s(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:c,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(d(t))return t;let e=t.length;if(!g(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:L,hasOwnProperty:I,hasOwnProp:I,reduceDescriptors:R,freezeMethods:t=>{R(t,((e,n)=>{if(m(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];m(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return d(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:T,global:E,isContextDefined:D,ALPHABET:F,generateString:(t=16,e=F.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&m(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const i=d(t)?[]:{};return A(t,((t,e)=>{const o=n(t,r+1);!h(o)&&(i[e]=o)})),e[r]=void 0,i}}return t};return n(t,0)},isAsyncFn:z,isThenable:t=>t&&(v(t)||m(t))&&m(t.then)&&m(t.catch)};function Y(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}H.inherits(Y,Error,{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:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const W=Y.prototype,V={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{V[t]={value:t}})),Object.defineProperties(Y,V),Object.defineProperty(W,"isAxiosError",{value:!0}),Y.from=(t,e,n,r,i,o)=>{const s=Object.create(W);return H.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Y.call(s,t.message,e,n,r,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const U=Y;var G=n(67647).hp;function X(t){return H.isPlainObject(t)||H.isArray(t)}function q(t){return H.endsWith(t,"[]")?t.slice(0,-2):t}function K(t,e,n){return t?t.concat(e).map((function(t,e){return t=q(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const J=H.toFlatObject(H,{},null,(function(t){return/^is[A-Z]/.test(t)}));const Z=function(t,e,n){if(!H.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!H.isUndefined(e[t])}))).metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&H.isSpecCompliantForm(e);if(!H.isFunction(i))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(H.isDate(t))return t.toISOString();if(!a&&H.isBlob(t))throw new U("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(t)||H.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):G.from(t):t}function c(t,n,i){let a=t;if(t&&!i&&"object"==typeof t)if(H.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(H.isArray(t)&&function(t){return H.isArray(t)&&!t.some(X)}(t)||(H.isFileList(t)||H.endsWith(n,"[]"))&&(a=H.toArray(t)))return n=q(n),a.forEach((function(t,r){!H.isUndefined(t)&&null!==t&&e.append(!0===s?K([n],r,o):null===s?n:n+"[]",l(t))})),!1;return!!X(t)||(e.append(K(i,n,o),l(t)),!1)}const u=[],d=Object.assign(J,{defaultVisitor:c,convertValue:l,isVisitable:X});if(!H.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!H.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),H.forEach(n,(function(n,o){!0===(!(H.isUndefined(n)||null===n)&&i.call(e,n,H.isString(o)?o.trim():o,r,d))&&t(n,r?r.concat(o):[o])})),u.pop()}}(t),e};function Q(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function tt(t,e){this._pairs=[],t&&Z(t,this,e)}const et=tt.prototype;et.append=function(t,e){this._pairs.push([t,e])},et.toString=function(t){const e=t?function(e){return t.call(this,e,Q)}:Q;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const nt=tt;function rt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function it(t,e,n){if(!e)return t;const r=n&&n.encode||rt,i=n&&n.serialize;let o;if(o=i?i(e,n):H.isURLSearchParams(e)?e.toString():new nt(e,n).toString(r),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}const ot=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){H.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},st={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},at={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:nt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},lt="undefined"!=typeof window&&"undefined"!=typeof document,ct=(ut="undefined"!=typeof navigator&&navigator.product,lt&&["ReactNative","NativeScript","NS"].indexOf(ut)<0);var ut;const dt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ht=lt&&window.location.href||"http://localhost",ft={...r,...at};const pt=function(t){function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;const s=Number.isFinite(+o),a=i>=t.length;if(o=!o&&H.isArray(r)?r.length:o,a)return H.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!s;r[o]&&H.isObject(r[o])||(r[o]=[]);return e(t,n,r[o],i)&&H.isArray(r[o])&&(r[o]=function(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}(r[o])),!s}if(H.isFormData(t)&&H.isFunction(t.entries)){const n={};return H.forEachEntry(t,((t,r)=>{e(function(t){return H.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const mt={transitional:st,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=H.isObject(t);i&&H.isHTMLForm(t)&&(t=new FormData(t));if(H.isFormData(t))return r?JSON.stringify(pt(t)):t;if(H.isArrayBuffer(t)||H.isBuffer(t)||H.isStream(t)||H.isFile(t)||H.isBlob(t)||H.isReadableStream(t))return t;if(H.isArrayBufferView(t))return t.buffer;if(H.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return Z(t,new ft.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return ft.isNode&&H.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=H.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Z(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),function(t,e,n){if(H.isString(t))try{return(e||JSON.parse)(t),H.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||mt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(H.isResponse(t)||H.isReadableStream(t))return t;if(t&&H.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw U.from(t,U.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ft.classes.FormData,Blob:ft.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],(t=>{mt.headers[t]={}}));const gt=mt,vt=H.toObjectSet(["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"]),bt=Symbol("internals");function yt(t){return t&&String(t).trim().toLowerCase()}function xt(t){return!1===t||null==t?t:H.isArray(t)?t.map(xt):String(t)}function wt(t,e,n,r,i){return H.isFunction(r)?r.call(this,e,n):(i&&(e=n),H.isString(e)?H.isString(r)?-1!==e.indexOf(r):H.isRegExp(r)?r.test(e):void 0:void 0)}class kt{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(t,e,n){const i=yt(e);if(!i)throw new Error("header name must be a non-empty string");const o=H.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||e]=xt(t))}const o=(t,e)=>H.forEach(t,((t,n)=>i(t,n,e)));if(H.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(H.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&vt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e);else if(H.isHeaders(t))for(const[e,r]of t.entries())i(r,e,n);else null!=t&&i(e,t,n);return this}get(t,e){if(t=yt(t)){const n=H.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(H.isFunction(e))return e.call(this,t,n);if(H.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=yt(t)){const n=H.findKey(this,t);return!(!n||void 0===this[n]||e&&!wt(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function i(t){if(t=yt(t)){const i=H.findKey(n,t);!i||e&&!wt(0,n[i],i,e)||(delete n[i],r=!0)}}return H.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const i=e[n];t&&!wt(0,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return H.forEach(this,((r,i)=>{const o=H.findKey(n,i);if(o)return e[o]=xt(r),void delete e[i];const s=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(i):String(i).trim();s!==i&&delete e[i],e[s]=xt(r),n[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return H.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&H.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[bt]=this[bt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=yt(t);e[r]||(!function(t,e){const n=H.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})}))}(n,t),e[r]=!0)}return H.isArray(t)?t.forEach(r):r(t),this}}kt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(kt.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),H.freezeMethods(kt);const _t=kt;function St(t,e){const n=this||gt,r=e||n,i=_t.from(r.headers);let o=r.data;return H.forEach(t,(function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function Ot(t){return!(!t||!t.__CANCEL__)}function Mt(t,e,n){U.call(this,null==t?"canceled":t,U.ERR_CANCELED,e,n),this.name="CanceledError"}H.inherits(Mt,U,{__CANCEL__:!0});const Ct=Mt;function At(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new U("Request failed with status code "+n.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const Tt=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,s=0;return e=void 0!==e?e:1e3,function(a){const l=Date.now(),c=r[s];i||(i=l),n[o]=a,r[o]=l;let u=s,d=0;for(;u!==o;)d+=n[u++],u%=t;if(o=(o+1)%t,o===s&&(s=(s+1)%t),l-i<e)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}};const Et=function(t,e){let n=0;const r=1e3/e;let i=null;return function(){const e=!0===this,o=Date.now();if(e||o-n>r)return i&&(clearTimeout(i),i=null),n=o,t.apply(null,arguments);i||(i=setTimeout((()=>(i=null,n=Date.now(),t.apply(null,arguments))),r-(o-n)))}},Dt=(t,e,n=3)=>{let r=0;const i=Tt(50,250);return Et((n=>{const o=n.loaded,s=n.lengthComputable?n.total:void 0,a=o-r,l=i(a);r=o;const c={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&o<=s?(s-o)/l:void 0,event:n,lengthComputable:null!=s};c[e?"download":"upload"]=!0,t(c)}),n)},Pt=ft.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=H.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0},jt=ft.hasStandardBrowserEnv?{write(t,e,n,r,i,o){const s=[t+"="+encodeURIComponent(e)];H.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),H.isString(r)&&s.push("path="+r),H.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Lt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const It=t=>t instanceof _t?{...t}:t;function Nt(t,e){e=e||{};const n={};function r(t,e,n){return H.isPlainObject(t)&&H.isPlainObject(e)?H.merge.call({caseless:n},t,e):H.isPlainObject(e)?H.merge({},e):H.isArray(e)?e.slice():e}function i(t,e,n){return H.isUndefined(e)?H.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function o(t,e){if(!H.isUndefined(e))return r(void 0,e)}function s(t,e){return H.isUndefined(e)?H.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(n,i,o){return o in e?r(n,i):o in t?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>i(It(t),It(e),!0)};return H.forEach(Object.keys(Object.assign({},t,e)),(function(r){const o=l[r]||i,s=o(t[r],e[r],r);H.isUndefined(s)&&o!==a||(n[r]=s)})),n}const Rt=t=>{const e=Nt({},t);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=e;if(e.headers=a=_t.from(a),e.url=it(Lt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),H.isFormData(r))if(ft.hasStandardBrowserEnv||ft.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...e].join("; "))}if(ft.hasStandardBrowserEnv&&(i&&H.isFunction(i)&&(i=i(e)),i||!1!==i&&Pt(e.url))){const t=o&&s&&jt.read(s);t&&a.set(o,t)}return e},$t="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const r=Rt(t);let i=r.data;const o=_t.from(r.headers).normalize();let s,{responseType:a}=r;function l(){r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let c=new XMLHttpRequest;function u(){if(!c)return;const r=_t.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());At((function(t){e(t),l()}),(function(t){n(t),l()}),{data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:t,request:c}),c=null}c.open(r.method.toUpperCase(),r.url,!0),c.timeout=r.timeout,"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(u)},c.onabort=function(){c&&(n(new U("Request aborted",U.ECONNABORTED,r,c)),c=null)},c.onerror=function(){n(new U("Network Error",U.ERR_NETWORK,r,c)),c=null},c.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const e=r.transitional||st;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new U(t,e.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,r,c)),c=null},void 0===i&&o.setContentType(null),"setRequestHeader"in c&&H.forEach(o.toJSON(),(function(t,e){c.setRequestHeader(e,t)})),H.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),a&&"json"!==a&&(c.responseType=r.responseType),"function"==typeof r.onDownloadProgress&&c.addEventListener("progress",Dt(r.onDownloadProgress,!0)),"function"==typeof r.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Dt(r.onUploadProgress)),(r.cancelToken||r.signal)&&(s=e=>{c&&(n(!e||e.type?new Ct(null,t,c):e),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const d=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);d&&-1===ft.protocols.indexOf(d)?n(new U("Unsupported protocol "+d+":",U.ERR_BAD_REQUEST,t)):c.send(i||null)}))},Bt=(t,e)=>{let n,r=new AbortController;const i=function(t){if(!n){n=!0,s();const e=t instanceof Error?t:this.reason;r.abort(e instanceof U?e:new Ct(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{i(new U(`timeout ${e} of ms exceeded`,U.ETIMEDOUT))}),e);const s=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t&&(t.removeEventListener?t.removeEventListener("abort",i):t.unsubscribe(i))})),t=null)};t.forEach((t=>t&&t.addEventListener&&t.addEventListener("abort",i)));const{signal:a}=r;return a.unsubscribe=s,[a,()=>{o&&clearTimeout(o),o=null}]},Ft=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,i=0;for(;i<n;)r=i+e,yield t.slice(i,r),i=r},zt=(t,e,n,r,i)=>{const o=async function*(t,e,n){for await(const r of t)yield*Ft(ArrayBuffer.isView(r)?r:await n(String(r)),e)}(t,e,i);let s=0;return new ReadableStream({type:"bytes",async pull(t){const{done:e,value:i}=await o.next();if(e)return t.close(),void r();let a=i.byteLength;n&&n(s+=a),t.enqueue(new Uint8Array(i))},cancel:t=>(r(t),o.return())},{highWaterMark:2})},Ht=(t,e)=>{const n=null!=t;return r=>setTimeout((()=>e({lengthComputable:n,total:t,loaded:r})))},Yt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Wt=Yt&&"function"==typeof ReadableStream,Vt=Yt&&("function"==typeof TextEncoder?(Ut=new TextEncoder,t=>Ut.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Ut;const Gt=Wt&&(()=>{let t=!1;const e=new Request(ft.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})(),Xt=Wt&&!!(()=>{try{return H.isReadableStream(new Response("").body)}catch(t){}})(),qt={stream:Xt&&(t=>t.body)};var Kt;Yt&&(Kt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!qt[t]&&(qt[t]=H.isFunction(Kt[t])?e=>e[t]():(e,n)=>{throw new U(`Response type '${t}' is not supported`,U.ERR_NOT_SUPPORT,n)})})));const Jt=async(t,e)=>{const n=H.toFiniteNumber(t.getContentLength());return null==n?(async t=>null==t?0:H.isBlob(t)?t.size:H.isSpecCompliantForm(t)?(await new Request(t).arrayBuffer()).byteLength:H.isArrayBufferView(t)?t.byteLength:(H.isURLSearchParams(t)&&(t+=""),H.isString(t)?(await Vt(t)).byteLength:void 0))(e):n},Zt={http:null,xhr:$t,fetch:Yt&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:h}=Rt(t);c=c?(c+"").toLowerCase():"text";let f,p,[m,g]=i||o||s?Bt([i,o],s):[];const v=()=>{!f&&setTimeout((()=>{m&&m.unsubscribe()})),f=!0};let b;try{if(l&&Gt&&"get"!==n&&"head"!==n&&0!==(b=await Jt(u,r))){let t,n=new Request(e,{method:"POST",body:r,duplex:"half"});H.isFormData(r)&&(t=n.headers.get("content-type"))&&u.setContentType(t),n.body&&(r=zt(n.body,65536,Ht(b,Dt(l)),null,Vt))}H.isString(d)||(d=d?"cors":"omit"),p=new Request(e,{...h,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:d});let i=await fetch(p);const o=Xt&&("stream"===c||"response"===c);if(Xt&&(a||o)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=H.toFiniteNumber(i.headers.get("content-length"));i=new Response(zt(i.body,65536,a&&Ht(e,Dt(a,!0)),o&&v,Vt),t)}c=c||"text";let s=await qt[H.findKey(qt,c)||"text"](i,t);return!o&&v(),g&&g(),await new Promise(((e,n)=>{At(e,n,{data:s,headers:_t.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:p})}))}catch(e){if(v(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new U("Network Error",U.ERR_NETWORK,t,p),{cause:e.cause||e});throw U.from(e,e&&e.code,t,p)}})};H.forEach(Zt,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Qt=t=>`- ${t}`,te=t=>H.isFunction(t)||null===t||!1===t,ee=t=>{t=H.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){let e;if(n=t[o],r=n,!te(n)&&(r=Zt[(e=String(n)).toLowerCase()],void 0===r))throw new U(`Unknown adapter '${e}'`);if(r)break;i[e||"#"+o]=r}if(!r){const t=Object.entries(i).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(Qt).join("\n"):" "+Qt(t[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function ne(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ct(null,t)}function re(t){ne(t),t.headers=_t.from(t.headers),t.data=St.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return ee(t.adapter||gt.adapter)(t).then((function(e){return ne(t),e.data=St.call(t,t.transformResponse,e),e.headers=_t.from(e.headers),e}),(function(e){return Ot(e)||(ne(t),e&&e.response&&(e.response.data=St.call(t,t.transformResponse,e.response),e.response.headers=_t.from(e.response.headers))),Promise.reject(e)}))}const ie="1.7.2",oe={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{oe[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const se={};oe.transitional=function(t,e,n){function r(t,e){return"[Axios v1.7.2] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new U(r(i," has been removed"+(e?" in "+e:"")),U.ERR_DEPRECATED);return e&&!se[i]&&(se[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}};const ae={assertOptions:function(t,e,n){if("object"!=typeof t)throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],s=e[o];if(s){const e=t[o],n=void 0===e||s(e,o,t);if(!0!==n)throw new U("option "+o+" must be "+n,U.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new U("Unknown option "+o,U.ERR_BAD_OPTION)}},validators:oe},le=ae.validators;class ce{constructor(t){this.defaults=t,this.interceptors={request:new ot,response:new ot}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Nt(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;void 0!==n&&ae.assertOptions(n,{silentJSONParsing:le.transitional(le.boolean),forcedJSONParsing:le.transitional(le.boolean),clarifyTimeoutError:le.transitional(le.boolean)},!1),null!=r&&(H.isFunction(r)?e.paramsSerializer={serialize:r}:ae.assertOptions(r,{encode:le.function,serialize:le.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&H.merge(i.common,i[e.method]);i&&H.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=_t.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(a=a&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let u,d=0;if(!a){const t=[re.bind(this),void 0];for(t.unshift.apply(t,s),t.push.apply(t,l),u=t.length,c=Promise.resolve(e);d<u;)c=c.then(t[d++],t[d++]);return c}u=s.length;let h=e;for(d=0;d<u;){const t=s[d++],e=s[d++];try{h=t(h)}catch(t){e.call(this,t);break}}try{c=re.call(this,h)}catch(t){return Promise.reject(t)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(t){return it(Lt((t=Nt(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}H.forEach(["delete","get","head","options"],(function(t){ce.prototype[t]=function(e,n){return this.request(Nt(n||{},{method:t,url:e,data:(n||{}).data}))}})),H.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(Nt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ce.prototype[t]=e(),ce.prototype[t+"Form"]=e(!0)}));const ue=ce;class de{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new Ct(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new de((function(e){t=e})),cancel:t}}}const he=de;const fe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(fe).forEach((([t,e])=>{fe[e]=t}));const pe=fe;const me=function t(e){const n=new ue(e),r=i(ue.prototype.request,n);return H.extend(r,ue.prototype,n,{allOwnKeys:!0}),H.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(Nt(e,n))},r}(gt);me.Axios=ue,me.CanceledError=Ct,me.CancelToken=he,me.isCancel=Ot,me.VERSION=ie,me.toFormData=Z,me.AxiosError=U,me.Cancel=me.CanceledError,me.all=function(t){return Promise.all(t)},me.spread=function(t){return function(e){return t.apply(null,e)}},me.isAxiosError=function(t){return H.isObject(t)&&!0===t.isAxiosError},me.mergeConfig=Nt,me.AxiosHeaders=_t,me.formToJSON=t=>pt(H.isHTMLForm(t)?new FormData(t):t),me.getAdapter=ee,me.HttpStatusCode=pe,me.default=me;const ge=me},48270:(t,e,n)=>{"use strict";n.d(e,{A:()=>Ft});var r,i,o=9e15,s=1e9,a="0123456789abcdef",l="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",c="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",u={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-o,maxE:o,crypto:!1},d=!0,h="[DecimalError] ",f=h+"Invalid argument: ",p=h+"Precision limit exceeded",m=h+"crypto unavailable",g="[object Decimal]",v=Math.floor,b=Math.pow,y=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,x=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,w=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,k=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,_=1e7,S=7,O=l.length-1,M=c.length-1,C={toStringTag:g};function A(t){var e,n,r,i=t.length-1,o="",s=t[0];if(i>0){for(o+=s,e=1;e<i;e++)r=t[e]+"",(n=S-r.length)&&(o+=B(n)),o+=r;s=t[e],(n=S-(r=s+"").length)&&(o+=B(n))}else if(0===s)return"0";for(;s%10==0;)s/=10;return o+s}function T(t,e,n){if(t!==~~t||t<e||t>n)throw Error(f+t)}function E(t,e,n,r){var i,o,s,a;for(o=t[0];o>=10;o/=10)--e;return--e<0?(e+=S,i=0):(i=Math.ceil((e+1)/S),e%=S),o=b(10,S-e),a=t[i]%o|0,null==r?e<3?(0==e?a=a/100|0:1==e&&(a=a/10|0),s=n<4&&99999==a||n>3&&49999==a||5e4==a||0==a):s=(n<4&&a+1==o||n>3&&a+1==o/2)&&(t[i+1]/o/100|0)==b(10,e-2)-1||(a==o/2||0==a)&&!(t[i+1]/o/100|0):e<4?(0==e?a=a/1e3|0:1==e?a=a/100|0:2==e&&(a=a/10|0),s=(r||n<4)&&9999==a||!r&&n>3&&4999==a):s=((r||n<4)&&a+1==o||!r&&n>3&&a+1==o/2)&&(t[i+1]/o/1e3|0)==b(10,e-3)-1,s}function D(t,e,n){for(var r,i,o=[0],s=0,l=t.length;s<l;){for(i=o.length;i--;)o[i]*=e;for(o[0]+=a.indexOf(t.charAt(s++)),r=0;r<o.length;r++)o[r]>n-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}C.absoluteValue=C.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),j(t)},C.ceil=function(){return j(new this.constructor(this),this.e+1,2)},C.clampedTo=C.clamp=function(t,e){var n=this,r=n.constructor;if(t=new r(t),e=new r(e),!t.s||!e.s)return new r(NaN);if(t.gt(e))throw Error(f+e);return n.cmp(t)<0?t:n.cmp(e)>0?e:new r(n)},C.comparedTo=C.cmp=function(t){var e,n,r,i,o=this,s=o.d,a=(t=new o.constructor(t)).d,l=o.s,c=t.s;if(!s||!a)return l&&c?l!==c?l:s===a?0:!s^l<0?1:-1:NaN;if(!s[0]||!a[0])return s[0]?l:a[0]?-c:0;if(l!==c)return l;if(o.e!==t.e)return o.e>t.e^l<0?1:-1;for(e=0,n=(r=s.length)<(i=a.length)?r:i;e<n;++e)if(s[e]!==a[e])return s[e]>a[e]^l<0?1:-1;return r===i?0:r>i^l<0?1:-1},C.cosine=C.cos=function(){var t,e,n=this,r=n.constructor;return n.d?n.d[0]?(t=r.precision,e=r.rounding,r.precision=t+Math.max(n.e,n.sd())+S,r.rounding=1,n=function(t,e){var n,r,i;if(e.isZero())return e;r=e.d.length,r<32?i=(1/q(4,n=Math.ceil(r/3))).toString():(n=16,i="2.3283064365386962890625e-10");t.precision+=n,e=X(t,1,e.times(i),new t(1));for(var o=n;o--;){var s=e.times(e);e=s.times(s).minus(s).times(8).plus(1)}return t.precision-=n,e}(r,K(r,n)),r.precision=t,r.rounding=e,j(2==i||3==i?n.neg():n,t,e,!0)):new r(1):new r(NaN)},C.cubeRoot=C.cbrt=function(){var t,e,n,r,i,o,s,a,l,c,u=this,h=u.constructor;if(!u.isFinite()||u.isZero())return new h(u);for(d=!1,(o=u.s*b(u.s*u,1/3))&&Math.abs(o)!=1/0?r=new h(o.toString()):(n=A(u.d),(o=((t=u.e)-n.length+1)%3)&&(n+=1==o||-2==o?"0":"00"),o=b(n,1/3),t=v((t+1)/3)-(t%3==(t<0?-1:2)),(r=new h(n=o==1/0?"5e"+t:(n=o.toExponential()).slice(0,n.indexOf("e")+1)+t)).s=u.s),s=(t=h.precision)+3;;)if(c=(l=(a=r).times(a).times(a)).plus(u),r=P(c.plus(u).times(a),c.plus(l),s+2,1),A(a.d).slice(0,s)===(n=A(r.d)).slice(0,s)){if("9999"!=(n=n.slice(s-3,s+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(j(r,t+1,1),e=!r.times(r).times(r).eq(u));break}if(!i&&(j(a,t+1,0),a.times(a).times(a).eq(u))){r=a;break}s+=4,i=1}return d=!0,j(r,t,h.rounding,e)},C.decimalPlaces=C.dp=function(){var t,e=this.d,n=NaN;if(e){if(n=((t=e.length-1)-v(this.e/S))*S,t=e[t])for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n},C.dividedBy=C.div=function(t){return P(this,new this.constructor(t))},C.dividedToIntegerBy=C.divToInt=function(t){var e=this.constructor;return j(P(this,new e(t),0,1,1),e.precision,e.rounding)},C.equals=C.eq=function(t){return 0===this.cmp(t)},C.floor=function(){return j(new this.constructor(this),this.e+1,3)},C.greaterThan=C.gt=function(t){return this.cmp(t)>0},C.greaterThanOrEqualTo=C.gte=function(t){var e=this.cmp(t);return 1==e||0===e},C.hyperbolicCosine=C.cosh=function(){var t,e,n,r,i,o=this,s=o.constructor,a=new s(1);if(!o.isFinite())return new s(o.s?1/0:NaN);if(o.isZero())return a;n=s.precision,r=s.rounding,s.precision=n+Math.max(o.e,o.sd())+4,s.rounding=1,(i=o.d.length)<32?e=(1/q(4,t=Math.ceil(i/3))).toString():(t=16,e="2.3283064365386962890625e-10"),o=X(s,1,o.times(e),new s(1),!0);for(var l,c=t,u=new s(8);c--;)l=o.times(o),o=a.minus(l.times(u.minus(l.times(u))));return j(o,s.precision=n,s.rounding=r,!0)},C.hyperbolicSine=C.sinh=function(){var t,e,n,r,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(e=o.precision,n=o.rounding,o.precision=e+Math.max(i.e,i.sd())+4,o.rounding=1,(r=i.d.length)<3)i=X(o,2,i,i,!0);else{t=(t=1.4*Math.sqrt(r))>16?16:0|t,i=X(o,2,i=i.times(1/q(5,t)),i,!0);for(var s,a=new o(5),l=new o(16),c=new o(20);t--;)s=i.times(i),i=i.times(a.plus(s.times(l.times(s).plus(c))))}return o.precision=e,o.rounding=n,j(i,e,n,!0)},C.hyperbolicTangent=C.tanh=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+7,r.rounding=1,P(n.sinh(),n.cosh(),r.precision=t,r.rounding=e)):new r(n.s)},C.inverseCosine=C.acos=function(){var t,e=this,n=e.constructor,r=e.abs().cmp(1),i=n.precision,o=n.rounding;return-1!==r?0===r?e.isNeg()?R(n,i,o):new n(0):new n(NaN):e.isZero()?R(n,i+4,o).times(.5):(n.precision=i+6,n.rounding=1,e=e.asin(),t=R(n,i+4,o).times(.5),n.precision=i,n.rounding=o,t.minus(e))},C.inverseHyperbolicCosine=C.acosh=function(){var t,e,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(t=r.precision,e=r.rounding,r.precision=t+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,d=!1,n=n.times(n).minus(1).sqrt().plus(n),d=!0,r.precision=t,r.rounding=e,n.ln()):new r(n)},C.inverseHyperbolicSine=C.asinh=function(){var t,e,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,d=!1,n=n.times(n).plus(1).sqrt().plus(n),d=!0,r.precision=t,r.rounding=e,n.ln())},C.inverseHyperbolicTangent=C.atanh=function(){var t,e,n,r,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(t=o.precision,e=o.rounding,r=i.sd(),Math.max(r,t)<2*-i.e-1?j(new o(i),t,e,!0):(o.precision=n=r-i.e,i=P(i.plus(1),new o(1).minus(i),n+t,1),o.precision=t+4,o.rounding=1,i=i.ln(),o.precision=t,o.rounding=e,i.times(.5))):new o(NaN)},C.inverseSine=C.asin=function(){var t,e,n,r,i=this,o=i.constructor;return i.isZero()?new o(i):(e=i.abs().cmp(1),n=o.precision,r=o.rounding,-1!==e?0===e?((t=R(o,n+4,r).times(.5)).s=i.s,t):new o(NaN):(o.precision=n+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=n,o.rounding=r,i.times(2)))},C.inverseTangent=C.atan=function(){var t,e,n,r,i,o,s,a,l,c=this,u=c.constructor,h=u.precision,f=u.rounding;if(c.isFinite()){if(c.isZero())return new u(c);if(c.abs().eq(1)&&h+4<=M)return(s=R(u,h+4,f).times(.25)).s=c.s,s}else{if(!c.s)return new u(NaN);if(h+4<=M)return(s=R(u,h+4,f).times(.5)).s=c.s,s}for(u.precision=a=h+10,u.rounding=1,t=n=Math.min(28,a/S+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(d=!1,e=Math.ceil(a/S),r=1,l=c.times(c),s=new u(c),i=c;-1!==t;)if(i=i.times(l),o=s.minus(i.div(r+=2)),i=i.times(l),void 0!==(s=o.plus(i.div(r+=2))).d[e])for(t=e;s.d[t]===o.d[t]&&t--;);return n&&(s=s.times(2<<n-1)),d=!0,j(s,u.precision=h,u.rounding=f,!0)},C.isFinite=function(){return!!this.d},C.isInteger=C.isInt=function(){return!!this.d&&v(this.e/S)>this.d.length-2},C.isNaN=function(){return!this.s},C.isNegative=C.isNeg=function(){return this.s<0},C.isPositive=C.isPos=function(){return this.s>0},C.isZero=function(){return!!this.d&&0===this.d[0]},C.lessThan=C.lt=function(t){return this.cmp(t)<0},C.lessThanOrEqualTo=C.lte=function(t){return this.cmp(t)<1},C.logarithm=C.log=function(t){var e,n,r,i,o,s,a,l,c=this,u=c.constructor,h=u.precision,f=u.rounding;if(null==t)t=new u(10),e=!0;else{if(n=(t=new u(t)).d,t.s<0||!n||!n[0]||t.eq(1))return new u(NaN);e=t.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new u(n&&!n[0]?-1/0:1!=c.s?NaN:n?0:1/0);if(e)if(n.length>1)o=!0;else{for(i=n[0];i%10==0;)i/=10;o=1!==i}if(d=!1,s=W(c,a=h+5),r=e?N(u,a+10):W(t,a),E((l=P(s,r,a,1)).d,i=h,f))do{if(s=W(c,a+=10),r=e?N(u,a+10):W(t,a),l=P(s,r,a,1),!o){+A(l.d).slice(i+1,i+15)+1==1e14&&(l=j(l,h+1,0));break}}while(E(l.d,i+=10,f));return d=!0,j(l,h,f)},C.minus=C.sub=function(t){var e,n,r,i,o,s,a,l,c,u,h,f,p=this,m=p.constructor;if(t=new m(t),!p.d||!t.d)return p.s&&t.s?p.d?t.s=-t.s:t=new m(t.d||p.s!==t.s?p:NaN):t=new m(NaN),t;if(p.s!=t.s)return t.s=-t.s,p.plus(t);if(c=p.d,f=t.d,a=m.precision,l=m.rounding,!c[0]||!f[0]){if(f[0])t.s=-t.s;else{if(!c[0])return new m(3===l?-0:0);t=new m(p)}return d?j(t,a,l):t}if(n=v(t.e/S),u=v(p.e/S),c=c.slice(),o=u-n){for((h=o<0)?(e=c,o=-o,s=f.length):(e=f,n=u,s=c.length),o>(r=Math.max(Math.ceil(a/S),s)+2)&&(o=r,e.length=1),e.reverse(),r=o;r--;)e.push(0);e.reverse()}else{for((h=(r=c.length)<(s=f.length))&&(s=r),r=0;r<s;r++)if(c[r]!=f[r]){h=c[r]<f[r];break}o=0}for(h&&(e=c,c=f,f=e,t.s=-t.s),s=c.length,r=f.length-s;r>0;--r)c[s++]=0;for(r=f.length;r>o;){if(c[--r]<f[r]){for(i=r;i&&0===c[--i];)c[i]=_-1;--c[i],c[r]+=_}c[r]-=f[r]}for(;0===c[--s];)c.pop();for(;0===c[0];c.shift())--n;return c[0]?(t.d=c,t.e=I(c,n),d?j(t,a,l):t):new m(3===l?-0:0)},C.modulo=C.mod=function(t){var e,n=this,r=n.constructor;return t=new r(t),!n.d||!t.s||t.d&&!t.d[0]?new r(NaN):!t.d||n.d&&!n.d[0]?j(new r(n),r.precision,r.rounding):(d=!1,9==r.modulo?(e=P(n,t.abs(),0,3,1)).s*=t.s:e=P(n,t,0,r.modulo,1),e=e.times(t),d=!0,n.minus(e))},C.naturalExponential=C.exp=function(){return Y(this)},C.naturalLogarithm=C.ln=function(){return W(this)},C.negated=C.neg=function(){var t=new this.constructor(this);return t.s=-t.s,j(t)},C.plus=C.add=function(t){var e,n,r,i,o,s,a,l,c,u,h=this,f=h.constructor;if(t=new f(t),!h.d||!t.d)return h.s&&t.s?h.d||(t=new f(t.d||h.s===t.s?h:NaN)):t=new f(NaN),t;if(h.s!=t.s)return t.s=-t.s,h.minus(t);if(c=h.d,u=t.d,a=f.precision,l=f.rounding,!c[0]||!u[0])return u[0]||(t=new f(h)),d?j(t,a,l):t;if(o=v(h.e/S),r=v(t.e/S),c=c.slice(),i=o-r){for(i<0?(n=c,i=-i,s=u.length):(n=u,r=o,s=c.length),i>(s=(o=Math.ceil(a/S))>s?o+1:s+1)&&(i=s,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((s=c.length)-(i=u.length)<0&&(i=s,n=u,u=c,c=n),e=0;i;)e=(c[--i]=c[i]+u[i]+e)/_|0,c[i]%=_;for(e&&(c.unshift(e),++r),s=c.length;0==c[--s];)c.pop();return t.d=c,t.e=I(c,r),d?j(t,a,l):t},C.precision=C.sd=function(t){var e,n=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(f+t);return n.d?(e=$(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e},C.round=function(){var t=this,e=t.constructor;return j(new e(t),t.e+1,e.rounding)},C.sine=C.sin=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+Math.max(n.e,n.sd())+S,r.rounding=1,n=function(t,e){var n,r=e.d.length;if(r<3)return e.isZero()?e:X(t,2,e,e);n=(n=1.4*Math.sqrt(r))>16?16:0|n,e=e.times(1/q(5,n)),e=X(t,2,e,e);for(var i,o=new t(5),s=new t(16),a=new t(20);n--;)i=e.times(e),e=e.times(o.plus(i.times(s.times(i).minus(a))));return e}(r,K(r,n)),r.precision=t,r.rounding=e,j(i>2?n.neg():n,t,e,!0)):new r(NaN)},C.squareRoot=C.sqrt=function(){var t,e,n,r,i,o,s=this,a=s.d,l=s.e,c=s.s,u=s.constructor;if(1!==c||!a||!a[0])return new u(!c||c<0&&(!a||a[0])?NaN:a?s:1/0);for(d=!1,0==(c=Math.sqrt(+s))||c==1/0?(((e=A(a)).length+l)%2==0&&(e+="0"),c=Math.sqrt(e),l=v((l+1)/2)-(l<0||l%2),r=new u(e=c==1/0?"5e"+l:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+l)):r=new u(c.toString()),n=(l=u.precision)+3;;)if(r=(o=r).plus(P(s,o,n+2,1)).times(.5),A(o.d).slice(0,n)===(e=A(r.d)).slice(0,n)){if("9999"!=(e=e.slice(n-3,n+1))&&(i||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(j(r,l+1,1),t=!r.times(r).eq(s));break}if(!i&&(j(o,l+1,0),o.times(o).eq(s))){r=o;break}n+=4,i=1}return d=!0,j(r,l,u.rounding,t)},C.tangent=C.tan=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+10,r.rounding=1,(n=n.sin()).s=1,n=P(n,new r(1).minus(n.times(n)).sqrt(),t+10,0),r.precision=t,r.rounding=e,j(2==i||4==i?n.neg():n,t,e,!0)):new r(NaN)},C.times=C.mul=function(t){var e,n,r,i,o,s,a,l,c,u=this,h=u.constructor,f=u.d,p=(t=new h(t)).d;if(t.s*=u.s,!(f&&f[0]&&p&&p[0]))return new h(!t.s||f&&!f[0]&&!p||p&&!p[0]&&!f?NaN:f&&p?0*t.s:t.s/0);for(n=v(u.e/S)+v(t.e/S),(l=f.length)<(c=p.length)&&(o=f,f=p,p=o,s=l,l=c,c=s),o=[],r=s=l+c;r--;)o.push(0);for(r=c;--r>=0;){for(e=0,i=l+r;i>r;)a=o[i]+p[r]*f[i-r-1]+e,o[i--]=a%_|0,e=a/_|0;o[i]=(o[i]+e)%_|0}for(;!o[--s];)o.pop();return e?++n:o.shift(),t.d=o,t.e=I(o,n),d?j(t,h.precision,h.rounding):t},C.toBinary=function(t,e){return J(this,2,t,e)},C.toDecimalPlaces=C.toDP=function(t,e){var n=this,r=n.constructor;return n=new r(n),void 0===t?n:(T(t,0,s),void 0===e?e=r.rounding:T(e,0,8),j(n,t+n.e+1,e))},C.toExponential=function(t,e){var n,r=this,i=r.constructor;return void 0===t?n=L(r,!0):(T(t,0,s),void 0===e?e=i.rounding:T(e,0,8),n=L(r=j(new i(r),t+1,e),!0,t+1)),r.isNeg()&&!r.isZero()?"-"+n:n},C.toFixed=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?n=L(i):(T(t,0,s),void 0===e?e=o.rounding:T(e,0,8),n=L(r=j(new o(i),t+i.e+1,e),!1,t+r.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n},C.toFraction=function(t){var e,n,r,i,o,s,a,l,c,u,h,p,m=this,g=m.d,v=m.constructor;if(!g)return new v(m);if(c=n=new v(1),r=l=new v(0),s=(o=(e=new v(r)).e=$(g)-m.e-1)%S,e.d[0]=b(10,s<0?S+s:s),null==t)t=o>0?e:c;else{if(!(a=new v(t)).isInt()||a.lt(c))throw Error(f+a);t=a.gt(e)?o>0?e:c:a}for(d=!1,a=new v(A(g)),u=v.precision,v.precision=o=g.length*S*2;h=P(a,e,0,1,1),1!=(i=n.plus(h.times(r))).cmp(t);)n=r,r=i,i=c,c=l.plus(h.times(i)),l=i,i=e,e=a.minus(h.times(i)),a=i;return i=P(t.minus(n),r,0,1,1),l=l.plus(i.times(c)),n=n.plus(i.times(r)),l.s=c.s=m.s,p=P(c,r,o,1).minus(m).abs().cmp(P(l,n,o,1).minus(m).abs())<1?[c,r]:[l,n],v.precision=u,d=!0,p},C.toHexadecimal=C.toHex=function(t,e){return J(this,16,t,e)},C.toNearest=function(t,e){var n=this,r=n.constructor;if(n=new r(n),null==t){if(!n.d)return n;t=new r(1),e=r.rounding}else{if(t=new r(t),void 0===e?e=r.rounding:T(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(d=!1,n=P(n,t,0,e,1).times(t),d=!0,j(n)):(t.s=n.s,n=t),n},C.toNumber=function(){return+this},C.toOctal=function(t,e){return J(this,8,t,e)},C.toPower=C.pow=function(t){var e,n,r,i,o,s,a=this,l=a.constructor,c=+(t=new l(t));if(!(a.d&&t.d&&a.d[0]&&t.d[0]))return new l(b(+a,c));if((a=new l(a)).eq(1))return a;if(r=l.precision,o=l.rounding,t.eq(1))return j(a,r,o);if((e=v(t.e/S))>=t.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return i=F(l,a,n,r),t.s<0?new l(1).div(i):j(i,r,o);if((s=a.s)<0){if(e<t.d.length-1)return new l(NaN);if(1&t.d[e]||(s=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=s,a}return(e=0!=(n=b(+a,c))&&isFinite(n)?new l(n+"").e:v(c*(Math.log("0."+A(a.d))/Math.LN10+a.e+1)))>l.maxE+1||e<l.minE-1?new l(e>0?s/0:0):(d=!1,l.rounding=a.s=1,n=Math.min(12,(e+"").length),(i=Y(t.times(W(a,r+n)),r)).d&&E((i=j(i,r+5,1)).d,r,o)&&(e=r+10,+A((i=j(Y(t.times(W(a,e+n)),e),e+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=j(i,r+1,0))),i.s=s,d=!0,l.rounding=o,j(i,r,o))},C.toPrecision=function(t,e){var n,r=this,i=r.constructor;return void 0===t?n=L(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(T(t,1,s),void 0===e?e=i.rounding:T(e,0,8),n=L(r=j(new i(r),t,e),t<=r.e||r.e<=i.toExpNeg,t)),r.isNeg()&&!r.isZero()?"-"+n:n},C.toSignificantDigits=C.toSD=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(T(t,1,s),void 0===e?e=n.rounding:T(e,0,8)),j(new n(this),t,e)},C.toString=function(){var t=this,e=t.constructor,n=L(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n},C.truncated=C.trunc=function(){return j(new this.constructor(this),this.e+1,1)},C.valueOf=C.toJSON=function(){var t=this,e=t.constructor,n=L(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};var P=function(){function t(t,e,n){var r,i=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+i,t[o]=r%n|0,i=r/n|0;return i&&t.unshift(i),t}function e(t,e,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function n(t,e,n,r){for(var i=0;n--;)t[n]-=i,i=t[n]<e[n]?1:0,t[n]=i*r+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(i,o,s,a,l,c){var u,d,h,f,p,m,g,b,y,x,w,k,O,M,C,A,T,E,D,P,L=i.constructor,I=i.s==o.s?1:-1,N=i.d,R=o.d;if(!(N&&N[0]&&R&&R[0]))return new L(i.s&&o.s&&(N?!R||N[0]!=R[0]:R)?N&&0==N[0]||!R?0*I:I/0:NaN);for(c?(p=1,d=i.e-o.e):(c=_,p=S,d=v(i.e/p)-v(o.e/p)),D=R.length,T=N.length,x=(y=new L(I)).d=[],h=0;R[h]==(N[h]||0);h++);if(R[h]>(N[h]||0)&&d--,null==s?(M=s=L.precision,a=L.rounding):M=l?s+(i.e-o.e)+1:s,M<0)x.push(1),m=!0;else{if(M=M/p+2|0,h=0,1==D){for(f=0,R=R[0],M++;(h<T||f)&&M--;h++)C=f*c+(N[h]||0),x[h]=C/R|0,f=C%R|0;m=f||h<T}else{for((f=c/(R[0]+1)|0)>1&&(R=t(R,f,c),N=t(N,f,c),D=R.length,T=N.length),A=D,k=(w=N.slice(0,D)).length;k<D;)w[k++]=0;(P=R.slice()).unshift(0),E=R[0],R[1]>=c/2&&++E;do{f=0,(u=e(R,w,D,k))<0?(O=w[0],D!=k&&(O=O*c+(w[1]||0)),(f=O/E|0)>1?(f>=c&&(f=c-1),1==(u=e(g=t(R,f,c),w,b=g.length,k=w.length))&&(f--,n(g,D<b?P:R,b,c))):(0==f&&(u=f=1),g=R.slice()),(b=g.length)<k&&g.unshift(0),n(w,g,k,c),-1==u&&(u=e(R,w,D,k=w.length))<1&&(f++,n(w,D<k?P:R,k,c)),k=w.length):0===u&&(f++,w=[0]),x[h++]=f,u&&w[0]?w[k++]=N[A]||0:(w=[N[A]],k=1)}while((A++<T||void 0!==w[0])&&M--);m=void 0!==w[0]}x[0]||x.shift()}if(1==p)y.e=d,r=m;else{for(h=1,f=x[0];f>=10;f/=10)h++;y.e=h+d*p-1,j(y,l?s+y.e+1:s,a,m)}return y}}();function j(t,e,n,r){var i,o,s,a,l,c,u,h,f,p=t.constructor;t:if(null!=e){if(!(h=t.d))return t;for(i=1,a=h[0];a>=10;a/=10)i++;if((o=e-i)<0)o+=S,s=e,l=(u=h[f=0])/b(10,i-s-1)%10|0;else if((f=Math.ceil((o+1)/S))>=(a=h.length)){if(!r)break t;for(;a++<=f;)h.push(0);u=l=0,i=1,s=(o%=S)-S+1}else{for(u=a=h[f],i=1;a>=10;a/=10)i++;l=(s=(o%=S)-S+i)<0?0:u/b(10,i-s-1)%10|0}if(r=r||e<0||void 0!==h[f+1]||(s<0?u:u%b(10,i-s-1)),c=n<4?(l||r)&&(0==n||n==(t.s<0?3:2)):l>5||5==l&&(4==n||r||6==n&&(o>0?s>0?u/b(10,i-s):0:h[f-1])%10&1||n==(t.s<0?8:7)),e<1||!h[0])return h.length=0,c?(e-=t.e+1,h[0]=b(10,(S-e%S)%S),t.e=-e||0):h[0]=t.e=0,t;if(0==o?(h.length=f,a=1,f--):(h.length=f+1,a=b(10,S-o),h[f]=s>0?(u/b(10,i-s)%b(10,s)|0)*a:0),c)for(;;){if(0==f){for(o=1,s=h[0];s>=10;s/=10)o++;for(s=h[0]+=a,a=1;s>=10;s/=10)a++;o!=a&&(t.e++,h[0]==_&&(h[0]=1));break}if(h[f]+=a,h[f]!=_)break;h[f--]=0,a=1}for(o=h.length;0===h[--o];)h.pop()}return d&&(t.e>p.maxE?(t.d=null,t.e=NaN):t.e<p.minE&&(t.e=0,t.d=[0])),t}function L(t,e,n){if(!t.isFinite())return V(t);var r,i=t.e,o=A(t.d),s=o.length;return e?(n&&(r=n-s)>0?o=o.charAt(0)+"."+o.slice(1)+B(r):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(t.e<0?"e":"e+")+t.e):i<0?(o="0."+B(-i-1)+o,n&&(r=n-s)>0&&(o+=B(r))):i>=s?(o+=B(i+1-s),n&&(r=n-i-1)>0&&(o=o+"."+B(r))):((r=i+1)<s&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-s)>0&&(i+1===s&&(o+="."),o+=B(r))),o}function I(t,e){var n=t[0];for(e*=S;n>=10;n/=10)e++;return e}function N(t,e,n){if(e>O)throw d=!0,n&&(t.precision=n),Error(p);return j(new t(l),e,1,!0)}function R(t,e,n){if(e>M)throw Error(p);return j(new t(c),e,n,!0)}function $(t){var e=t.length-1,n=e*S+1;if(e=t[e]){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function B(t){for(var e="";t--;)e+="0";return e}function F(t,e,n,r){var i,o=new t(1),s=Math.ceil(r/S+4);for(d=!1;;){if(n%2&&Z((o=o.times(e)).d,s)&&(i=!0),0===(n=v(n/2))){n=o.d.length-1,i&&0===o.d[n]&&++o.d[n];break}Z((e=e.times(e)).d,s)}return d=!0,o}function z(t){return 1&t.d[t.d.length-1]}function H(t,e,n){for(var r,i=new t(e[0]),o=0;++o<e.length;){if(!(r=new t(e[o])).s){i=r;break}i[n](r)&&(i=r)}return i}function Y(t,e){var n,r,i,o,s,a,l,c=0,u=0,h=0,f=t.constructor,p=f.rounding,m=f.precision;if(!t.d||!t.d[0]||t.e>17)return new f(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(null==e?(d=!1,l=m):l=e,a=new f(.03125);t.e>-2;)t=t.times(a),h+=5;for(l+=r=Math.log(b(2,h))/Math.LN10*2+5|0,n=o=s=new f(1),f.precision=l;;){if(o=j(o.times(t),l,1),n=n.times(++u),A((a=s.plus(P(o,n,l,1))).d).slice(0,l)===A(s.d).slice(0,l)){for(i=h;i--;)s=j(s.times(s),l,1);if(null!=e)return f.precision=m,s;if(!(c<3&&E(s.d,l-r,p,c)))return j(s,f.precision=m,p,d=!0);f.precision=l+=10,n=o=a=new f(1),u=0,c++}s=a}}function W(t,e){var n,r,i,o,s,a,l,c,u,h,f,p=1,m=t,g=m.d,v=m.constructor,b=v.rounding,y=v.precision;if(m.s<0||!g||!g[0]||!m.e&&1==g[0]&&1==g.length)return new v(g&&!g[0]?-1/0:1!=m.s?NaN:g?0:m);if(null==e?(d=!1,u=y):u=e,v.precision=u+=10,r=(n=A(g)).charAt(0),!(Math.abs(o=m.e)<15e14))return c=N(v,u+2,y).times(o+""),m=W(new v(r+"."+n.slice(1)),u-10).plus(c),v.precision=y,null==e?j(m,y,b,d=!0):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=A((m=m.times(t)).d)).charAt(0),p++;for(o=m.e,r>1?(m=new v("0."+n),o++):m=new v(r+"."+n.slice(1)),h=m,l=s=m=P(m.minus(1),m.plus(1),u,1),f=j(m.times(m),u,1),i=3;;){if(s=j(s.times(f),u,1),A((c=l.plus(P(s,new v(i),u,1))).d).slice(0,u)===A(l.d).slice(0,u)){if(l=l.times(2),0!==o&&(l=l.plus(N(v,u+2,y).times(o+""))),l=P(l,new v(p),u,1),null!=e)return v.precision=y,l;if(!E(l.d,u-10,b,a))return j(l,v.precision=y,b,d=!0);v.precision=u+=10,c=s=m=P(h.minus(1),h.plus(1),u,1),f=j(m.times(m),u,1),i=a=1}l=c,i+=2}}function V(t){return String(t.s*t.s/0)}function U(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;48===e.charCodeAt(r);r++);for(i=e.length;48===e.charCodeAt(i-1);--i);if(e=e.slice(r,i)){if(i-=r,t.e=n=n-r-1,t.d=[],r=(n+1)%S,n<0&&(r+=S),r<i){for(r&&t.d.push(+e.slice(0,r)),i-=S;r<i;)t.d.push(+e.slice(r,r+=S));e=e.slice(r),r=S-e.length}else r-=i;for(;r--;)e+="0";t.d.push(+e),d&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function G(t,e){var n,r,i,o,s,a,l,c,u;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),k.test(e))return U(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(x.test(e))n=16,e=e.toLowerCase();else if(y.test(e))n=2;else{if(!w.test(e))throw Error(f+e);n=8}for((o=e.search(/p/i))>0?(l=+e.slice(o+1),e=e.substring(2,o)):e=e.slice(2),s=(o=e.indexOf("."))>=0,r=t.constructor,s&&(o=(a=(e=e.replace(".","")).length)-o,i=F(r,new r(n),o,2*o)),o=u=(c=D(e,n,_)).length-1;0===c[o];--o)c.pop();return o<0?new r(0*t.s):(t.e=I(c,u),t.d=c,d=!1,s&&(t=P(t,i,4*a)),l&&(t=t.times(Math.abs(l)<54?b(2,l):Bt.pow(2,l))),d=!0,t)}function X(t,e,n,r,i){var o,s,a,l,c=t.precision,u=Math.ceil(c/S);for(d=!1,l=n.times(n),a=new t(r);;){if(s=P(a.times(l),new t(e++*e++),c,1),a=i?r.plus(s):r.minus(s),r=P(s.times(l),new t(e++*e++),c,1),void 0!==(s=a.plus(r)).d[u]){for(o=u;s.d[o]===a.d[o]&&o--;);if(-1==o)break}o=a,a=r,r=s,s=o}return d=!0,s.d.length=u+1,s}function q(t,e){for(var n=t;--e;)n*=t;return n}function K(t,e){var n,r=e.s<0,o=R(t,t.precision,1),s=o.times(.5);if((e=e.abs()).lte(s))return i=r?4:1,e;if((n=e.divToInt(o)).isZero())i=r?3:2;else{if((e=e.minus(n.times(o))).lte(s))return i=z(n)?r?2:3:r?4:1,e;i=z(n)?r?1:4:r?3:2}return e.minus(o).abs()}function J(t,e,n,i){var o,l,c,u,d,h,f,p,m,g=t.constructor,v=void 0!==n;if(v?(T(n,1,s),void 0===i?i=g.rounding:T(i,0,8)):(n=g.precision,i=g.rounding),t.isFinite()){for(v?(o=2,16==e?n=4*n-3:8==e&&(n=3*n-2)):o=e,(c=(f=L(t)).indexOf("."))>=0&&(f=f.replace(".",""),(m=new g(1)).e=f.length-c,m.d=D(L(m),10,o),m.e=m.d.length),l=d=(p=D(f,10,o)).length;0==p[--d];)p.pop();if(p[0]){if(c<0?l--:((t=new g(t)).d=p,t.e=l,p=(t=P(t,m,n,i,0,o)).d,l=t.e,h=r),c=p[n],u=o/2,h=h||void 0!==p[n+1],h=i<4?(void 0!==c||h)&&(0===i||i===(t.s<0?3:2)):c>u||c===u&&(4===i||h||6===i&&1&p[n-1]||i===(t.s<0?8:7)),p.length=n,h)for(;++p[--n]>o-1;)p[n]=0,n||(++l,p.unshift(1));for(d=p.length;!p[d-1];--d);for(c=0,f="";c<d;c++)f+=a.charAt(p[c]);if(v){if(d>1)if(16==e||8==e){for(c=16==e?4:3,--d;d%c;d++)f+="0";for(d=(p=D(f,o,e)).length;!p[d-1];--d);for(c=1,f="1.";c<d;c++)f+=a.charAt(p[c])}else f=f.charAt(0)+"."+f.slice(1);f=f+(l<0?"p":"p+")+l}else if(l<0){for(;++l;)f="0"+f;f="0."+f}else if(++l>d)for(l-=d;l--;)f+="0";else l<d&&(f=f.slice(0,l)+"."+f.slice(l))}else f=v?"0p+0":"0";f=(16==e?"0x":2==e?"0b":8==e?"0o":"")+f}else f=V(t);return t.s<0?"-"+f:f}function Z(t,e){if(t.length>e)return t.length=e,!0}function Q(t){return new this(t).abs()}function tt(t){return new this(t).acos()}function et(t){return new this(t).acosh()}function nt(t,e){return new this(t).plus(e)}function rt(t){return new this(t).asin()}function it(t){return new this(t).asinh()}function ot(t){return new this(t).atan()}function st(t){return new this(t).atanh()}function at(t,e){t=new this(t),e=new this(e);var n,r=this.precision,i=this.rounding,o=r+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(n=e.s<0?R(this,r,i):new this(0)).s=t.s:!t.d||e.isZero()?(n=R(this,o,1).times(.5)).s=t.s:e.s<0?(this.precision=o,this.rounding=1,n=this.atan(P(t,e,o,1)),e=R(this,o,1),this.precision=r,this.rounding=i,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(P(t,e,o,1)):(n=R(this,o,1).times(e.s>0?.25:.75)).s=t.s:n=new this(NaN),n}function lt(t){return new this(t).cbrt()}function ct(t){return j(t=new this(t),t.e+1,2)}function ut(t,e,n){return new this(t).clamp(e,n)}function dt(t){if(!t||"object"!=typeof t)throw Error(h+"Object expected");var e,n,r,i=!0===t.defaults,a=["precision",1,s,"rounding",0,8,"toExpNeg",-o,0,"toExpPos",0,o,"maxE",0,o,"minE",-o,0,"modulo",0,9];for(e=0;e<a.length;e+=3)if(n=a[e],i&&(this[n]=u[n]),void 0!==(r=t[n])){if(!(v(r)===r&&r>=a[e+1]&&r<=a[e+2]))throw Error(f+n+": "+r);this[n]=r}if(n="crypto",i&&(this[n]=u[n]),void 0!==(r=t[n])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(f+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(m);this[n]=!0}else this[n]=!1}return this}function ht(t){return new this(t).cos()}function ft(t){return new this(t).cosh()}function pt(t,e){return new this(t).div(e)}function mt(t){return new this(t).exp()}function gt(t){return j(t=new this(t),t.e+1,3)}function vt(){var t,e,n=new this(0);for(d=!1,t=0;t<arguments.length;)if((e=new this(arguments[t++])).d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return d=!0,new this(1/0);n=e}return d=!0,n.sqrt()}function bt(t){return t instanceof Bt||t&&t.toStringTag===g||!1}function yt(t){return new this(t).ln()}function xt(t,e){return new this(t).log(e)}function wt(t){return new this(t).log(2)}function kt(t){return new this(t).log(10)}function _t(){return H(this,arguments,"lt")}function St(){return H(this,arguments,"gt")}function Ot(t,e){return new this(t).mod(e)}function Mt(t,e){return new this(t).mul(e)}function Ct(t,e){return new this(t).pow(e)}function At(t){var e,n,r,i,o=0,a=new this(1),l=[];if(void 0===t?t=this.precision:T(t,1,s),r=Math.ceil(t/S),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(r));o<r;)(i=e[o])>=429e7?e[o]=crypto.getRandomValues(new Uint32Array(1))[0]:l[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error(m);for(e=crypto.randomBytes(r*=4);o<r;)(i=e[o]+(e[o+1]<<8)+(e[o+2]<<16)+((127&e[o+3])<<24))>=214e7?crypto.randomBytes(4).copy(e,o):(l.push(i%1e7),o+=4);o=r/4}else for(;o<r;)l[o++]=1e7*Math.random()|0;for(r=l[--o],t%=S,r&&t&&(i=b(10,S-t),l[o]=(r/i|0)*i);0===l[o];o--)l.pop();if(o<0)n=0,l=[0];else{for(n=-1;0===l[0];n-=S)l.shift();for(r=1,i=l[0];i>=10;i/=10)r++;r<S&&(n-=S-r)}return a.e=n,a.d=l,a}function Tt(t){return j(t=new this(t),t.e+1,this.rounding)}function Et(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function Dt(t){return new this(t).sin()}function Pt(t){return new this(t).sinh()}function jt(t){return new this(t).sqrt()}function Lt(t,e){return new this(t).sub(e)}function It(){var t=0,e=arguments,n=new this(e[t]);for(d=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return d=!0,j(n,this.precision,this.rounding)}function Nt(t){return new this(t).tan()}function Rt(t){return new this(t).tanh()}function $t(t){return j(t=new this(t),t.e+1,1)}C[Symbol.for("nodejs.util.inspect.custom")]=C.toString,C[Symbol.toStringTag]="Decimal";var Bt=C.constructor=function t(e){var n,r,i;function o(t){var e,n,r,i=this;if(!(i instanceof o))return new o(t);if(i.constructor=o,bt(t))return i.s=t.s,void(d?!t.d||t.e>o.maxE?(i.e=NaN,i.d=null):t.e<o.minE?(i.e=0,i.d=[0]):(i.e=t.e,i.d=t.d.slice()):(i.e=t.e,i.d=t.d?t.d.slice():t.d));if("number"===(r=typeof t)){if(0===t)return i.s=1/t<0?-1:1,i.e=0,void(i.d=[0]);if(t<0?(t=-t,i.s=-1):i.s=1,t===~~t&&t<1e7){for(e=0,n=t;n>=10;n/=10)e++;return void(d?e>o.maxE?(i.e=NaN,i.d=null):e<o.minE?(i.e=0,i.d=[0]):(i.e=e,i.d=[t]):(i.e=e,i.d=[t]))}return 0*t!=0?(t||(i.s=NaN),i.e=NaN,void(i.d=null)):U(i,t.toString())}if("string"!==r)throw Error(f+t);return 45===(n=t.charCodeAt(0))?(t=t.slice(1),i.s=-1):(43===n&&(t=t.slice(1)),i.s=1),k.test(t)?U(i,t):G(i,t)}if(o.prototype=C,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=dt,o.clone=t,o.isDecimal=bt,o.abs=Q,o.acos=tt,o.acosh=et,o.add=nt,o.asin=rt,o.asinh=it,o.atan=ot,o.atanh=st,o.atan2=at,o.cbrt=lt,o.ceil=ct,o.clamp=ut,o.cos=ht,o.cosh=ft,o.div=pt,o.exp=mt,o.floor=gt,o.hypot=vt,o.ln=yt,o.log=xt,o.log10=kt,o.log2=wt,o.max=_t,o.min=St,o.mod=Ot,o.mul=Mt,o.pow=Ct,o.random=At,o.round=Tt,o.sign=Et,o.sin=Dt,o.sinh=Pt,o.sqrt=jt,o.sub=Lt,o.sum=It,o.tan=Nt,o.tanh=Rt,o.trunc=$t,void 0===e&&(e={}),e&&!0!==e.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<i.length;)e.hasOwnProperty(r=i[n++])||(e[r]=this[r]);return o.config(e),o}(u);l=new Bt(l),c=new Bt(c);const Ft=Bt},53012:(t,e,n)=>{"use strict";n.d(e,{R2:()=>ct,Ey:()=>J,nY:()=>at,bP:()=>lt});var r=n(1837),i=!0;r.default.util.warn;function o(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{}}const s="function"==typeof Proxy,a="devtools-plugin:setup";let l,c,u;function d(){return void 0!==l||("undefined"!=typeof window&&window.performance?(l=!0,c=window.performance):"undefined"!=typeof globalThis&&(null===(t=globalThis.perf_hooks)||void 0===t?void 0:t.performance)?(l=!0,c=globalThis.perf_hooks.performance):l=!1),l?c.now():Date.now();var t}class h{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const e in t.settings){const r=t.settings[e];n[e]=r.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},n);try{const t=localStorage.getItem(r),e=JSON.parse(t);Object.assign(i,e)}catch(t){}this.fallbacks={getSettings:()=>i,setSettings(t){try{localStorage.setItem(r,JSON.stringify(t))}catch(t){}i=t},now:()=>d()},e&&e.on("plugin:settings:set",((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function f(t,e){const n=t,r=o(),i=o().__VUE_DEVTOOLS_GLOBAL_HOOK__,l=s&&n.enableEarlyProxy;if(!i||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&l){const t=l?new h(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(a,t,e)}const p=t=>u=t,m=Symbol();function g(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var v;!function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"}(v||(v={}));const b="undefined"!=typeof window,y="undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&b,x=(()=>"object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null})();function w(t,e,n){const r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){M(r.response,e,n)},r.onerror=function(){console.error("could not download file")},r.send()}function k(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function _(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const S="object"==typeof navigator?navigator:{userAgent:""},O=(()=>/Macintosh/.test(S.userAgent)&&/AppleWebKit/.test(S.userAgent)&&!/Safari/.test(S.userAgent))(),M=b?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!O?function(t,e="download",n){const r=document.createElement("a");r.download=e,r.rel="noopener","string"==typeof t?(r.href=t,r.origin!==location.origin?k(r.href)?w(t,e,n):(r.target="_blank",_(r)):_(r)):(r.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(r.href)}),4e4),setTimeout((function(){_(r)}),0))}:"msSaveOrOpenBlob"in S?function(t,e="download",n){if("string"==typeof t)if(k(t))w(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){_(e)}))}else navigator.msSaveOrOpenBlob(function(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,n),e)}:function(t,e,n,r){(r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading...");if("string"==typeof t)return w(t,e,n);const i="application/octet-stream"===t.type,o=/constructor/i.test(String(x.HTMLElement))||"safari"in x,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&o||O)&&"undefined"!=typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!=typeof t)throw r=null,new Error("Wrong reader.result type");t=s?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location.assign(t),r=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);r?r.location.assign(e):location.href=e,r=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}:()=>{};function C(t,e){const n="🍍 "+t;"function"==typeof __VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(n,e):"error"===e?console.error(n):"warn"===e?console.warn(n):console.log(n)}function A(t){return"_a"in t&&"install"in t}function T(){if(!("clipboard"in navigator))return C("Your browser doesn't support the Clipboard API","error"),!0}function E(t){return!!(t instanceof Error&&t.message.toLowerCase().includes("document is not focused"))&&(C('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}let D;async function P(t){try{const e=(D||(D=document.createElement("input"),D.type="file",D.accept=".json"),function(){return new Promise(((t,e)=>{D.onchange=async()=>{const e=D.files;if(!e)return t(null);const n=e.item(0);return t(n?{text:await n.text(),file:n}:null)},D.oncancel=()=>t(null),D.onerror=e,D.click()}))}),n=await e();if(!n)return;const{text:r,file:i}=n;j(t,JSON.parse(r)),C(`Global state imported from "${i.name}".`)}catch(t){C("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function j(t,e){for(const n in e){const r=t.state.value[n];r?Object.assign(r,e[n]):t.state.value[n]=e[n]}}function L(t){return{_custom:{display:t}}}const I="🍍 Pinia (root)",N="_root";function R(t){return A(t)?{id:N,label:I}:{id:t.$id,label:t.$id}}function $(t){return t?Array.isArray(t)?t.reduce(((t,e)=>(t.keys.push(e.key),t.operations.push(e.type),t.oldValue[e.key]=e.oldValue,t.newValue[e.key]=e.newValue,t)),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:L(t.type),key:L(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function B(t){switch(t){case v.direct:return"mutation";case v.patchFunction:case v.patchObject:return"$patch";default:return"unknown"}}let F=!0;const z=[],H="pinia:mutations",Y="pinia",{assign:W}=Object,V=t=>"🍍 "+t;function U(t,e){f({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:z,app:t},(n=>{"function"!=typeof n.now&&C("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:H,label:"Pinia 🍍",color:15064968}),n.addInspector({id:Y,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{!async function(t){if(!T())try{await navigator.clipboard.writeText(JSON.stringify(t.state.value)),C("Global state copied to clipboard.")}catch(t){if(E(t))return;C("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await async function(t){if(!T())try{j(t,JSON.parse(await navigator.clipboard.readText())),C("Global state pasted from clipboard.")}catch(t){if(E(t))return;C("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}(e),n.sendInspectorTree(Y),n.sendInspectorState(Y)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{!async function(t){try{M(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){C("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}(e)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await P(e),n.sendInspectorTree(Y),n.sendInspectorState(Y)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:t=>{const n=e._s.get(t);n?"function"!=typeof n.$reset?C(`Cannot reset "${t}" store because it doesn't have a "$reset" method implemented.`,"warn"):(n.$reset(),C(`Store "${t}" reset.`)):C(`Cannot reset "${t}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(((t,e)=>{const n=t.componentInstance&&t.componentInstance.proxy;if(n&&n._pStores){const e=t.componentInstance.proxy._pStores;Object.values(e).forEach((e=>{t.instanceData.state.push({type:V(e.$id),key:"state",editable:!0,value:e._isOptionsAPI?{_custom:{value:(0,r.toRaw)(e.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>e.$reset()}]}}:Object.keys(e.$state).reduce(((t,n)=>(t[n]=e.$state[n],t)),{})}),e._getters&&e._getters.length&&t.instanceData.state.push({type:V(e.$id),key:"getters",editable:!1,value:e._getters.reduce(((t,n)=>{try{t[n]=e[n]}catch(e){t[n]=e}return t}),{})})}))}})),n.on.getInspectorTree((n=>{if(n.app===t&&n.inspectorId===Y){let t=[e];t=t.concat(Array.from(e._s.values())),n.rootNodes=(n.filter?t.filter((t=>"$id"in t?t.$id.toLowerCase().includes(n.filter.toLowerCase()):I.toLowerCase().includes(n.filter.toLowerCase()))):t).map(R)}})),n.on.getInspectorState((n=>{if(n.app===t&&n.inspectorId===Y){const t=n.nodeId===N?e:e._s.get(n.nodeId);if(!t)return;t&&(n.state=function(t){if(A(t)){const e=Array.from(t._s.keys()),n=t._s,r={state:e.map((e=>({editable:!0,key:e,value:t.state.value[e]}))),getters:e.filter((t=>n.get(t)._getters)).map((t=>{const e=n.get(t);return{editable:!1,key:t,value:e._getters.reduce(((t,n)=>(t[n]=e[n],t)),{})}}))};return r}const e={state:Object.keys(t.$state).map((e=>({editable:!0,key:e,value:t.$state[e]})))};return t._getters&&t._getters.length&&(e.getters=t._getters.map((e=>({editable:!1,key:e,value:t[e]})))),t._customProperties.size&&(e.customProperties=Array.from(t._customProperties).map((e=>({editable:!0,key:e,value:t[e]})))),e}(t))}})),n.on.editInspectorState(((n,r)=>{if(n.app===t&&n.inspectorId===Y){const t=n.nodeId===N?e:e._s.get(n.nodeId);if(!t)return C(`store "${n.nodeId}" not found`,"error");const{path:r}=n;A(t)?r.unshift("state"):1===r.length&&t._customProperties.has(r[0])&&!(r[0]in t.$state)||r.unshift("$state"),F=!1,n.set(t,r,n.state.value),F=!0}})),n.on.editComponentState((t=>{if(t.type.startsWith("🍍")){const n=t.type.replace(/^🍍\s*/,""),r=e._s.get(n);if(!r)return C(`store "${n}" not found`,"error");const{path:i}=t;if("state"!==i[0])return C(`Invalid path for store "${n}":\n${i}\nOnly state can be modified.`);i[0]="$state",F=!1,t.set(r,i,t.state.value),F=!0}}))}))}let G,X=0;function q(t,e,n){const i=e.reduce(((e,n)=>(e[n]=(0,r.toRaw)(t)[n],e)),{});for(const e in i)t[e]=function(){const r=X,o=n?new Proxy(t,{get:(...t)=>(G=r,Reflect.get(...t)),set:(...t)=>(G=r,Reflect.set(...t))}):t;G=r;const s=i[e].apply(o,arguments);return G=void 0,s}}function K({app:t,store:e,options:n}){if(e.$id.startsWith("__hot:"))return;e._isOptionsAPI=!!n.state,q(e,Object.keys(n.actions),e._isOptionsAPI);const i=e._hotUpdate;(0,r.toRaw)(e)._hotUpdate=function(t){i.apply(this,arguments),q(e,Object.keys(t._hmrPayload.actions),!!e._isOptionsAPI)},function(t,e){z.includes(V(e.$id))||z.push(V(e.$id)),f({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:z,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},(t=>{const n="function"==typeof t.now?t.now.bind(t):Date.now;e.$onAction((({after:r,onError:i,name:o,args:s})=>{const a=X++;t.addTimelineEvent({layerId:H,event:{time:n(),title:"🛫 "+o,subtitle:"start",data:{store:L(e.$id),action:L(o),args:s},groupId:a}}),r((r=>{G=void 0,t.addTimelineEvent({layerId:H,event:{time:n(),title:"🛬 "+o,subtitle:"end",data:{store:L(e.$id),action:L(o),args:s,result:r},groupId:a}})})),i((r=>{G=void 0,t.addTimelineEvent({layerId:H,event:{time:n(),logType:"error",title:"💥 "+o,subtitle:"end",data:{store:L(e.$id),action:L(o),args:s,error:r},groupId:a}})}))}),!0),e._customProperties.forEach((i=>{(0,r.watch)((()=>(0,r.unref)(e[i])),((e,r)=>{t.notifyComponentUpdate(),t.sendInspectorState(Y),F&&t.addTimelineEvent({layerId:H,event:{time:n(),title:"Change",subtitle:i,data:{newValue:e,oldValue:r},groupId:G}})}),{deep:!0})})),e.$subscribe((({events:r,type:i},o)=>{if(t.notifyComponentUpdate(),t.sendInspectorState(Y),!F)return;const s={time:n(),title:B(i),data:W({store:L(e.$id)},$(r)),groupId:G};i===v.patchFunction?s.subtitle="⤵️":i===v.patchObject?s.subtitle="🧩":r&&!Array.isArray(r)&&(s.subtitle=r.type),r&&(s.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:r}}),t.addTimelineEvent({layerId:H,event:s})}),{detached:!0,flush:"sync"});const i=e._hotUpdate;e._hotUpdate=(0,r.markRaw)((r=>{i(r),t.addTimelineEvent({layerId:H,event:{time:n(),title:"🔥 "+e.$id,subtitle:"HMR update",data:{store:L(e.$id),info:L("HMR update")}}}),t.notifyComponentUpdate(),t.sendInspectorTree(Y),t.sendInspectorState(Y)}));const{$dispose:o}=e;e.$dispose=()=>{o(),t.notifyComponentUpdate(),t.sendInspectorTree(Y),t.sendInspectorState(Y),t.getSettings().logStoreChanges&&C(`Disposed "${e.$id}" store 🗑`)},t.notifyComponentUpdate(),t.sendInspectorTree(Y),t.sendInspectorState(Y),t.getSettings().logStoreChanges&&C(`"${e.$id}" store installed 🆕`)}))}(t,e)}function J(){const t=(0,r.effectScope)(!0),e=t.run((()=>(0,r.ref)({})));let n=[],o=[];const s=(0,r.markRaw)({install(t){p(s),i||(s._a=t,t.provide(m,s),t.config.globalProperties.$pinia=s,y&&U(t,s),o.forEach((t=>n.push(t))),o=[])},use(t){return this._a||i?n.push(t):o.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return y&&"undefined"!=typeof Proxy&&s.use(K),s}const Z=()=>{};function Q(t,e,n,i=Z){t.push(e);const o=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i())};return!n&&(0,r.getCurrentScope)()&&(0,r.onScopeDispose)(o),o}function tt(t,...e){t.slice().forEach((t=>{t(...e)}))}const et=t=>t();function nt(t,e){t instanceof Map&&e instanceof Map&&e.forEach(((e,n)=>t.set(n,e))),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],o=t[n];g(o)&&g(i)&&t.hasOwnProperty(n)&&!(0,r.isRef)(i)&&!(0,r.isReactive)(i)?t[n]=nt(o,i):t[n]=i}return t}const rt=Symbol(),it=new WeakMap;const{assign:ot}=Object;function st(t,e,n={},o,s,a){let l;const c=ot({actions:{}},n);const u={deep:!0};let d,h;let f,m=[],b=[];const x=o.state.value[t];a||x||(i?(0,r.set)(o.state.value,t,{}):o.state.value[t]={});const w=(0,r.ref)({});let k;function _(e){let n;d=h=!1,"function"==typeof e?(e(o.state.value[t]),n={type:v.patchFunction,storeId:t,events:f}):(nt(o.state.value[t],e),n={type:v.patchObject,payload:e,storeId:t,events:f});const i=k=Symbol();(0,r.nextTick)().then((()=>{k===i&&(d=!0)})),h=!0,tt(m,n,o.state.value[t])}const S=a?function(){const{state:t}=n,e=t?t():{};this.$patch((t=>{ot(t,e)}))}:Z;function O(e,n){return function(){p(o);const r=Array.from(arguments),i=[],s=[];let a;tt(b,{args:r,name:e,store:A,after:function(t){i.push(t)},onError:function(t){s.push(t)}});try{a=n.apply(this&&this.$id===t?this:A,r)}catch(t){throw tt(s,t),t}return a instanceof Promise?a.then((t=>(tt(i,t),t))).catch((t=>(tt(s,t),Promise.reject(t)))):(tt(i,a),a)}}const M=(0,r.markRaw)({actions:{},getters:{},state:[],hotState:w}),C={_p:o,$id:t,$onAction:Q.bind(null,b),$patch:_,$reset:S,$subscribe(e,n={}){const i=Q(m,e,n.detached,(()=>s())),s=l.run((()=>(0,r.watch)((()=>o.state.value[t]),(r=>{("sync"===n.flush?h:d)&&e({storeId:t,type:v.direct,events:f},r)}),ot({},u,n))));return i},$dispose:function(){l.stop(),m=[],b=[],o._s.delete(t)}};i&&(C._r=!1);const A=(0,r.reactive)(y?ot({_hmrPayload:M,_customProperties:(0,r.markRaw)(new Set)},C):C);o._s.set(t,A);const T=(o._a&&o._a.runWithContext||et)((()=>o._e.run((()=>(l=(0,r.effectScope)()).run(e)))));for(const e in T){const n=T[e];if((0,r.isRef)(n)&&(D=n,!(0,r.isRef)(D)||!D.effect)||(0,r.isReactive)(n))a||(!x||(E=n,i?it.has(E):g(E)&&E.hasOwnProperty(rt))||((0,r.isRef)(n)?n.value=x[e]:nt(n,x[e])),i?(0,r.set)(o.state.value[t],e,n):o.state.value[t][e]=n);else if("function"==typeof n){const t=O(e,n);i?(0,r.set)(T,e,t):T[e]=t,c.actions[e]=n}else 0}var E,D;if(i?Object.keys(T).forEach((t=>{(0,r.set)(A,t,T[t])})):(ot(A,T),ot((0,r.toRaw)(A),T)),Object.defineProperty(A,"$state",{get:()=>o.state.value[t],set:t=>{_((e=>{ot(e,t)}))}}),y){const t={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach((e=>{Object.defineProperty(A,e,ot({value:A[e]},t))}))}return i&&(A._r=!0),o._p.forEach((t=>{if(y){const e=l.run((()=>t({store:A,app:o._a,pinia:o,options:c})));Object.keys(e||{}).forEach((t=>A._customProperties.add(t))),ot(A,e)}else ot(A,l.run((()=>t({store:A,app:o._a,pinia:o,options:c}))))})),x&&a&&n.hydrate&&n.hydrate(A.$state,x),d=!0,h=!0,A}function at(t,e,n){let o,s;const a="function"==typeof e;function l(t,n){const l=!!(0,r.getCurrentInstance)();(t=t||(l?(0,r.inject)(m,null):null))&&p(t),(t=u)._s.has(o)||(a?st(o,e,s,t):function(t,e,n,o){const{state:s,actions:a,getters:l}=e,c=n.state.value[t];let u;u=st(t,(function(){c||(i?(0,r.set)(n.state.value,t,s?s():{}):n.state.value[t]=s?s():{});const e=(0,r.toRefs)(n.state.value[t]);return ot(e,a,Object.keys(l||{}).reduce(((e,o)=>(e[o]=(0,r.markRaw)((0,r.computed)((()=>{p(n);const e=n._s.get(t);if(!i||e._r)return l[o].call(e,e)}))),e)),{}))}),e,n,0,!0)}(o,s,t));return t._s.get(o)}return"string"==typeof t?(o=t,s=a?n:e):(s=t,o=t.id),l.$id=o,l}function lt(t){if(i)return(0,r.toRefs)(t);{t=(0,r.toRaw)(t);const e={};for(const n in t){const i=t[n];((0,r.isRef)(i)||(0,r.isReactive)(i))&&(e[n]=(0,r.toRef)(t,n))}return e}}const ct=function(t){t.mixin({beforeCreate(){const t=this.$options;if(t.pinia){const e=t.pinia;if(!this._provided){const t={};Object.defineProperty(this,"_provided",{get:()=>t,set:e=>Object.assign(t,e)})}this._provided[m]=e,this.$pinia||(this.$pinia=e),e._a=this,b&&p(e),y&&U(e._a,e)}else!this.$pinia&&t.parent&&t.parent.$pinia&&(this.$pinia=t.parent.$pinia)},destroyed(){delete this._pStores}})}},69349:(t,e,n)=>{"use strict";n.d(e,{K:()=>p,w:()=>f});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),s="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)r[48+a]=r[96+a]=String(a);for(a=1;a<=24;a++)r[a+111]="F"+a;for(a=65;a<=90;a++)r[a]=String.fromCharCode(a+32),i[a]=String.fromCharCode(a);for(var l in r)i.hasOwnProperty(l)||(i[l]=r[l]);var c=n(34149);const u="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function d(t){let e,n,r,i,o=t.split(/-(?!$)/),s=o[o.length-1];"Space"==s&&(s=" ");for(let t=0;t<o.length-1;t++){let s=o[t];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))e=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else if(/^s(hift)?$/i.test(s))r=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);u?i=!0:n=!0}}return e&&(s="Alt-"+s),n&&(s="Ctrl-"+s),i&&(s="Meta-"+s),r&&(s="Shift-"+s),s}function h(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function f(t){return new c.k_({props:{handleKeyDown:p(t)}})}function p(t){let e=function(t){let e=Object.create(null);for(let n in t)e[d(n)]=t[n];return e}(t);return function(t,n){let a,l=function(t){var e=!(o&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||s&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?i:r)[t.keyCode]||t.key||"Unidentified";return"Esc"==e&&(e="Escape"),"Del"==e&&(e="Delete"),"Left"==e&&(e="ArrowLeft"),"Up"==e&&(e="ArrowUp"),"Right"==e&&(e="ArrowRight"),"Down"==e&&(e="ArrowDown"),e}(n),c=e[h(l,n)];if(c&&c(t.state,t.dispatch,t))return!0;if(1==l.length&&" "!=l){if(n.shiftKey){let r=e[h(l,n,!1)];if(r&&r(t.state,t.dispatch,t))return!0}if((n.shiftKey||n.altKey||n.metaKey||l.charCodeAt(0)>127)&&(a=r[n.keyCode])&&a!=l){let r=e[h(a,n)];if(r&&r(t.state,t.dispatch,t))return!0}}return!1}}},18932:(t,e,n)=>{"use strict";function r(t){this.content=t}n.d(e,{S4:()=>J,ZF:()=>at,FK:()=>a,CU:()=>d,sX:()=>X,bP:()=>D,u$:()=>T,vI:()=>h,Sj:()=>q,Ji:()=>f}),r.prototype={constructor:r,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return-1==e?void 0:this.content[e+1]},update:function(t,e,n){var i=n&&n!=t?this.remove(n):this,o=i.find(t),s=i.content.slice();return-1==o?s.push(n||t,e):(s[o+1]=e,n&&(s[o]=n)),new r(s)},remove:function(t){var e=this.find(t);if(-1==e)return this;var n=this.content.slice();return n.splice(e,2),new r(n)},addToStart:function(t,e){return new r([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new r(n)},addBefore:function(t,e,n){var i=this.remove(e),o=i.content.slice(),s=i.find(t);return o.splice(-1==s?o.length:s,0,e,n),new r(o)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return(t=r.from(t)).size?new r(t.content.concat(this.subtract(t).content)):this},append:function(t){return(t=r.from(t)).size?new r(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=r.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach((function(e,n){t[e]=n})),t},get size(){return this.content.length>>1}},r.from=function(t){if(t instanceof r)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new r(e)};const i=r;function o(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),s=e.child(r);if(i!=s){if(!i.sameMarkup(s))return n;if(i.isText&&i.text!=s.text){for(let t=0;i.text[t]==s.text[t];t++)n++;return n}if(i.content.size||s.content.size){let t=o(i.content,s.content,n+1);if(null!=t)return t}n+=i.nodeSize}else n+=i.nodeSize}}function s(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(0==i||0==o)return i==o?null:{a:n,b:r};let a=t.child(--i),l=e.child(--o),c=a.nodeSize;if(a!=l){if(!a.sameMarkup(l))return{a:n,b:r};if(a.isText&&a.text!=l.text){let t=0,e=Math.min(a.text.length,l.text.length);for(;t<e&&a.text[a.text.length-t-1]==l.text[l.text.length-t-1];)t++,n--,r--;return{a:n,b:r}}if(a.content.size||l.content.size){let t=s(a.content,l.content,n-1,r-1);if(t)return t}n-=c,r-=c}else n-=c,r-=c}}class a{constructor(t,e){if(this.content=t,this.size=e||0,null==e)for(let e=0;e<t.length;e++)this.size+=t[e].nodeSize}nodesBetween(t,e,n,r=0,i){for(let o=0,s=0;s<e;o++){let a=this.content[o],l=s+a.nodeSize;if(l>t&&!1!==n(a,r+s,i||null,o)&&a.content.size){let i=s+1;a.nodesBetween(Math.max(0,t-i),Math.min(a.content.size,e-i),n,r+i)}s=l}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,n,r){let i="",o=!0;return this.nodesBetween(t,e,((s,a)=>{let l=s.isText?s.text.slice(Math.max(t,a)-a,e-a):s.isLeaf?r?"function"==typeof r?r(s):r:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&l||s.isTextblock)&&n&&(o?o=!1:i+=n),i+=l}),0),i}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,n=t.firstChild,r=this.content.slice(),i=0;for(e.isText&&e.sameMarkup(n)&&(r[r.length-1]=e.withText(e.text+n.text),i=1);i<t.content.length;i++)r.push(t.content[i]);return new a(r,this.size+t.size)}cut(t,e=this.size){if(0==t&&e==this.size)return this;let n=[],r=0;if(e>t)for(let i=0,o=0;o<e;i++){let s=this.content[i],a=o+s.nodeSize;a>t&&((o<t||a>e)&&(s=s.isText?s.cut(Math.max(0,t-o),Math.min(s.text.length,e-o)):s.cut(Math.max(0,t-o-1),Math.min(s.content.size,e-o-1))),n.push(s),r+=s.nodeSize),o=a}return new a(n,r)}cutByIndex(t,e){return t==e?a.empty:0==t&&e==this.content.length?this:new a(this.content.slice(t,e))}replaceChild(t,e){let n=this.content[t];if(n==e)return this;let r=this.content.slice(),i=this.size+e.nodeSize-n.nodeSize;return r[t]=e,new a(r,i)}addToStart(t){return new a([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new a(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;e<this.content.length;e++)if(!this.content[e].eq(t.content[e]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let e=this.content[t];if(!e)throw new RangeError("Index "+t+" out of range for "+this);return e}maybeChild(t){return this.content[t]||null}forEach(t){for(let e=0,n=0;e<this.content.length;e++){let r=this.content[e];t(r,n,e),n+=r.nodeSize}}findDiffStart(t,e=0){return o(this,t,e)}findDiffEnd(t,e=this.size,n=t.size){return s(this,t,e,n)}findIndex(t,e=-1){if(0==t)return c(0,t);if(t==this.size)return c(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=r+this.child(n).nodeSize;if(i>=t)return i==t||e>0?c(n+1,i):c(n,r);r=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((t=>t.toJSON())):null}static fromJSON(t,e){if(!e)return a.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new a(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return a.empty;let e,n=0;for(let r=0;r<t.length;r++){let i=t[r];n+=i.nodeSize,r&&i.isText&&t[r-1].sameMarkup(i)?(e||(e=t.slice(0,r)),e[e.length-1]=i.withText(e[e.length-1].text+i.text)):e&&e.push(i)}return new a(e||t,n)}static from(t){if(!t)return a.empty;if(t instanceof a)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new a([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}a.empty=new a([],0);const l={index:0,offset:0};function c(t,e){return l.index=t,l.offset=e,l}function u(t,e){if(t===e)return!0;if(!t||"object"!=typeof t||!e||"object"!=typeof e)return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!u(t[n],e[n]))return!1}else{for(let n in t)if(!(n in e)||!u(t[n],e[n]))return!1;for(let n in e)if(!(n in t))return!1}return!0}class d{constructor(t,e){this.type=t,this.attrs=e}addToSet(t){let e,n=!1;for(let r=0;r<t.length;r++){let i=t[r];if(this.eq(i))return t;if(this.type.excludes(i.type))e||(e=t.slice(0,r));else{if(i.type.excludes(this.type))return t;!n&&i.type.rank>this.type.rank&&(e||(e=t.slice(0,r)),e.push(this),n=!0),e&&e.push(i)}}return e||(e=t.slice()),n||e.push(this),e}removeFromSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return t.slice(0,e).concat(t.slice(e+1));return t}isInSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return!0;return!1}eq(t){return this==t||this.type==t.type&&u(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Mark.fromJSON");let n=t.marks[e.type];if(!n)throw new RangeError(`There is no mark type ${e.type} in this schema`);return n.create(e.attrs)}static sameSet(t,e){if(t==e)return!0;if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].eq(e[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&0==t.length)return d.none;if(t instanceof d)return[t];let e=t.slice();return e.sort(((t,e)=>t.type.rank-e.type.rank)),e}}d.none=[];class h extends Error{}class f{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=m(this.content,t+this.openStart,e);return n&&new f(n,this.openStart,this.openEnd)}removeBetween(t,e){return new f(p(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return f.empty;let n=e.openStart||0,r=e.openEnd||0;if("number"!=typeof n||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new f(a.fromJSON(t,e.content),n,r)}static maxOpen(t,e=!0){let n=0,r=0;for(let r=t.firstChild;r&&!r.isLeaf&&(e||!r.type.spec.isolating);r=r.firstChild)n++;for(let n=t.lastChild;n&&!n.isLeaf&&(e||!n.type.spec.isolating);n=n.lastChild)r++;return new f(t,n,r)}}function p(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:s,offset:a}=t.findIndex(n);if(i==e||o.isText){if(a!=n&&!t.child(s).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=s)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(p(o.content,e-i-1,n-i-1)))}function m(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),s=t.maybeChild(i);if(o==e||s.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let a=m(s.content,e-o-1,n);return a&&t.replaceChild(i,s.copy(a))}function g(t,e,n){if(n.openStart>t.depth)throw new h("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new h("Inconsistent open depths");return v(t,e,n,0)}function v(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r<t.depth-n.openStart){let s=v(t,e,n,r+1);return o.copy(o.content.replaceChild(i,s))}if(n.content.size){if(n.openStart||n.openEnd||t.depth!=r||e.depth!=r){let{start:i,end:s}=function(t,e){let n=e.depth-t.openStart,r=e.node(n).copy(t.content);for(let t=n-1;t>=0;t--)r=e.node(t).copy(a.from(r));return{start:r.resolveNoCache(t.openStart+n),end:r.resolveNoCache(r.content.size-t.openEnd-n)}}(n,t);return k(o,_(t,i,s,e,r))}{let r=t.parent,i=r.content;return k(r,i.cut(0,t.parentOffset).append(n.content).append(i.cut(e.parentOffset)))}}return k(o,S(t,e,r))}function b(t,e){if(!e.type.compatibleContent(t.type))throw new h("Cannot join "+e.type.name+" onto "+t.type.name)}function y(t,e,n){let r=t.node(n);return b(r,e.node(n)),r}function x(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function w(t,e,n,r){let i=(e||t).node(n),o=0,s=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(x(t.nodeAfter,r),o++));for(let t=o;t<s;t++)x(i.child(t),r);e&&e.depth==n&&e.textOffset&&x(e.nodeBefore,r)}function k(t,e){return t.type.checkContent(e),t.copy(e)}function _(t,e,n,r,i){let o=t.depth>i&&y(t,e,i+1),s=r.depth>i&&y(n,r,i+1),l=[];return w(null,t,i,l),o&&s&&e.index(i)==n.index(i)?(b(o,s),x(k(o,_(t,e,n,r,i+1)),l)):(o&&x(k(o,S(t,e,i+1)),l),w(e,n,i,l),s&&x(k(s,S(n,r,i+1)),l)),w(r,null,i,l),new a(l)}function S(t,e,n){let r=[];if(w(null,t,n,r),t.depth>n){x(k(y(t,e,n+1),S(t,e,n+1)),r)}return w(e,null,n,r),new a(r)}f.empty=new f(a.empty,0,0);class O{constructor(t,e,n){this.pos=t,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=t.child(e);return n?t.child(e).cut(n):r}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let n=this.path[3*e],r=0==e?0:this.path[3*e-1]+1;for(let e=0;e<t;e++)r+=n.child(e).nodeSize;return r}marks(){let t=this.parent,e=this.index();if(0==t.content.size)return d.none;if(this.textOffset)return t.child(e).marks;let n=t.maybeChild(e-1),r=t.maybeChild(e);if(!n){let t=n;n=r,r=t}let i=n.marks;for(var o=0;o<i.length;o++)!1!==i[o].type.spec.inclusive||r&&i[o].isInSet(r.marks)||(i=i[o--].removeFromSet(i));return i}marksAcross(t){let e=this.parent.maybeChild(this.index());if(!e||!e.isInline)return null;let n=e.marks,r=t.parent.maybeChild(t.index());for(var i=0;i<n.length;i++)!1!==n[i].type.spec.inclusive||r&&n[i].isInSet(r.marks)||(n=n[i--].removeFromSet(n));return n}sharedDepth(t){for(let e=this.depth;e>0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos<this.pos)return t.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);n>=0;n--)if(t.pos<=this.end(n)&&(!e||e(this.node(n))))return new T(this,t,n);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let e=1;e<=this.depth;e++)t+=(t?"/":"")+this.node(e).type.name+"_"+this.index(e-1);return t+":"+this.parentOffset}static resolve(t,e){if(!(e>=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");let n=[],r=0,i=e;for(let e=t;;){let{index:t,offset:o}=e.content.findIndex(i),s=i-o;if(n.push(e,t,r+o),!s)break;if(e=e.child(t),e.isText)break;i=s-1,r+=o+1}return new O(e,n,i)}static resolveCached(t,e){for(let n=0;n<M.length;n++){let r=M[n];if(r.pos==e&&r.doc==t)return r}let n=M[C]=O.resolve(t,e);return C=(C+1)%A,n}}let M=[],C=0,A=12;class T{constructor(t,e,n){this.$from=t,this.$to=e,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const E=Object.create(null);class D{constructor(t,e,n,r=d.none){this.type=t,this.attrs=e,this.marks=r,this.content=n||a.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,e,n,r=0){this.content.nodesBetween(t,e,n,r,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,e,n,r){return this.content.textBetween(t,e,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,e,n){return this.type==t&&u(this.attrs,e||t.defaultAttrs||E)&&d.sameSet(this.marks,n||d.none)}copy(t=null){return t==this.content?this:new D(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new D(this.type,this.attrs,this.content,t)}cut(t,e=this.content.size){return 0==t&&e==this.content.size?this:this.copy(this.content.cut(t,e))}slice(t,e=this.content.size,n=!1){if(t==e)return f.empty;let r=this.resolve(t),i=this.resolve(e),o=n?0:r.sharedDepth(e),s=r.start(o),a=r.node(o).content.cut(r.pos-s,i.pos-s);return new f(a,r.depth-o,i.depth-o)}replace(t,e,n){return g(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:r}=e.content.findIndex(t);if(e=e.maybeChild(n),!e)return null;if(r==t||e.isText)return e;t-=r+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(t){if(0==t)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(t);if(n<t)return{node:this.content.child(e),index:e,offset:n};let r=this.content.child(e-1);return{node:r,index:e-1,offset:n-r.nodeSize}}resolve(t){return O.resolveCached(this,t)}resolveNoCache(t){return O.resolve(this,t)}rangeHasMark(t,e,n){let r=!1;return e>t&&this.nodesBetween(t,e,(t=>(n.isInSet(t.marks)&&(r=!0),!r))),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),j(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,n=a.empty,r=0,i=n.childCount){let o=this.contentMatchAt(t).matchFragment(n,r,i),s=o&&o.matchFragment(this.content,e);if(!s||!s.validEnd)return!1;for(let t=r;t<i;t++)if(!this.type.allowsMarks(n.child(t).marks))return!1;return!0}canReplaceWith(t,e,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(t).matchType(n),o=i&&i.matchFragment(this.content,e);return!!o&&o.validEnd}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content);let t=d.none;for(let e=0;e<this.marks.length;e++)t=this.marks[e].addToSet(t);if(!d.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((t=>t.type.name))}`);this.content.forEach((t=>t.check()))}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map((t=>t.toJSON()))),t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let n=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw new RangeError("Invalid text node in JSON");return t.text(e.text,n)}let r=a.fromJSON(t,e.content);return t.nodeType(e.type).create(e.attrs,r,n)}}D.prototype.text=void 0;class P extends D{constructor(t,e,n,r){if(super(t,e,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):j(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new P(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new P(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function j(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class L{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let n=new I(t,e);if(null==n.next)return L.empty;let r=N(n);n.next&&n.err("Unexpected trailing text");let i=function(t){let e=Object.create(null);return n(H(t,0));function n(r){let i=[];r.forEach((e=>{t[e].forEach((({term:e,to:n})=>{if(!e)return;let r;for(let t=0;t<i.length;t++)i[t][0]==e&&(r=i[t][1]);H(t,n).forEach((t=>{r||i.push([e,r=[]]),-1==r.indexOf(t)&&r.push(t)}))}))}));let o=e[r.join(",")]=new L(r.indexOf(t.length-1)>-1);for(let t=0;t<i.length;t++){let r=i[t][1].sort(z);o.next.push({type:i[t][0],next:e[r.join(",")]||n(r)})}return o}}(function(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(t,n,r){let i={term:r,to:n};return e[t].push(i),i}function i(t,e){t.forEach((t=>t.to=e))}function o(t,e){if("choice"==t.type)return t.exprs.reduce(((t,n)=>t.concat(o(n,e))),[]);if("seq"!=t.type){if("star"==t.type){let s=n();return r(e,s),i(o(t.expr,s),s),[r(s)]}if("plus"==t.type){let s=n();return i(o(t.expr,e),s),i(o(t.expr,s),s),[r(s)]}if("opt"==t.type)return[r(e)].concat(o(t.expr,e));if("range"==t.type){let s=e;for(let e=0;e<t.min;e++){let e=n();i(o(t.expr,s),e),s=e}if(-1==t.max)i(o(t.expr,s),s);else for(let e=t.min;e<t.max;e++){let e=n();r(s,e),i(o(t.expr,s),e),s=e}return[r(s)]}if("name"==t.type)return[r(e,void 0,t.value)];throw new Error("Unknown expr type")}for(let r=0;;r++){let s=o(t.exprs[r],e);if(r==t.exprs.length-1)return s;i(s,e=n())}}}(r));return function(t,e){for(let n=0,r=[t];n<r.length;n++){let t=r[n],i=!t.validEnd,o=[];for(let e=0;e<t.next.length;e++){let{type:n,next:s}=t.next[e];o.push(n.name),!i||n.isText||n.hasRequiredAttrs()||(i=!1),-1==r.indexOf(s)&&r.push(s)}i&&e.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,n),i}matchType(t){for(let e=0;e<this.next.length;e++)if(this.next[e].type==t)return this.next[e].next;return null}matchFragment(t,e=0,n=t.childCount){let r=this;for(let i=e;r&&i<n;i++)r=r.matchType(t.child(i).type);return r}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:e}=this.next[t];if(!e.isText&&!e.hasRequiredAttrs())return e}return null}compatible(t){for(let e=0;e<this.next.length;e++)for(let n=0;n<t.next.length;n++)if(this.next[e].type==t.next[n].type)return!0;return!1}fillBefore(t,e=!1,n=0){let r=[this];return function i(o,s){let l=o.matchFragment(t,n);if(l&&(!e||l.validEnd))return a.from(s.map((t=>t.createAndFill())));for(let t=0;t<o.next.length;t++){let{type:e,next:n}=o.next[t];if(!e.isText&&!e.hasRequiredAttrs()&&-1==r.indexOf(n)){r.push(n);let t=i(n,s.concat(e));if(t)return t}}return null}(this,[])}findWrapping(t){for(let e=0;e<this.wrapCache.length;e+=2)if(this.wrapCache[e]==t)return this.wrapCache[e+1];let e=this.computeWrapping(t);return this.wrapCache.push(t,e),e}computeWrapping(t){let e=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(t)){let t=[];for(let e=r;e.type;e=e.via)t.push(e.type);return t.reverse()}for(let t=0;t<i.next.length;t++){let{type:o,next:s}=i.next[t];o.isLeaf||o.hasRequiredAttrs()||o.name in e||r.type&&!s.validEnd||(n.push({match:o.contentMatch,type:o,via:r}),e[o.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return function e(n){t.push(n);for(let r=0;r<n.next.length;r++)-1==t.indexOf(n.next[r].next)&&e(n.next[r].next)}(this),t.map(((e,n)=>{let r=n+(e.validEnd?"*":" ")+" ";for(let n=0;n<e.next.length;n++)r+=(n?", ":"")+e.next[n].type.name+"->"+t.indexOf(e.next[n].next);return r})).join("\n")}}L.empty=new L(!0);class I{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function N(t){let e=[];do{e.push(R(t))}while(t.eat("|"));return 1==e.length?e[0]:{type:"choice",exprs:e}}function R(t){let e=[];do{e.push($(t))}while(t.next&&")"!=t.next&&"|"!=t.next);return 1==e.length?e[0]:{type:"seq",exprs:e}}function $(t){let e=function(t){if(t.eat("(")){let e=N(t);return t.eat(")")||t.err("Missing closing paren"),e}if(!/\W/.test(t.next)){let e=function(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let t in n){let r=n[t];r.groups.indexOf(e)>-1&&i.push(r)}0==i.length&&t.err("No node type or group '"+e+"' found");return i}(t,t.next).map((e=>(null==t.inline?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e})));return t.pos++,1==e.length?e[0]:{type:"choice",exprs:e}}t.err("Unexpected token '"+t.next+"'")}(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else{if(!t.eat("{"))break;e=F(t,e)}return e}function B(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function F(t,e){let n=B(t),r=n;return t.eat(",")&&(r="}"!=t.next?B(t):-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function z(t,e){return e-t}function H(t,e){let n=[];return function e(r){let i=t[r];if(1==i.length&&!i[0].term)return e(i[0].to);n.push(r);for(let t=0;t<i.length;t++){let{term:r,to:o}=i[t];r||-1!=n.indexOf(o)||e(o)}}(e),n.sort(z)}function Y(t){let e=Object.create(null);for(let n in t){let r=t[n];if(!r.hasDefault)return null;e[n]=r.default}return e}function W(t,e){let n=Object.create(null);for(let r in t){let i=e&&e[r];if(void 0===i){let e=t[r];if(!e.hasDefault)throw new RangeError("No value supplied for attribute "+r);i=e.default}n[r]=i}return n}function V(t){let e=Object.create(null);if(t)for(let n in t)e[n]=new G(t[n]);return e}class U{constructor(t,e,n){this.name=t,this.schema=e,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=V(n.attrs),this.defaultAttrs=Y(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==t),this.isText="text"==t}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==L.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:W(this.attrs,t)}create(t=null,e,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new D(this,this.computeAttrs(t),a.from(e),d.setFrom(n))}createChecked(t=null,e,n){return e=a.from(e),this.checkContent(e),new D(this,this.computeAttrs(t),e,d.setFrom(n))}createAndFill(t=null,e,n){if(t=this.computeAttrs(t),(e=a.from(e)).size){let t=this.contentMatch.fillBefore(e);if(!t)return null;e=t.append(e)}let r=this.contentMatch.matchFragment(e),i=r&&r.fillBefore(a.empty,!0);return i?new D(this,t,e.append(i),d.setFrom(n)):null}validContent(t){let e=this.contentMatch.matchFragment(t);if(!e||!e.validEnd)return!1;for(let e=0;e<t.childCount;e++)if(!this.allowsMarks(t.child(e).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}allowsMarkType(t){return null==this.markSet||this.markSet.indexOf(t)>-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;e<t.length;e++)if(!this.allowsMarkType(t[e].type))return!1;return!0}allowedMarks(t){if(null==this.markSet)return t;let e;for(let n=0;n<t.length;n++)this.allowsMarkType(t[n].type)?e&&e.push(t[n]):e||(e=t.slice(0,n));return e?e.length?e:d.none:t}static compile(t,e){let n=Object.create(null);t.forEach(((t,r)=>n[t]=new U(t,e,r)));let r=e.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let t in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class G{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class X{constructor(t,e,n,r){this.name=t,this.rank=e,this.schema=n,this.spec=r,this.attrs=V(r.attrs),this.excluded=null;let i=Y(this.attrs);this.instance=i?new d(this,i):null}create(t=null){return!t&&this.instance?this.instance:new d(this,W(this.attrs,t))}static compile(t,e){let n=Object.create(null),r=0;return t.forEach(((t,i)=>n[t]=new X(t,r++,e,i))),n}removeFromSet(t){for(var e=0;e<t.length;e++)t[e].type==this&&(t=t.slice(0,e).concat(t.slice(e+1)),e--);return t}isInSet(t){for(let e=0;e<t.length;e++)if(t[e].type==this)return t[e]}excludes(t){return this.excluded.indexOf(t)>-1}}class q{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let e=this.spec={};for(let n in t)e[n]=t[n];e.nodes=i.from(t.nodes),e.marks=i.from(t.marks||{}),this.nodes=U.compile(this.spec.nodes,this),this.marks=X.compile(this.spec.marks,this);let n=Object.create(null);for(let t in this.nodes){if(t in this.marks)throw new RangeError(t+" can not be both a node and a mark");let e=this.nodes[t],r=e.spec.content||"",i=e.spec.marks;if(e.contentMatch=n[r]||(n[r]=L.parse(r,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==i?null:i?K(this,i.split(" ")):""!=i&&e.inlineContent?null:[]}for(let t in this.marks){let e=this.marks[t],n=e.spec.excludes;e.excluded=null==n?[e]:""==n?[]:K(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,n,r){if("string"==typeof t)t=this.nodeType(t);else{if(!(t instanceof U))throw new RangeError("Invalid node type: "+t);if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}return t.createChecked(e,n,r)}text(t,e){let n=this.nodes.text;return new P(n,n.defaultAttrs,t,d.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return D.fromJSON(this,t)}markFromJSON(t){return d.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}}function K(t,e){let n=[];for(let r=0;r<e.length;r++){let i=e[r],o=t.marks[i],s=o;if(o)n.push(o);else for(let e in t.marks){let r=t.marks[e];("_"==i||r.spec.group&&r.spec.group.split(" ").indexOf(i)>-1)&&n.push(s=r)}if(!s)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}class J{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[],e.forEach((t=>{!function(t){return null!=t.tag}(t)?function(t){return null!=t.style}(t)&&this.styles.push(t):this.tags.push(t)})),this.normalizeLists=!this.tags.some((e=>{if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;let n=t.nodes[e.node];return n.contentMatch.matchType(n)}))}parse(t,e={}){let n=new rt(this,e,!1);return n.addAll(t,e.from,e.to),n.finish()}parseSlice(t,e={}){let n=new rt(this,e,!0);return n.addAll(t,e.from,e.to),f.maxOpen(n.finish())}matchTag(t,e,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(it(t,n.tag)&&(void 0===n.namespace||t.namespaceURI==n.namespace)&&(!n.context||e.matchesContext(n.context))){if(n.getAttrs){let e=n.getAttrs(t);if(!1===e)continue;n.attrs=e||void 0}return n}}}matchStyle(t,e,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let r=this.styles[i],o=r.style;if(!(0!=o.indexOf(t)||r.context&&!n.matchesContext(r.context)||o.length>t.length&&(61!=o.charCodeAt(t.length)||o.slice(t.length+1)!=e))){if(r.getAttrs){let t=r.getAttrs(e);if(!1===t)continue;r.attrs=t||void 0}return r}}}static schemaRules(t){let e=[];function n(t){let n=null==t.priority?50:t.priority,r=0;for(;r<e.length;r++){let t=e[r];if((null==t.priority?50:t.priority)<n)break}e.splice(r,0,t)}for(let e in t.marks){let r=t.marks[e].spec.parseDOM;r&&r.forEach((t=>{n(t=ot(t)),t.mark||t.ignore||t.clearMark||(t.mark=e)}))}for(let e in t.nodes){let r=t.nodes[e].spec.parseDOM;r&&r.forEach((t=>{n(t=ot(t)),t.node||t.ignore||t.mark||(t.node=e)}))}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new J(t,J.schemaRules(t)))}}const Z={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Q={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},tt={ol:!0,ul:!0};function et(t,e,n){return null!=e?(e?1:0)|("full"===e?2:0):t&&"pre"==t.whitespace?3:-5&n}class nt{constructor(t,e,n,r,i,o,s){this.type=t,this.attrs=e,this.marks=n,this.pendingMarks=r,this.solid=i,this.options=s,this.content=[],this.activeMarks=d.none,this.stashMarks=[],this.match=o||(4&s?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(a.from(t));if(!e){let e,n=this.type.contentMatch;return(e=n.findWrapping(t.type))?(this.match=n,e):null}this.match=this.type.contentMatch.matchFragment(e)}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let t,e=this.content[this.content.length-1];if(e&&e.isText&&(t=/[ \t\r\n\u000c]+$/.exec(e.text))){let n=e;e.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-t[0].length))}}let e=a.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(a.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}popFromStashMark(t){for(let e=this.stashMarks.length-1;e>=0;e--)if(t.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]}applyPending(t){for(let e=0,n=this.pendingMarks;e<n.length;e++){let r=n[e];(this.type?this.type.allowsMarkType(r.type):st(r.type,t))&&!r.isInSet(this.activeMarks)&&(this.activeMarks=r.addToSet(this.activeMarks),this.pendingMarks=r.removeFromSet(this.pendingMarks))}}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!Z.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class rt{constructor(t,e,n){this.parser=t,this.options=e,this.isOpen=n,this.open=0;let r,i=e.topNode,o=et(null,e.preserveWhitespace,0)|(n?4:0);r=i?new nt(i.type,i.attrs,d.none,d.none,!0,e.topMatch||i.type.contentMatch,o):new nt(n?null:t.schema.topNodeType,null,d.none,d.none,!0,null,o),this.nodes=[r],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t){3==t.nodeType?this.addTextNode(t):1==t.nodeType&&this.addElement(t)}withStyleRules(t,e){let n=t.getAttribute("style");if(!n)return e();let r=this.readStyles(function(t){let e,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,r=[];for(;e=n.exec(t);)r.push(e[1],e[2].trim());return r}(n));if(!r)return;let[i,o]=r,s=this.top;for(let t=0;t<o.length;t++)this.removePendingMark(o[t],s);for(let t=0;t<i.length;t++)this.addPendingMark(i[t]);e();for(let t=0;t<i.length;t++)this.removePendingMark(i[t],s);for(let t=0;t<o.length;t++)this.addPendingMark(o[t])}addTextNode(t){let e=t.nodeValue,n=this.top;if(2&n.options||n.inlineContext(t)||/[^ \t\r\n\u000c]/.test(e)){if(1&n.options)e=2&n.options?e.replace(/\r\n?/g,"\n"):e.replace(/\r?\n|\r/g," ");else if(e=e.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(e)&&this.open==this.nodes.length-1){let r=n.content[n.content.length-1],i=t.previousSibling;(!r||i&&"BR"==i.nodeName||r.isText&&/[ \t\r\n\u000c]$/.test(r.text))&&(e=e.slice(1))}e&&this.insertNode(this.parser.schema.text(e)),this.findInText(t)}else this.findInside(t)}addElement(t,e){let n,r=t.nodeName.toLowerCase();tt.hasOwnProperty(r)&&this.parser.normalizeLists&&function(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let t=1==e.nodeType?e.nodeName.toLowerCase():null;t&&tt.hasOwnProperty(t)&&n?(n.appendChild(e),e=n):"li"==t?n=e:t&&(n=null)}}(t);let i=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(n=this.parser.matchTag(t,this,e));if(i?i.ignore:Q.hasOwnProperty(r))this.findInside(t),this.ignoreFallback(t);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(t=i.skip);let e,n=this.top,o=this.needsBlock;if(Z.hasOwnProperty(r))n.content.length&&n.content[0].isInline&&this.open&&(this.open--,n=this.top),e=!0,n.type||(this.needsBlock=!0);else if(!t.firstChild)return void this.leafFallback(t);i&&i.skip?this.addAll(t):this.withStyleRules(t,(()=>this.addAll(t))),e&&this.sync(n),this.needsBlock=o}else this.withStyleRules(t,(()=>{this.addElementByRule(t,i,!1===i.consuming?n:void 0)}))}leafFallback(t){"BR"==t.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode("\n"))}ignoreFallback(t){"BR"!=t.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(t){let e=d.none,n=d.none;for(let r=0;r<t.length;r+=2)for(let i;;){let o=this.parser.matchStyle(t[r],t[r+1],this,i);if(!o)break;if(o.ignore)return null;if(o.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach((t=>{o.clearMark(t)&&(n=t.addToSet(n))})):e=this.parser.schema.marks[o.mark].create(o.attrs).addToSet(e),!1!==o.consuming)break;i=o}return[e,n]}addElementByRule(t,e,n){let r,i,o;if(e.node)i=this.parser.schema.nodes[e.node],i.isLeaf?this.insertNode(i.create(e.attrs))||this.leafFallback(t):r=this.enter(i,e.attrs||null,e.preserveWhitespace);else{o=this.parser.schema.marks[e.mark].create(e.attrs),this.addPendingMark(o)}let s=this.top;if(i&&i.isLeaf)this.findInside(t);else if(n)this.addElement(t,n);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach((t=>this.insertNode(t)));else{let n=t;"string"==typeof e.contentElement?n=t.querySelector(e.contentElement):"function"==typeof e.contentElement?n=e.contentElement(t):e.contentElement&&(n=e.contentElement),this.findAround(t,n,!0),this.addAll(n)}r&&this.sync(s)&&this.open--,o&&this.removePendingMark(o,s)}addAll(t,e,n){let r=e||0;for(let i=e?t.childNodes[e]:t.firstChild,o=null==n?null:t.childNodes[n];i!=o;i=i.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(i);this.findAtPoint(t,r)}findPlace(t){let e,n;for(let r=this.open;r>=0;r--){let i=this.nodes[r],o=i.findWrapping(t);if(o&&(!e||e.length>o.length)&&(e=o,n=i,!o.length))break;if(i.solid)break}if(!e)return!1;this.sync(n);for(let t=0;t<e.length;t++)this.enterInner(e[t],null,!1);return!0}insertNode(t){if(t.isInline&&this.needsBlock&&!this.top.type){let t=this.textblockFromContext();t&&this.enterInner(t)}if(this.findPlace(t)){this.closeExtra();let e=this.top;e.applyPending(t.type),e.match&&(e.match=e.match.matchType(t.type));let n=e.activeMarks;for(let r=0;r<t.marks.length;r++)e.type&&!e.type.allowsMarkType(t.marks[r].type)||(n=t.marks[r].addToSet(n));return e.content.push(t.mark(n)),!0}return!1}enter(t,e,n){let r=this.findPlace(t.create(e));return r&&this.enterInner(t,e,!0,n),r}enterInner(t,e=null,n=!1,r){this.closeExtra();let i=this.top;i.applyPending(t),i.match=i.match&&i.match.matchType(t);let o=et(t,r,i.options);4&i.options&&0==i.content.length&&(o|=4),this.nodes.push(new nt(t,e,i.activeMarks,i.pendingMarks,n,null,o)),this.open++}closeExtra(t=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let e=this.open;e>=0;e--)if(this.nodes[e]==t)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let e=n.length-1;e>=0;e--)t+=n[e].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&this.find[n].offset==e&&(this.find[n].pos=this.currentPos)}findInside(t){if(this.find)for(let e=0;e<this.find.length;e++)null==this.find[e].pos&&1==t.nodeType&&t.contains(this.find[e].node)&&(this.find[e].pos=this.currentPos)}findAround(t,e,n){if(t!=e&&this.find)for(let r=0;r<this.find.length;r++)if(null==this.find[r].pos&&1==t.nodeType&&t.contains(this.find[r].node)){e.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}}findInText(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].node==t&&(this.find[e].pos=this.currentPos-(t.nodeValue.length-this.find[e].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),n=this.options.context,r=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),i=-(n?n.depth+1:0)+(r?0:1),o=(t,s)=>{for(;t>=0;t--){let a=e[t];if(""==a){if(t==e.length-1||0==t)continue;for(;s>=i;s--)if(o(t-1,s))return!0;return!1}{let t=s>0||0==s&&r?this.nodes[s].type:n&&s>=i?n.node(s-i).type:null;if(!t||t.name!=a&&-1==t.groups.indexOf(a))return!1;s--}}return!0};return o(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}addPendingMark(t){let e=function(t,e){for(let n=0;n<e.length;n++)if(t.eq(e[n]))return e[n]}(t,this.top.pendingMarks);e&&this.top.stashMarks.push(e),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)}removePendingMark(t,e){for(let n=this.open;n>=0;n--){let r=this.nodes[n];if(r.pendingMarks.lastIndexOf(t)>-1)r.pendingMarks=t.removeFromSet(r.pendingMarks);else{r.activeMarks=t.removeFromSet(r.activeMarks);let e=r.popFromStashMark(t);e&&r.type&&r.type.allowsMarkType(e.type)&&(r.activeMarks=e.addToSet(r.activeMarks))}if(r==e)break}}}function it(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function ot(t){let e={};for(let n in t)e[n]=t[n];return e}function st(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],s=t=>{o.push(t);for(let n=0;n<t.edgeCount;n++){let{type:r,next:i}=t.edge(n);if(r==e)return!0;if(o.indexOf(i)<0&&s(i))return!0}};if(s(i.contentMatch))return!0}}class at{constructor(t,e){this.nodes=t,this.marks=e}serializeFragment(t,e={},n){n||(n=ct(e).createDocumentFragment());let r=n,i=[];return t.forEach((t=>{if(i.length||t.marks.length){let n=0,o=0;for(;n<i.length&&o<t.marks.length;){let e=t.marks[o];if(this.marks[e.type.name]){if(!e.eq(i[n][0])||!1===e.type.spec.spanning)break;n++,o++}else o++}for(;n<i.length;)r=i.pop()[1];for(;o<t.marks.length;){let n=t.marks[o++],s=this.serializeMark(n,t.isInline,e);s&&(i.push([n,r]),r.appendChild(s.dom),r=s.contentDOM||s.dom)}}r.appendChild(this.serializeNodeInner(t,e))})),n}serializeNodeInner(t,e){let{dom:n,contentDOM:r}=at.renderSpec(ct(e),this.nodes[t.type.name](t));if(r){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,e,r)}return n}serializeNode(t,e={}){let n=this.serializeNodeInner(t,e);for(let r=t.marks.length-1;r>=0;r--){let i=this.serializeMark(t.marks[r],t.isInline,e);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(t,e,n={}){let r=this.marks[t.type.name];return r&&at.renderSpec(ct(n),r(t,e))}static renderSpec(t,e,n=null){if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let r,i=e[0],o=i.indexOf(" ");o>0&&(n=i.slice(0,o),i=i.slice(o+1));let s=n?t.createElementNS(n,i):t.createElement(i),a=e[1],l=1;if(a&&"object"==typeof a&&null==a.nodeType&&!Array.isArray(a)){l=2;for(let t in a)if(null!=a[t]){let e=t.indexOf(" ");e>0?s.setAttributeNS(t.slice(0,e),t.slice(e+1),a[t]):s.setAttribute(t,a[t])}}for(let i=l;i<e.length;i++){let o=e[i];if(0===o){if(i<e.length-1||i>l)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}{let{dom:e,contentDOM:i}=at.renderSpec(t,o,n);if(s.appendChild(e),i){if(r)throw new RangeError("Multiple content holes");r=i}}}return{dom:s,contentDOM:r}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new at(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=lt(t.nodes);return e.text||(e.text=t=>t.text),e}static marksFromSchema(t){return lt(t.marks)}}function lt(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function ct(t){return t.document||window.document}},34149:(t,e,n)=>{"use strict";n.d(e,{$t:()=>_,LN:()=>s,U3:()=>u,hs:()=>A,i5:()=>p,k_:()=>O,nh:()=>h});var r=n(18932),i=n(74094);const o=Object.create(null);class s{constructor(t,e,n){this.$anchor=t,this.$head=e,this.ranges=n||[new a(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e<t.length;e++)if(t[e].$from.pos!=t[e].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,e=r.Ji.empty){let n=e.content.lastChild,i=null;for(let t=0;t<e.openEnd;t++)i=n,n=n.lastChild;let o=t.steps.length,s=this.ranges;for(let a=0;a<s.length;a++){let{$from:l,$to:c}=s[a],u=t.mapping.slice(o);t.replaceRange(u.map(l.pos),u.map(c.pos),a?r.Ji.empty:e),0==a&&v(t,o,(n?n.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(t,e){let n=t.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:o,$to:s}=r[i],a=t.mapping.slice(n),l=a.map(o.pos),c=a.map(s.pos);i?t.deleteRange(l,c):(t.replaceRangeWith(l,c,e),v(t,n,e.isInline?-1:1))}}static findFrom(t,e,n=!1){let r=t.parent.inlineContent?new u(t):g(t.node(0),t.parent,t.pos,t.index(),e,n);if(r)return r;for(let r=t.depth-1;r>=0;r--){let i=e<0?g(t.node(0),t.node(r),t.before(r+1),t.index(r),e,n):g(t.node(0),t.node(r),t.after(r+1),t.index(r)+1,e,n);if(i)return i}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new p(t.node(0))}static atStart(t){return g(t,t,0,0,1)||new p(t)}static atEnd(t){return g(t,t,t.content.size,t.childCount,-1)||new p(t)}static fromJSON(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=o[e.type];if(!n)throw new RangeError(`No selection type ${e.type} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in o)throw new RangeError("Duplicate use of selection JSON ID "+t);return o[t]=e,e.prototype.jsonID=t,e}getBookmark(){return u.between(this.$anchor,this.$head).getBookmark()}}s.prototype.visible=!0;class a{constructor(t,e){this.$from=t,this.$to=e}}let l=!1;function c(t){l||t.parent.inlineContent||(l=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class u extends s{constructor(t,e=t){c(t),c(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let n=t.resolve(e.map(this.head));if(!n.parent.inlineContent)return s.near(n);let r=t.resolve(e.map(this.anchor));return new u(r.parent.inlineContent?r:n,n)}replace(t,e=r.Ji.empty){if(super.replace(t,e),e==r.Ji.empty){let e=this.$from.marksAcross(this.$to);e&&t.ensureMarks(e)}}eq(t){return t instanceof u&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new d(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new u(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,n=e){let r=t.resolve(e);return new this(r,n==e?r:t.resolve(n))}static between(t,e,n){let r=t.pos-e.pos;if(n&&!r||(n=r>=0?1:-1),!e.parent.inlineContent){let t=s.findFrom(e,n,!0)||s.findFrom(e,-n,!0);if(!t)return s.near(e,n);e=t.$head}return t.parent.inlineContent||(0==r||(t=(s.findFrom(t,-n,!0)||s.findFrom(t,n,!0)).$anchor).pos<e.pos!=r<0)&&(t=e),new u(t,e)}}s.jsonID("text",u);class d{constructor(t,e){this.anchor=t,this.head=e}map(t){return new d(t.map(this.anchor),t.map(this.head))}resolve(t){return u.between(t.resolve(this.anchor),t.resolve(this.head))}}class h extends s{constructor(t){let e=t.nodeAfter,n=t.node(0).resolve(t.pos+e.nodeSize);super(t,n),this.node=e}map(t,e){let{deleted:n,pos:r}=e.mapResult(this.anchor),i=t.resolve(r);return n?s.near(i):new h(i)}content(){return new r.Ji(r.FK.from(this.node),0,0)}eq(t){return t instanceof h&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new f(this.anchor)}static fromJSON(t,e){if("number"!=typeof e.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new h(t.resolve(e.anchor))}static create(t,e){return new h(t.resolve(e))}static isSelectable(t){return!t.isText&&!1!==t.type.spec.selectable}}h.prototype.visible=!1,s.jsonID("node",h);class f{constructor(t){this.anchor=t}map(t){let{deleted:e,pos:n}=t.mapResult(this.anchor);return e?new d(n,n):new f(n)}resolve(t){let e=t.resolve(this.anchor),n=e.nodeAfter;return n&&h.isSelectable(n)?new h(e):s.near(e)}}class p extends s{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,e=r.Ji.empty){if(e==r.Ji.empty){t.delete(0,t.doc.content.size);let e=s.atStart(t.doc);e.eq(t.selection)||t.setSelection(e)}else super.replace(t,e)}toJSON(){return{type:"all"}}static fromJSON(t){return new p(t)}map(t){return new p(t)}eq(t){return t instanceof p}getBookmark(){return m}}s.jsonID("all",p);const m={map(){return this},resolve:t=>new p(t)};function g(t,e,n,r,i,o=!1){if(e.inlineContent)return u.create(t,n);for(let s=r-(i>0?0:1);i>0?s<e.childCount:s>=0;s+=i){let r=e.child(s);if(r.isAtom){if(!o&&h.isSelectable(r))return h.create(t,n-(i<0?r.nodeSize:0))}else{let e=g(t,r,n+i,i<0?r.childCount:0,i,o);if(e)return e}n+=r.nodeSize*i}return null}function v(t,e,n){let r=t.steps.length-1;if(r<e)return;let o,a=t.steps[r];(a instanceof i.Ln||a instanceof i.Wg)&&(t.mapping.maps[r].forEach(((t,e,n,r)=>{null==o&&(o=r)})),t.setSelection(s.near(t.doc.resolve(o),n)))}class b extends i.dL{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(t){if(t.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=-3&this.updated|1,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return r.CU.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let n=this.selection;return e&&(t=t.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||r.CU.none))),n.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,n){let r=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(r.text(t),!0):this.deleteSelection();{if(null==n&&(n=e),n=null==n?e:n,!t)return this.deleteRange(e,n);let i=this.storedMarks;if(!i){let t=this.doc.resolve(e);i=n==e?t.marks():t.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,r.text(t,i)),this.selection.empty||this.setSelection(s.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function y(t,e){return e&&t?t.bind(e):t}class x{constructor(t,e,n){this.name=t,this.init=y(e.init,n),this.apply=y(e.apply,n)}}const w=[new x("doc",{init:t=>t.doc||t.schema.topNodeType.createAndFill(),apply:t=>t.doc}),new x("selection",{init:(t,e)=>t.selection||s.atStart(e.doc),apply:t=>t.selection}),new x("storedMarks",{init:t=>t.storedMarks||null,apply:(t,e,n,r)=>r.selection.$cursor?t.storedMarks:null}),new x("scrollToSelection",{init:()=>0,apply:(t,e)=>t.scrolledIntoView?e+1:e})];class k{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=w.slice(),e&&e.forEach((t=>{if(this.pluginsByKey[t.key])throw new RangeError("Adding different instances of a keyed plugin ("+t.key+")");this.plugins.push(t),this.pluginsByKey[t.key]=t,t.spec.state&&this.fields.push(new x(t.key,t.spec.state,t))}))}}class _{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=e){let e=this.config.plugins[n];if(e.spec.filterTransaction&&!e.spec.filterTransaction.call(e,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};let e=[t],n=this.applyInner(t),r=null;for(;;){let i=!1;for(let o=0;o<this.config.plugins.length;o++){let s=this.config.plugins[o];if(s.spec.appendTransaction){let a=r?r[o].n:0,l=r?r[o].state:this,c=a<e.length&&s.spec.appendTransaction.call(s,a?e.slice(a):e,l,n);if(c&&n.filterTransaction(c,o)){if(c.setMeta("appendedTransaction",t),!r){r=[];for(let t=0;t<this.config.plugins.length;t++)r.push(t<o?{state:n,n:e.length}:{state:this,n:0})}e.push(c),n=n.applyInner(c),i=!0}r&&(r[o]={state:n,n:e.length})}}if(!i)return{state:n,transactions:e}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let e=new _(this.config),n=this.config.fields;for(let r=0;r<n.length;r++){let i=n[r];e[i.name]=i.apply(t,this[i.name],this,e)}return e}get tr(){return new b(this)}static create(t){let e=new k(t.doc?t.doc.type.schema:t.schema,t.plugins),n=new _(e);for(let r=0;r<e.fields.length;r++)n[e.fields[r].name]=e.fields[r].init(t,n);return n}reconfigure(t){let e=new k(this.schema,t.plugins),n=e.fields,r=new _(e);for(let e=0;e<n.length;e++){let i=n[e].name;r[i]=this.hasOwnProperty(i)?this[i]:n[e].init(t,r)}return r}toJSON(t){let e={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(e.storedMarks=this.storedMarks.map((t=>t.toJSON()))),t&&"object"==typeof t)for(let n in t){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=t[n],i=r.spec.state;i&&i.toJSON&&(e[n]=i.toJSON.call(r,this[r.key]))}return e}static fromJSON(t,e,n){if(!e)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let i=new k(t.schema,t.plugins),o=new _(i);return i.fields.forEach((i=>{if("doc"==i.name)o.doc=r.bP.fromJSON(t.schema,e.doc);else if("selection"==i.name)o.selection=s.fromJSON(o.doc,e.selection);else if("storedMarks"==i.name)e.storedMarks&&(o.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(n)for(let r in n){let s=n[r],a=s.spec.state;if(s.key==i.name&&a&&a.fromJSON&&Object.prototype.hasOwnProperty.call(e,r))return void(o[i.name]=a.fromJSON.call(s,t,e[r],o))}o[i.name]=i.init(t,o)}})),o}}function S(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):"handleDOMEvents"==r&&(i=S(i,e,{})),n[r]=i}return n}class O{constructor(t){this.spec=t,this.props={},t.props&&S(t.props,this,this.props),this.key=t.key?t.key.key:C("plugin")}getState(t){return t[this.key]}}const M=Object.create(null);function C(t){return t in M?t+"$"+ ++M[t]:(M[t]=0,t+"$")}class A{constructor(t="key"){this.key=C(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}},74094:(t,e,n)=>{"use strict";n.d(e,{$L:()=>E,Ln:()=>v,N0:()=>A,Um:()=>T,Wg:()=>b,X9:()=>l,dL:()=>Y,jP:()=>k,n9:()=>M,oM:()=>_,zy:()=>O});var r=n(18932);const i=Math.pow(2,16);function o(t){return 65535&t}class s{constructor(t,e,n){this.pos=t,this.delInfo=e,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class a{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&a.empty)return a.empty}recover(t){let e=0,n=o(t);if(!this.inverted)for(let t=0;t<n;t++)e+=this.ranges[3*t+2]-this.ranges[3*t+1];return this.ranges[3*n]+e+function(t){return(t-(65535&t))/i}(t)}mapResult(t,e=1){return this._map(t,e,!1)}map(t,e=1){return this._map(t,e,!0)}_map(t,e,n){let r=0,o=this.inverted?2:1,a=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let c=this.ranges[l]-(this.inverted?r:0);if(c>t)break;let u=this.ranges[l+o],d=this.ranges[l+a],h=c+u;if(t<=h){let o=c+r+((u?t==c?-1:t==h?1:e:e)<0?0:d);if(n)return o;let a=t==(e<0?c:h)?null:l/3+(t-c)*i,f=t==c?2:t==h?1:4;return(e<0?t!=c:t!=h)&&(f|=8),new s(o,f,a)}r+=d-u}return n?t+r:new s(t+r,0,null)}touches(t,e){let n=0,r=o(e),i=this.inverted?2:1,s=this.inverted?1:2;for(let e=0;e<this.ranges.length;e+=3){let o=this.ranges[e]-(this.inverted?n:0);if(o>t)break;let a=this.ranges[e+i];if(t<=o+a&&e==3*r)return!0;n+=this.ranges[e+s]-a}return!1}forEach(t){let e=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r<this.ranges.length;r+=3){let o=this.ranges[r],s=o-(this.inverted?i:0),a=o+(this.inverted?0:i),l=this.ranges[r+e],c=this.ranges[r+n];t(s,s+l,a,a+c),i+=c-l}}invert(){return new a(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return 0==t?a.empty:new a(t<0?[0,-t,0]:[0,0,t])}}a.empty=new a([]);class l{constructor(t=[],e,n=0,r=t.length){this.maps=t,this.mirror=e,this.from=n,this.to=r}slice(t=0,e=this.maps.length){return new l(this.maps,this.mirror,t,e)}copy(){return new l(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(t,e){this.to=this.maps.push(t),null!=e&&this.setMirror(this.maps.length-1,e)}appendMapping(t){for(let e=0,n=this.maps.length;e<t.maps.length;e++){let r=t.getMirror(e);this.appendMap(t.maps[e],null!=r&&r<e?n+r:void 0)}}getMirror(t){if(this.mirror)for(let e=0;e<this.mirror.length;e++)if(this.mirror[e]==t)return this.mirror[e+(e%2?-1:1)]}setMirror(t,e){this.mirror||(this.mirror=[]),this.mirror.push(t,e)}appendMappingInverted(t){for(let e=t.maps.length-1,n=this.maps.length+t.maps.length;e>=0;e--){let r=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=r&&r>e?n-r-1:void 0)}}invert(){let t=new l;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let n=this.from;n<this.to;n++)t=this.maps[n].map(t,e);return t}mapResult(t,e=1){return this._map(t,e,!1)}_map(t,e,n){let r=0;for(let n=this.from;n<this.to;n++){let i=this.maps[n].mapResult(t,e);if(null!=i.recover){let e=this.getMirror(n);if(null!=e&&e>n&&e<this.to){n=e,t=this.maps[e].recover(i.recover);continue}}r|=i.delInfo,t=i.pos}return n?t:new s(t,r,null)}}const c=Object.create(null);class u{getMap(){return a.empty}merge(t){return null}static fromJSON(t,e){if(!e||!e.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=c[e.stepType];if(!n)throw new RangeError(`No step type ${e.stepType} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in c)throw new RangeError("Duplicate use of step JSON ID "+t);return c[t]=e,e.prototype.jsonID=t,e}}class d{constructor(t,e){this.doc=t,this.failed=e}static ok(t){return new d(t,null)}static fail(t){return new d(null,t)}static fromReplace(t,e,n,i){try{return d.ok(t.replace(e,n,i))}catch(t){if(t instanceof r.vI)return d.fail(t.message);throw t}}}function h(t,e,n){let i=[];for(let r=0;r<t.childCount;r++){let o=t.child(r);o.content.size&&(o=o.copy(h(o.content,e,o))),o.isInline&&(o=e(o,n,r)),i.push(o)}return r.FK.fromArray(i)}class f extends u{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=t.resolve(this.from),i=n.node(n.sharedDepth(this.to)),o=new r.Ji(h(e.content,((t,e)=>t.isAtom&&e.type.allowsMarkType(this.mark.type)?t.mark(this.mark.addToSet(t.marks)):t),i),e.openStart,e.openEnd);return d.fromReplace(t,this.from,this.to,o)}invert(){return new p(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new f(e.pos,n.pos,this.mark)}merge(t){return t instanceof f&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new f(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new f(e.from,e.to,t.markFromJSON(e.mark))}}u.jsonID("addMark",f);class p extends u{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=new r.Ji(h(e.content,(t=>t.mark(this.mark.removeFromSet(t.marks))),t),e.openStart,e.openEnd);return d.fromReplace(t,this.from,this.to,n)}invert(){return new f(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new p(e.pos,n.pos,this.mark)}merge(t){return t instanceof p&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new p(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new p(e.from,e.to,t.markFromJSON(e.mark))}}u.jsonID("removeMark",p);class m extends u{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return d.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return d.fromReplace(t,this.pos,this.pos+1,new r.Ji(r.FK.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let t=this.mark.addToSet(e.marks);if(t.length==e.marks.length){for(let n=0;n<e.marks.length;n++)if(!e.marks[n].isInSet(t))return new m(this.pos,e.marks[n]);return new m(this.pos,this.mark)}}return new g(this.pos,this.mark)}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new m(e.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new m(e.pos,t.markFromJSON(e.mark))}}u.jsonID("addNodeMark",m);class g extends u{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return d.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.removeFromSet(e.marks));return d.fromReplace(t,this.pos,this.pos+1,new r.Ji(r.FK.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);return e&&this.mark.isInSet(e.marks)?new m(this.pos,this.mark):this}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new g(e.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new g(e.pos,t.markFromJSON(e.mark))}}u.jsonID("removeNodeMark",g);class v extends u{constructor(t,e,n,r=!1){super(),this.from=t,this.to=e,this.slice=n,this.structure=r}apply(t){return this.structure&&y(t,this.from,this.to)?d.fail("Structure replace would overwrite content"):d.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new a([this.from,this.to-this.from,this.slice.size])}invert(t){return new v(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deletedAcross&&n.deletedAcross?null:new v(e.pos,Math.max(e.pos,n.pos),this.slice)}merge(t){if(!(t instanceof v)||t.structure||this.structure)return null;if(this.from+this.slice.size!=t.from||this.slice.openEnd||t.slice.openStart){if(t.to!=this.from||this.slice.openStart||t.slice.openEnd)return null;{let e=this.slice.size+t.slice.size==0?r.Ji.empty:new r.Ji(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new v(t.from,this.to,e,this.structure)}}{let e=this.slice.size+t.slice.size==0?r.Ji.empty:new r.Ji(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new v(this.from,this.to+(t.to-t.from),e,this.structure)}}toJSON(){let t={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new v(e.from,e.to,r.Ji.fromJSON(t,e.slice),!!e.structure)}}u.jsonID("replace",v);class b extends u{constructor(t,e,n,r,i,o,s=!1){super(),this.from=t,this.to=e,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=o,this.structure=s}apply(t){if(this.structure&&(y(t,this.from,this.gapFrom)||y(t,this.gapTo,this.to)))return d.fail("Structure gap-replace would overwrite content");let e=t.slice(this.gapFrom,this.gapTo);if(e.openStart||e.openEnd)return d.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,e.content);return n?d.fromReplace(t,this.from,this.to,n):d.fail("Content does not fit in gap")}getMap(){return new a([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let e=this.gapTo-this.gapFrom;return new b(this.from,this.from+this.slice.size+e,this.from+this.insert,this.from+this.insert+e,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1),r=this.from==this.gapFrom?e.pos:t.map(this.gapFrom,-1),i=this.to==this.gapTo?n.pos:t.map(this.gapTo,1);return e.deletedAcross&&n.deletedAcross||r<e.pos||i>n.pos?null:new b(e.pos,n.pos,r,i,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new b(e.from,e.to,e.gapFrom,e.gapTo,r.Ji.fromJSON(t,e.slice),e.insert,!!e.structure)}}function y(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let t=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!t||t.isLeaf)return!0;t=t.firstChild,i--}}return!1}function x(t,e,n,i=n.contentMatch,o=!0){let s=t.doc.nodeAt(e),a=[],l=e+1;for(let e=0;e<s.childCount;e++){let c=s.child(e),u=l+c.nodeSize,d=i.matchType(c.type);if(d){i=d;for(let e=0;e<c.marks.length;e++)n.allowsMarkType(c.marks[e].type)||t.step(new p(l,u,c.marks[e]));if(o&&c.isText&&"pre"!=n.whitespace){let t,e,i=/\r?\n|\r/g;for(;t=i.exec(c.text);)e||(e=new r.Ji(r.FK.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),a.push(new v(l+t.index,l+t.index+t[0].length,e))}}else a.push(new v(l,u,r.Ji.empty));l=u}if(!i.validEnd){let e=i.fillBefore(r.FK.empty,!0);t.replace(l,l,new r.Ji(e,0,0))}for(let e=a.length-1;e>=0;e--)t.step(a[e])}function w(t,e,n){return(0==e||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function k(t){let e=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let n=t.depth;;--n){let r=t.$from.node(n),i=t.$from.index(n),o=t.$to.indexAfter(n);if(n<t.depth&&r.canReplace(i,o,e))return n;if(0==n||r.type.spec.isolating||!w(r,i,o))break}return null}function _(t,e,n=null,r=t){let i=function(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.contentMatchAt(r).findWrapping(e);if(!o)return null;let s=o.length?o[0]:e;return n.canReplaceWith(r,i,s)?o:null}(t,e),o=i&&function(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.child(r),s=e.contentMatch.findWrapping(o.type);if(!s)return null;let a=(s.length?s[s.length-1]:e).contentMatch;for(let t=r;a&&t<i;t++)a=a.matchType(n.child(t).type);return a&&a.validEnd?s:null}(r,e);return o?i.map(S).concat({type:e,attrs:n}).concat(o.map(S)):null}function S(t){return{type:t,attrs:null}}function O(t,e,n=1,r){let i=t.resolve(e),o=i.depth-n,s=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!s.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let t=i.depth-1,e=n-2;t>o;t--,e--){let n=i.node(t),o=i.index(t);if(n.type.spec.isolating)return!1;let s=n.content.cutByIndex(o,n.childCount),a=r&&r[e+1];a&&(s=s.replaceChild(0,a.type.create(a.attrs)));let l=r&&r[e]||n;if(!n.canReplace(o+1,n.childCount)||!l.type.validContent(s))return!1}let a=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(a,a,l?l.type:i.node(o+1).type)}function M(t,e){let n=t.resolve(e),r=n.index();return C(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function C(t,e){return!(!t||!e||t.isLeaf||!t.canAppend(e))}function A(t,e,n=-1){let r=t.resolve(e);for(let t=r.depth;;t--){let i,o,s=r.index(t);if(t==r.depth?(i=r.nodeBefore,o=r.nodeAfter):n>0?(i=r.node(t+1),s++,o=r.node(t).maybeChild(s)):(i=r.node(t).maybeChild(s-1),o=r.node(t+1)),i&&!i.isTextblock&&C(i,o)&&r.node(t).canReplace(s,s+1))return e;if(0==t)break;e=n<0?r.before(t):r.after(t)}}function T(t,e,n){let r=t.resolve(e);if(!n.content.size)return e;let i=n.content;for(let t=0;t<n.openStart;t++)i=i.firstChild.content;for(let t=1;t<=(0==n.openStart&&n.size?2:1);t++)for(let e=r.depth;e>=0;e--){let n=e==r.depth?0:r.pos<=(r.start(e+1)+r.end(e+1))/2?-1:1,o=r.index(e)+(n>0?1:0),s=r.node(e),a=!1;if(1==t)a=s.canReplace(o,o,i);else{let t=s.contentMatchAt(o).findWrapping(i.firstChild.type);a=t&&s.canReplaceWith(o,o,t[0])}if(a)return 0==n?r.pos:n<0?r.before(e+1):r.after(e+1)}return null}function E(t,e,n=e,i=r.Ji.empty){if(e==n&&!i.size)return null;let o=t.resolve(e),s=t.resolve(n);return D(o,s,i)?new v(e,n,i):new P(o,s,i).fit()}function D(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}u.jsonID("replaceAround",b);class P{constructor(t,e,n){this.$from=t,this.$to=e,this.unplaced=n,this.frontier=[],this.placed=r.FK.empty;for(let e=0;e<=t.depth;e++){let n=t.node(e);this.frontier.push({type:n.type,match:n.contentMatchAt(t.indexAfter(e))})}for(let e=t.depth;e>0;e--)this.placed=r.FK.from(t.node(e).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let t=this.findFittable();t?this.placeNodes(t):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,n=this.$from,i=this.close(t<0?this.$to:n.doc.resolve(t));if(!i)return null;let o=this.placed,s=n.depth,a=i.depth;for(;s&&a&&1==o.childCount;)o=o.firstChild.content,s--,a--;let l=new r.Ji(o,s,a);return t>-1?new b(n.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||n.pos!=this.$to.pos?new v(n.pos,i.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<t;n++){let i=e.firstChild;if(e.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){t=n;break}e=i.content}for(let e=1;e<=2;e++)for(let n=1==e?t:this.unplaced.openStart;n>=0;n--){let t,i=null;n?(i=I(this.unplaced.content,n-1).firstChild,t=i.content):t=this.unplaced.content;let o=t.firstChild;for(let t=this.depth;t>=0;t--){let s,{type:a,match:l}=this.frontier[t],c=null;if(1==e&&(o?l.matchType(o.type)||(c=l.fillBefore(r.FK.from(o),!1)):i&&a.compatibleContent(i.type)))return{sliceDepth:n,frontierDepth:t,parent:i,inject:c};if(2==e&&o&&(s=l.findWrapping(o.type)))return{sliceDepth:n,frontierDepth:t,parent:i,wrap:s};if(i&&l.matchType(i.type))break}}}openMore(){let{content:t,openStart:e,openEnd:n}=this.unplaced,i=I(t,e);return!(!i.childCount||i.firstChild.isLeaf)&&(this.unplaced=new r.Ji(t,e+1,Math.max(n,i.size+e>=t.size-n?e+1:0)),!0)}dropNode(){let{content:t,openStart:e,openEnd:n}=this.unplaced,i=I(t,e);if(i.childCount<=1&&e>0){let o=t.size-e<=e+i.size;this.unplaced=new r.Ji(j(t,e-1,1),e-1,o?e-1:n)}else this.unplaced=new r.Ji(j(t,e,1),e,n)}placeNodes({sliceDepth:t,frontierDepth:e,parent:n,inject:i,wrap:o}){for(;this.depth>e;)this.closeFrontierNode();if(o)for(let t=0;t<o.length;t++)this.openFrontierNode(o[t]);let s=this.unplaced,a=n?n.content:s.content,l=s.openStart-t,c=0,u=[],{match:d,type:h}=this.frontier[e];if(i){for(let t=0;t<i.childCount;t++)u.push(i.child(t));d=d.matchFragment(i)}let f=a.size+t-(s.content.size-s.openEnd);for(;c<a.childCount;){let t=a.child(c),e=d.matchType(t.type);if(!e)break;c++,(c>1||0==l||t.content.size)&&(d=e,u.push(N(t.mark(h.allowedMarks(t.marks)),1==c?l:0,c==a.childCount?f:-1)))}let p=c==a.childCount;p||(f=-1),this.placed=L(this.placed,e,r.FK.from(u)),this.frontier[e].match=d,p&&f<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let t=0,e=a;t<f;t++){let t=e.lastChild;this.frontier.push({type:t.type,match:t.contentMatchAt(t.childCount)}),e=t.content}this.unplaced=p?0==t?r.Ji.empty:new r.Ji(j(s.content,t-1,1),t-1,f<0?s.openEnd:t-1):new r.Ji(j(s.content,t,c),s.openStart,s.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let t,e=this.frontier[this.depth];if(!e.type.isTextblock||!R(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(t){t:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:n,type:r}=this.frontier[e],i=e<t.depth&&t.end(e+1)==t.pos+(t.depth-(e+1)),o=R(t,e,r,n,i);if(o){for(let n=e-1;n>=0;n--){let{match:e,type:r}=this.frontier[n],i=R(t,n,r,e,!0);if(!i||i.childCount)continue t}return{depth:e,fit:o,move:i?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=L(this.placed,e.depth,e.fit)),t=e.move;for(let n=e.depth+1;n<=t.depth;n++){let e=t.node(n),r=e.type.contentMatch.fillBefore(e.content,!0,t.index(n));this.openFrontierNode(e.type,e.attrs,r)}return t}openFrontierNode(t,e=null,n){let i=this.frontier[this.depth];i.match=i.match.matchType(t),this.placed=L(this.placed,this.depth,r.FK.from(t.create(e,n))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(r.FK.empty,!0);t.childCount&&(this.placed=L(this.placed,this.frontier.length,t))}}function j(t,e,n){return 0==e?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(j(t.firstChild.content,e-1,n)))}function L(t,e,n){return 0==e?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(L(t.lastChild.content,e-1,n)))}function I(t,e){for(let n=0;n<e;n++)t=t.firstChild.content;return t}function N(t,e,n){if(e<=0)return t;let i=t.content;return e>1&&(i=i.replaceChild(0,N(i.firstChild,e-1,1==i.childCount?n-1:0))),e>0&&(i=t.type.contentMatch.fillBefore(i).append(i),n<=0&&(i=i.append(t.type.contentMatch.matchFragment(i).fillBefore(r.FK.empty,!0)))),t.copy(i)}function R(t,e,n,r,i){let o=t.node(e),s=i?t.indexAfter(e):t.index(e);if(s==o.childCount&&!n.compatibleContent(o.type))return null;let a=r.fillBefore(o.content,!0,s);return a&&!function(t,e,n){for(let r=n;r<e.childCount;r++)if(!t.allowsMarks(e.child(r).marks))return!0;return!1}(n,o.content,s)?a:null}function $(t,e,n,i,o){if(e<n){let r=t.firstChild;t=t.replaceChild(0,r.copy($(r.content,e+1,n,i,r)))}if(e>i){let e=o.contentMatchAt(0),n=e.fillBefore(t).append(t);t=n.append(e.matchFragment(n).fillBefore(r.FK.empty,!0))}return t}function B(t,e){let n=[];for(let r=Math.min(t.depth,e.depth);r>=0;r--){let i=t.start(r);if(i<t.pos-(t.depth-r)||e.end(r)>e.pos+(e.depth-r)||t.node(r).type.spec.isolating||e.node(r).type.spec.isolating)break;(i==e.start(r)||r==t.depth&&r==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&r&&e.start(r-1)==i-1)&&n.push(r)}return n}class F extends u{constructor(t,e,n){super(),this.pos=t,this.attr=e,this.value=n}apply(t){let e=t.nodeAt(this.pos);if(!e)return d.fail("No node at attribute step's position");let n=Object.create(null);for(let t in e.attrs)n[t]=e.attrs[t];n[this.attr]=this.value;let i=e.type.create(n,null,e.marks);return d.fromReplace(t,this.pos,this.pos+1,new r.Ji(r.FK.from(i),0,e.isLeaf?0:1))}getMap(){return a.empty}invert(t){return new F(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new F(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new F(e.pos,e.attr,e.value)}}u.jsonID("attr",F);class z extends u{constructor(t,e){super(),this.attr=t,this.value=e}apply(t){let e=Object.create(null);for(let n in t.attrs)e[n]=t.attrs[n];e[this.attr]=this.value;let n=t.type.create(e,t.content,t.marks);return d.ok(n)}getMap(){return a.empty}invert(t){return new z(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,e){if("string"!=typeof e.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new z(e.attr,e.value)}}u.jsonID("docAttr",z);let H=class extends Error{};H=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n},(H.prototype=Object.create(Error.prototype)).constructor=H,H.prototype.name="TransformError";class Y{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new l}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new H(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,n=r.Ji.empty){let i=E(this.doc,t,e,n);return i&&this.step(i),this}replaceWith(t,e,n){return this.replace(t,e,new r.Ji(r.FK.from(n),0,0))}delete(t,e){return this.replace(t,e,r.Ji.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,n){return function(t,e,n,i){if(!i.size)return t.deleteRange(e,n);let o=t.doc.resolve(e),s=t.doc.resolve(n);if(D(o,s,i))return t.step(new v(e,n,i));let a=B(o,t.doc.resolve(n));0==a[a.length-1]&&a.pop();let l=-(o.depth+1);a.unshift(l);for(let t=o.depth,e=o.pos-1;t>0;t--,e--){let n=o.node(t).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;a.indexOf(t)>-1?l=t:o.before(t)==e&&a.splice(1,0,-t)}let c=a.indexOf(l),u=[],d=i.openStart;for(let t=i.content,e=0;;e++){let n=t.firstChild;if(u.push(n),e==i.openStart)break;t=n.content}for(let t=d-1;t>=0;t--){let e=u[t],n=(h=e.type).spec.defining||h.spec.definingForContent;if(n&&!e.sameMarkup(o.node(Math.abs(l)-1)))d=t;else if(n||!e.type.isTextblock)break}var h;for(let e=i.openStart;e>=0;e--){let l=(e+d+1)%(i.openStart+1),h=u[l];if(h)for(let e=0;e<a.length;e++){let u=a[(e+c)%a.length],d=!0;u<0&&(d=!1,u=-u);let f=o.node(u-1),p=o.index(u-1);if(f.canReplaceWith(p,p,h.type,h.marks))return t.replace(o.before(u),d?s.after(u):n,new r.Ji($(i.content,0,i.openStart,l),l,i.openEnd))}}let f=t.steps.length;for(let r=a.length-1;r>=0&&(t.replace(e,n,i),!(t.steps.length>f));r--){let t=a[r];t<0||(e=o.before(t),n=s.after(t))}}(this,t,e,n),this}replaceRangeWith(t,e,n){return function(t,e,n,i){if(!i.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let r=function(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(0==r.parentOffset)for(let t=r.depth-1;t>=0;t--){let e=r.index(t);if(r.node(t).canReplaceWith(e,e,n))return r.before(t+1);if(e>0)return null}if(r.parentOffset==r.parent.content.size)for(let t=r.depth-1;t>=0;t--){let e=r.indexAfter(t);if(r.node(t).canReplaceWith(e,e,n))return r.after(t+1);if(e<r.node(t).childCount)return null}return null}(t.doc,e,i.type);null!=r&&(e=n=r)}t.replaceRange(e,n,new r.Ji(r.FK.from(i),0,0))}(this,t,e,n),this}deleteRange(t,e){return function(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=B(r,i);for(let e=0;e<o.length;e++){let n=o[e],s=e==o.length-1;if(s&&0==n||r.node(n).type.contentMatch.validEnd)return t.delete(r.start(n),i.end(n));if(n>0&&(s||r.node(n-1).canReplace(r.index(n-1),i.indexAfter(n-1))))return t.delete(r.before(n),i.after(n))}for(let o=1;o<=r.depth&&o<=i.depth;o++)if(e-r.start(o)==r.depth-o&&n>r.end(o)&&i.end(o)-n!=i.depth-o)return t.delete(r.before(o),n);t.delete(e,n)}(this,t,e),this}lift(t,e){return function(t,e,n){let{$from:i,$to:o,depth:s}=e,a=i.before(s+1),l=o.after(s+1),c=a,u=l,d=r.FK.empty,h=0;for(let t=s,e=!1;t>n;t--)e||i.index(t)>0?(e=!0,d=r.FK.from(i.node(t).copy(d)),h++):c--;let f=r.FK.empty,p=0;for(let t=s,e=!1;t>n;t--)e||o.after(t+1)<o.end(t)?(e=!0,f=r.FK.from(o.node(t).copy(f)),p++):u++;t.step(new b(c,u,a,l,new r.Ji(d.append(f),h,p),d.size-h,!0))}(this,t,e),this}join(t,e=1){return function(t,e,n){let i=new v(e-n,e+n,r.Ji.empty,!0);t.step(i)}(this,t,e),this}wrap(t,e){return function(t,e,n){let i=r.FK.empty;for(let t=n.length-1;t>=0;t--){if(i.size){let e=n[t].type.contentMatch.matchFragment(i);if(!e||!e.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=r.FK.from(n[t].type.create(n[t].attrs,i))}let o=e.start,s=e.end;t.step(new b(o,s,o,s,new r.Ji(i,0,0),n.length,!0))}(this,t,e),this}setBlockType(t,e=t,n,i=null){return function(t,e,n,i,o){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let s=t.steps.length;t.doc.nodesBetween(e,n,((e,n)=>{if(e.isTextblock&&!e.hasMarkup(i,o)&&function(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}(t.doc,t.mapping.slice(s).map(n),i)){let a=null;if(i.schema.linebreakReplacement){let t="pre"==i.whitespace,e=!!i.contentMatch.matchType(i.schema.linebreakReplacement);t&&!e?a=!1:!t&&e&&(a=!0)}!1===a&&function(t,e,n,r){e.forEach(((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let i=t.mapping.slice(r).map(n+1+o);t.replaceWith(i,i+1,e.type.schema.text("\n"))}}))}(t,e,n,s),x(t,t.mapping.slice(s).map(n,1),i,void 0,null===a);let l=t.mapping.slice(s),c=l.map(n,1),u=l.map(n+e.nodeSize,1);return t.step(new b(c,u,c+1,u-1,new r.Ji(r.FK.from(i.create(o,null,e.marks)),0,0),1,!0)),!0===a&&function(t,e,n,r){e.forEach(((i,o)=>{if(i.isText){let s,a=/\r?\n|\r/g;for(;s=a.exec(i.text);){let i=t.mapping.slice(r).map(n+1+o+s.index);t.replaceWith(i,i+1,e.type.schema.linebreakReplacement.create())}}}))}(t,e,n,s),!1}}))}(this,t,e,n,i),this}setNodeMarkup(t,e,n=null,i){return function(t,e,n,i,o){let s=t.doc.nodeAt(e);if(!s)throw new RangeError("No node at given position");n||(n=s.type);let a=n.create(i,null,o||s.marks);if(s.isLeaf)return t.replaceWith(e,e+s.nodeSize,a);if(!n.validContent(s.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new b(e,e+s.nodeSize,e+1,e+s.nodeSize-1,new r.Ji(r.FK.from(a),0,0),1,!0))}(this,t,e,n,i),this}setNodeAttribute(t,e,n){return this.step(new F(t,e,n)),this}setDocAttribute(t,e){return this.step(new z(t,e)),this}addNodeMark(t,e){return this.step(new m(t,e)),this}removeNodeMark(t,e){if(!(e instanceof r.CU)){let n=this.doc.nodeAt(t);if(!n)throw new RangeError("No node at position "+t);if(!(e=e.isInSet(n.marks)))return this}return this.step(new g(t,e)),this}split(t,e=1,n){return function(t,e,n=1,i){let o=t.doc.resolve(e),s=r.FK.empty,a=r.FK.empty;for(let t=o.depth,e=o.depth-n,l=n-1;t>e;t--,l--){s=r.FK.from(o.node(t).copy(s));let e=i&&i[l];a=r.FK.from(e?e.type.create(e.attrs,a):o.node(t).copy(a))}t.step(new v(e,e,new r.Ji(s.append(a),n,n),!0))}(this,t,e,n),this}addMark(t,e,n){return function(t,e,n,r){let i,o,s=[],a=[];t.doc.nodesBetween(e,n,((t,l,c)=>{if(!t.isInline)return;let u=t.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){let c=Math.max(l,e),d=Math.min(l+t.nodeSize,n),h=r.addToSet(u);for(let t=0;t<u.length;t++)u[t].isInSet(h)||(i&&i.to==c&&i.mark.eq(u[t])?i.to=d:s.push(i=new p(c,d,u[t])));o&&o.to==c?o.to=d:a.push(o=new f(c,d,r))}})),s.forEach((e=>t.step(e))),a.forEach((e=>t.step(e)))}(this,t,e,n),this}removeMark(t,e,n){return function(t,e,n,i){let o=[],s=0;t.doc.nodesBetween(e,n,((t,a)=>{if(!t.isInline)return;s++;let l=null;if(i instanceof r.sX){let e,n=t.marks;for(;e=i.isInSet(n);)(l||(l=[])).push(e),n=e.removeFromSet(n)}else i?i.isInSet(t.marks)&&(l=[i]):l=t.marks;if(l&&l.length){let r=Math.min(a+t.nodeSize,n);for(let t=0;t<l.length;t++){let n,i=l[t];for(let t=0;t<o.length;t++){let e=o[t];e.step==s-1&&i.eq(o[t].style)&&(n=e)}n?(n.to=r,n.step=s):o.push({style:i,from:Math.max(a,e),to:r,step:s})}}})),o.forEach((e=>t.step(new p(e.from,e.to,e.style))))}(this,t,e,n),this}clearIncompatible(t,e,n){return x(this,t,e,n),this}}},41775:(t,e,n)=>{"use strict";n.d(e,{Lz:()=>pn,NZ:()=>Fe,zF:()=>Ye});var r=n(34149),i=n(18932),o=n(74094);const s=function(t){for(var e=0;;e++)if(!(t=t.previousSibling))return e},a=function(t){let e=t.assignedSlot||t.parentNode;return e&&11==e.nodeType?e.host:e};let l=null;const c=function(t,e,n){let r=l||(l=document.createRange());return r.setEnd(t,null==n?t.nodeValue.length:n),r.setStart(t,e||0),r},u=function(t,e,n,r){return n&&(h(t,e,n,r,-1)||h(t,e,n,r,1))},d=/^(img|br|input|textarea|hr)$/i;function h(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:f(t))){let n=t.parentNode;if(!n||1!=n.nodeType||p(t)||d.test(t.nodeName)||"false"==t.contentEditable)return!1;e=s(t)+(i<0?0:1),t=n}else{if(1!=t.nodeType)return!1;if("false"==(t=t.childNodes[e+(i<0?-1:0)]).contentEditable)return!1;e=i<0?f(t):0}}}function f(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function p(t){let e;for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}const m=function(t){return t.focusNode&&u(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function g(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}const v="undefined"!=typeof navigator?navigator:null,b="undefined"!=typeof document?document:null,y=v&&v.userAgent||"",x=/Edge\/(\d+)/.exec(y),w=/MSIE \d/.exec(y),k=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(y),_=!!(w||k||x),S=w?document.documentMode:k?+k[1]:x?+x[1]:0,O=!_&&/gecko\/(\d+)/i.test(y);O&&(/Firefox\/(\d+)/.exec(y)||[0,0])[1];const M=!_&&/Chrome\/(\d+)/.exec(y),C=!!M,A=M?+M[1]:0,T=!_&&!!v&&/Apple Computer/.test(v.vendor),E=T&&(/Mobile\/\w+/.test(y)||!!v&&v.maxTouchPoints>2),D=E||!!v&&/Mac/.test(v.platform),P=!!v&&/Win/.test(v.platform),j=/Android \d/.test(y),L=!!b&&"webkitFontSmoothing"in b.documentElement.style,I=L?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function N(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function R(t,e){return"number"==typeof t?t:t[e]}function $(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function B(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument;for(let s=n||t.dom;s;s=a(s)){if(1!=s.nodeType)continue;let t=s,n=t==o.body,a=n?N(o):$(t),l=0,c=0;if(e.top<a.top+R(r,"top")?c=-(a.top-e.top+R(i,"top")):e.bottom>a.bottom-R(r,"bottom")&&(c=e.bottom-e.top>a.bottom-a.top?e.top+R(i,"top")-a.top:e.bottom-a.bottom+R(i,"bottom")),e.left<a.left+R(r,"left")?l=-(a.left-e.left+R(i,"left")):e.right>a.right-R(r,"right")&&(l=e.right-a.right+R(i,"right")),l||c)if(n)o.defaultView.scrollBy(l,c);else{let n=t.scrollLeft,r=t.scrollTop;c&&(t.scrollTop+=c),l&&(t.scrollLeft+=l);let i=t.scrollLeft-n,o=t.scrollTop-r;e={left:e.left-i,top:e.top-o,right:e.right-i,bottom:e.bottom-o}}if(n||/^(fixed|sticky)$/.test(getComputedStyle(s).position))break}}function F(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=a(r));return e}function z(t,e){for(let n=0;n<t.length;n++){let{dom:r,top:i,left:o}=t[n];r.scrollTop!=i+e&&(r.scrollTop=i+e),r.scrollLeft!=o&&(r.scrollLeft=o)}}let H=null;function Y(t,e){let n,r,i,o,s=2e8,a=0,l=e.top,u=e.top;for(let d=t.firstChild,h=0;d;d=d.nextSibling,h++){let t;if(1==d.nodeType)t=d.getClientRects();else{if(3!=d.nodeType)continue;t=c(d).getClientRects()}for(let c=0;c<t.length;c++){let f=t[c];if(f.top<=l&&f.bottom>=u){l=Math.max(f.bottom,l),u=Math.min(f.top,u);let t=f.left>e.left?f.left-e.left:f.right<e.left?e.left-f.right:0;if(t<s){n=d,s=t,r=t&&3==n.nodeType?{left:f.right<e.left?f.right:f.left,top:e.top}:e,1==d.nodeType&&t&&(a=h+(e.left>=(f.left+f.right)/2?1:0));continue}}else f.top>e.top&&!i&&f.left<=e.left&&f.right>=e.left&&(i=d,o={left:Math.max(f.left,Math.min(f.right,e.left)),top:f.top});!n&&(e.left>=f.right&&e.top>=f.top||e.left>=f.left&&e.top>=f.bottom)&&(a=h+1)}}return!n&&i&&(n=i,r=o,s=0),n&&3==n.nodeType?function(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i<n;i++){r.setEnd(t,i+1),r.setStart(t,i);let n=X(r,1);if(n.top!=n.bottom&&W(e,n))return{node:t,offset:i+(e.left>=(n.left+n.right)/2?1:0)}}return{node:t,offset:0}}(n,r):!n||s&&1==n.nodeType?{node:t,offset:a}:Y(n,r)}function W(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function V(t,e,n){let r=t.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(e.top-n.top)/(n.bottom-n.top))-2)),o=i;;){let n=t.childNodes[o];if(1==n.nodeType){let t=n.getClientRects();for(let r=0;r<t.length;r++){let i=t[r];if(W(e,i))return V(n,e,i)}}if((o=(o+1)%r)==i)break}return t}function U(t,e){let n,r=t.dom.ownerDocument,i=0,o=function(t,e,n){if(t.caretPositionFromPoint)try{let r=t.caretPositionFromPoint(e,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch(t){}if(t.caretRangeFromPoint){let r=t.caretRangeFromPoint(e,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}(r,e.left,e.top);o&&({node:n,offset:i}=o);let s,l=(t.root.elementFromPoint?t.root:r).elementFromPoint(e.left,e.top);if(!l||!t.dom.contains(1!=l.nodeType?l.parentNode:l)){let n=t.dom.getBoundingClientRect();if(!W(e,n))return null;if(l=V(t.dom,e,n),!l)return null}if(T)for(let t=l;n&&t;t=a(t))t.draggable&&(n=void 0);if(l=function(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left<t.getBoundingClientRect().left?n:t}(l,e),n){if(O&&1==n.nodeType&&(i=Math.min(i,n.childNodes.length),i<n.childNodes.length)){let t,r=n.childNodes[i];"IMG"==r.nodeName&&(t=r.getBoundingClientRect()).right<=e.left&&t.bottom>e.top&&i++}let r;L&&i&&1==n.nodeType&&1==(r=n.childNodes[i-1]).nodeType&&"false"==r.contentEditable&&r.getBoundingClientRect().top>=e.top&&i--,n==t.dom&&i==n.childNodes.length-1&&1==n.lastChild.nodeType&&e.top>n.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:0!=i&&1==n.nodeType&&"BR"==n.childNodes[i-1].nodeName||(s=function(t,e,n,r){let i=-1;for(let n=e,o=!1;n!=t.dom;){let e=t.docView.nearestDesc(n,!0);if(!e)return null;if(1==e.dom.nodeType&&(e.node.isBlock&&e.parent&&!o||!e.contentDOM)){let t=e.dom.getBoundingClientRect();if(e.node.isBlock&&e.parent&&!o&&(o=!0,t.left>r.left||t.top>r.top?i=e.posBefore:(t.right<r.left||t.bottom<r.top)&&(i=e.posAfter)),!e.contentDOM&&i<0&&!e.node.isText)return(e.node.isBlock?r.top<(t.top+t.bottom)/2:r.left<(t.left+t.right)/2)?e.posBefore:e.posAfter}n=e.dom.parentNode}return i>-1?i:t.docView.posFromDOM(e,n,-1)}(t,n,i,e))}null==s&&(s=function(t,e,n){let{node:r,offset:i}=Y(e,n),o=-1;if(1==r.nodeType&&!r.firstChild){let t=r.getBoundingClientRect();o=t.left!=t.right&&n.left>(t.left+t.right)/2?1:-1}return t.docView.posFromDOM(r,i,o)}(t,l,e));let c=t.docView.nearestDesc(l,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function G(t){return t.top<t.bottom||t.left<t.right}function X(t,e){let n=t.getClientRects();if(n.length){let t=n[e<0?0:n.length-1];if(G(t))return t}return Array.prototype.find.call(n,G)||t.getBoundingClientRect()}const q=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function K(t,e,n){let{node:r,offset:i,atom:o}=t.docView.domFromPos(e,n<0?-1:1),s=L||O;if(3==r.nodeType){if(!s||!q.test(r.nodeValue)&&(n<0?i:i!=r.nodeValue.length)){let t=i,e=i,o=n<0?1:-1;return n<0&&!i?(e++,o=-1):n>=0&&i==r.nodeValue.length?(t--,o=1):n<0?t--:e++,J(X(c(r,t,e),o),o<0)}{let t=X(c(r,i,i),n);if(O&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let e=X(c(r,i-1,i-1),-1);if(e.top==t.top){let n=X(c(r,i,i+1),-1);if(n.top!=t.top)return J(n,n.left<e.left)}}return t}}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(null==o&&i&&(n<0||i==f(r))){let t=r.childNodes[i-1];if(1==t.nodeType)return Z(t.getBoundingClientRect(),!1)}if(null==o&&i<f(r)){let t=r.childNodes[i];if(1==t.nodeType)return Z(t.getBoundingClientRect(),!0)}return Z(r.getBoundingClientRect(),n>=0)}if(null==o&&i&&(n<0||i==f(r))){let t=r.childNodes[i-1],e=3==t.nodeType?c(t,f(t)-(s?0:1)):1!=t.nodeType||"BR"==t.nodeName&&t.nextSibling?null:t;if(e)return J(X(e,1),!1)}if(null==o&&i<f(r)){let t=r.childNodes[i];for(;t.pmViewDesc&&t.pmViewDesc.ignoreForCoords;)t=t.nextSibling;let e=t?3==t.nodeType?c(t,0,s?0:1):1==t.nodeType?t:null:null;if(e)return J(X(e,-1),!0)}return J(X(3==r.nodeType?c(r):r,-n),n>=0)}function J(t,e){if(0==t.width)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function Z(t,e){if(0==t.height)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function Q(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}const tt=/[\u0590-\u08ac]/;let et=null,nt=null,rt=!1;function it(t,e,n){return et==e&&nt==n?rt:(et=e,nt=n,rt="up"==n||"down"==n?function(t,e,n){let r=e.selection,i="up"==n?r.$from:r.$to;return Q(t,e,(()=>{let{node:e}=t.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=t.docView.nearestDesc(e,!0);if(!n)break;if(n.node.isBlock){e=n.contentDOM||n.dom;break}e=n.dom.parentNode}let r=K(t,i.pos,1);for(let t=e.firstChild;t;t=t.nextSibling){let e;if(1==t.nodeType)e=t.getClientRects();else{if(3!=t.nodeType)continue;e=c(t,0,t.nodeValue.length).getClientRects()}for(let t=0;t<e.length;t++){let i=e[t];if(i.bottom>i.top+1&&("up"==n?r.top-i.top>2*(i.bottom-r.top):i.bottom-r.bottom>2*(r.bottom-i.top)))return!1}}return!0}))}(t,e,n):function(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,s=i==r.parent.content.size,a=t.domSelection();return tt.test(r.parent.textContent)&&a.modify?Q(t,e,(()=>{let{focusNode:e,focusOffset:i,anchorNode:o,anchorOffset:s}=t.domSelectionRange(),l=a.caretBidiLevel;a.modify("move",n,"character");let c=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:u,focusOffset:d}=t.domSelectionRange(),h=u&&!c.contains(1==u.nodeType?u:u.parentNode)||e==u&&i==d;try{a.collapse(o,s),e&&(e!=o||i!=s)&&a.extend&&a.extend(e,i)}catch(t){}return null!=l&&(a.caretBidiLevel=l),h})):"left"==n||"backward"==n?o:s}(t,e,n))}class ot{constructor(t,e,n,r){this.parent=t,this.children=e,this.dom=n,this.contentDOM=r,this.dirty=0,n.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,e,n){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let e=0;e<this.children.length;e++)t+=this.children[e].size;return t}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let t=0;t<this.children.length;t++)this.children[t].destroy()}posBeforeChild(t){for(let e=0,n=this.posAtStart;;e++){let r=this.children[e];if(r==t)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(t,e,n){if(this.contentDOM&&this.contentDOM.contains(1==t.nodeType?t:t.parentNode)){if(n<0){let n,r;if(t==this.contentDOM)n=t.childNodes[e-1];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;n=t.previousSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(t==this.contentDOM)n=t.childNodes[e];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;n=t.nextSibling}for(;n&&(!(r=n.pmViewDesc)||r.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(t==this.dom&&this.contentDOM)r=e>s(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&t.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==e)for(let e=t;;e=e.parentNode){if(e==this.dom){r=!1;break}if(e.previousSibling)break}if(null==r&&e==t.childNodes.length)for(let e=t;;e=e.parentNode){if(e==this.dom){r=!0;break}if(e.nextSibling)break}}return(null==r?n>0:r)?this.posAtEnd:this.posAtStart}nearestDesc(t,e=!1){for(let n=!0,r=t;r;r=r.parentNode){let i,o=this.getDesc(r);if(o&&(!e||o.node)){if(!n||!(i=o.nodeDOM)||(1==i.nodeType?i.contains(1==t.nodeType?t:t.parentNode):i==t))return o;n=!1}}}getDesc(t){let e=t.pmViewDesc;for(let t=e;t;t=t.parent)if(t==this)return e}posFromDOM(t,e,n){for(let r=t;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(t,e,n)}return-1}descAt(t){for(let e=0,n=0;e<this.children.length;e++){let r=this.children[e],i=n+r.size;if(n==t&&i!=n){for(;!r.border&&r.children.length;)r=r.children[0];return r}if(t<i)return r.descAt(t-n-r.border);n=i}}domFromPos(t,e){if(!this.contentDOM)return{node:this.dom,offset:0,atom:t+1};let n=0,r=0;for(let e=0;n<this.children.length;n++){let i=this.children[n],o=e+i.size;if(o>t||i instanceof ht){r=t-e;break}e=o}if(r)return this.children[n].domFromPos(r-this.children[n].border,e);for(let t;n&&!(t=this.children[n-1]).size&&t instanceof st&&t.side>=0;n--);if(e<=0){let t,r=!0;for(;t=n?this.children[n-1]:null,t&&t.dom.parentNode!=this.contentDOM;n--,r=!1);return t&&e&&r&&!t.border&&!t.domAtom?t.domFromPos(t.size,e):{node:this.contentDOM,offset:t?s(t.dom)+1:0}}{let t,r=!0;for(;t=n<this.children.length?this.children[n]:null,t&&t.dom.parentNode!=this.contentDOM;n++,r=!1);return t&&r&&!t.border&&!t.domAtom?t.domFromPos(0,e):{node:this.contentDOM,offset:t?s(t.dom):this.contentDOM.childNodes.length}}}parseRange(t,e,n=0){if(0==this.children.length)return{node:this.contentDOM,from:t,to:e,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let o=n,a=0;;a++){let n=this.children[a],l=o+n.size;if(-1==r&&t<=l){let i=o+n.border;if(t>=i&&e<=l-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(t,e,i);t=o;for(let e=a;e>0;e--){let n=this.children[e-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=s(n.dom)+1;break}t-=n.size}-1==r&&(r=0)}if(r>-1&&(l>e||a==this.children.length-1)){e=l;for(let t=a+1;t<this.children.length;t++){let n=this.children[t];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=s(n.dom);break}e+=n.size}-1==i&&(i=this.contentDOM.childNodes.length);break}o=l}return{node:this.contentDOM,from:t,to:e,fromOffset:r,toOffset:i}}emptyChildAt(t){if(this.border||!this.contentDOM||!this.children.length)return!1;let e=this.children[t<0?0:this.children.length-1];return 0==e.size||e.emptyChildAt(t)}domAfterPos(t){let{node:e,offset:n}=this.domFromPos(t,0);if(1!=e.nodeType||n==e.childNodes.length)throw new RangeError("No node after pos "+t);return e.childNodes[n]}setSelection(t,e,n,r=!1){let i=Math.min(t,e),o=Math.max(t,e);for(let s=0,a=0;s<this.children.length;s++){let l=this.children[s],c=a+l.size;if(i>a&&o<c)return l.setSelection(t-a-l.border,e-a-l.border,n,r);a=c}let a=this.domFromPos(t,t?-1:1),l=e==t?a:this.domFromPos(e,e?-1:1),c=n.getSelection(),d=!1;if((O||T)&&t==e){let{node:t,offset:e}=a;if(3==t.nodeType){if(d=!(!e||"\n"!=t.nodeValue[e-1]),d&&e==t.nodeValue.length)for(let e,n=t;n;n=n.parentNode){if(e=n.nextSibling){"BR"==e.nodeName&&(a=l={node:e.parentNode,offset:s(e)+1});break}let t=n.pmViewDesc;if(t&&t.node&&t.node.isBlock)break}}else{let n=t.childNodes[e-1];d=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(O&&c.focusNode&&c.focusNode!=l.node&&1==c.focusNode.nodeType){let t=c.focusNode.childNodes[c.focusOffset];t&&"false"==t.contentEditable&&(r=!0)}if(!(r||d&&T)&&u(a.node,a.offset,c.anchorNode,c.anchorOffset)&&u(l.node,l.offset,c.focusNode,c.focusOffset))return;let h=!1;if((c.extend||t==e)&&!d){c.collapse(a.node,a.offset);try{t!=e&&c.extend(l.node,l.offset),h=!0}catch(t){}}if(!h){if(t>e){let t=a;a=l,l=t}let n=document.createRange();n.setEnd(l.node,l.offset),n.setStart(a.node,a.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(t){return!this.contentDOM&&"selection"!=t.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,e){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],o=n+i.size;if(n==o?t<=o&&e>=n:t<o&&e>n){let r=n+i.border,s=o-i.border;if(t>=r&&e<=s)return this.dirty=t==n||e==o?2:1,void(t!=r||e!=s||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(t-r,e-r):i.dirty=3);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?3:2}n=o}this.dirty=2}markParentsDirty(){let t=1;for(let e=this.parent;e;e=e.parent,t++){let n=1==t?2:1;e.dirty<n&&(e.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(t){return!1}}class st extends ot{constructor(t,e,n,r){let i,o=e.type.toDOM;if("function"==typeof o&&(o=o(n,(()=>i?i.parent?i.parent.posBeforeChild(i):void 0:r))),!e.type.spec.raw){if(1!=o.nodeType){let t=document.createElement("span");t.appendChild(o),o=t}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(t,[],o,null),this.widget=e,this.widget=e,i=this}matchesWidget(t){return 0==this.dirty&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let e=this.widget.spec.stopEvent;return!!e&&e(t)}ignoreMutation(t){return"selection"!=t.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class at extends ot{constructor(t,e,n,r){super(t,[],e,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(t,e){return t!=this.textDOM?this.posAtStart+(e?this.size:0):this.posAtStart+e}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return"characterData"===t.type&&t.target.nodeValue==t.oldValue}}class lt extends ot{constructor(t,e,n,r){super(t,[],n,r),this.mark=e}static create(t,e,n,r){let o=r.nodeViews[e.type.name],s=o&&o(e,r,n);return s&&s.dom||(s=i.ZF.renderSpec(document,e.type.spec.toDOM(e,n))),new lt(t,e,s.dom,s.contentDOM||s.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return 3!=this.dirty&&this.mark.eq(t)}markDirty(t,e){if(super.markDirty(t,e),0!=this.dirty){let t=this.parent;for(;!t.node;)t=t.parent;t.dirty<this.dirty&&(t.dirty=this.dirty),this.dirty=0}}slice(t,e,n){let r=lt.create(this.parent,this.mark,!0,n),i=this.children,o=this.size;e<o&&(i=Ot(i,e,o,n)),t>0&&(i=Ot(i,0,t,n));for(let t=0;t<i.length;t++)i[t].parent=r;return r.children=i,r}}class ct extends ot{constructor(t,e,n,r,i,o,s,a,l){super(t,[],i,o),this.node=e,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=s}static create(t,e,n,r,o,s){let a,l=o.nodeViews[e.type.name],c=l&&l(e,o,(()=>a?a.parent?a.parent.posBeforeChild(a):void 0:s),n,r),u=c&&c.dom,d=c&&c.contentDOM;if(e.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(e.text);else u||({dom:u,contentDOM:d}=i.ZF.renderSpec(document,e.type.spec.toDOM(e)));d||e.isText||"BR"==u.nodeName||(u.hasAttribute("contenteditable")||(u.contentEditable="false"),e.type.spec.draggable&&(u.draggable=!0));let h=u;return u=xt(u,n,e),c?a=new ft(t,e,n,r,u,d||null,h,c,o,s+1):e.isText?new dt(t,e,n,r,u,h,o):new ct(t,e,n,r,u,d||null,h,o,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let e=this.children.length-1;e>=0;e--){let n=this.children[e];if(this.dom.contains(n.dom.parentNode)){t.contentElement=n.dom.parentNode;break}}t.contentElement||(t.getContent=()=>i.FK.empty)}else t.contentElement=this.contentDOM;else t.getContent=()=>this.node.content;return t}matchesNode(t,e,n){return 0==this.dirty&&t.eq(this.node)&&wt(e,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,e){let n=this.node.inlineContent,r=e,o=t.composing?this.localCompositionInfo(t,e):null,s=o&&o.pos>-1?o:null,a=o&&o.pos<0,l=new _t(this,s&&s.node,t);!function(t,e,n,r){let i=e.locals(t),o=0;if(0==i.length){for(let n=0;n<t.childCount;n++){let s=t.child(n);r(s,i,e.forChild(o,s),n),o+=s.nodeSize}return}let s=0,a=[],l=null;for(let c=0;;){let u,d,h,f;for(;s<i.length&&i[s].to==o;){let t=i[s++];t.widget&&(u?(d||(d=[u])).push(t):u=t)}if(u)if(d){d.sort(St);for(let t=0;t<d.length;t++)n(d[t],c,!!l)}else n(u,c,!!l);if(l)f=-1,h=l,l=null;else{if(!(c<t.childCount))break;f=c,h=t.child(c++)}for(let t=0;t<a.length;t++)a[t].to<=o&&a.splice(t--,1);for(;s<i.length&&i[s].from<=o&&i[s].to>o;)a.push(i[s++]);let p=o+h.nodeSize;if(h.isText){let t=p;s<i.length&&i[s].from<t&&(t=i[s].from);for(let e=0;e<a.length;e++)a[e].to<t&&(t=a[e].to);t<p&&(l=h.cut(t-o),h=h.cut(0,t-o),p=t,f=-1)}else for(;s<i.length&&i[s].to<p;)s++;r(h,h.isInline&&!h.isLeaf?a.filter((t=>!t.inline)):a.slice(),e.forChild(o,h),f),o=p}}(this.node,this.innerDeco,((e,o,s)=>{e.spec.marks?l.syncToMarks(e.spec.marks,n,t):e.type.side>=0&&!s&&l.syncToMarks(o==this.node.childCount?i.CU.none:this.node.child(o).marks,n,t),l.placeWidget(e,t,r)}),((e,i,s,c)=>{let u;l.syncToMarks(e.marks,n,t),l.findNodeMatch(e,i,s,c)||a&&t.state.selection.from>r&&t.state.selection.to<r+e.nodeSize&&(u=l.findIndexWithChild(o.node))>-1&&l.updateNodeAt(e,i,s,u,t)||l.updateNextNode(e,i,s,t,c,r)||l.addNode(e,i,s,t,r),r+=e.nodeSize})),l.syncToMarks([],n,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(s&&this.protectLocalComposition(t,s),pt(this.contentDOM,this.children,t),E&&function(t){if("UL"==t.nodeName||"OL"==t.nodeName){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}(this.dom))}localCompositionInfo(t,e){let{from:n,to:i}=t.state.selection;if(!(t.state.selection instanceof r.U3)||n<e||i>e+this.node.content.size)return null;let o=t.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let t=o.nodeValue,r=function(t,e,n,r){for(let i=0,o=0;i<t.childCount&&o<=r;){let s=t.child(i++),a=o;if(o+=s.nodeSize,!s.isText)continue;let l=s.text;for(;i<t.childCount;){let e=t.child(i++);if(o+=e.nodeSize,!e.isText)break;l+=e.text}if(o>=n){if(o>=r&&l.slice(r-e.length-a,r-a)==e)return r-e.length;let t=a<r?l.lastIndexOf(e,r-a-1):-1;if(t>=0&&t+e.length+a>=n)return a+t;if(n==r&&l.length>=r+e.length-a&&l.slice(r-a,r-a+e.length)==e)return r}}return-1}(this.node.content,t,n-e,i-e);return r<0?null:{node:o,pos:r,text:t}}return{node:o,pos:-1,text:""}}protectLocalComposition(t,{node:e,pos:n,text:r}){if(this.getDesc(e))return;let i=e;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let o=new at(this,i,e,r);t.input.compositionNodes.push(o),this.children=Ot(this.children,n,n+r.length,t,o)}update(t,e,n,r){return!(3==this.dirty||!t.sameMarkup(this.node))&&(this.updateInner(t,e,n,r),!0)}updateInner(t,e,n,r){this.updateOuterDeco(e),this.node=t,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(t){if(wt(t,this.outerDeco))return;let e=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=bt(this.dom,this.nodeDOM,vt(this.outerDeco,this.node,e),vt(t,this.node,e)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function ut(t,e,n,r,i){xt(r,e,t);let o=new ct(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class dt extends ct{constructor(t,e,n,r,i,o,s){super(t,e,n,r,i,null,o,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,e,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!t.sameMarkup(this.node))&&(this.updateOuterDeco(e),0==this.dirty&&t.text==this.node.text||t.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=t.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=t,this.dirty=0,!0)}inParent(){let t=this.parent.contentDOM;for(let e=this.nodeDOM;e;e=e.parentNode)if(e==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,e,n){return t==this.nodeDOM?this.posAtStart+Math.min(e,this.node.text.length):super.localPosFromDOM(t,e,n)}ignoreMutation(t){return"characterData"!=t.type&&"selection"!=t.type}slice(t,e,n){let r=this.node.cut(t,e),i=document.createTextNode(r.text);return new dt(this.parent,r,this.outerDeco,this.innerDeco,i,i,n)}markDirty(t,e){super.markDirty(t,e),this.dom==this.nodeDOM||0!=t&&e!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(t){return this.node.text==t}}class ht extends ot{parseRule(){return{ignore:!0}}matchesHack(t){return 0==this.dirty&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class ft extends ct{constructor(t,e,n,r,i,o,s,a,l,c){super(t,e,n,r,i,o,s,l,c),this.spec=a}update(t,e,n,r){if(3==this.dirty)return!1;if(this.spec.update){let i=this.spec.update(t,e,n);return i&&this.updateInner(t,e,n,r),i}return!(!this.contentDOM&&!t.isLeaf)&&super.update(t,e,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,e,n,r){this.spec.setSelection?this.spec.setSelection(t,e,n):super.setSelection(t,e,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return!!this.spec.stopEvent&&this.spec.stopEvent(t)}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function pt(t,e,n){let r=t.firstChild,i=!1;for(let o=0;o<e.length;o++){let s=e[o],a=s.dom;if(a.parentNode==t){for(;a!=r;)r=kt(r),i=!0;r=r.nextSibling}else i=!0,t.insertBefore(a,r);if(s instanceof lt){let e=r?r.previousSibling:t.lastChild;pt(s.contentDOM,s.children,n),r=e?e.nextSibling:t.firstChild}}for(;r;)r=kt(r),i=!0;i&&n.trackWrites==t&&(n.trackWrites=null)}const mt=function(t){t&&(this.nodeName=t)};mt.prototype=Object.create(null);const gt=[new mt];function vt(t,e,n){if(0==t.length)return gt;let r=n?gt[0]:new mt,i=[r];for(let o=0;o<t.length;o++){let s=t[o].type.attrs;if(s){s.nodeName&&i.push(r=new mt(s.nodeName));for(let t in s){let o=s[t];null!=o&&(n&&1==i.length&&i.push(r=new mt(e.isInline?"span":"div")),"class"==t?r.class=(r.class?r.class+" ":"")+o:"style"==t?r.style=(r.style?r.style+";":"")+o:"nodeName"!=t&&(r[t]=o))}}}return i}function bt(t,e,n,r){if(n==gt&&r==gt)return e;let i=e;for(let e=0;e<r.length;e++){let o=r[e],s=n[e];if(e){let e;s&&s.nodeName==o.nodeName&&i!=t&&(e=i.parentNode)&&e.nodeName.toLowerCase()==o.nodeName||(e=document.createElement(o.nodeName),e.pmIsDeco=!0,e.appendChild(i),s=gt[0]),i=e}yt(i,s||gt[0],o)}return i}function yt(t,e,n){for(let r in e)"class"==r||"style"==r||"nodeName"==r||r in n||t.removeAttribute(r);for(let r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=e[r]&&t.setAttribute(r,n[r]);if(e.class!=n.class){let r=e.class?e.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let e=0;e<r.length;e++)-1==i.indexOf(r[e])&&t.classList.remove(r[e]);for(let e=0;e<i.length;e++)-1==r.indexOf(i[e])&&t.classList.add(i[e]);0==t.classList.length&&t.removeAttribute("class")}if(e.style!=n.style){if(e.style){let n,r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=r.exec(e.style);)t.style.removeProperty(n[1])}n.style&&(t.style.cssText+=n.style)}}function xt(t,e,n){return bt(t,t,gt,vt(e,n,1!=t.nodeType))}function wt(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].type.eq(e[n].type))return!1;return!0}function kt(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class _t{constructor(t,e,n){this.lock=e,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=function(t,e){let n=e,r=n.children.length,i=t.childCount,o=new Map,s=[];t:for(;i>0;){let a;for(;;)if(r){let t=n.children[r-1];if(!(t instanceof lt)){a=t,r--;break}n=t,r=t.children.length}else{if(n==e)break t;r=n.parent.children.indexOf(n),n=n.parent}let l=a.node;if(l){if(l!=t.child(i-1))break;--i,o.set(a,i),s.push(a)}}return{index:i,matched:o,matches:s.reverse()}}(t.node.content,t)}destroyBetween(t,e){if(t!=e){for(let n=t;n<e;n++)this.top.children[n].destroy();this.top.children.splice(t,e-t),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(t,e,n){let r=0,i=this.stack.length>>1,o=Math.min(i,t.length);for(;r<o&&(r==i-1?this.top:this.stack[r+1<<1]).matchesMark(t[r])&&!1!==t[r].type.spec.spanning;)r++;for(;r<i;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<t.length;){this.stack.push(this.top,this.index+1);let r=-1;for(let e=this.index;e<Math.min(this.index+3,this.top.children.length);e++){let n=this.top.children[e];if(n.matchesMark(t[i])&&!this.isLocked(n.dom)){r=e;break}}if(r>-1)r>this.index&&(this.changed=!0,this.destroyBetween(this.index,r)),this.top=this.top.children[this.index];else{let r=lt.create(this.top,t[i],e,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,i++}}findNodeMatch(t,e,n,r){let i,o=-1;if(r>=this.preMatch.index&&(i=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&i.matchesNode(t,e,n))o=this.top.children.indexOf(i,this.index);else for(let r=this.index,i=Math.min(this.top.children.length,r+5);r<i;r++){let i=this.top.children[r];if(i.matchesNode(t,e,n)&&!this.preMatch.matched.has(i)){o=r;break}}return!(o<0)&&(this.destroyBetween(this.index,o),this.index++,!0)}updateNodeAt(t,e,n,r,i){let o=this.top.children[r];return 3==o.dirty&&o.dom==o.contentDOM&&(o.dirty=2),!!o.update(t,e,n,i)&&(this.destroyBetween(this.index,r),this.index++,!0)}findIndexWithChild(t){for(;;){let e=t.parentNode;if(!e)return-1;if(e==this.top.contentDOM){let e=t.pmViewDesc;if(e)for(let t=this.index;t<this.top.children.length;t++)if(this.top.children[t]==e)return t;return-1}t=e}}updateNextNode(t,e,n,r,i,o){for(let s=this.index;s<this.top.children.length;s++){let a=this.top.children[s];if(a instanceof ct){let l=this.preMatch.matched.get(a);if(null!=l&&l!=i)return!1;let c,u=a.dom,d=this.isLocked(u)&&!(t.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==t.text&&3!=a.dirty&&wt(e,a.outerDeco));if(!d&&a.update(t,e,n,r))return this.destroyBetween(this.index,s),a.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(c=this.recreateWrapper(a,t,e,n,r,o)))return this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(r,o+1),c.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(t,e,n,r,i,o){if(t.dirty||e.isAtom||!t.children.length||!t.node.content.eq(e.content))return null;let s=ct.create(this.top,e,n,r,i,o);if(s.contentDOM){s.children=t.children,t.children=[];for(let t of s.children)t.parent=s}return t.destroy(),s}addNode(t,e,n,r,i){let o=ct.create(this.top,t,e,n,r,i);o.contentDOM&&o.updateChildren(r,i+1),this.top.children.splice(this.index++,0,o),this.changed=!0}placeWidget(t,e,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(t)||t!=r.widget&&r.widget.type.toDOM.parentNode){let r=new st(this.top,t,e,n);this.top.children.splice(this.index++,0,r),this.changed=!0}else this.index++}addTextblockHacks(){let t=this.top.children[this.index-1],e=this.top;for(;t instanceof lt;)e=t,t=e.children[e.children.length-1];(!t||!(t instanceof dt)||/\n$/.test(t.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(t.node.text))&&((T||C)&&t&&"false"==t.dom.contentEditable&&this.addHackNode("IMG",e),this.addHackNode("BR",this.top))}addHackNode(t,e){if(e==this.top&&this.index<e.children.length&&e.children[this.index].matchesHack(t))this.index++;else{let n=document.createElement(t);"IMG"==t&&(n.className="ProseMirror-separator",n.alt=""),"BR"==t&&(n.className="ProseMirror-trailingBreak");let r=new ht(this.top,[],n,null);e!=this.top?e.children.push(r):e.children.splice(this.index++,0,r),this.changed=!0}}isLocked(t){return this.lock&&(t==this.lock||1==t.nodeType&&t.contains(this.lock.parentNode))}}function St(t,e){return t.type.side-e.type.side}function Ot(t,e,n,r,i){let o=[];for(let s=0,a=0;s<t.length;s++){let l=t[s],c=a,u=a+=l.size;c>=n||u<=e?o.push(l):(c<e&&o.push(l.slice(0,e-c,r)),i&&(o.push(i),i=void 0),u>n&&o.push(l.slice(n-c,l.size,r)))}return o}function Mt(t,e=null){let n=t.domSelectionRange(),i=t.state.doc;if(!n.focusNode)return null;let o=t.docView.nearestDesc(n.focusNode),a=o&&0==o.size,l=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(l<0)return null;let c,u,d=i.resolve(l);if(m(n)){for(c=d;o&&!o.node;)o=o.parent;let t=o.node;if(o&&t.isAtom&&r.nh.isSelectable(t)&&o.parent&&(!t.isInline||!function(t,e,n){for(let r=0==e,i=e==f(t);r||i;){if(t==n)return!0;let e=s(t);if(!(t=t.parentNode))return!1;r=r&&0==e,i=i&&e==f(t)}}(n.focusNode,n.focusOffset,o.dom))){let t=o.posBefore;u=new r.nh(l==t?d:i.resolve(t))}}else{let e=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(e<0)return null;c=i.resolve(e)}if(!u){u=It(t,c,d,"pointer"==e||t.state.selection.head<d.pos&&!a?1:-1)}return u}function Ct(t){return t.editable?t.hasFocus():Rt(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function At(t,e=!1){let n=t.state.selection;if(jt(t,n),Ct(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&C){let e=t.domSelectionRange(),n=t.domObserver.currentSelection;if(e.anchorNode&&n.anchorNode&&u(e.anchorNode,e.anchorOffset,n.anchorNode,n.anchorOffset))return t.input.mouseDown.delayedSelectionSync=!0,void t.domObserver.setCurSelection()}if(t.domObserver.disconnectSelection(),t.cursorWrapper)!function(t){let e=t.domSelection(),n=document.createRange(),r=t.cursorWrapper.dom,i="IMG"==r.nodeName;i?n.setEnd(r.parentNode,s(r)+1):n.setEnd(r,0);n.collapse(!1),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&_&&S<=11&&(r.disabled=!0,r.disabled=!1)}(t);else{let i,o,{anchor:s,head:a}=n;!Tt||n instanceof r.U3||(n.$from.parent.inlineContent||(i=Et(t,n.from)),n.empty||n.$from.parent.inlineContent||(o=Et(t,n.to))),t.docView.setSelection(s,a,t.root,e),Tt&&(i&&Pt(i),o&&Pt(o)),n.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(t){let e=t.dom.ownerDocument;e.removeEventListener("selectionchange",t.input.hideSelectionGuard);let n=t.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;e.addEventListener("selectionchange",t.input.hideSelectionGuard=()=>{n.anchorNode==r&&n.anchorOffset==i||(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout((()=>{Ct(t)&&!t.state.selection.visible||t.dom.classList.remove("ProseMirror-hideselection")}),20))})}(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const Tt=T||C&&A<63;function Et(t,e){let{node:n,offset:r}=t.docView.domFromPos(e,0),i=r<n.childNodes.length?n.childNodes[r]:null,o=r?n.childNodes[r-1]:null;if(T&&i&&"false"==i.contentEditable)return Dt(i);if(!(i&&"false"!=i.contentEditable||o&&"false"!=o.contentEditable)){if(i)return Dt(i);if(o)return Dt(o)}}function Dt(t){return t.contentEditable="true",T&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function Pt(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function jt(t,e){if(e instanceof r.nh){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(Lt(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else Lt(t)}function Lt(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function It(t,e,n,i){return t.someProp("createSelectionBetween",(r=>r(t,e,n)))||r.U3.between(e,n,i)}function Nt(t){return!(t.editable&&!t.hasFocus())&&Rt(t)}function Rt(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(3==e.anchorNode.nodeType?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(3==e.focusNode.nodeType?e.focusNode.parentNode:e.focusNode))}catch(t){return!1}}function $t(t,e){let{$anchor:n,$head:i}=t.selection,o=e>0?n.max(i):n.min(i),s=o.parent.inlineContent?o.depth?t.doc.resolve(e>0?o.after():o.before()):null:o;return s&&r.LN.findFrom(s,e)}function Bt(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Ft(t,e,n){let i=t.state.selection;if(!(i instanceof r.U3)){if(i instanceof r.nh&&i.node.isInline)return Bt(t,new r.U3(e>0?i.$to:i.$from));{let n=$t(t.state,e);return!!n&&Bt(t,n)}}if(n.indexOf("s")>-1){let{$head:n}=i,o=n.textOffset?null:e<0?n.nodeBefore:n.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let s=t.state.doc.resolve(n.pos+o.nodeSize*(e<0?-1:1));return Bt(t,new r.U3(i.$anchor,s))}if(!i.empty)return!1;if(t.endOfTextblock(e>0?"forward":"backward")){let n=$t(t.state,e);return!!(n&&n instanceof r.nh)&&Bt(t,n)}if(!(D&&n.indexOf("m")>-1)){let n,o=i.$head,s=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter;if(!s||s.isText)return!1;let a=e<0?o.pos-s.nodeSize:o.pos;return!!(s.isAtom||(n=t.docView.descAt(a))&&!n.contentDOM)&&(r.nh.isSelectable(s)?Bt(t,new r.nh(e<0?t.state.doc.resolve(o.pos-s.nodeSize):o)):!!L&&Bt(t,new r.U3(t.state.doc.resolve(e<0?a:a+s.nodeSize))))}}function zt(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function Ht(t,e){let n=t.pmViewDesc;return n&&0==n.size&&(e<0||t.nextSibling||"BR"!=t.nodeName)}function Yt(t,e){return e<0?function(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;O&&1==n.nodeType&&r<zt(n)&&Ht(n.childNodes[r],-1)&&(a=!0);for(;;)if(r>0){if(1!=n.nodeType)break;{let t=n.childNodes[r-1];if(Ht(t,-1))i=n,o=--r;else{if(3!=t.nodeType)break;n=t,r=n.nodeValue.length}}}else{if(Wt(n))break;{let e=n.previousSibling;for(;e&&Ht(e,-1);)i=n.parentNode,o=s(e),e=e.previousSibling;if(e)n=e,r=zt(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?Vt(t,n,r):i&&Vt(t,i,o)}(t):function(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=zt(n);for(;;)if(r<a){if(1!=n.nodeType)break;if(!Ht(n.childNodes[r],1))break;i=n,o=++r}else{if(Wt(n))break;{let e=n.nextSibling;for(;e&&Ht(e,1);)i=e.parentNode,o=s(e)+1,e=e.nextSibling;if(e)n=e,r=0,a=zt(n);else{if(n=n.parentNode,n==t.dom)break;r=a=0}}}i&&Vt(t,i,o)}(t)}function Wt(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function Vt(t,e,n){if(3!=e.nodeType){let t,r;(r=function(t,e){for(;t&&e==t.childNodes.length&&!p(t);)e=s(t)+1,t=t.parentNode;for(;t&&e<t.childNodes.length;){let n=t.childNodes[e];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=n,e=0}}(e,n))?(e=r,n=0):(t=function(t,e){for(;t&&!e&&!p(t);)e=s(t),t=t.parentNode;for(;t&&e;){let n=t.childNodes[e-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=(t=n).childNodes.length}}(e,n))&&(e=t,n=t.nodeValue.length)}let r=t.domSelection();if(m(r)){let t=document.createRange();t.setEnd(e,n),t.setStart(e,n),r.removeAllRanges(),r.addRange(t)}else r.extend&&r.extend(e,n);t.domObserver.setCurSelection();let{state:i}=t;setTimeout((()=>{t.state==i&&At(t)}),50)}function Ut(t,e){let n=t.state.doc.resolve(e);if(!C&&!P&&n.parent.inlineContent){let r=t.coordsAtPos(e);if(e>n.start()){let n=t.coordsAtPos(e-1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?"ltr":"rtl"}if(e<n.end()){let n=t.coordsAtPos(e+1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(t.dom).direction?"rtl":"ltr"}function Gt(t,e,n){let i=t.state.selection;if(i instanceof r.U3&&!i.empty||n.indexOf("s")>-1)return!1;if(D&&n.indexOf("m")>-1)return!1;let{$from:o,$to:s}=i;if(!o.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let n=$t(t.state,e);if(n&&n instanceof r.nh)return Bt(t,n)}if(!o.parent.inlineContent){let n=e<0?o:s,a=i instanceof r.i5?r.LN.near(n,e):r.LN.findFrom(n,e);return!!a&&Bt(t,a)}return!1}function Xt(t,e){if(!(t.state.selection instanceof r.U3))return!0;let{$head:n,$anchor:i,empty:o}=t.state.selection;if(!n.sameParent(i))return!0;if(!o)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let s=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(s&&!s.isText){let r=t.state.tr;return e<0?r.delete(n.pos-s.nodeSize,n.pos):r.delete(n.pos,n.pos+s.nodeSize),t.dispatch(r),!0}return!1}function qt(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function Kt(t,e){let n=e.keyCode,r=function(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}(e);if(8==n||D&&72==n&&"c"==r)return Xt(t,-1)||Yt(t,-1);if(46==n&&!e.shiftKey||D&&68==n&&"c"==r)return Xt(t,1)||Yt(t,1);if(13==n||27==n)return!0;if(37==n||D&&66==n&&"c"==r){let e=37==n?"ltr"==Ut(t,t.state.selection.from)?-1:1:-1;return Ft(t,e,r)||Yt(t,e)}if(39==n||D&&70==n&&"c"==r){let e=39==n?"ltr"==Ut(t,t.state.selection.from)?1:-1:1;return Ft(t,e,r)||Yt(t,e)}return 38==n||D&&80==n&&"c"==r?Gt(t,-1,r)||Yt(t,-1):40==n||D&&78==n&&"c"==r?function(t){if(!T||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&1==e.nodeType&&0==n&&e.firstChild&&"false"==e.firstChild.contentEditable){let n=e.firstChild;qt(t,n,"true"),setTimeout((()=>qt(t,n,"false")),20)}return!1}(t)||Gt(t,1,r)||Yt(t,1):r==(D?"m":"c")&&(66==n||73==n||89==n||90==n)}function Jt(t,e){t.someProp("transformCopied",(n=>{e=n(e,t)}));let n=[],{content:r,openStart:o,openEnd:s}=e;for(;o>1&&s>1&&1==r.childCount&&1==r.firstChild.childCount;){o--,s--;let t=r.firstChild;n.push(t.type.name,t.attrs!=t.type.defaultAttrs?t.attrs:null),r=t.content}let a=t.someProp("clipboardSerializer")||i.ZF.fromSchema(t.state.schema),l=ae(),c=l.createElement("div");c.appendChild(a.serializeFragment(r,{document:l}));let u,d=c.firstChild,h=0;for(;d&&1==d.nodeType&&(u=oe[d.nodeName.toLowerCase()]);){for(let t=u.length-1;t>=0;t--){let e=l.createElement(u[t]);for(;c.firstChild;)e.appendChild(c.firstChild);c.appendChild(e),h++}d=c.firstChild}return d&&1==d.nodeType&&d.setAttribute("data-pm-slice",`${o} ${s}${h?` -${h}`:""} ${JSON.stringify(n)}`),{dom:c,text:t.someProp("clipboardTextSerializer",(n=>n(e,t)))||e.content.textBetween(0,e.content.size,"\n\n"),slice:e}}function Zt(t,e,n,r,o){let s,a,l=o.parent.type.spec.code;if(!n&&!e)return null;let c=e&&(r||l||!n);if(c){if(t.someProp("transformPastedText",(n=>{e=n(e,l||r,t)})),l)return e?new i.Ji(i.FK.from(t.state.schema.text(e.replace(/\r\n?/g,"\n"))),0,0):i.Ji.empty;let n=t.someProp("clipboardTextParser",(n=>n(e,o,r,t)));if(n)a=n;else{let n=o.marks(),{schema:r}=t.state,a=i.ZF.fromSchema(r);s=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach((t=>{let e=s.appendChild(document.createElement("p"));t&&e.appendChild(a.serializeNode(r.text(t,n)))}))}}else t.someProp("transformPastedHTML",(e=>{n=e(n,t)})),s=function(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n,r=ae().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(t);(n=i&&oe[i[1].toLowerCase()])&&(t=n.map((t=>"<"+t+">")).join("")+t+n.map((t=>"</"+t+">")).reverse().join(""));if(r.innerHTML=t,n)for(let t=0;t<n.length;t++)r=r.querySelector(n[t])||r;return r}(n),L&&function(t){let e=t.querySelectorAll(C?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<e.length;n++){let r=e[n];1==r.childNodes.length&&" "==r.textContent&&r.parentNode&&r.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),r)}}(s);let u=s&&s.querySelector("[data-pm-slice]"),d=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let t=+d[3];t>0;t--){let t=s.firstChild;for(;t&&1!=t.nodeType;)t=t.nextSibling;if(!t)break;s=t}if(!a){let e=t.someProp("clipboardParser")||t.someProp("domParser")||i.S4.fromSchema(t.state.schema);a=e.parseSlice(s,{preserveWhitespace:!(!c&&!d),context:o,ruleFromNode:t=>"BR"!=t.nodeName||t.nextSibling||!t.parentNode||Qt.test(t.parentNode.nodeName)?null:{ignore:!0}})}if(d)a=function(t,e){if(!t.size)return t;let n,r=t.content.firstChild.type.schema;try{n=JSON.parse(e)}catch(e){return t}let{content:o,openStart:s,openEnd:a}=t;for(let t=n.length-2;t>=0;t-=2){let e=r.nodes[n[t]];if(!e||e.hasRequiredAttrs())break;o=i.FK.from(e.create(n[t+1],o)),s++,a++}return new i.Ji(o,s,a)}(ie(a,+d[1],+d[2]),d[4]);else if(a=i.Ji.maxOpen(function(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let r,o=e.node(n).contentMatchAt(e.index(n)),s=[];if(t.forEach((t=>{if(!s)return;let e,n=o.findWrapping(t.type);if(!n)return s=null;if(e=s.length&&r.length&&ee(n,r,t,s[s.length-1],0))s[s.length-1]=e;else{s.length&&(s[s.length-1]=ne(s[s.length-1],r.length));let e=te(t,n);s.push(e),o=o.matchType(e.type),r=n}})),s)return i.FK.from(s)}return t}(a.content,o),!0),a.openStart||a.openEnd){let t=0,e=0;for(let e=a.content.firstChild;t<a.openStart&&!e.type.spec.isolating;t++,e=e.firstChild);for(let t=a.content.lastChild;e<a.openEnd&&!t.type.spec.isolating;e++,t=t.lastChild);a=ie(a,t,e)}return t.someProp("transformPasted",(e=>{a=e(a,t)})),a}const Qt=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function te(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,i.FK.from(t));return t}function ee(t,e,n,r,o){if(o<t.length&&o<e.length&&t[o]==e[o]){let s=ee(t,e,n,r.lastChild,o+1);if(s)return r.copy(r.content.replaceChild(r.childCount-1,s));if(r.contentMatchAt(r.childCount).matchType(o==t.length-1?n.type:t[o+1]))return r.copy(r.content.append(i.FK.from(te(n,t,o+1))))}}function ne(t,e){if(0==e)return t;let n=t.content.replaceChild(t.childCount-1,ne(t.lastChild,e-1)),r=t.contentMatchAt(t.childCount).fillBefore(i.FK.empty,!0);return t.copy(n.append(r))}function re(t,e,n,r,o,s){let a=e<0?t.firstChild:t.lastChild,l=a.content;return t.childCount>1&&(s=0),o<r-1&&(l=re(l,e,n,r,o+1,s)),o>=n&&(l=e<0?a.contentMatchAt(0).fillBefore(l,s<=o).append(l):l.append(a.contentMatchAt(a.childCount).fillBefore(i.FK.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(l))}function ie(t,e,n){return e<t.openStart&&(t=new i.Ji(re(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new i.Ji(re(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}const oe={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let se=null;function ae(){return se||(se=document.implementation.createHTMLDocument("title"))}const le={},ce={},ue={touchstart:!0,touchmove:!0};class de{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function he(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function fe(t){t.someProp("handleDOMEvents",(e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=e=>pe(t,e))}))}function pe(t,e){return t.someProp("handleDOMEvents",(n=>{let r=n[e.type];return!!r&&(r(t,e)||e.defaultPrevented)}))}function me(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function ge(t){return{left:t.clientX,top:t.clientY}}function ve(t,e,n,r,i){if(-1==r)return!1;let o=t.state.doc.resolve(r);for(let r=o.depth+1;r>0;r--)if(t.someProp(e,(e=>r>o.depth?e(t,n,o.nodeAfter,o.before(r),i,!0):e(t,n,o.node(r),o.before(r),i,!1))))return!0;return!1}function be(t,e,n){t.focused||t.focus();let r=t.state.tr.setSelection(e);"pointer"==n&&r.setMeta("pointer",!0),t.dispatch(r)}function ye(t,e,n,i,o){return ve(t,"handleClickOn",e,n,i)||t.someProp("handleClick",(n=>n(t,e,i)))||(o?function(t,e){if(-1==e)return!1;let n,i,o=t.state.selection;o instanceof r.nh&&(n=o.node);let s=t.state.doc.resolve(e);for(let t=s.depth+1;t>0;t--){let e=t>s.depth?s.nodeAfter:s.node(t);if(r.nh.isSelectable(e)){i=n&&o.$from.depth>0&&t>=o.$from.depth&&s.before(o.$from.depth+1)==o.$from.pos?s.before(o.$from.depth):s.before(t);break}}return null!=i&&(be(t,r.nh.create(t.state.doc,i),"pointer"),!0)}(t,n):function(t,e){if(-1==e)return!1;let n=t.state.doc.resolve(e),i=n.nodeAfter;return!!(i&&i.isAtom&&r.nh.isSelectable(i))&&(be(t,new r.nh(n),"pointer"),!0)}(t,n))}function xe(t,e,n,r){return ve(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",(n=>n(t,e,r)))}function we(t,e,n,i){return ve(t,"handleTripleClickOn",e,n,i)||t.someProp("handleTripleClick",(n=>n(t,e,i)))||function(t,e,n){if(0!=n.button)return!1;let i=t.state.doc;if(-1==e)return!!i.inlineContent&&(be(t,r.U3.create(i,0,i.content.size),"pointer"),!0);let o=i.resolve(e);for(let e=o.depth+1;e>0;e--){let n=e>o.depth?o.nodeAfter:o.node(e),s=o.before(e);if(n.inlineContent)be(t,r.U3.create(i,s+1,s+1+n.content.size),"pointer");else{if(!r.nh.isSelectable(n))continue;be(t,r.nh.create(i,s),"pointer")}return!0}}(t,n,i)}function ke(t){return Ee(t)}ce.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=16==n.keyCode||n.shiftKey,!Oe(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!j||!C||13!=n.keyCode))if(229!=n.keyCode&&t.domObserver.forceFlush(),!E||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)t.someProp("handleKeyDown",(e=>e(t,n)))||Kt(t,n)?n.preventDefault():he(t,"key");else{let e=Date.now();t.input.lastIOSEnter=e,t.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{t.input.lastIOSEnter==e&&(t.someProp("handleKeyDown",(e=>e(t,g(13,"Enter")))),t.input.lastIOSEnter=0)}),200)}},ce.keyup=(t,e)=>{16==e.keyCode&&(t.input.shiftKey=!1)},ce.keypress=(t,e)=>{let n=e;if(Oe(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||D&&n.metaKey)return;if(t.someProp("handleKeyPress",(e=>e(t,n))))return void n.preventDefault();let i=t.state.selection;if(!(i instanceof r.U3&&i.$from.sameParent(i.$to))){let e=String.fromCharCode(n.charCode);/[\r\n]/.test(e)||t.someProp("handleTextInput",(n=>n(t,i.$from.pos,i.$to.pos,e)))||t.dispatch(t.state.tr.insertText(e).scrollIntoView()),n.preventDefault()}};const _e=D?"metaKey":"ctrlKey";le.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=ke(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&function(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}(n,t.input.lastClick)&&!n[_e]&&("singleClick"==t.input.lastClick.type?o="doubleClick":"doubleClick"==t.input.lastClick.type&&(o="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let s=t.posAtCoords(ge(n));s&&("singleClick"==o?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new Se(t,s,n,!!r)):("doubleClick"==o?xe:we)(t,s.pos,s.inside,n)?n.preventDefault():he(t,"pointer"))};class Se{constructor(t,e,n,i){let o,s;if(this.view=t,this.pos=e,this.event=n,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!n[_e],this.allowDefault=n.shiftKey,e.inside>-1)o=t.state.doc.nodeAt(e.inside),s=e.inside;else{let n=t.state.doc.resolve(e.pos);o=n.parent,s=n.depth?n.before():0}const a=i?null:n.target,l=a?t.docView.nearestDesc(a,!0):null;this.target=l?l.dom:null;let{selection:c}=t.state;(0==n.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||c instanceof r.nh&&c.from<=s&&c.to>s)&&(this.mightDrag={node:o,pos:s,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!O||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),he(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>At(this.view))),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let e=this.pos;this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(ge(t))),this.updateAllowDefault(t),this.allowDefault||!e?he(this.view,"pointer"):ye(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||T&&this.mightDrag&&!this.mightDrag.node.isAtom||C&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(be(this.view,r.LN.near(this.view.state.doc.resolve(e.pos)),"pointer"),t.preventDefault()):he(this.view,"pointer")}move(t){this.updateAllowDefault(t),he(this.view,"pointer"),0==t.buttons&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}function Oe(t,e){return!!t.composing||!!(T&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500)&&(t.input.compositionEndedAt=-2e8,!0)}le.touchstart=t=>{t.input.lastTouch=Date.now(),ke(t),he(t,"pointer")},le.touchmove=t=>{t.input.lastTouch=Date.now(),he(t,"pointer")},le.contextmenu=t=>ke(t);const Me=j?5e3:-1;function Ce(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout((()=>Ee(t)),e))}function Ae(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=function(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function Te(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=function(t,e){for(;;){if(3==t.nodeType&&e)return t;if(1==t.nodeType&&e>0){if("false"==t.contentEditable)return null;e=f(t=t.childNodes[e-1])}else{if(!t.parentNode||p(t))return null;e=s(t),t=t.parentNode}}}(e.focusNode,e.focusOffset),r=function(t,e){for(;;){if(3==t.nodeType&&e<t.nodeValue.length)return t;if(1==t.nodeType&&e<t.childNodes.length){if("false"==t.contentEditable)return null;t=t.childNodes[e],e=0}else{if(!t.parentNode||p(t))return null;e=s(t)+1,t=t.parentNode}}}(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let e=r.pmViewDesc;if(!e||!e.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let t=n.pmViewDesc;if(t&&t.isText(n.nodeValue))return r}}return n||r}function Ee(t,e=!1){if(!(j&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),Ae(t),e||t.docView&&t.docView.dirty){let e=Mt(t);return e&&!e.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(e)):t.updateState(t.state),!0}return!1}}ce.compositionstart=ce.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$from;if(e.selection.empty&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((t=>!1===t.type.spec.inclusive))))t.markCursor=t.state.storedMarks||n.marks(),Ee(t,!0),t.markCursor=null;else if(Ee(t),O&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let e=t.domSelectionRange();for(let n=e.focusNode,r=e.focusOffset;n&&1==n.nodeType&&0!=r;){let e=r<0?n.lastChild:n.childNodes[r-1];if(!e)break;if(3==e.nodeType){t.domSelection().collapse(e,e.nodeValue.length);break}n=e,r=-1}}t.input.composing=!0}Ce(t,Me)},ce.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then((()=>t.domObserver.flush())),t.input.compositionID++,Ce(t,20))};const De=_&&S<15||E&&I<604;function Pe(t,e,n,r,o){let s=Zt(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",(e=>e(t,o,s||i.Ji.empty))))return!0;if(!s)return!1;let a=function(t){return 0==t.openStart&&0==t.openEnd&&1==t.content.childCount?t.content.firstChild:null}(s),l=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(s);return t.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function je(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}le.copy=ce.cut=(t,e)=>{let n=e,r=t.state.selection,i="cut"==n.type;if(r.empty)return;let o=De?null:n.clipboardData,s=r.content(),{dom:a,text:l}=Jt(t,s);o?(n.preventDefault(),o.clearData(),o.setData("text/html",a.innerHTML),o.setData("text/plain",l)):function(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()}),50)}(t,a),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},ce.paste=(t,e)=>{let n=e;if(t.composing&&!j)return;let r=De?null:n.clipboardData,i=t.input.shiftKey&&45!=t.input.lastKeyCode;r&&Pe(t,je(r),r.getData("text/html"),i,n)?n.preventDefault():function(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&45!=t.input.lastKeyCode;setTimeout((()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Pe(t,r.value,null,i,e):Pe(t,r.textContent,r.innerHTML,i,e)}),50)}(t,n)};class Le{constructor(t,e,n){this.slice=t,this.move=e,this.node=n}}const Ie=D?"altKey":"ctrlKey";le.dragstart=(t,e)=>{let n=e,i=t.input.mouseDown;if(i&&i.done(),!n.dataTransfer)return;let o,s=t.state.selection,a=s.empty?null:t.posAtCoords(ge(n));if(a&&a.pos>=s.from&&a.pos<=(s instanceof r.nh?s.to-1:s.to));else if(i&&i.mightDrag)o=r.nh.create(t.state.doc,i.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let e=t.docView.nearestDesc(n.target,!0);e&&e.node.type.spec.draggable&&e!=t.docView&&(o=r.nh.create(t.state.doc,e.posBefore))}let l=(o||t.state.selection).content(),{dom:c,text:u,slice:d}=Jt(t,l);n.dataTransfer.clearData(),n.dataTransfer.setData(De?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",De||n.dataTransfer.setData("text/plain",u),t.dragging=new Le(d,!n[Ie],o)},le.dragend=t=>{let e=t.dragging;window.setTimeout((()=>{t.dragging==e&&(t.dragging=null)}),50)},ce.dragover=ce.dragenter=(t,e)=>e.preventDefault(),ce.drop=(t,e)=>{let n=e,s=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let a=t.posAtCoords(ge(n));if(!a)return;let l=t.state.doc.resolve(a.pos),c=s&&s.slice;c?t.someProp("transformPasted",(e=>{c=e(c,t)})):c=Zt(t,je(n.dataTransfer),De?null:n.dataTransfer.getData("text/html"),!1,l);let u=!(!s||n[Ie]);if(t.someProp("handleDrop",(e=>e(t,n,c||i.Ji.empty,u))))return void n.preventDefault();if(!c)return;n.preventDefault();let d=c?(0,o.Um)(t.state.doc,l.pos,c):l.pos;null==d&&(d=l.pos);let h=t.state.tr;if(u){let{node:t}=s;t?t.replace(h):h.deleteSelection()}let f=h.mapping.map(d),p=0==c.openStart&&0==c.openEnd&&1==c.content.childCount,m=h.doc;if(p?h.replaceRangeWith(f,f,c.content.firstChild):h.replaceRange(f,f,c),h.doc.eq(m))return;let g=h.doc.resolve(f);if(p&&r.nh.isSelectable(c.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(c.content.firstChild))h.setSelection(new r.nh(g));else{let e=h.mapping.map(d);h.mapping.maps[h.mapping.maps.length-1].forEach(((t,n,r,i)=>e=i)),h.setSelection(It(t,g,h.doc.resolve(e)))}t.focus(),t.dispatch(h.setMeta("uiEvent","drop"))},le.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout((()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&At(t)}),20))},le.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)},le.beforeinput=(t,e)=>{if(C&&j&&"deleteContentBackward"==e.inputType){t.domObserver.flushSoon();let{domChangeCount:e}=t.input;setTimeout((()=>{if(t.input.domChangeCount!=e)return;if(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",(e=>e(t,g(8,"Backspace")))))return;let{$cursor:n}=t.state.selection;n&&n.pos>0&&t.dispatch(t.state.tr.delete(n.pos-1,n.pos).scrollIntoView())}),50)}};for(let t in ce)le[t]=ce[t];function Ne(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class Re{constructor(t,e){this.toDOM=t,this.spec=e||He,this.side=this.spec.side||0}map(t,e,n,r){let{pos:i,deleted:o}=t.mapResult(e.from+r,this.side<0?-1:1);return o?null:new Fe(i-n,i-n,this)}valid(){return!0}eq(t){return this==t||t instanceof Re&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&Ne(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class $e{constructor(t,e){this.attrs=t,this.spec=e||He}map(t,e,n,r){let i=t.map(e.from+r,this.spec.inclusiveStart?-1:1)-n,o=t.map(e.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=o?null:new Fe(i,o,this)}valid(t,e){return e.from<e.to}eq(t){return this==t||t instanceof $e&&Ne(this.attrs,t.attrs)&&Ne(this.spec,t.spec)}static is(t){return t.type instanceof $e}destroy(){}}class Be{constructor(t,e){this.attrs=t,this.spec=e||He}map(t,e,n,r){let i=t.mapResult(e.from+r,1);if(i.deleted)return null;let o=t.mapResult(e.to+r,-1);return o.deleted||o.pos<=i.pos?null:new Fe(i.pos-n,o.pos-n,this)}valid(t,e){let n,{index:r,offset:i}=t.content.findIndex(e.from);return i==e.from&&!(n=t.child(r)).isText&&i+n.nodeSize==e.to}eq(t){return this==t||t instanceof Be&&Ne(this.attrs,t.attrs)&&Ne(this.spec,t.spec)}destroy(){}}class Fe{constructor(t,e,n){this.from=t,this.to=e,this.type=n}copy(t,e){return new Fe(t,e,this.type)}eq(t,e=0){return this.type.eq(t.type)&&this.from+e==t.from&&this.to+e==t.to}map(t,e,n){return this.type.map(t,this,e,n)}static widget(t,e,n){return new Fe(t,t,new Re(e,n))}static inline(t,e,n,r){return new Fe(t,e,new $e(n,r))}static node(t,e,n,r){return new Fe(t,e,new Be(n,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof $e}get widget(){return this.type instanceof Re}}const ze=[],He={};class Ye{constructor(t,e){this.local=t.length?t:ze,this.children=e.length?e:ze}static create(t,e){return e.length?qe(e,t,0,He):We}find(t,e,n){let r=[];return this.findInner(null==t?0:t,null==e?1e9:e,r,0,n),r}findInner(t,e,n,r,i){for(let o=0;o<this.local.length;o++){let s=this.local[o];s.from<=e&&s.to>=t&&(!i||i(s.spec))&&n.push(s.copy(s.from+r,s.to+r))}for(let o=0;o<this.children.length;o+=3)if(this.children[o]<e&&this.children[o+1]>t){let s=this.children[o]+1;this.children[o+2].findInner(t-s,e-s,n,r+s,i)}}map(t,e,n){return this==We||0==t.maps.length?this:this.mapInner(t,e,0,0,n||He)}mapInner(t,e,n,r,i){let o;for(let s=0;s<this.local.length;s++){let a=this.local[s].map(t,n,r);a&&a.type.valid(e,a)?(o||(o=[])).push(a):i.onRemove&&i.onRemove(this.local[s].spec)}return this.children.length?function(t,e,n,r,i,o,s){let a=t.slice();for(let t=0,e=o;t<n.maps.length;t++){let r=0;n.maps[t].forEach(((t,n,i,o)=>{let s=o-i-(n-t);for(let i=0;i<a.length;i+=3){let o=a[i+1];if(o<0||t>o+e-r)continue;let l=a[i]+e-r;n>=l?a[i+1]=t<=l?-2:-1:t>=e&&s&&(a[i]+=s,a[i+1]+=s)}r+=s})),e=n.maps[t].map(e,-1)}let l=!1;for(let e=0;e<a.length;e+=3)if(a[e+1]<0){if(-2==a[e+1]){l=!0,a[e+1]=-1;continue}let c=n.map(t[e]+o),u=c-i;if(u<0||u>=r.content.size){l=!0;continue}let d=n.map(t[e+1]+o,-1)-i,{index:h,offset:f}=r.content.findIndex(u),p=r.maybeChild(h);if(p&&f==u&&f+p.nodeSize==d){let r=a[e+2].mapInner(n,p,c+1,t[e]+o+1,s);r!=We?(a[e]=u,a[e+1]=d,a[e+2]=r):(a[e+1]=-2,l=!0)}else l=!0}if(l){let l=function(t,e,n,r,i,o,s){function a(t,e){for(let o=0;o<t.local.length;o++){let a=t.local[o].map(r,i,e);a?n.push(a):s.onRemove&&s.onRemove(t.local[o].spec)}for(let n=0;n<t.children.length;n+=3)a(t.children[n+2],t.children[n]+e+1)}for(let n=0;n<t.length;n+=3)-1==t[n+1]&&a(t[n+2],e[n]+o+1);return n}(a,t,e,n,i,o,s),c=qe(l,r,0,s);e=c.local;for(let t=0;t<a.length;t+=3)a[t+1]<0&&(a.splice(t,3),t-=3);for(let t=0,e=0;t<c.children.length;t+=3){let n=c.children[t];for(;e<a.length&&a[e]<n;)e+=3;a.splice(e,0,c.children[t],c.children[t+1],c.children[t+2])}}return new Ye(e.sort(Ke),a)}(this.children,o||[],t,e,n,r,i):o?new Ye(o.sort(Ke),ze):We}add(t,e){return e.length?this==We?Ye.create(t,e):this.addInner(t,e,0):this}addInner(t,e,n){let r,i=0;t.forEach(((t,o)=>{let s,a=o+n;if(s=Ge(e,t,a)){for(r||(r=this.children.slice());i<r.length&&r[i]<o;)i+=3;r[i]==o?r[i+2]=r[i+2].addInner(t,s,a+1):r.splice(i,0,o,o+t.nodeSize,qe(s,t,a+1,He)),i+=3}}));let o=Ue(i?Xe(e):e,-n);for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||o.splice(e--,1);return new Ye(o.length?this.local.concat(o).sort(Ke):this.local,r||this.children)}remove(t){return 0==t.length||this==We?this:this.removeInner(t,0)}removeInner(t,e){let n=this.children,r=this.local;for(let r=0;r<n.length;r+=3){let i,o=n[r]+e,s=n[r+1]+e;for(let e,n=0;n<t.length;n++)(e=t[n])&&e.from>o&&e.to<s&&(t[n]=null,(i||(i=[])).push(e));if(!i)continue;n==this.children&&(n=this.children.slice());let a=n[r+2].removeInner(i,o+1);a!=We?n[r+2]=a:(n.splice(r,3),r-=3)}if(r.length)for(let n,i=0;i<t.length;i++)if(n=t[i])for(let t=0;t<r.length;t++)r[t].eq(n,e)&&(r==this.local&&(r=this.local.slice()),r.splice(t--,1));return n==this.children&&r==this.local?this:r.length||n.length?new Ye(r,n):We}forChild(t,e){if(this==We)return this;if(e.isLeaf)return Ye.empty;let n,r;for(let e=0;e<this.children.length;e+=3)if(this.children[e]>=t){this.children[e]==t&&(n=this.children[e+2]);break}let i=t+1,o=i+e.content.size;for(let t=0;t<this.local.length;t++){let e=this.local[t];if(e.from<o&&e.to>i&&e.type instanceof $e){let t=Math.max(i,e.from)-i,n=Math.min(o,e.to)-i;t<n&&(r||(r=[])).push(e.copy(t,n))}}if(r){let t=new Ye(r.sort(Ke),ze);return n?new Ve([t,n]):t}return n||We}eq(t){if(this==t)return!0;if(!(t instanceof Ye)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(let e=0;e<this.local.length;e++)if(!this.local[e].eq(t.local[e]))return!1;for(let e=0;e<this.children.length;e+=3)if(this.children[e]!=t.children[e]||this.children[e+1]!=t.children[e+1]||!this.children[e+2].eq(t.children[e+2]))return!1;return!0}locals(t){return Je(this.localsInner(t))}localsInner(t){if(this==We)return ze;if(t.inlineContent||!this.local.some($e.is))return this.local;let e=[];for(let t=0;t<this.local.length;t++)this.local[t].type instanceof $e||e.push(this.local[t]);return e}}Ye.empty=new Ye([],[]),Ye.removeOverlap=Je;const We=Ye.empty;class Ve{constructor(t){this.members=t}map(t,e){const n=this.members.map((n=>n.map(t,e,He)));return Ve.from(n)}forChild(t,e){if(e.isLeaf)return Ye.empty;let n=[];for(let r=0;r<this.members.length;r++){let i=this.members[r].forChild(t,e);i!=We&&(i instanceof Ve?n=n.concat(i.members):n.push(i))}return Ve.from(n)}eq(t){if(!(t instanceof Ve)||t.members.length!=this.members.length)return!1;for(let e=0;e<this.members.length;e++)if(!this.members[e].eq(t.members[e]))return!1;return!0}locals(t){let e,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(t);if(i.length)if(e){n&&(e=e.slice(),n=!1);for(let t=0;t<i.length;t++)e.push(i[t])}else e=i}return e?Je(n?e:e.sort(Ke)):ze}static from(t){switch(t.length){case 0:return We;case 1:return t[0];default:return new Ve(t.every((t=>t instanceof Ye))?t:t.reduce(((t,e)=>t.concat(e instanceof Ye?e:e.members)),[]))}}}function Ue(t,e){if(!e||!t.length)return t;let n=[];for(let r=0;r<t.length;r++){let i=t[r];n.push(new Fe(i.from+e,i.to+e,i.type))}return n}function Ge(t,e,n){if(e.isLeaf)return null;let r=n+e.nodeSize,i=null;for(let e,o=0;o<t.length;o++)(e=t[o])&&e.from>n&&e.to<r&&((i||(i=[])).push(e),t[o]=null);return i}function Xe(t){let e=[];for(let n=0;n<t.length;n++)null!=t[n]&&e.push(t[n]);return e}function qe(t,e,n,r){let i=[],o=!1;e.forEach(((e,s)=>{let a=Ge(t,e,s+n);if(a){o=!0;let t=qe(a,e,n+s+1,r);t!=We&&i.push(s,s+e.nodeSize,t)}}));let s=Ue(o?Xe(t):t,-n).sort(Ke);for(let t=0;t<s.length;t++)s[t].type.valid(e,s[t])||(r.onRemove&&r.onRemove(s[t].spec),s.splice(t--,1));return s.length||i.length?new Ye(s,i):We}function Ke(t,e){return t.from-e.from||t.to-e.to}function Je(t){let e=t;for(let n=0;n<e.length-1;n++){let r=e[n];if(r.from!=r.to)for(let i=n+1;i<e.length;i++){let o=e[i];if(o.from!=r.from){o.from<r.to&&(e==t&&(e=t.slice()),e[n]=r.copy(r.from,o.from),Ze(e,i,r.copy(o.from,r.to)));break}o.to!=r.to&&(e==t&&(e=t.slice()),e[i]=o.copy(o.from,r.to),Ze(e,i+1,o.copy(r.to,o.to)))}}return e}function Ze(t,e,n){for(;e<t.length&&Ke(n,t[e])>0;)e++;t.splice(e,0,n)}function Qe(t){let e=[];return t.someProp("decorations",(n=>{let r=n(t.state);r&&r!=We&&e.push(r)})),t.cursorWrapper&&e.push(Ye.create(t.state.doc,[t.cursorWrapper.deco])),Ve.from(e)}const tn={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},en=_&&S<=11;class nn{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class rn{constructor(t,e){this.view=t,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new nn,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver((t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e]);_&&S<=11&&t.some((t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length))?this.flushSoon():this.flush()})),en&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((()=>{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,tn)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let e=0;e<t.length;e++)this.queue.push(t[e]);window.setTimeout((()=>this.flush()),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout((()=>this.suppressingSelectionUpdates=!1),50)}onSelectionChange(){if(Nt(this.view)){if(this.suppressingSelectionUpdates)return At(this.view);if(_&&S<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&u(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let e,n=new Set;for(let e=t.focusNode;e;e=a(e))n.add(e);for(let r=t.anchorNode;r;r=a(r))if(n.has(r)){e=r;break}let r=e&&this.view.docView.nearestDesc(e);return r&&r.ignoreMutation({type:"selection",target:3==e.nodeType?e.parentNode:e})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let e=this.pendingRecords();e.length&&(this.queue=[]);let n=t.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Nt(t)&&!this.ignoreSelectionChange(n),o=-1,s=-1,a=!1,l=[];if(t.editable)for(let t=0;t<e.length;t++){let n=this.registerMutation(e[t],l);n&&(o=o<0?n.from:Math.min(n.from,o),s=s<0?n.to:Math.max(n.to,s),n.typeOver&&(a=!0))}if(O&&l.length>1){let t=l.filter((t=>"BR"==t.nodeName));if(2==t.length){let e=t[0],n=t[1];e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}}let c=null;o<0&&i&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)<Date.now()-300&&m(n)&&(c=Mt(t))&&c.eq(r.LN.near(t.state.doc.resolve(0),1))?(t.input.lastFocus=0,At(t),this.currentSelection.set(n),t.scrollToSelection()):(o>-1||i)&&(o>-1&&(t.docView.markDirty(o,s),function(t){if(on.has(t))return;if(on.set(t,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)){if(t.requiresGeckoHackNode=O,sn)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),sn=!0}}(t)),this.handleDOMChange(o,s,a,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(n)||At(t),this.currentSelection.set(n))}registerMutation(t,e){if(e.indexOf(t.target)>-1)return null;let n=this.view.docView.nearestDesc(t.target);if("attributes"==t.type&&(n==this.view.docView||"contenteditable"==t.attributeName||"style"==t.attributeName&&!t.oldValue&&!t.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(t))return null;if("childList"==t.type){for(let n=0;n<t.addedNodes.length;n++)e.push(t.addedNodes[n]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(t.target))return{from:n.posBefore,to:n.posAfter};let r=t.previousSibling,i=t.nextSibling;if(_&&S<=11&&t.addedNodes.length)for(let e=0;e<t.addedNodes.length;e++){let{previousSibling:n,nextSibling:o}=t.addedNodes[e];(!n||Array.prototype.indexOf.call(t.addedNodes,n)<0)&&(r=n),(!o||Array.prototype.indexOf.call(t.addedNodes,o)<0)&&(i=o)}let o=r&&r.parentNode==t.target?s(r)+1:0,a=n.localPosFromDOM(t.target,o,-1),l=i&&i.parentNode==t.target?s(i):t.target.childNodes.length;return{from:a,to:n.localPosFromDOM(t.target,l,1)}}return"attributes"==t.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}}}let on=new WeakMap,sn=!1;function an(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,s=t.domAtPos(t.state.selection.anchor);return u(s.node,s.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function ln(t){let e=t.pmViewDesc;if(e)return e.parseRule();if("BR"==t.nodeName&&t.parentNode){if(T&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}if(t.parentNode.lastChild==t||T&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if("IMG"==t.nodeName&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const cn=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function un(t,e,n,o,s){let a=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let e=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,n=Mt(t,e);if(n&&!t.state.selection.eq(n)){if(C&&j&&13===t.input.lastKeyCode&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",(e=>e(t,g(13,"Enter")))))return;let r=t.state.tr.setSelection(n);"pointer"==e?r.setMeta("pointer",!0):"key"==e&&r.scrollIntoView(),a&&r.setMeta("composition",a),t.dispatch(r)}return}let l=t.state.doc.resolve(e),c=l.sharedDepth(n);e=l.before(c+1),n=t.state.doc.resolve(n).after(c+1);let u,d,h=t.state.selection,f=function(t,e,n){let r,{node:o,fromOffset:s,toOffset:a,from:l,to:c}=t.docView.parseRange(e,n),u=t.domSelectionRange(),d=u.anchorNode;if(d&&t.dom.contains(1==d.nodeType?d:d.parentNode)&&(r=[{node:d,offset:u.anchorOffset}],m(u)||r.push({node:u.focusNode,offset:u.focusOffset})),C&&8===t.input.lastKeyCode)for(let t=a;t>s;t--){let e=o.childNodes[t-1],n=e.pmViewDesc;if("BR"==e.nodeName&&!n){a=t;break}if(!n||n.size)break}let h=t.state.doc,f=t.someProp("domParser")||i.S4.fromSchema(t.state.schema),p=h.resolve(l),g=null,v=f.parse(o,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:s,to:a,preserveWhitespace:"pre"!=p.parent.type.whitespace||"full",findPositions:r,ruleFromNode:ln,context:p});if(r&&null!=r[0].pos){let t=r[0].pos,e=r[1]&&r[1].pos;null==e&&(e=t),g={anchor:t+l,head:e+l}}return{doc:v,sel:g,from:l,to:c}}(t,e,n),p=t.state.doc,v=p.slice(f.from,f.to);8===t.input.lastKeyCode&&Date.now()-100<t.input.lastKeyCodeTime?(u=t.state.selection.to,d="end"):(u=t.state.selection.from,d="start"),t.input.lastKeyCode=null;let b=function(t,e,n,r,i){let o=t.findDiffStart(e,n);if(null==o)return null;let{a:s,b:a}=t.findDiffEnd(e,n+t.size,n+e.size);if("end"==i){r-=s+Math.max(0,o-Math.min(s,a))-o}if(s<o&&t.size<e.size){let t=r<=o&&r>=s?o-r:0;o-=t,o&&o<e.size&&fn(e.textBetween(o-1,o+1))&&(o+=t?1:-1),a=o+(a-s),s=o}else if(a<o){let e=r<=o&&r>=a?o-r:0;o-=e,o&&o<t.size&&fn(t.textBetween(o-1,o+1))&&(o+=e?1:-1),s=o+(s-a),a=o}return{start:o,endA:s,endB:a}}(v.content,f.doc.content,f.from,u,d);if((E&&t.input.lastIOSEnter>Date.now()-225||j)&&s.some((t=>1==t.nodeType&&!cn.test(t.nodeName)))&&(!b||b.endA>=b.endB)&&t.someProp("handleKeyDown",(e=>e(t,g(13,"Enter")))))return void(t.input.lastIOSEnter=0);if(!b){if(!(o&&h instanceof r.U3&&!h.empty&&h.$head.sameParent(h.$anchor))||t.composing||f.sel&&f.sel.anchor!=f.sel.head){if(f.sel){let e=dn(t,t.state.doc,f.sel);if(e&&!e.eq(t.state.selection)){let n=t.state.tr.setSelection(e);a&&n.setMeta("composition",a),t.dispatch(n)}}return}b={start:h.from,endA:h.to,endB:h.to}}t.input.domChangeCount++,t.state.selection.from<t.state.selection.to&&b.start==b.endB&&t.state.selection instanceof r.U3&&(b.start>t.state.selection.from&&b.start<=t.state.selection.from+2&&t.state.selection.from>=f.from?b.start=t.state.selection.from:b.endA<t.state.selection.to&&b.endA>=t.state.selection.to-2&&t.state.selection.to<=f.to&&(b.endB+=t.state.selection.to-b.endA,b.endA=t.state.selection.to)),_&&S<=11&&b.endB==b.start+1&&b.endA==b.start&&b.start>f.from&&"  "==f.doc.textBetween(b.start-f.from-1,b.start-f.from+1)&&(b.start--,b.endA--,b.endB--);let y,x=f.doc.resolveNoCache(b.start-f.from),w=f.doc.resolveNoCache(b.endB-f.from),k=p.resolve(b.start),O=x.sameParent(w)&&x.parent.inlineContent&&k.end()>=b.endA;if((E&&t.input.lastIOSEnter>Date.now()-225&&(!O||s.some((t=>"DIV"==t.nodeName||"P"==t.nodeName)))||!O&&x.pos<f.doc.content.size&&!x.sameParent(w)&&(y=r.LN.findFrom(f.doc.resolve(x.pos+1),1,!0))&&y.head==w.pos)&&t.someProp("handleKeyDown",(e=>e(t,g(13,"Enter")))))return void(t.input.lastIOSEnter=0);if(t.state.selection.anchor>b.start&&function(t,e,n,r,i){if(n-e<=i.pos-r.pos||hn(r,!0,!1)<i.pos)return!1;let o=t.resolve(e);if(!r.parent.isTextblock){let t=o.nodeAfter;return null!=t&&n==e+t.nodeSize}if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let s=t.resolve(hn(o,!0,!0));return!(!s.parent.isTextblock||s.pos>n||hn(s,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(s.parent.content)}(p,b.start,b.endA,x,w)&&t.someProp("handleKeyDown",(e=>e(t,g(8,"Backspace")))))return void(j&&C&&t.domObserver.suppressSelectionUpdates());C&&j&&b.endB==b.start&&(t.input.lastAndroidDelete=Date.now()),j&&!O&&x.start()!=w.start()&&0==w.parentOffset&&x.depth==w.depth&&f.sel&&f.sel.anchor==f.sel.head&&f.sel.head==b.endA&&(b.endB-=2,w=f.doc.resolveNoCache(b.endB-f.from),setTimeout((()=>{t.someProp("handleKeyDown",(function(e){return e(t,g(13,"Enter"))}))}),20));let M,A,T,D=b.start,P=b.endA;if(O)if(x.pos==w.pos)_&&S<=11&&0==x.parentOffset&&(t.domObserver.suppressSelectionUpdates(),setTimeout((()=>At(t)),20)),M=t.state.tr.delete(D,P),A=p.resolve(b.start).marksAcross(p.resolve(b.endA));else if(b.endA==b.endB&&(T=function(t,e){let n,r,o,s=t.firstChild.marks,a=e.firstChild.marks,l=s,c=a;for(let t=0;t<a.length;t++)l=a[t].removeFromSet(l);for(let t=0;t<s.length;t++)c=s[t].removeFromSet(c);if(1==l.length&&0==c.length)r=l[0],n="add",o=t=>t.mark(r.addToSet(t.marks));else{if(0!=l.length||1!=c.length)return null;r=c[0],n="remove",o=t=>t.mark(r.removeFromSet(t.marks))}let u=[];for(let t=0;t<e.childCount;t++)u.push(o(e.child(t)));if(i.FK.from(u).eq(t))return{mark:r,type:n}}(x.parent.content.cut(x.parentOffset,w.parentOffset),k.parent.content.cut(k.parentOffset,b.endA-k.start()))))M=t.state.tr,"add"==T.type?M.addMark(D,P,T.mark):M.removeMark(D,P,T.mark);else if(x.parent.child(x.index()).isText&&x.index()==w.index()-(w.textOffset?0:1)){let e=x.parent.textBetween(x.parentOffset,w.parentOffset);if(t.someProp("handleTextInput",(n=>n(t,D,P,e))))return;M=t.state.tr.insertText(e,D,P)}if(M||(M=t.state.tr.replace(D,P,f.doc.slice(b.start-f.from,b.endB-f.from))),f.sel){let e=dn(t,M.doc,f.sel);e&&!(C&&j&&t.composing&&e.empty&&(b.start!=b.endB||t.input.lastAndroidDelete<Date.now()-100)&&(e.head==D||e.head==M.mapping.map(P)-1)||_&&e.empty&&e.head==D)&&M.setSelection(e)}A&&M.ensureMarks(A),a&&M.setMeta("composition",a),t.dispatch(M.scrollIntoView())}function dn(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:It(t,e.resolve(n.anchor),e.resolve(n.head))}function hn(t,e,n){let r=t.depth,i=e?t.end():t.pos;for(;r>0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let e=t.node(r).maybeChild(t.indexAfter(r));for(;e&&!e.isLeaf;)e=e.firstChild,i++}return i}function fn(t){if(2!=t.length)return!1;let e=t.charCodeAt(0),n=t.charCodeAt(1);return e>=56320&&e<=57343&&n>=55296&&n<=56319}class pn{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new de,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(yn),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=vn(this),gn(this),this.nodeViews=bn(this),this.docView=ut(this.state.doc,mn(this),Qe(this),this.dom,this),this.domObserver=new rn(this,((t,e,n,r)=>un(this,t,e,n,r))),this.domObserver.start(),function(t){for(let e in le){let n=le[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=e=>{!me(t,e)||pe(t,e)||!t.editable&&e.type in ce||n(t,e)},ue[e]?{passive:!0}:void 0)}T&&t.dom.addEventListener("input",(()=>null)),fe(t)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let e in t)this._props[e]=t[e];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&fe(this);let e=this._props;this._props=t,t.plugins&&(t.plugins.forEach(yn),this.directPlugins=t.plugins),this.updateStateInner(t.state,e)}setProps(t){let e={};for(let t in this._props)e[t]=this._props[t];e.state=this.state;for(let n in t)e[n]=t[n];this.update(e)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,e){var n;let r=this.state,i=!1,o=!1;t.storedMarks&&this.composing&&(Ae(this),o=!0),this.state=t;let s=r.plugins!=t.plugins||this._props.plugins!=e.plugins;if(s||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let t=bn(this);(function(t,e){let n=0,r=0;for(let r in t){if(t[r]!=e[r])return!0;n++}for(let t in e)r++;return n!=r})(t,this.nodeViews)&&(this.nodeViews=t,i=!0)}(s||e.handleDOMEvents!=this._props.handleDOMEvents)&&fe(this),this.editable=vn(this),gn(this);let a=Qe(this),l=mn(this),c=r.plugins==t.plugins||r.doc.eq(t.doc)?t.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",d=i||!this.docView.matchesNode(t.doc,l,a);!d&&t.selection.eq(r.selection)||(o=!0);let h="preserve"==c&&o&&null==this.dom.style.overflowAnchor&&function(t){let e,n,r=t.dom.getBoundingClientRect(),i=Math.max(0,r.top);for(let o=(r.left+r.right)/2,s=i+1;s<Math.min(innerHeight,r.bottom);s+=5){let r=t.root.elementFromPoint(o,s);if(!r||r==t.dom||!t.dom.contains(r))continue;let a=r.getBoundingClientRect();if(a.top>=i-20){e=r,n=a.top;break}}return{refDOM:e,refTop:n,stack:F(t.dom)}}(this);if(o){this.domObserver.stop();let e=d&&(_||C)&&!this.composing&&!r.selection.empty&&!t.selection.empty&&function(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}(r.selection,t.selection);if(d){let n=C?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Te(this)),!i&&this.docView.update(t.doc,l,a,this)||(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=ut(t.doc,l,a,this.dom,this)),n&&!this.trackWrites&&(e=!0)}e||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return u(e.node,e.offset,n.anchorNode,n.anchorOffset)}(this))?At(this,e):(jt(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():h&&function({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;z(n,0==r?0:r-e)}(h)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(t=>t(this))));else if(this.state.selection instanceof r.nh){let e=this.docView.domAfterPos(this.state.selection.from);1==e.nodeType&&B(this,e.getBoundingClientRect(),t)}else B(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let e=0;e<this.pluginViews.length;e++){let n=this.pluginViews[e];n.update&&n.update(this,t)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t<this.directPlugins.length;t++){let e=this.directPlugins[t];e.spec.view&&this.pluginViews.push(e.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let e=this.state.plugins[t];e.spec.view&&this.pluginViews.push(e.spec.view(this))}}}updateDraggedNode(t,e){let n=t.node,i=-1;if(this.state.doc.nodeAt(n.from)==n.node)i=n.from;else{let t=n.from+(this.state.doc.content.size-e.doc.content.size);(t>0&&this.state.doc.nodeAt(t))==n.node&&(i=t)}this.dragging=new Le(t.slice,t.move,i<0?void 0:r.nh.create(this.state.doc,i))}someProp(t,e){let n,r=this._props&&this._props[t];if(null!=r&&(n=e?e(r):r))return n;for(let r=0;r<this.directPlugins.length;r++){let i=this.directPlugins[r].props[t];if(null!=i&&(n=e?e(i):i))return n}let i=this.state.plugins;if(i)for(let r=0;r<i.length;r++){let o=i[r].props[t];if(null!=o&&(n=e?e(o):o))return n}}hasFocus(){if(_){let t=this.root.activeElement;if(t==this.dom)return!0;if(!t||!this.dom.contains(t))return!1;for(;t&&this.dom!=t&&this.dom.contains(t);){if("false"==t.contentEditable)return!1;t=t.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(t){if(t.setActive)return t.setActive();if(H)return t.focus(H);let e=F(t);t.focus(null==H?{get preventScroll(){return H={preventScroll:!0},!0}}:void 0),H||(H=!1,z(e,0))}(this.dom),At(this),this.domObserver.start()}get root(){let t=this._root;if(null==t)for(let t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t;return t||document}updateRoot(){this._root=null}posAtCoords(t){return U(this,t)}coordsAtPos(t,e=1){return K(this,t,e)}domAtPos(t,e=0){return this.docView.domFromPos(t,e)}nodeDOM(t){let e=this.docView.descAt(t);return e?e.nodeDOM:null}posAtDOM(t,e,n=-1){let r=this.docView.posFromDOM(t,e,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(t,e){return it(this,e||this.state,t)}pasteHTML(t,e){return Pe(this,"",t,!1,e||new ClipboardEvent("paste"))}pasteText(t,e){return Pe(this,t,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(!function(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Qe(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,l=null)}get isDestroyed(){return null==this.docView}dispatchEvent(t){return function(t,e){pe(t,e)||!le[e.type]||!t.editable&&e.type in ce||le[e.type](t,e)}(this,t)}dispatch(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){let t=this.domSelection();return T&&11===this.root.nodeType&&function(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}(this.dom.ownerDocument)==this.dom&&function(t,e){if(e.getComposedRanges){let n=e.getComposedRanges(t.root)[0];if(n)return an(t,n)}let n;function r(t){t.preventDefault(),t.stopImmediatePropagation(),n=t.getTargetRanges()[0]}return t.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",r,!0),n?an(t,n):null}(this,t)||t}domSelection(){return this.root.getSelection()}}function mn(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(t.state)),n)for(let t in n)"class"==t?e.class+=" "+n[t]:"style"==t?e.style=(e.style?e.style+";":"")+n[t]:e[t]||"contenteditable"==t||"nodeName"==t||(e[t]=String(n[t]))})),e.translate||(e.translate="no"),[Fe.node(0,t.state.doc.content.size,e)]}function gn(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Fe.widget(t.state.selection.head,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function vn(t){return!t.someProp("editable",(e=>!1===e(t.state)))}function bn(t){let e=Object.create(null);function n(t){for(let n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function yn(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}},93339:(t,e,n)=>{"use strict";n.d(e,{Cl:()=>r,GG:()=>l,YH:()=>o,fX:()=>s,gn:()=>a,sH:()=>i});var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},r.apply(this,arguments)};function i(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{l(r.next(t))}catch(t){o(t)}}function a(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((r=r.apply(t,e||[])).next())}))}function o(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}Object.create;function s(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}Object.create;function a(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function l(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}"function"==typeof SuppressedError&&SuppressedError},11435:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r={de:{days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"Löschen",weekStart:1,format:"dd.mm.yyyy"}}},7682:(t,e,n)=>{"use strict";function r(t){return t[t.length-1]}function i(t,...e){return e.forEach((e=>{t.includes(e)||t.push(e)})),t}function o(t,e){return t?t.split(e):[]}function s(t,e,n){return(void 0===e||t>=e)&&(void 0===n||t<=n)}function a(t,e,n){return t<e?e:t>n?n:t}function l(t,e,n={},r=0,i=""){i+=`<${Object.keys(n).reduce(((t,e)=>{let i=n[e];return"function"==typeof i&&(i=i(r)),`${t} ${e}="${i}"`}),t)}></${t}>`;const o=r+1;return o<e?l(t,e,n,o,i):i}function c(t){return t.replace(/>\s+/g,">").replace(/\s+</,"<")}function u(t){return new Date(t).setHours(0,0,0,0)}function d(){return(new Date).setHours(0,0,0,0)}function h(...t){switch(t.length){case 0:return d();case 1:return u(t[0])}const e=new Date(0);return e.setFullYear(...t),e.setHours(0,0,0,0)}function f(t,e){const n=new Date(t);return n.setDate(n.getDate()+e)}function p(t,e){const n=new Date(t),r=n.getMonth()+e;let i=r%12;i<0&&(i+=12);const o=n.setMonth(r);return n.getMonth()!==i?n.setDate(0):o}function m(t,e){const n=new Date(t),r=n.getMonth(),i=n.setFullYear(n.getFullYear()+e);return 1===r&&2===n.getMonth()?n.setDate(0):i}function g(t,e){return(t-e+7)%7}function v(t,e,n=0){const r=new Date(t).getDay();return f(t,g(e,n)-g(r,n))}function b(t,e){return Math.round((t-e)/6048e5)+1}function y(t){const e=v(t,4,1);return b(e,v(new Date(e).setMonth(0,4),4,1))}function x(t,e){const n=v(new Date(t).setMonth(0,1),e,e),r=v(t,e,e),i=b(r,n);if(i<53)return i;return r===v(new Date(t).setDate(32),e,e)?1:i}function w(t){return x(t,0)}function k(t){return x(t,6)}function _(t,e){const n=new Date(t).getFullYear();return Math.floor(n/e)*e}function S(t,e,n){if(1!==e&&2!==e)return t;const r=new Date(t);return 1===e?n?r.setMonth(r.getMonth()+1,0):r.setDate(1):n?r.setFullYear(r.getFullYear()+1,0,0):r.setMonth(0,1),r.setHours(0,0,0,0)}n.d(e,{U:()=>Qt,t:()=>Kt});const O=/dd?|DD?|mm?|MM?|yy?(?:yy)?/,M=/[\s!-/:-@[-`{-~年月日]+/;let C={};const A={y:(t,e)=>new Date(t).setFullYear(parseInt(e,10)),m(t,e,n){const r=new Date(t);let i=parseInt(e,10)-1;if(isNaN(i)){if(!e)return NaN;const t=e.toLowerCase(),r=e=>e.toLowerCase().startsWith(t);if(i=n.monthsShort.findIndex(r),i<0&&(i=n.months.findIndex(r)),i<0)return NaN}return r.setMonth(i),r.getMonth()!==E(i)?r.setDate(0):r.getTime()},d:(t,e)=>new Date(t).setDate(parseInt(e,10))},T={d:t=>t.getDate(),dd:t=>D(t.getDate(),2),D:(t,e)=>e.daysShort[t.getDay()],DD:(t,e)=>e.days[t.getDay()],m:t=>t.getMonth()+1,mm:t=>D(t.getMonth()+1,2),M:(t,e)=>e.monthsShort[t.getMonth()],MM:(t,e)=>e.months[t.getMonth()],y:t=>t.getFullYear(),yy:t=>D(t.getFullYear(),2).slice(-2),yyyy:t=>D(t.getFullYear(),4)};function E(t){return t>-1?t%12:E(t+12)}function D(t,e){return t.toString().padStart(e,"0")}function P(t){if("string"!=typeof t)throw new Error("Invalid date format.");if(t in C)return C[t];const e=t.split(O),n=t.match(new RegExp(O,"g"));if(0===e.length||!n)throw new Error("Invalid date format.");const i=n.map((t=>T[t])),o=Object.keys(A).reduce(((t,e)=>(n.find((t=>"D"!==t[0]&&t[0].toLowerCase()===e))&&t.push(e),t)),[]);return C[t]={parser(t,e){const r=t.split(M).reduce(((t,e,r)=>{if(e.length>0&&n[r]){const i=n[r][0];"M"===i?t.m=e:"D"!==i&&(t[i]=e)}return t}),{});return o.reduce(((t,n)=>{const i=A[n](t,r[n],e);return isNaN(i)?t:i}),d())},formatter:(t,n)=>i.reduce(((r,i,o)=>r+`${e[o]}${i(t,n)}`),"")+r(e)}}function j(t,e,n){if(t instanceof Date||"number"==typeof t){const e=u(t);return isNaN(e)?void 0:e}if(t){if("today"===t)return d();if(e&&e.toValue){const r=e.toValue(t,e,n);return isNaN(r)?void 0:u(r)}return P(e).parser(t,n)}}function L(t,e,n){if(isNaN(t)||!t&&0!==t)return"";const r="number"==typeof t?new Date(t):t;return e.toDisplay?e.toDisplay(r,e,n):P(e).formatter(r,n)}const I=document.createRange();function N(t){return I.createContextualFragment(t)}function R(t){return t.parentElement||(t.parentNode instanceof ShadowRoot?t.parentNode.host:void 0)}function $(t){return t.getRootNode().activeElement===t}function B(t){"none"!==t.style.display&&(t.style.display&&(t.dataset.styleDisplay=t.style.display),t.style.display="none")}function F(t){"none"===t.style.display&&(t.dataset.styleDisplay?(t.style.display=t.dataset.styleDisplay,delete t.dataset.styleDisplay):t.style.display="")}function z(t){t.firstChild&&(t.removeChild(t.firstChild),z(t))}const H=new WeakMap,{addEventListener:Y,removeEventListener:W}=EventTarget.prototype;function V(t,e){let n=H.get(t);n||(n=[],H.set(t,n)),e.forEach((t=>{Y.call(...t),n.push(t)}))}function U(t){let e=H.get(t);e&&(e.forEach((t=>{W.call(...t)})),H.delete(t))}if(!Event.prototype.composedPath){const t=(e,n=[])=>{let r;return n.push(e),e.parentNode?r=e.parentNode:e.host?r=e.host:e.defaultView&&(r=e.defaultView),r?t(r,n):n};Event.prototype.composedPath=function(){return t(this.target)}}function G(t,e,n){const[r,...i]=t;return e(r)?r:r!==n&&"HTML"!==r.tagName&&0!==i.length?G(i,e,n):void 0}function X(t,e){const n="function"==typeof e?e:t=>t instanceof Element&&t.matches(e);return G(t.composedPath(),n,t.currentTarget)}const q={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM y"}},K={autohide:!1,beforeShowDay:null,beforeShowDecade:null,beforeShowMonth:null,beforeShowYear:null,clearButton:!1,dateDelimiter:",",datesDisabled:[],daysOfWeekDisabled:[],daysOfWeekHighlighted:[],defaultViewDate:void 0,disableTouchKeyboard:!1,enableOnReadonly:!0,format:"mm/dd/yyyy",language:"en",maxDate:null,maxNumberOfDates:1,maxView:3,minDate:null,nextArrow:"»",orientation:"auto",pickLevel:0,prevArrow:"«",showDaysOfWeek:!0,showOnClick:!0,showOnFocus:!0,startView:0,title:"",todayButton:!1,todayButtonMode:0,todayHighlight:!1,updateOnBlur:!0,weekNumbers:0,weekStart:0},{language:J,format:Z,weekStart:Q}=K;function tt(t,e){return t.length<6&&e>=0&&e<7?i(t,e):t}function et(t,e){switch(4===t?6===e?3:!e+1:t){case 1:return y;case 2:return w;case 3:return k}}function nt(t,e,n){return e.weekStart=t,e.weekEnd=(t+6)%7,4===n&&(e.getWeekNumber=et(4,t)),t}function rt(t,e,n,r){const i=j(t,e,n);return void 0!==i?i:r}function it(t,e,n=3){const r=parseInt(t,10);return r>=0&&r<=n?r:e}function ot(t,e,n,r=void 0){e in t&&(n in t||(t[n]=r?r(t[e]):t[e]),delete t[e])}function st(t,e){const n=Object.assign({},t),r={},o=e.constructor.locales,s=!!e.rangeSideIndex;let{datesDisabled:a,format:l,language:c,locale:u,maxDate:d,maxView:f,minDate:p,pickLevel:m,startView:g,weekNumbers:v,weekStart:b}=e.config||{};if(ot(n,"calendarWeeks","weekNumbers",(t=>t?1:0)),ot(n,"clearBtn","clearButton"),ot(n,"todayBtn","todayButton"),ot(n,"todayBtnMode","todayButtonMode"),n.language){let t;if(n.language!==c&&(o[n.language]?t=n.language:(t=n.language.split("-")[0],o[t]||(t=!1))),delete n.language,t){c=r.language=t;const e=u||o[J];u=Object.assign({format:Z,weekStart:Q},o[J]),c!==J&&Object.assign(u,o[c]),r.locale=u,l===e.format&&(l=r.format=u.format),b===e.weekStart&&(b=nt(u.weekStart,r,v))}}if(n.format){const t="function"==typeof n.format.toDisplay,e="function"==typeof n.format.toValue,i=O.test(n.format);(t&&e||i)&&(l=r.format=n.format),delete n.format}let y=m;"pickLevel"in n&&(y=it(n.pickLevel,m,2),delete n.pickLevel),y!==m&&(y>m&&("minDate"in n||(n.minDate=p),"maxDate"in n||(n.maxDate=d)),a&&!n.datesDisabled&&(n.datesDisabled=[]),m=r.pickLevel=y);let x=p,w=d;if("minDate"in n){const t=h(0,0,1);x=null===n.minDate?t:rt(n.minDate,l,u,x),x!==t&&(x=S(x,m,!1)),delete n.minDate}if("maxDate"in n&&(w=null===n.maxDate?void 0:rt(n.maxDate,l,u,w),void 0!==w&&(w=S(w,m,!0)),delete n.maxDate),w<x?(p=r.minDate=w,d=r.maxDate=x):(p!==x&&(p=r.minDate=x),d!==w&&(d=r.maxDate=w)),n.datesDisabled){const t=n.datesDisabled;if("function"==typeof t)r.datesDisabled=null,r.checkDisabled=(e,n)=>t(new Date(e),n,s);else{const e=r.datesDisabled=t.reduce(((t,e)=>{const n=j(e,l,u);return void 0!==n?i(t,S(n,m,s)):t}),[]);r.checkDisabled=t=>e.includes(t)}delete n.datesDisabled}if("defaultViewDate"in n){const t=j(n.defaultViewDate,l,u);void 0!==t&&(r.defaultViewDate=t),delete n.defaultViewDate}if("weekStart"in n){const t=Number(n.weekStart)%7;isNaN(t)||(b=nt(t,r,v)),delete n.weekStart}if(n.daysOfWeekDisabled&&(r.daysOfWeekDisabled=n.daysOfWeekDisabled.reduce(tt,[]),delete n.daysOfWeekDisabled),n.daysOfWeekHighlighted&&(r.daysOfWeekHighlighted=n.daysOfWeekHighlighted.reduce(tt,[]),delete n.daysOfWeekHighlighted),"weekNumbers"in n){let t=n.weekNumbers;if(t){const e="function"==typeof t?(e,n)=>t(new Date(e),n):et(t=parseInt(t,10),b);e&&(v=r.weekNumbers=t,r.getWeekNumber=e)}else v=r.weekNumbers=0,r.getWeekNumber=null;delete n.weekNumbers}if("maxNumberOfDates"in n){const t=parseInt(n.maxNumberOfDates,10);t>=0&&(r.maxNumberOfDates=t,r.multidate=1!==t),delete n.maxNumberOfDates}n.dateDelimiter&&(r.dateDelimiter=String(n.dateDelimiter),delete n.dateDelimiter);let k=f;"maxView"in n&&(k=it(n.maxView,f),delete n.maxView),k=m>k?m:k,k!==f&&(f=r.maxView=k);let _=g;if("startView"in n&&(_=it(n.startView,_),delete n.startView),_<m?_=m:_>f&&(_=f),_!==g&&(r.startView=_),n.prevArrow){const t=N(n.prevArrow);t.childNodes.length>0&&(r.prevArrow=t.childNodes),delete n.prevArrow}if(n.nextArrow){const t=N(n.nextArrow);t.childNodes.length>0&&(r.nextArrow=t.childNodes),delete n.nextArrow}if("disableTouchKeyboard"in n&&(r.disableTouchKeyboard="ontouchstart"in document&&!!n.disableTouchKeyboard,delete n.disableTouchKeyboard),n.orientation){const t=n.orientation.toLowerCase().split(/\s+/g);r.orientation={x:t.find((t=>"left"===t||"right"===t))||"auto",y:t.find((t=>"top"===t||"bottom"===t))||"auto"},delete n.orientation}if("todayButtonMode"in n){switch(n.todayButtonMode){case 0:case 1:r.todayButtonMode=n.todayButtonMode}delete n.todayButtonMode}return Object.entries(n).forEach((([t,e])=>{void 0!==e&&t in K&&(r[t]=e)})),r}const at={show:{key:"ArrowDown"},hide:null,toggle:{key:"Escape"},prevButton:{key:"ArrowLeft",ctrlOrMetaKey:!0},nextButton:{key:"ArrowRight",ctrlOrMetaKey:!0},viewSwitch:{key:"ArrowUp",ctrlOrMetaKey:!0},clearButton:{key:"Backspace",ctrlOrMetaKey:!0},todayButton:{key:".",ctrlOrMetaKey:!0},exitEditMode:{key:"ArrowDown",ctrlOrMetaKey:!0}};const lt=t=>t.map((t=>`<button type="button" class="%buttonClass% ${t}" tabindex="-1"></button>`)).join(""),ct=c(`<div class="datepicker">\n  <div class="datepicker-picker">\n    <div class="datepicker-header">\n      <div class="datepicker-title"></div>\n      <div class="datepicker-controls">\n        ${lt(["prev-button prev-btn","view-switch","next-button next-btn"])}\n      </div>\n    </div>\n    <div class="datepicker-main"></div>\n    <div class="datepicker-footer">\n      <div class="datepicker-controls">\n        ${lt(["today-button today-btn","clear-button clear-btn"])}\n      </div>\n    </div>\n  </div>\n</div>`),ut=c(`<div class="days">\n  <div class="days-of-week">${l("span",7,{class:"dow"})}</div>\n  <div class="datepicker-grid">${l("span",42)}</div>\n</div>`),dt=c(`<div class="week-numbers calendar-weeks">\n  <div class="days-of-week"><span class="dow"></span></div>\n  <div class="weeks">${l("span",6,{class:"week"})}</div>\n</div>`);class ht{constructor(t,e){Object.assign(this,e,{picker:t,element:N('<div class="datepicker-view"></div>').firstChild,selected:[],isRangeEnd:!!t.datepicker.rangeSideIndex}),this.init(this.picker.datepicker.config)}init(t){"pickLevel"in t&&(this.isMinView=this.id===t.pickLevel),this.setOptions(t),this.updateFocus(),this.updateSelection()}prepareForRender(t,e,n){this.disabled=[];const r=this.picker;r.setViewSwitchLabel(t),r.setPrevButtonDisabled(e),r.setNextButtonDisabled(n)}setDisabled(t,e){e.add("disabled"),i(this.disabled,t)}performBeforeHook(t,e){let n=this.beforeShow(new Date(e));switch(typeof n){case"boolean":n={enabled:n};break;case"string":n={classes:n}}if(n){const r=t.classList;if(!1===n.enabled&&this.setDisabled(e,r),n.classes){const t=n.classes.split(/\s+/);r.add(...t),t.includes("disabled")&&this.setDisabled(e,r)}n.content&&function(t,e){z(t),e instanceof DocumentFragment?t.appendChild(e):"string"==typeof e?t.appendChild(N(e)):"function"==typeof e.forEach&&e.forEach((e=>{t.appendChild(e)}))}(t,n.content)}}renderCell(t,e,n,r,{selected:i,range:o},s,a=[]){t.textContent=e,this.isMinView&&(t.dataset.date=r);const l=t.classList;if(t.className=`datepicker-cell ${this.cellClass}`,n<this.first?l.add("prev"):n>this.last&&l.add("next"),l.add(...a),(s||this.checkDisabled(r,this.id))&&this.setDisabled(r,l),o){const[t,e]=o;n>t&&n<e&&l.add("range"),n===t&&l.add("range-start"),n===e&&l.add("range-end")}i.includes(n)&&l.add("selected"),n===this.focused&&l.add("focused"),this.beforeShow&&this.performBeforeHook(t,r)}refreshCell(t,e,n,[r,i]){const o=t.classList;o.remove("range","range-start","range-end","selected","focused"),e>r&&e<i&&o.add("range"),e===r&&o.add("range-start"),e===i&&o.add("range-end"),n.includes(e)&&o.add("selected"),e===this.focused&&o.add("focused")}changeFocusedCell(t){this.grid.querySelectorAll(".focused").forEach((t=>{t.classList.remove("focused")})),this.grid.children[t].classList.add("focused")}}class ft extends ht{constructor(t){super(t,{id:0,name:"days",cellClass:"day"})}init(t,e=!0){if(e){const t=N(ut).firstChild;this.dow=t.firstChild,this.grid=t.lastChild,this.element.appendChild(t)}super.init(t)}setOptions(t){let e;if("minDate"in t&&(this.minDate=t.minDate),"maxDate"in t&&(this.maxDate=t.maxDate),t.checkDisabled&&(this.checkDisabled=t.checkDisabled),t.daysOfWeekDisabled&&(this.daysOfWeekDisabled=t.daysOfWeekDisabled,e=!0),t.daysOfWeekHighlighted&&(this.daysOfWeekHighlighted=t.daysOfWeekHighlighted),"todayHighlight"in t&&(this.todayHighlight=t.todayHighlight),"weekStart"in t&&(this.weekStart=t.weekStart,this.weekEnd=t.weekEnd,e=!0),t.locale){const n=this.locale=t.locale;this.dayNames=n.daysMin,this.switchLabelFormat=n.titleFormat,e=!0}if("beforeShowDay"in t&&(this.beforeShow="function"==typeof t.beforeShowDay?t.beforeShowDay:void 0),"weekNumbers"in t)if(t.weekNumbers&&!this.weekNumbers){const t=N(dt).firstChild;this.weekNumbers={element:t,dow:t.firstChild,weeks:t.lastChild},this.element.insertBefore(t,this.element.firstChild)}else this.weekNumbers&&!t.weekNumbers&&(this.element.removeChild(this.weekNumbers.element),this.weekNumbers=null);"getWeekNumber"in t&&(this.getWeekNumber=t.getWeekNumber),"showDaysOfWeek"in t&&(t.showDaysOfWeek?(F(this.dow),this.weekNumbers&&F(this.weekNumbers.dow)):(B(this.dow),this.weekNumbers&&B(this.weekNumbers.dow))),e&&Array.from(this.dow.children).forEach(((t,e)=>{const n=(this.weekStart+e)%7;t.textContent=this.dayNames[n],t.className=this.daysOfWeekDisabled.includes(n)?"dow disabled":"dow"}))}updateFocus(){const t=new Date(this.picker.viewDate),e=t.getFullYear(),n=t.getMonth(),r=h(e,n,1),i=v(r,this.weekStart,this.weekStart);this.first=r,this.last=h(e,n+1,0),this.start=i,this.focused=this.picker.viewDate}updateSelection(){const{dates:t,rangepicker:e}=this.picker.datepicker;this.selected=t,e&&(this.range=e.dates)}render(){if(this.today=this.todayHighlight?d():void 0,this.prepareForRender(L(this.focused,this.switchLabelFormat,this.locale),this.first<=this.minDate,this.last>=this.maxDate),this.weekNumbers){const t=this.weekStart,e=v(this.first,t,t);Array.from(this.weekNumbers.weeks.children).forEach(((n,r)=>{const i=f(e,7*r);n.textContent=this.getWeekNumber(i,t),r>3&&n.classList[i>this.last?"add":"remove"]("next")}))}Array.from(this.grid.children).forEach(((t,e)=>{const n=f(this.start,e),r=new Date(n),i=r.getDay(),o=[];this.today===n&&o.push("today"),this.daysOfWeekHighlighted.includes(i)&&o.push("highlighted"),this.renderCell(t,r.getDate(),n,n,this,n<this.minDate||n>this.maxDate||this.daysOfWeekDisabled.includes(i),o)}))}refresh(){const t=this.range||[];Array.from(this.grid.children).forEach((e=>{this.refreshCell(e,Number(e.dataset.date),this.selected,t)}))}refreshFocus(){this.changeFocusedCell(Math.round((this.focused-this.start)/864e5))}}function pt(t,e){if(!t||!t[0]||!t[1])return;const[[n,r],[i,o]]=t;return n>e||i<e?void 0:[n===e?r:-1,i===e?o:12]}class mt extends ht{constructor(t){super(t,{id:1,name:"months",cellClass:"month"})}init(t,e=!0){e&&(this.grid=this.element,this.element.classList.add("months","datepicker-grid"),this.grid.appendChild(N(l("span",12,{"data-month":t=>t}))),this.first=0,this.last=11),super.init(t)}setOptions(t){if(t.locale&&(this.monthNames=t.locale.monthsShort),"minDate"in t)if(void 0===t.minDate)this.minYear=this.minMonth=this.minDate=void 0;else{const e=new Date(t.minDate);this.minYear=e.getFullYear(),this.minMonth=e.getMonth(),this.minDate=e.setDate(1)}if("maxDate"in t)if(void 0===t.maxDate)this.maxYear=this.maxMonth=this.maxDate=void 0;else{const e=new Date(t.maxDate);this.maxYear=e.getFullYear(),this.maxMonth=e.getMonth(),this.maxDate=h(this.maxYear,this.maxMonth+1,0)}t.checkDisabled&&(this.checkDisabled=this.isMinView||null===t.datesDisabled?t.checkDisabled:()=>!1),"beforeShowMonth"in t&&(this.beforeShow="function"==typeof t.beforeShowMonth?t.beforeShowMonth:void 0)}updateFocus(){const t=new Date(this.picker.viewDate);this.year=t.getFullYear(),this.focused=t.getMonth()}updateSelection(){const{dates:t,rangepicker:e}=this.picker.datepicker;this.selected=t.reduce(((t,e)=>{const n=new Date(e),r=n.getFullYear(),o=n.getMonth();return void 0===t[r]?t[r]=[o]:i(t[r],o),t}),{}),e&&e.dates&&(this.range=e.dates.map((t=>{const e=new Date(t);return isNaN(e)?void 0:[e.getFullYear(),e.getMonth()]})))}render(){this.prepareForRender(this.year,this.year<=this.minYear,this.year>=this.maxYear);const t=this.selected[this.year]||[],e=this.year<this.minYear||this.year>this.maxYear,n=this.year===this.minYear,r=this.year===this.maxYear,i=pt(this.range,this.year);Array.from(this.grid.children).forEach(((o,s)=>{const a=S(new Date(this.year,s,1),1,this.isRangeEnd);this.renderCell(o,this.monthNames[s],s,a,{selected:t,range:i},e||n&&s<this.minMonth||r&&s>this.maxMonth)}))}refresh(){const t=this.selected[this.year]||[],e=pt(this.range,this.year)||[];Array.from(this.grid.children).forEach(((n,r)=>{this.refreshCell(n,r,t,e)}))}refreshFocus(){this.changeFocusedCell(this.focused)}}class gt extends ht{constructor(t,e){super(t,e)}init(t,e=!0){var n;e&&(this.navStep=10*this.step,this.beforeShowOption=`beforeShow${n=this.cellClass,[...n].reduce(((t,e,n)=>t+(n?e:e.toUpperCase())),"")}`,this.grid=this.element,this.element.classList.add(this.name,"datepicker-grid"),this.grid.appendChild(N(l("span",12)))),super.init(t)}setOptions(t){if("minDate"in t&&(void 0===t.minDate?this.minYear=this.minDate=void 0:(this.minYear=_(t.minDate,this.step),this.minDate=h(this.minYear,0,1))),"maxDate"in t&&(void 0===t.maxDate?this.maxYear=this.maxDate=void 0:(this.maxYear=_(t.maxDate,this.step),this.maxDate=h(this.maxYear,11,31))),t.checkDisabled&&(this.checkDisabled=this.isMinView||null===t.datesDisabled?t.checkDisabled:()=>!1),this.beforeShowOption in t){const e=t[this.beforeShowOption];this.beforeShow="function"==typeof e?e:void 0}}updateFocus(){const t=new Date(this.picker.viewDate),e=_(t,this.navStep),n=e+9*this.step;this.first=e,this.last=n,this.start=e-this.step,this.focused=_(t,this.step)}updateSelection(){const{dates:t,rangepicker:e}=this.picker.datepicker;this.selected=t.reduce(((t,e)=>i(t,_(e,this.step))),[]),e&&e.dates&&(this.range=e.dates.map((t=>{if(void 0!==t)return _(t,this.step)})))}render(){this.prepareForRender(`${this.first}-${this.last}`,this.first<=this.minYear,this.last>=this.maxYear),Array.from(this.grid.children).forEach(((t,e)=>{const n=this.start+e*this.step,r=S(new Date(n,0,1),2,this.isRangeEnd);t.dataset.year=n,this.renderCell(t,n,n,r,this,n<this.minYear||n>this.maxYear)}))}refresh(){const t=this.range||[];Array.from(this.grid.children).forEach((e=>{this.refreshCell(e,Number(e.textContent),this.selected,t)}))}refreshFocus(){this.changeFocusedCell(Math.round((this.focused-this.start)/this.step))}}function vt(t,e){const n={bubbles:!0,cancelable:!0,detail:{date:t.getDate(),viewDate:new Date(t.picker.viewDate),viewId:t.picker.currentView.id,datepicker:t}};t.element.dispatchEvent(new CustomEvent(e,n))}function bt(t,e){const{config:n,picker:r}=t,{currentView:i,viewDate:o}=r;let s;switch(i.id){case 0:s=p(o,e);break;case 1:s=m(o,e);break;default:s=m(o,e*i.navStep)}s=a(s,n.minDate,n.maxDate),r.changeFocus(s).render()}function yt(t){const e=t.picker.currentView.id;e!==t.config.maxView&&t.picker.changeView(e+1).render()}function xt(t){t.setDate({clear:!0})}function wt(t){const e=d();1===t.config.todayButtonMode?t.setDate(e,{forceRefresh:!0,viewDate:e}):t.setFocusedDate(e,!0)}function kt(t){const e=()=>{t.config.updateOnBlur?t.update({revert:!0}):t.refresh("input"),t.hide()},n=t.element;$(n)?n.addEventListener("blur",e,{once:!0}):e()}function _t(t,e){const n=t.picker,r=new Date(n.viewDate),i=n.currentView.id,o=1===i?p(r,e-r.getMonth()):m(r,e-r.getFullYear());n.changeFocus(o).changeView(i-1).render()}function St(t){yt(t)}function Ot(t){bt(t,-1)}function Mt(t){bt(t,1)}function Ct(t,e){const n=X(e,".datepicker-cell");if(!n||n.classList.contains("disabled"))return;const{id:r,isMinView:i}=t.picker.currentView,o=n.dataset;i?t.setDate(Number(o.date)):_t(t,Number(1===r?o.month:o.year))}function At(t){t.preventDefault()}const Tt=["left","top","right","bottom"].reduce(((t,e)=>(t[e]=`datepicker-orient-${e}`,t)),{}),Et=t=>t?`${t}px`:t;function Dt(t,e){if("title"in e&&(e.title?(t.controls.title.textContent=e.title,F(t.controls.title)):(t.controls.title.textContent="",B(t.controls.title))),e.prevArrow){const n=t.controls.prevButton;z(n),e.prevArrow.forEach((t=>{n.appendChild(t.cloneNode(!0))}))}if(e.nextArrow){const n=t.controls.nextButton;z(n),e.nextArrow.forEach((t=>{n.appendChild(t.cloneNode(!0))}))}if(e.locale&&(t.controls.todayButton.textContent=e.locale.today,t.controls.clearButton.textContent=e.locale.clear),"todayButton"in e&&(e.todayButton?F(t.controls.todayButton):B(t.controls.todayButton)),"minDate"in e||"maxDate"in e){const{minDate:e,maxDate:n}=t.datepicker.config;t.controls.todayButton.disabled=!s(d(),e,n)}"clearButton"in e&&(e.clearButton?F(t.controls.clearButton):B(t.controls.clearButton))}function Pt(t){const{dates:e,config:n,rangeSideIndex:i}=t;return a(e.length>0?r(e):S(n.defaultViewDate,n.pickLevel,i),n.minDate,n.maxDate)}function jt(t,e){"_oldViewDate"in t||e===t.viewDate||(t._oldViewDate=t.viewDate),t.viewDate=e;const{id:n,year:r,first:i,last:o}=t.currentView,s=new Date(e).getFullYear();switch(n){case 0:return e<i||e>o;case 1:return s!==r;default:return s<i||s>o}}function Lt(t){return window.getComputedStyle(t).direction}function It(t){const e=R(t);if(e!==document.body&&e)return"visible"!==window.getComputedStyle(e).overflow?e:It(e)}class Nt{constructor(t){const{config:e,inputField:n}=this.datepicker=t,r=ct.replace(/%buttonClass%/g,e.buttonClass),i=this.element=N(r).firstChild,[o,s,a]=i.firstChild.children,l=o.firstElementChild,[c,u,d]=o.lastElementChild.children,[h,f]=a.firstChild.children,p={title:l,prevButton:c,viewSwitch:u,nextButton:d,todayButton:h,clearButton:f};this.main=s,this.controls=p;const m=n?"dropdown":"inline";i.classList.add(`datepicker-${m}`),Dt(this,e),this.viewDate=Pt(t),V(t,[[i,"mousedown",At],[s,"click",Ct.bind(null,t)],[p.viewSwitch,"click",St.bind(null,t)],[p.prevButton,"click",Ot.bind(null,t)],[p.nextButton,"click",Mt.bind(null,t)],[p.todayButton,"click",wt.bind(null,t)],[p.clearButton,"click",xt.bind(null,t)]]),this.views=[new ft(this),new mt(this),new gt(this,{id:2,name:"years",cellClass:"year",step:1}),new gt(this,{id:3,name:"decades",cellClass:"decade",step:10})],this.currentView=this.views[e.startView],this.currentView.render(),this.main.appendChild(this.currentView.element),e.container?e.container.appendChild(this.element):n.after(this.element)}setOptions(t){Dt(this,t),this.views.forEach((e=>{e.init(t,!1)})),this.currentView.render()}detach(){this.element.remove()}show(){if(this.active)return;const{datepicker:t,element:e}=this,n=t.inputField;if(n){const r=Lt(n);r!==Lt(R(e))?e.dir=r:e.dir&&e.removeAttribute("dir"),this.place(),e.classList.add("active"),t.config.disableTouchKeyboard&&n.blur()}else e.classList.add("active");this.active=!0,vt(t,"show")}hide(){this.active&&(this.datepicker.exitEditMode(),this.element.classList.remove("active"),this.active=!1,vt(this.datepicker,"hide"))}place(){const{classList:t,style:e}=this.element;e.display="block";const{width:n,height:r}=this.element.getBoundingClientRect(),i=this.element.offsetParent;e.display="";const{config:o,inputField:s}=this.datepicker,{left:a,top:l,right:c,bottom:u,width:d,height:h}=s.getBoundingClientRect();let{x:f,y:p}=o.orientation,m=a,g=l;if(i!==document.body&&i){const t=i.getBoundingClientRect();m-=t.left-i.scrollLeft,g-=t.top-i.scrollTop}else m+=window.scrollX,g+=window.scrollY;const v=It(s);let b=0,y=0,{clientWidth:x,clientHeight:w}=document.documentElement;if(v){const t=v.getBoundingClientRect();t.top>0&&(y=t.top),t.left>0&&(b=t.left),t.right<x&&(x=t.right),t.bottom<w&&(w=t.bottom)}let k=0;"auto"===f&&(a<b?(f="left",k=b-a):a+n>x?(f="right",x<c&&(k=x-c)):f="rtl"===Lt(s)?c-n<b?"left":"right":"left"),"right"===f&&(m+=d-n),m+=k,"auto"===p&&(p=l-r>y&&u+r>w?"top":"bottom"),"top"===p?g-=r:g+=h,t.remove(...Object.values(Tt)),t.add(Tt[f],Tt[p]),e.left=Et(m),e.top=Et(g)}setViewSwitchLabel(t){this.controls.viewSwitch.textContent=t}setPrevButtonDisabled(t){this.controls.prevButton.disabled=t}setNextButtonDisabled(t){this.controls.nextButton.disabled=t}changeView(t){const e=this.currentView;return t!==e.id&&(this._oldView||(this._oldView=e),this.currentView=this.views[t],this._renderMethod="render"),this}changeFocus(t){return this._renderMethod=jt(this,t)?"render":"refreshFocus",this.views.forEach((t=>{t.updateFocus()})),this}update(t=void 0){const e=void 0===t?Pt(this.datepicker):t;return this._renderMethod=jt(this,e)?"render":"refresh",this.views.forEach((t=>{t.updateFocus(),t.updateSelection()})),this}render(t=!0){const{currentView:e,datepicker:n,_oldView:r}=this,i=new Date(this._oldViewDate),o=t&&this._renderMethod||"render";if(delete this._oldView,delete this._oldViewDate,delete this._renderMethod,e[o](),r&&(this.main.replaceChild(e.element,r.element),vt(n,"changeView")),!isNaN(i)){const t=new Date(this.viewDate);t.getFullYear()!==i.getFullYear()&&vt(n,"changeYear"),t.getMonth()!==i.getMonth()&&vt(n,"changeMonth")}}}function Rt(t,e,n,r,i,o){if(s(t,i,o)){if(r(t)){return Rt(e(t,n),e,n,r,i,o)}return t}}function $t(t,e,n){const r=t.picker,i=r.currentView,o=i.step||1;let s,a=r.viewDate;switch(i.id){case 0:a=f(a,n?7*e:e),s=f;break;case 1:a=p(a,n?4*e:e),s=p;break;default:a=m(a,e*(n?4:1)*o),s=m}a=Rt(a,s,e<0?-o:o,(t=>i.disabled.includes(t)),i.minDate,i.maxDate),void 0!==a&&r.changeFocus(a).render()}function Bt(t,e){const{config:n,picker:r,editMode:i}=t,o=r.active,{key:s,altKey:a,shiftKey:l}=e,c=e.ctrlKey||e.metaKey,u=()=>{e.preventDefault(),e.stopPropagation()};if("Tab"===s)return void kt(t);if("Enter"===s){if(o)if(i)t.exitEditMode({update:!0,autohide:n.autohide});else{const e=r.currentView;e.isMinView?t.setDate(r.viewDate):(r.changeView(e.id-1).render(),u())}else t.update();return}const d=n.shortcutKeys,h={key:s,ctrlOrMetaKey:c,altKey:a,shiftKey:l},f=Object.keys(d).find((t=>{const e=d[t];return!Object.keys(e).find((t=>e[t]!==h[t]))}));if(f){let e;if("toggle"===f?e=f:i?"exitEditMode"===f&&(e=f):o?"hide"===f?e=f:"prevButton"===f?e=[bt,[t,-1]]:"nextButton"===f?e=[bt,[t,1]]:"viewSwitch"===f?e=[yt,[t]]:n.clearButton&&"clearButton"===f?e=[xt,[t]]:n.todayButton&&"todayButton"===f&&(e=[wt,[t]]):"show"===f&&(e=f),e)return Array.isArray(e)?e[0].apply(null,e[1]):t[e](),void u()}if(!o||i)return;const p=(n,r)=>{l||c||a?t.enterEditMode():($t(t,n,r),e.preventDefault())};"ArrowLeft"===s?p(-1,!1):"ArrowRight"===s?p(1,!1):"ArrowUp"===s?p(-1,!0):"ArrowDown"===s?p(1,!0):("Backspace"===s||"Delete"===s||s&&1===s.length&&!c)&&t.enterEditMode()}function Ft(t){t.config.showOnFocus&&!t._showing&&t.show()}function zt(t,e){const n=e.target;(t.picker.active||t.config.showOnClick)&&(n._active=$(n),n._clicking=setTimeout((()=>{delete n._active,delete n._clicking}),2e3))}function Ht(t,e){const n=e.target;n._clicking&&(clearTimeout(n._clicking),delete n._clicking,n._active&&t.enterEditMode(),delete n._active,t.config.showOnClick&&t.show())}function Yt(t,e){e.clipboardData.types.includes("text/plain")&&t.enterEditMode()}function Wt(t,e){const{element:n,picker:r}=t;if(!r.active&&!$(n))return;const i=r.element;X(e,(t=>t===n||t===i))||kt(t)}function Vt(t,e){return t.map((t=>L(t,e.format,e.locale))).join(e.dateDelimiter)}function Ut(t,e,n=!1){if(0===e.length)return n?[]:void 0;const{config:r,dates:i,rangeSideIndex:o}=t,{pickLevel:a,maxNumberOfDates:l}=r;let c=e.reduce(((t,e)=>{let n=j(e,r.format,r.locale);return void 0===n||(n=S(n,a,o),!s(n,r.minDate,r.maxDate)||t.includes(n)||r.checkDisabled(n,a)||!(a>0)&&r.daysOfWeekDisabled.includes(new Date(n).getDay())||t.push(n)),t}),[]);return 0!==c.length?(r.multidate&&!n&&(c=c.reduce(((t,e)=>(i.includes(e)||t.push(e),t)),i.filter((t=>!c.includes(t))))),l&&c.length>l?c.slice(-1*l):c):void 0}function Gt(t,e=3,n=!0,r=void 0){const{config:i,picker:o,inputField:s}=t;if(2&e){const t=o.active?i.pickLevel:i.startView;o.update(r).changeView(t).render(n)}1&e&&s&&(s.value=Vt(t.dates,i))}function Xt(t,e,n){const r=t.config;let{clear:i,render:o,autohide:s,revert:a,forceRefresh:l,viewDate:c}=n;void 0===o&&(o=!0),o?void 0===s&&(s=r.autohide):s=l=!1,c=j(c,r.format,r.locale);const u=Ut(t,e,i);(u||a)&&(u&&u.toString()!==t.dates.toString()?(t.dates=u,Gt(t,o?3:1,!0,c),vt(t,"changeDate")):Gt(t,l?3:1,!0,c),s&&t.hide())}function qt(t,e){return e?n=>L(n,e,t.config.locale):t=>new Date(t)}class Kt{constructor(t,e={},n=void 0){t.datepicker=this,this.element=t,this.dates=[];const r=this.config=Object.assign({buttonClass:e.buttonClass&&String(e.buttonClass)||"button",container:null,defaultViewDate:d(),maxDate:void 0,minDate:void 0},st(K,this));let i;if("INPUT"===t.tagName?(i=this.inputField=t,i.classList.add("datepicker-input"),e.container&&(r.container=e.container instanceof HTMLElement?e.container:document.querySelector(e.container))):r.container=t,n){const t=n.inputs.indexOf(i),e=n.datepickers;if(t<0||t>1||!Array.isArray(e))throw Error("Invalid rangepicker object.");e[t]=this,this.rangepicker=n,this.rangeSideIndex=t}this._options=e,Object.assign(r,st(e,this)),r.shortcutKeys=function(t){return Object.keys(at).reduce(((e,n)=>{const r=void 0===t[n]?at[n]:t[n],i=r&&r.key;if(!i||"string"!=typeof i)return e;const o={key:i,ctrlOrMetaKey:!!(r.ctrlOrMetaKey||r.ctrlKey||r.metaKey)};return i.length>1&&(o.altKey=!!r.altKey,o.shiftKey=!!r.shiftKey),e[n]=o,e}),{})}(e.shortcutKeys||{});const s=o(t.value||t.dataset.date,r.dateDelimiter);delete t.dataset.date;const a=Ut(this,s);a&&a.length>0&&(this.dates=a),i&&(i.value=Vt(this.dates,r));const l=this.picker=new Nt(this),c=[t,"keydown",Bt.bind(null,this)];i?V(this,[c,[i,"focus",Ft.bind(null,this)],[i,"mousedown",zt.bind(null,this)],[i,"click",Ht.bind(null,this)],[i,"paste",Yt.bind(null,this)],[document,"mousedown",Wt.bind(null,this)],[window,"resize",l.place.bind(l)]]):(V(this,[c]),this.show())}static formatDate(t,e,n){return L(t,e,n&&q[n]||q.en)}static parseDate(t,e,n){return j(t,e,n&&q[n]||q.en)}static get locales(){return q}get active(){return!(!this.picker||!this.picker.active)}get pickerElement(){return this.picker?this.picker.element:void 0}setOptions(t){const e=st(t,this);Object.assign(this._options,t),Object.assign(this.config,e),this.picker.setOptions(e),Gt(this,3)}show(){if(this.inputField){const{config:t,inputField:e}=this;if(e.disabled||e.readOnly&&!t.enableOnReadonly)return;$(e)||t.disableTouchKeyboard||(this._showing=!0,e.focus(),delete this._showing)}this.picker.show()}hide(){this.inputField&&(this.picker.hide(),this.picker.update().changeView(this.config.startView).render())}toggle(){this.picker.active?this.inputField&&this.picker.hide():this.show()}destroy(){this.hide(),U(this),this.picker.detach();const t=this.element;return t.classList.remove("datepicker-input"),delete t.datepicker,this}getDate(t=void 0){const e=qt(this,t);return this.config.multidate?this.dates.map(e):this.dates.length>0?e(this.dates[0]):void 0}setDate(...t){const e=[...t],n={},i=r(t);!i||"object"!=typeof i||Array.isArray(i)||i instanceof Date||Object.assign(n,e.pop());Xt(this,Array.isArray(e[0])?e[0]:e,n)}update(t=void 0){if(!this.inputField)return;const e=Object.assign(t||{},{clear:!0,render:!0,viewDate:void 0});Xt(this,o(this.inputField.value,this.config.dateDelimiter),e)}getFocusedDate(t=void 0){return qt(this,t)(this.picker.viewDate)}setFocusedDate(t,e=!1){const{config:n,picker:r,active:i,rangeSideIndex:o}=this,s=n.pickLevel,a=j(t,n.format,n.locale);void 0!==a&&(r.changeFocus(S(a,s,o)),i&&e&&r.changeView(s),r.render())}refresh(t=void 0,e=!1){let n;t&&"string"!=typeof t&&(e=t,t=void 0),n="picker"===t?2:"input"===t?1:3,Gt(this,n,!e)}enterEditMode(){const t=this.inputField;t&&!t.readOnly&&this.picker.active&&!this.editMode&&(this.editMode=!0,t.classList.add("in-edit"))}exitEditMode(t=void 0){if(!this.inputField||!this.editMode)return;const e=Object.assign({update:!1},t);delete this.editMode,this.inputField.classList.remove("in-edit"),e.update&&this.update(e)}}function Jt(t){const e=Object.assign({},t);return delete e.inputs,delete e.allowOneSidedRange,delete e.maxNumberOfDates,e}function Zt(t,e){if(t._updating)return;t._updating=!0;const n=e.target;if(void 0===n.datepicker)return;const r=t.datepickers,[i,o]=r,s={render:!1},a=t.inputs.indexOf(n),l=0===a?1:0,c=r[a].dates[0],u=r[l].dates[0];void 0!==c&&void 0!==u?0===a&&c>u?(i.setDate(u,s),o.setDate(c,s)):1===a&&c<u&&(i.setDate(c,s),o.setDate(u,s)):t.allowOneSidedRange||void 0===c&&void 0===u||(s.clear=!0,r[l].setDate(r[a].dates,s)),r.forEach((t=>{t.picker.update().render()})),delete t._updating}class Qt{constructor(t,e={}){let n=Array.isArray(e.inputs)?e.inputs:Array.from(t.querySelectorAll("input"));if(n.length<2)return;t.rangepicker=this,this.element=t,this.inputs=n=n.slice(0,2),Object.freeze(n),this.allowOneSidedRange=!!e.allowOneSidedRange;const r=Zt.bind(null,this),i=Jt(e),o=this.datepickers=[];n.forEach((t=>{!function(t,e,n,r){V(t,[[n,"changeDate",e]]),new Kt(n,r,t)}(this,r,t,i)})),Object.freeze(o),Object.defineProperty(this,"dates",{get:()=>o.map((t=>t.dates[0]))}),o[0].dates.length>0?Zt(this,{target:n[0]}):o[1].dates.length>0&&Zt(this,{target:n[1]})}setOptions(t){this.allowOneSidedRange=!!t.allowOneSidedRange;const e=Jt(t);this.datepickers.forEach((t=>{t.setOptions(e)}))}destroy(){this.datepickers.forEach((t=>{t.destroy()})),U(this),delete this.element.rangepicker}getDates(t=void 0){const e=t?e=>L(e,t,this.datepickers[0].config.locale):t=>new Date(t);return this.dates.map((t=>void 0===t?t:e(t)))}setDates(t,e){const{datepickers:[n,r],inputs:[i,o],dates:[s,a]}=this;this._updating=!0,n.setDate(t),r.setDate(e),delete this._updating,r.dates[0]!==a?Zt(this,{target:o}):n.dates[0]!==s&&Zt(this,{target:i})}}},67723:(t,e,n)=>{"use strict";n.d(e,{lq:()=>o,rd:()=>i});var r=n(1837);function i(){return(0,r.getCurrentInstance)().proxy.$root.$router}function o(){var t=(0,r.getCurrentInstance)().proxy.$root;if(!t._$route){var e=(0,r.effectScope)(!0).run((function(){return(0,r.shallowReactive)(Object.assign({},t.$router.currentRoute))}));t._$route=e,t.$router.afterEach((function(t){Object.assign(e,t)}))}return t._$route}}}]);