{"version":3,"sources":["jsdelivr-header.js","/npm/chartjs-plugin-zoom@2.2.0/dist/chartjs-plugin-zoom.min.js","jsdelivr-separator.js","/npm/luxon@3.7.2/build/global/luxon.min.js","/npm/chartjs-adapter-luxon@1.3.1/dist/chartjs-adapter-luxon.umd.min.js","/npm/chartjs-plugin-annotation@3.1.0/dist/chartjs-plugin-annotation.min.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,ACPA;AACA;AACA,ACFA,ADAA;AACA;AACA,AEFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AFPA;AACA;AACA,AGFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"bundle.js","sourceRoot":"","sourcesContent":["/**\n * Combined by jsDelivr.\n * Original files:\n * - /npm/chartjs-plugin-zoom@2.2.0/dist/chartjs-plugin-zoom.min.js\n * - /npm/luxon@3.7.2/build/global/luxon.min.js\n * - /npm/chartjs-adapter-luxon@1.3.1/dist/chartjs-adapter-luxon.umd.min.js\n * - /npm/chartjs-plugin-annotation@3.1.0/dist/chartjs-plugin-annotation.min.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*!\n* chartjs-plugin-zoom v2.2.0\n* https://www.chartjs.org/chartjs-plugin-zoom/2.2.0/\n * (c) 2016-2024 chartjs-plugin-zoom Contributors\n * Released under the MIT License\n */\n!function(t,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=n(require(\"chart.js\"),require(\"hammerjs\"),require(\"chart.js/helpers\")):\"function\"==typeof define&&define.amd?define([\"chart.js\",\"hammerjs\",\"chart.js/helpers\"],n):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).ChartZoom=n(t.Chart,t.Hammer,t.Chart.helpers)}(this,(function(t,n,e){\"use strict\";const o=t=>t&&t.enabled&&t.modifierKey,a=(t,n)=>t&&n[t+\"Key\"],i=(t,n)=>t&&!n[t+\"Key\"];function r(t,n,e){return void 0===t||(\"string\"==typeof t?-1!==t.indexOf(n):\"function\"==typeof t&&-1!==t({chart:e}).indexOf(n))}function c(t,n){return\"function\"==typeof t&&(t=t({chart:n})),\"string\"==typeof t?{x:-1!==t.indexOf(\"x\"),y:-1!==t.indexOf(\"y\")}:{x:!1,y:!1}}function s(t,n,o){const{mode:a=\"xy\",scaleMode:i,overScaleMode:r}=t||{},s=function({x:t,y:n},e){const o=e.scales,a=Object.keys(o);for(let e=0;e<a.length;e++){const i=o[a[e]];if(n>=i.top&&n<=i.bottom&&t>=i.left&&t<=i.right)return i}return null}(n,o),l=c(a,o),m=c(i,o);if(r){const t=c(r,o);for(const n of[\"x\",\"y\"])t[n]&&(m[n]=l[n],l[n]=!1)}if(s&&m[s.axis])return[s];const u=[];return e.each(o.scales,(function(t){l[t.axis]&&u.push(t)})),u}const l=new WeakMap;function m(t){let n=l.get(t);return n||(n={originalScaleLimits:{},updatedScaleLimits:{},handlers:{},panDelta:{},dragging:!1,panning:!1},l.set(t,n)),n}function u(t,n,e,o){const a=Math.max(0,Math.min(1,(t-n)/e||0));return{min:o*a,max:o*(1-a)}}function d(t,n){const e=t.isHorizontal()?n.x:n.y;return t.getValueForPixel(e)}function f(t,n,e){const o=t.max-t.min,a=o*(n-1);return u(d(t,e),t.min,o,a)}function p(t,n,o,a,i){let r=o[a];if(\"original\"===r){const o=t.originalScaleLimits[n.id][a];r=e.valueOrDefault(o.options,o.scale)}return e.valueOrDefault(r,i)}function h(t,{min:n,max:o},a,i=!1){const r=m(t.chart),{options:c}=t,s=function(t,n){return n&&(n[t.id]||n[t.axis])||{}}(t,a),{minRange:l=0}=s,u=p(r,t,s,\"min\",-1/0),d=p(r,t,s,\"max\",1/0);if(\"pan\"===i&&(n<u||o>d))return!0;const f=t.max-t.min,h=i?Math.max(o-n,l):f;if(i&&h===l&&f<=l)return!0;const g=function(t,{min:n,max:o,minLimit:a,maxLimit:i},r){const c=(t-o+n)/2;n-=c,o+=c;const s=r.min.options??r.min.scale,l=r.max.options??r.max.scale,m=t/1e6;return e.almostEquals(n,s,m)&&(n=s),e.almostEquals(o,l,m)&&(o=l),n<a?(n=a,o=Math.min(a+t,i)):o>i&&(o=i,n=Math.max(i-t,a)),{min:n,max:o}}(h,{min:n,max:o,minLimit:u,maxLimit:d},r.originalScaleLimits[t.id]);return c.min=g.min,c.max=g.max,r.updatedScaleLimits[t.id]=g,t.parse(g.min)!==t.min||t.parse(g.max)!==t.max}const g=t=>0===t||isNaN(t)?0:t<0?Math.min(Math.round(t),-1):Math.max(Math.round(t),1);const x={second:500,minute:3e4,hour:18e5,day:432e5,week:3024e5,month:1296e6,quarter:5184e6,year:157248e5};function b(t,n,e,o=!1){const{min:a,max:i,options:r}=t,c=r.time&&r.time.round,s=x[c]||0,l=t.getValueForPixel(t.getPixelForValue(a+s)-n),m=t.getValueForPixel(t.getPixelForValue(i+s)-n);return!(!isNaN(l)&&!isNaN(m))||h(t,{min:l,max:m},e,!!o&&\"pan\")}function y(t,n,e){return b(t,n,e,!0)}const v={category:function(t,n,e,o){const a=f(t,n,e);return t.min===t.max&&n<1&&function(t){const n=t.getLabels().length-1;t.min>0&&(t.min-=1),t.max<n&&(t.max+=1)}(t),h(t,{min:t.min+g(a.min),max:t.max-g(a.max)},o,!0)},default:function(t,n,e,o){const a=f(t,n,e);return h(t,{min:t.min+a.min,max:t.max-a.max},o,!0)},logarithmic:function(t,n,e,o){const a=function(t,n,e){const o=d(t,e);if(void 0===o)return{min:t.min,max:t.max};const a=Math.log10(t.min),i=Math.log10(t.max),r=i-a,c=u(Math.log10(o),a,r,r*(n-1));return{min:Math.pow(10,a+c.min),max:Math.pow(10,i-c.max)}}(t,n,e);return h(t,a,o,!0)}},w={default:function(t,n,e,o){h(t,function(t,n,e){const o=t.getValueForPixel(n),a=t.getValueForPixel(e);return{min:Math.min(o,a),max:Math.max(o,a)}}(t,n,e),o,!0)}},z={category:function(t,n,e){const o=t.getLabels().length-1;let{min:a,max:i}=t;const r=Math.max(i-a,1),c=Math.round(function(t){return t.isHorizontal()?t.width:t.height}(t)/Math.max(r,10)),s=Math.round(Math.abs(n/c));let l;return n<-c?(i=Math.min(i+s,o),a=1===r?i:i-r,l=i===o):n>c&&(a=Math.max(0,a-s),i=1===r?a:a+r,l=0===a),h(t,{min:a,max:i},e)||l},default:b,logarithmic:y,timeseries:y};function M(t,n){e.each(t,((e,o)=>{n[o]||delete t[o]}))}function k(t,n){const{scales:o}=t,{originalScaleLimits:a,updatedScaleLimits:i}=n;return e.each(o,(function(t){(function(t,n,e){const{id:o,options:{min:a,max:i}}=t;if(!n[o]||!e[o])return!0;const r=e[o];return r.min!==a||r.max!==i})(t,a,i)&&(a[t.id]={min:{scale:t.min,options:t.options.min},max:{scale:t.max,options:t.options.max}})})),M(a,o),M(i,o),a}function S(t,n,o,a){const i=v[t.type]||v.default;e.callback(i,[t,n,o,a])}function P(t,n,o,a){const i=w[t.type]||w.default;e.callback(i,[t,n,o,a])}function D(t){const n=t.chartArea;return{x:(n.left+n.right)/2,y:(n.top+n.bottom)/2}}function C(t,n,o=\"none\",a=\"api\"){const{x:i=1,y:r=1,focalPoint:c=D(t)}=\"number\"==typeof n?{x:n,y:n}:n,l=m(t),{options:{limits:u,zoom:d}}=l;k(t,l);const f=1!==i,p=1!==r,h=s(d,c,t);e.each(h||t.scales,(function(t){t.isHorizontal()&&f?S(t,i,c,u):!t.isHorizontal()&&p&&S(t,r,c,u)})),t.update(o),e.callback(d.onZoom,[{chart:t,trigger:a}])}function Z(t,n,o,a=\"none\",i=\"api\"){const c=m(t),{options:{limits:s,zoom:l}}=c,{mode:u=\"xy\"}=l;k(t,c);const d=r(u,\"x\",t),f=r(u,\"y\",t);e.each(t.scales,(function(t){t.isHorizontal()&&d?P(t,n.x,o.x,s):!t.isHorizontal()&&f&&P(t,n.y,o.y,s)})),t.update(a),e.callback(l.onZoom,[{chart:t,trigger:i}])}function j(t){const n=m(t);let o=1,a=1;return e.each(t.scales,(function(t){const i=function(t,n){const o=t.originalScaleLimits[n];if(!o)return;const{min:a,max:i}=o;return e.valueOrDefault(i.options,i.scale)-e.valueOrDefault(a.options,a.scale)}(n,t.id);if(i){const n=Math.round(i/(t.max-t.min)*100)/100;o=Math.min(o,n),a=Math.max(a,n)}})),o<1?o:a}function L(t,n,o,a){const{panDelta:i}=a,r=i[t.id]||0;e.sign(r)===e.sign(n)&&(n+=r);const c=z[t.type]||z.default;e.callback(c,[t,n,o])?i[t.id]=0:i[t.id]=n}function O(t,n,o,a=\"none\"){const{x:i=0,y:r=0}=\"number\"==typeof n?{x:n,y:n}:n,c=m(t),{options:{pan:s,limits:l}}=c,{onPan:u}=s||{};k(t,c);const d=0!==i,f=0!==r;e.each(o||t.scales,(function(t){t.isHorizontal()&&d?L(t,i,l,c):!t.isHorizontal()&&f&&L(t,r,l,c)})),t.update(a),e.callback(u,[{chart:t}])}function R(t){const n=m(t);k(t,n);const e={};for(const o of Object.keys(t.scales)){const{min:t,max:a}=n.originalScaleLimits[o]||{min:{},max:{}};e[o]={min:t.scale,max:a.scale}}return e}function E(t){const n=m(t);return n.panning||n.dragging}const F=(t,n,e)=>Math.min(e,Math.max(n,t));function N(t,n){const{handlers:e}=m(t),o=e[n];o&&o.target&&(o.target.removeEventListener(n,o),delete e[n])}function A(t,n,e,o){const{handlers:a,options:i}=m(t),r=a[e];if(r&&r.target===n)return;N(t,e),a[e]=n=>o(t,n,i),a[e].target=n;const c=\"wheel\"!==e&&void 0;n.addEventListener(e,a[e],{passive:c})}function H(t,n){const e=m(t);e.dragStart&&(e.dragging=!0,e.dragEnd=n,t.update(\"none\"))}function T(t,n){const e=m(t);e.dragStart&&\"Escape\"===n.key&&(N(t,\"keydown\"),e.dragging=!1,e.dragStart=e.dragEnd=null,t.update(\"none\"))}function Y(t,n){if(t.target!==n.canvas){const e=n.canvas.getBoundingClientRect();return{x:t.clientX-e.left,y:t.clientY-e.top}}return e.getRelativePosition(t,n)}function q(t,n,o){const{onZoomStart:a,onZoomRejected:i}=o;if(a){const o=Y(n,t);if(!1===e.callback(a,[{chart:t,event:n,point:o}]))return e.callback(i,[{chart:t,event:n}]),!1}}function V(t,n){if(t.legend){const o=e.getRelativePosition(n,t);if(e._isPointInArea(o,t.legend))return}const r=m(t),{pan:c,zoom:s={}}=r.options;if(0!==n.button||a(o(c),n)||i(o(s.drag),n))return e.callback(s.onZoomRejected,[{chart:t,event:n}]);!1!==q(t,n,s)&&(r.dragStart=n,A(t,t.canvas.ownerDocument,\"mousemove\",H),A(t,window.document,\"keydown\",T))}function X(t,n,e,{min:o,max:a,prop:i}){t[o]=F(Math.min(e.begin[i],e.end[i]),n[o],n[a]),t[a]=F(Math.max(e.begin[i],e.end[i]),n[o],n[a])}function B(t,n,e){const o={begin:Y(n.dragStart,t),end:Y(n.dragEnd,t)};if(e){!function({begin:t,end:n},e){let o=n.x-t.x,a=n.y-t.y;const i=Math.abs(o/a);i>e?o=Math.sign(o)*Math.abs(a*e):i<e&&(a=Math.sign(a)*Math.abs(o/e)),n.x=t.x+o,n.y=t.y+a}(o,t.chartArea.width/t.chartArea.height)}return o}function K(t,n,e,o){const a=r(n,\"x\",t),i=r(n,\"y\",t),{top:c,left:s,right:l,bottom:m,width:u,height:d}=t.chartArea,f={top:c,left:s,right:l,bottom:m},p=B(t,e,o&&a&&i);a&&X(f,t.chartArea,p,{min:\"left\",max:\"right\",prop:\"x\"}),i&&X(f,t.chartArea,p,{min:\"top\",max:\"bottom\",prop:\"y\"});const h=f.right-f.left,g=f.bottom-f.top;return{...f,width:h,height:g,zoomX:a&&h?1+(u-h)/u:1,zoomY:i&&g?1+(d-g)/d:1}}function W(t,n){const o=m(t);if(!o.dragStart)return;N(t,\"mousemove\");const{mode:a,onZoomComplete:i,drag:{threshold:c=0,maintainAspectRatio:s}}=o.options.zoom,l=K(t,a,{dragStart:o.dragStart,dragEnd:n},s),u=r(a,\"x\",t)?l.width:0,d=r(a,\"y\",t)?l.height:0,f=Math.sqrt(u*u+d*d);if(o.dragStart=o.dragEnd=null,f<=c)return o.dragging=!1,void t.update(\"none\");Z(t,{x:l.left,y:l.top},{x:l.right,y:l.bottom},\"zoom\",\"drag\"),o.dragging=!1,o.filterNextClick=!0,e.callback(i,[{chart:t}])}function I(t,n){const{handlers:{onZoomComplete:a},options:{zoom:r}}=m(t);if(!function(t,n,a){if(i(o(a.wheel),n))e.callback(a.onZoomRejected,[{chart:t,event:n}]);else if(!1!==q(t,n,a)&&(n.cancelable&&n.preventDefault(),void 0!==n.deltaY))return!0}(t,n,r))return;const c=n.target.getBoundingClientRect(),s=r.wheel.speed,l=n.deltaY>=0?2-1/(1-s):1+s;C(t,{x:l,y:l,focalPoint:{x:n.clientX-c.left,y:n.clientY-c.top}},\"zoom\",\"wheel\"),e.callback(a,[{chart:t}])}function U(t,n,o,a){o&&(m(t).handlers[n]=function(t,n){let e;return function(){return clearTimeout(e),e=setTimeout(t,n),n}}((()=>e.callback(o,[{chart:t}])),a))}function _(t,n){return function(r,c){const{pan:s,zoom:l={}}=n.options;if(!s||!s.enabled)return!1;const m=c&&c.srcEvent;return!m||(!(!n.panning&&\"mouse\"===c.pointerType&&(i(o(s),m)||a(o(l.drag),m)))||(e.callback(s.onPanRejected,[{chart:t,event:c}]),!1))}}function G(t,n,e){if(n.scale){const{center:o,pointers:a}=e,i=1/n.scale*e.scale,c=e.target.getBoundingClientRect(),s=function(t,n){const e=Math.abs(t.clientX-n.clientX),o=Math.abs(t.clientY-n.clientY),a=e/o;let i,r;return a>.3&&a<1.7?i=r=!0:e>o?i=!0:r=!0,{x:i,y:r}}(a[0],a[1]),l=n.options.zoom.mode;C(t,{x:s.x&&r(l,\"x\",t)?i:1,y:s.y&&r(l,\"y\",t)?i:1,focalPoint:{x:o.x-c.left,y:o.y-c.top}},\"zoom\",\"pinch\"),n.scale=e.scale}}function J(t,n,e){const o=n.delta;o&&(n.panning=!0,O(t,{x:e.deltaX-o.x,y:e.deltaY-o.y},n.panScales),n.delta={x:e.deltaX,y:e.deltaY})}const Q=new WeakMap;function $(t,o){const a=m(t),i=t.canvas,{pan:r,zoom:c}=o,l=new n.Manager(i);c&&c.pinch.enabled&&(l.add(new n.Pinch),l.on(\"pinchstart\",(n=>function(t,n,o){if(n.options.zoom.pinch.enabled){const a=e.getRelativePosition(o,t);!1===e.callback(n.options.zoom.onZoomStart,[{chart:t,event:o,point:a}])?(n.scale=null,e.callback(n.options.zoom.onZoomRejected,[{chart:t,event:o}])):n.scale=1}}(t,a,n))),l.on(\"pinch\",(n=>G(t,a,n))),l.on(\"pinchend\",(n=>function(t,n,o){n.scale&&(G(t,n,o),n.scale=null,e.callback(n.options.zoom.onZoomComplete,[{chart:t}]))}(t,a,n)))),r&&r.enabled&&(l.add(new n.Pan({threshold:r.threshold,enable:_(t,a)})),l.on(\"panstart\",(n=>function(t,n,o){const{enabled:a,onPanStart:i,onPanRejected:r}=n.options.pan;if(!a)return;const c=o.target.getBoundingClientRect(),l={x:o.center.x-c.left,y:o.center.y-c.top};if(!1===e.callback(i,[{chart:t,event:o,point:l}]))return e.callback(r,[{chart:t,event:o}]);n.panScales=s(n.options.pan,l,t),n.delta={x:0,y:0},J(t,n,o)}(t,a,n))),l.on(\"panmove\",(n=>J(t,a,n))),l.on(\"panend\",(()=>function(t,n){n.delta=null,n.panning&&(n.panning=!1,n.filterNextClick=!0,e.callback(n.options.pan.onPanComplete,[{chart:t}]))}(t,a)))),Q.set(t,l)}function tt(t){const n=Q.get(t);n&&(n.remove(\"pinchstart\"),n.remove(\"pinch\"),n.remove(\"pinchend\"),n.remove(\"panstart\"),n.remove(\"pan\"),n.remove(\"panend\"),n.destroy(),Q.delete(t))}function nt(t,n,e){const o=e.zoom.drag,{dragStart:a,dragEnd:i}=m(t);if(o.drawTime!==n||!i)return;const{left:r,top:c,width:s,height:l}=K(t,e.zoom.mode,{dragStart:a,dragEnd:i},o.maintainAspectRatio),u=t.ctx;u.save(),u.beginPath(),u.fillStyle=o.backgroundColor||\"rgba(225,225,225,0.3)\",u.fillRect(r,c,s,l),o.borderWidth>0&&(u.lineWidth=o.borderWidth,u.strokeStyle=o.borderColor||\"rgba(225,225,225)\",u.strokeRect(r,c,s,l)),u.restore()}var et={id:\"zoom\",version:\"2.2.0\",defaults:{pan:{enabled:!1,mode:\"xy\",threshold:10,modifierKey:null},zoom:{wheel:{enabled:!1,speed:.1,modifierKey:null},drag:{enabled:!1,drawTime:\"beforeDatasetsDraw\",modifierKey:null},pinch:{enabled:!1},mode:\"xy\"}},start:function(t,o,a){m(t).options=a,Object.prototype.hasOwnProperty.call(a.zoom,\"enabled\")&&console.warn(\"The option `zoom.enabled` is no longer supported. Please use `zoom.wheel.enabled`, `zoom.drag.enabled`, or `zoom.pinch.enabled`.\"),(Object.prototype.hasOwnProperty.call(a.zoom,\"overScaleMode\")||Object.prototype.hasOwnProperty.call(a.pan,\"overScaleMode\"))&&console.warn(\"The option `overScaleMode` is deprecated. Please use `scaleMode` instead (and update `mode` as desired).\"),n&&$(t,a),t.pan=(n,e,o)=>O(t,n,e,o),t.zoom=(n,e)=>C(t,n,e),t.zoomRect=(n,e,o)=>Z(t,n,e,o),t.zoomScale=(n,o,a)=>function(t,n,o,a=\"none\",i=\"api\"){const r=m(t);k(t,r),h(t.scales[n],o,void 0,!0),t.update(a),e.callback(r.options.zoom?.onZoom,[{chart:t,trigger:i}])}(t,n,o,a),t.resetZoom=n=>function(t,n=\"default\"){const o=m(t),a=k(t,o);e.each(t.scales,(function(t){const n=t.options;a[t.id]?(n.min=a[t.id].min.options,n.max=a[t.id].max.options):(delete n.min,delete n.max),delete o.updatedScaleLimits[t.id]})),t.update(n),e.callback(o.options.zoom.onZoomComplete,[{chart:t}])}(t,n),t.getZoomLevel=()=>j(t),t.getInitialScaleBounds=()=>R(t),t.getZoomedScaleBounds=()=>function(t){const n=m(t),e={};for(const o of Object.keys(t.scales))e[o]=n.updatedScaleLimits[o];return e}(t),t.isZoomedOrPanned=()=>function(t){const n=R(t);for(const e of Object.keys(t.scales)){const{min:o,max:a}=n[e];if(void 0!==o&&t.scales[e].min!==o)return!0;if(void 0!==a&&t.scales[e].max!==a)return!0}return!1}(t),t.isZoomingOrPanning=()=>E(t)},beforeEvent(t,{event:n}){if(E(t))return!1;if(\"click\"===n.type||\"mouseup\"===n.type){const n=m(t);if(n.filterNextClick)return n.filterNextClick=!1,!1}},beforeUpdate:function(t,n,e){const o=m(t),a=o.options;o.options=e,function(t,n){const{pan:e,zoom:o}=t,{pan:a,zoom:i}=n;return o?.zoom?.pinch?.enabled!==i?.zoom?.pinch?.enabled||e?.enabled!==a?.enabled||e?.threshold!==a?.threshold}(a,e)&&(tt(t),$(t,e)),function(t,n){const e=t.canvas,{wheel:o,drag:a,onZoomComplete:i}=n.zoom;o.enabled?(A(t,e,\"wheel\",I),U(t,\"onZoomComplete\",i,250)):N(t,\"wheel\"),a.enabled?(A(t,e,\"mousedown\",V),A(t,e.ownerDocument,\"mouseup\",W)):(N(t,\"mousedown\"),N(t,\"mousemove\"),N(t,\"mouseup\"),N(t,\"keydown\"))}(t,e)},beforeDatasetsDraw(t,n,e){nt(t,\"beforeDatasetsDraw\",e)},afterDatasetsDraw(t,n,e){nt(t,\"afterDatasetsDraw\",e)},beforeDraw(t,n,e){nt(t,\"beforeDraw\",e)},afterDraw(t,n,e){nt(t,\"afterDraw\",e)},stop:function(t){!function(t){N(t,\"mousedown\"),N(t,\"mousemove\"),N(t,\"mouseup\"),N(t,\"wheel\"),N(t,\"click\"),N(t,\"keydown\")}(t),n&&tt(t),function(t){l.delete(t)}(t)},panFunctions:z,zoomFunctions:v,zoomRectFunctions:w};return t.Chart.register(et),et}));\n",";\n\n","var luxon=function(e){\"use strict\";function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if(\"object\"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return(\"string\"===t?String:Number)(e);n=n.call(e,t||\"default\");if(\"object\"!=typeof n)return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}(e,\"string\");return\"symbol\"==typeof e?e:String(e)}(r.key),r)}}function i(e,t,n){t&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,\"prototype\",{writable:!1})}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),z(e.prototype.constructor=e,t)}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function z(e,t){return(z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n){return(A=function(){if(\"undefined\"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if(\"function\"==typeof Proxy)return 1;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),1}catch(e){}}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);t=new(Function.bind.apply(e,r));return n&&z(t,n.prototype),t}).apply(null,arguments)}function q(e){var n=\"function\"==typeof Map?new Map:void 0;return function(e){if(null===e||-1===Function.toString.call(e).indexOf(\"[native code]\"))return e;if(\"function\"!=typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return A(e,arguments,j(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),z(t,e)}(e)}function _(e,t){if(null==e)return{};for(var n,r={},i=Object.keys(e),o=0;o<i.length;o++)n=i[o],0<=t.indexOf(n)||(r[n]=e[n]);return r}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t){var n,r=\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){var n;if(e)return\"string\"==typeof e?U(e,t):\"Map\"===(n=\"Object\"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}(e))||t&&e&&\"number\"==typeof e.length)return r&&(e=r),n=0,function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}var t=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(q(Error)),P=function(t){function e(e){return t.call(this,\"Invalid DateTime: \"+e.toMessage())||this}return o(e,t),e}(t),Y=function(t){function e(e){return t.call(this,\"Invalid Interval: \"+e.toMessage())||this}return o(e,t),e}(t),H=function(t){function e(e){return t.call(this,\"Invalid Duration: \"+e.toMessage())||this}return o(e,t),e}(t),w=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(t),J=function(t){function e(e){return t.call(this,\"Invalid unit \"+e)||this}return o(e,t),e}(t),u=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(t),n=function(e){function t(){return e.call(this,\"Zone is an abstract class\")||this}return o(t,e),t}(t),t=\"numeric\",r=\"short\",a=\"long\",G={year:t,month:t,day:t},$={year:t,month:r,day:t},B={year:t,month:r,day:t,weekday:r},Q={year:t,month:a,day:t},K={year:t,month:a,day:t,weekday:a},X={hour:t,minute:t},ee={hour:t,minute:t,second:t},te={hour:t,minute:t,second:t,timeZoneName:r},ne={hour:t,minute:t,second:t,timeZoneName:a},re={hour:t,minute:t,hourCycle:\"h23\"},ie={hour:t,minute:t,second:t,hourCycle:\"h23\"},oe={hour:t,minute:t,second:t,hourCycle:\"h23\",timeZoneName:r},ae={hour:t,minute:t,second:t,hourCycle:\"h23\",timeZoneName:a},se={year:t,month:t,day:t,hour:t,minute:t},ue={year:t,month:t,day:t,hour:t,minute:t,second:t},le={year:t,month:r,day:t,hour:t,minute:t},ce={year:t,month:r,day:t,hour:t,minute:t,second:t},fe={year:t,month:r,day:t,weekday:r,hour:t,minute:t},de={year:t,month:a,day:t,hour:t,minute:t,timeZoneName:r},he={year:t,month:a,day:t,hour:t,minute:t,second:t,timeZoneName:r},me={year:t,month:a,day:t,weekday:a,hour:t,minute:t,timeZoneName:a},ye={year:t,month:a,day:t,weekday:a,hour:t,minute:t,second:t,timeZoneName:a},s=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new n},t.formatOffset=function(e,t){throw new n},t.offset=function(e){throw new n},t.equals=function(e){throw new n},i(e,[{key:\"type\",get:function(){throw new n}},{key:\"name\",get:function(){throw new n}},{key:\"ianaName\",get:function(){return this.name}},{key:\"isUniversal\",get:function(){throw new n}},{key:\"isValid\",get:function(){throw new n}}]),e}(),ve=null,ge=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var n=t.prototype;return n.offsetName=function(e,t){return Ot(e,t.format,t.locale)},n.formatOffset=function(e,t){return Dt(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return\"system\"===e.type},i(t,[{key:\"type\",get:function(){return\"system\"}},{key:\"name\",get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}},{key:\"isUniversal\",get:function(){return!1}},{key:\"isValid\",get:function(){return!0}}],[{key:\"instance\",get:function(){return ve=null===ve?new t:ve}}]),t}(s),pe=new Map;var ke={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};var we=new Map,c=function(n){function r(e){var t=n.call(this)||this;return t.zoneName=e,t.valid=r.isValidZone(e),t}o(r,n),r.create=function(e){var t=we.get(e);return void 0===t&&we.set(e,t=new r(e)),t},r.resetCache=function(){we.clear(),pe.clear()},r.isValidSpecifier=function(e){return this.isValidZone(e)},r.isValidZone=function(e){if(!e)return!1;try{return new Intl.DateTimeFormat(\"en-US\",{timeZone:e}).format(),!0}catch(e){return!1}};var e=r.prototype;return e.offsetName=function(e,t){return Ot(e,t.format,t.locale,this.name)},e.formatOffset=function(e,t){return Dt(this.offset(e),t)},e.offset=function(e){var t,n,r,i,o,a,s,u;return!this.valid||(e=new Date(e),isNaN(e))?NaN:(i=this.name,void 0===(o=pe.get(i))&&(o=new Intl.DateTimeFormat(\"en-US\",{hour12:!1,timeZone:i,year:\"numeric\",month:\"2-digit\",day:\"2-digit\",hour:\"2-digit\",minute:\"2-digit\",second:\"2-digit\",era:\"short\"}),pe.set(i,o)),a=(i=(i=o).formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=n[i],a=o.type,o=o.value,s=ke[a];\"era\"===a?r[s]=o:N(s)||(r[s]=parseInt(o,10))}return r}(i,e):(o=e,i=(i=i).format(o).replace(/\\u200E/g,\"\"),i=(o=/(\\d+)\\/(\\d+)\\/(\\d+) (AD|BC),? (\\d+):(\\d+):(\\d+)/.exec(i))[1],a=o[2],[o[3],i,a,o[4],o[5],o[6],o[7]]))[0],o=i[1],t=i[2],n=i[3],s=i[4],r=i[5],i=i[6],s=24===s?0:s,u=(e=+e)%1e3,(kt({year:a=\"BC\"===n?1-Math.abs(a):a,month:o,day:t,hour:s,minute:r,second:i,millisecond:0})-(e-=0<=u?u:1e3+u))/6e4)},e.equals=function(e){return\"iana\"===e.type&&e.name===this.name},i(r,[{key:\"type\",get:function(){return\"iana\"}},{key:\"name\",get:function(){return this.zoneName}},{key:\"isUniversal\",get:function(){return!1}},{key:\"isValid\",get:function(){return this.valid}}]),r}(s),be=[\"base\"],Se=[\"padTo\",\"floor\"],Oe={};var Te=new Map;function Ne(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=Te.get(n);return void 0===r&&(r=new Intl.DateTimeFormat(e,t),Te.set(n,r)),r}var Me=new Map;var De=new Map;var Ie=null;var Ve=new Map;function Ee(e){var t=Ve.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Ve.set(e,t)),t}var xe=new Map;function Fe(e,t,n,r){e=e.listingMode();return\"error\"===e?null:(\"en\"===e?n:r)(t)}var Ce=function(){function e(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1,n.padTo,n.floor;var r=_(n,Se);(!t||0<Object.keys(r).length)&&(t=l({useGrouping:!1},n),0<n.padTo&&(t.minimumIntegerDigits=n.padTo),this.inf=(r=e,void 0===(n=t)&&(n={}),e=JSON.stringify([r,n]),void 0===(t=Me.get(e))&&(t=new Intl.NumberFormat(r,n),Me.set(e,t)),t))}return e.prototype.format=function(e){var t;return this.inf?(t=this.floor?Math.floor(e):e,this.inf.format(t)):m(this.floor?Math.floor(e):vt(e,3),this.padTo)},e}(),Ze=function(){function e(e,t,n){this.opts=n;var n=this.originalZone=void 0,r=(this.opts.timeZone?this.dt=e:\"fixed\"===e.zone.type?(r=0<=(r=e.offset/60*-1)?\"Etc/GMT+\"+r:\"Etc/GMT\"+r,0!==e.offset&&c.create(r).valid?(n=r,this.dt=e):(n=\"UTC\",this.dt=0===e.offset?e:e.setZone(\"UTC\").plus({minutes:e.offset}),this.originalZone=e.zone)):\"system\"===e.zone.type?this.dt=e:\"iana\"===e.zone.type?n=(this.dt=e).zone.name:(this.dt=e.setZone(n=\"UTC\").plus({minutes:e.offset}),this.originalZone=e.zone),l({},this.opts));r.timeZone=r.timeZone||n,this.dtf=Ne(t,r)}var t=e.prototype;return t.format=function(){return this.originalZone?this.formatToParts().map(function(e){return e.value}).join(\"\"):this.dtf.format(this.dt.toJSDate())},t.formatToParts=function(){var t=this,e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(function(e){return\"timeZoneName\"===e.type?l({},e,{value:t.originalZone.offsetName(t.dt.ts,{locale:t.dt.locale,format:t.opts.timeZoneName})}):e}):e},t.resolvedOptions=function(){return this.dtf.resolvedOptions()},e}(),We=function(){function e(e,t,n){var r;this.opts=l({style:\"long\"},n),!t&&ft()&&(this.rtf=(t=e,(n=e=void 0===(e=n)?{}:e).base,n=_(n=e,be),n=JSON.stringify([t,n]),void 0===(r=De.get(n))&&(r=new Intl.RelativeTimeFormat(t,e),De.set(n,r)),r))}var t=e.prototype;return t.format=function(e,t){if(this.rtf)return this.rtf.format(e,t);var n=t,t=e,e=this.opts.numeric,r=\"long\"!==this.opts.style,i=(void 0===e&&(e=\"always\"),void 0===r&&(r=!1),{years:[\"year\",\"yr.\"],quarters:[\"quarter\",\"qtr.\"],months:[\"month\",\"mo.\"],weeks:[\"week\",\"wk.\"],days:[\"day\",\"day\",\"days\"],hours:[\"hour\",\"hr.\"],minutes:[\"minute\",\"min.\"],seconds:[\"second\",\"sec.\"]}),o=-1===[\"hours\",\"minutes\",\"seconds\"].indexOf(n);if(\"auto\"===e&&o){var a=\"days\"===n;switch(t){case 1:return a?\"tomorrow\":\"next \"+i[n][0];case-1:return a?\"yesterday\":\"last \"+i[n][0];case 0:return a?\"today\":\"this \"+i[n][0]}}var e=Object.is(t,-0)||t<0,t=1===(o=Math.abs(t)),s=i[n],r=r?!t&&s[2]||s[1]:t?i[n][0]:n;return e?o+\" \"+r+\" ago\":\"in \"+o+\" \"+r},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),Le={firstDay:1,minimalDays:4,weekend:[6,7]},b=function(){function o(e,t,n,r,i){var e=function(t){var n=t.indexOf(\"-x-\");if(-1===(n=(t=-1!==n?t.substring(0,n):t).indexOf(\"-u-\")))return[t];try{r=Ne(t).resolvedOptions(),i=t}catch(e){var t=t.substring(0,n),r=Ne(t).resolvedOptions(),i=t}return[i,(n=r).numberingSystem,n.calendar]}(e),o=e[0],a=e[1],e=e[2];this.locale=o,this.numberingSystem=t||a||null,this.outputCalendar=n||e||null,this.weekSettings=r,this.intl=(o=this.locale,t=this.numberingSystem,((a=this.outputCalendar)||t)&&(o.includes(\"-u-\")||(o+=\"-u\"),a&&(o+=\"-ca-\"+a),t)&&(o+=\"-nu-\"+t),o),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}o.fromOpts=function(e){return o.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)},o.create=function(e,t,n,r,i){void 0===i&&(i=!1);e=e||O.defaultLocale;return new o(e||(i?\"en-US\":Ie=Ie||(new Intl.DateTimeFormat).resolvedOptions().locale),t||O.defaultNumberingSystem,n||O.defaultOutputCalendar,mt(r)||O.defaultWeekSettings,e)},o.resetCache=function(){Ie=null,Te.clear(),Me.clear(),De.clear(),Ve.clear(),xe.clear()},o.fromObject=function(e){var e=void 0===e?{}:e,t=e.locale,n=e.numberingSystem,r=e.outputCalendar,e=e.weekSettings;return o.create(t,n,r,e)};var e=o.prototype;return e.listingMode=function(){var e=this.isEnglish(),t=!(null!==this.numberingSystem&&\"latn\"!==this.numberingSystem||null!==this.outputCalendar&&\"gregory\"!==this.outputCalendar);return e&&t?\"en\":\"intl\"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?o.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,mt(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this},e.redefaultToEN=function(e){return this.clone(l({},e=void 0===e?{}:e,{defaultToEN:!0}))},e.redefaultToSystem=function(e){return this.clone(l({},e=void 0===e?{}:e,{defaultToEN:!1}))},e.months=function(r,i){var o=this;return void 0===i&&(i=!1),Fe(this,r,Ft,function(){var e=\"ja\"===o.intl||o.intl.startsWith(\"ja-\"),t=(i&=!e)?{month:r,day:\"numeric\"}:{month:r},n=i?\"format\":\"standalone\";return o.monthsCache[n][r]||(o.monthsCache[n][r]=function(e){for(var t=[],n=1;n<=12;n++){var r=W.utc(2009,n,1);t.push(e(r))}return t}(e?function(e){return o.dtFormatter(e,t).format()}:function(e){return o.extract(e,t,\"month\")})),o.monthsCache[n][r]})},e.weekdays=function(n,r){var i=this;return void 0===r&&(r=!1),Fe(this,n,Lt,function(){var t=r?{weekday:n,year:\"numeric\",month:\"long\",day:\"numeric\"}:{weekday:n},e=r?\"format\":\"standalone\";return i.weekdaysCache[e][n]||(i.weekdaysCache[e][n]=function(e){for(var t=[],n=1;n<=7;n++){var r=W.utc(2016,11,13+n);t.push(e(r))}return t}(function(e){return i.extract(e,t,\"weekday\")})),i.weekdaysCache[e][n]})},e.meridiems=function(){var n=this;return Fe(this,void 0,function(){return jt},function(){var t;return n.meridiemCache||(t={hour:\"numeric\",hourCycle:\"h12\"},n.meridiemCache=[W.utc(2016,11,13,9),W.utc(2016,11,13,19)].map(function(e){return n.extract(e,t,\"dayperiod\")})),n.meridiemCache})},e.eras=function(e){var n=this;return Fe(this,e,_t,function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[W.utc(-40,1,1),W.utc(2017,1,1)].map(function(e){return n.extract(e,t,\"era\")})),n.eraCache[e]})},e.extract=function(e,t,n){e=this.dtFormatter(e,t).formatToParts().find(function(e){return e.type.toLowerCase()===n});return e?e.value:null},e.numberFormatter=function(e){return new Ce(this.intl,(e=void 0===e?{}:e).forceSimple||this.fastNumbers,e)},e.dtFormatter=function(e,t){return new Ze(e,this.intl,t=void 0===t?{}:t)},e.relFormatter=function(e){return void 0===e&&(e={}),new We(this.intl,this.isEnglish(),e)},e.listFormatter=function(e){return void 0===e&&(e={}),t=this.intl,void 0===(e=e)&&(e={}),n=JSON.stringify([t,e]),(r=Oe[n])||(r=new Intl.ListFormat(t,e),Oe[n]=r),r;var t,n,r},e.isEnglish=function(){return\"en\"===this.locale||\"en-us\"===this.locale.toLowerCase()||Ee(this.intl).locale.startsWith(\"en-us\")},e.getWeekSettings=function(){return this.weekSettings||(dt()?(e=this.locale,(n=xe.get(e))||(\"minimalDays\"in(n=\"getWeekInfo\"in(t=new Intl.Locale(e))?t.getWeekInfo():t.weekInfo)||(n=l({},Le,n)),xe.set(e,n)),n):Le);var e,t,n},e.getStartOfWeek=function(){return this.getWeekSettings().firstDay},e.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays},e.getWeekendDays=function(){return this.getWeekSettings().weekend},e.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},e.toString=function(){return\"Locale(\"+this.locale+\", \"+this.numberingSystem+\", \"+this.outputCalendar+\")\"},i(o,[{key:\"fastNumbers\",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||\"latn\"===e.numberingSystem)&&(\"latn\"===e.numberingSystem||!e.locale||e.locale.startsWith(\"en\")||\"latn\"===Ee(e.locale).numberingSystem)),this.fastNumbersCached}}]),o}(),je=null,f=function(n){function t(e){var t=n.call(this)||this;return t.fixed=e,t}o(t,n),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){e=e.match(/^utc(?:([+-]\\d{1,2})(?::(\\d{2}))?)?$/i);if(e)return new t(Tt(e[1],e[2]))}return null};var e=t.prototype;return e.offsetName=function(){return this.name},e.formatOffset=function(e,t){return Dt(this.fixed,t)},e.offset=function(){return this.fixed},e.equals=function(e){return\"fixed\"===e.type&&e.fixed===this.fixed},i(t,[{key:\"type\",get:function(){return\"fixed\"}},{key:\"name\",get:function(){return 0===this.fixed?\"UTC\":\"UTC\"+Dt(this.fixed,\"narrow\")}},{key:\"ianaName\",get:function(){return 0===this.fixed?\"Etc/UTC\":\"Etc/GMT\"+Dt(-this.fixed,\"narrow\")}},{key:\"isUniversal\",get:function(){return!0}},{key:\"isValid\",get:function(){return!0}}],[{key:\"utcInstance\",get:function(){return je=null===je?new t(0):je}}]),t}(s),ze=function(n){function e(e){var t=n.call(this)||this;return t.zoneName=e,t}o(e,n);var t=e.prototype;return t.offsetName=function(){return null},t.formatOffset=function(){return\"\"},t.offset=function(){return NaN},t.equals=function(){return!1},i(e,[{key:\"type\",get:function(){return\"invalid\"}},{key:\"name\",get:function(){return this.zoneName}},{key:\"isUniversal\",get:function(){return!1}},{key:\"isValid\",get:function(){return!1}}]),e}(s);function S(e,t){var n;return N(e)||null===e?t:e instanceof s?e:\"string\"==typeof e?\"default\"===(n=e.toLowerCase())?t:\"local\"===n||\"system\"===n?ge.instance:\"utc\"===n||\"gmt\"===n?f.utcInstance:f.parseSpecifier(n)||c.create(e):v(e)?f.instance(e):\"object\"==typeof e&&\"offset\"in e&&\"function\"==typeof e.offset?e:new ze(e)}var Ae={arab:\"[٠-٩]\",arabext:\"[۰-۹]\",bali:\"[᭐-᭙]\",beng:\"[০-৯]\",deva:\"[०-९]\",fullwide:\"[０-９]\",gujr:\"[૦-૯]\",hanidec:\"[〇|一|二|三|四|五|六|七|八|九]\",khmr:\"[០-៩]\",knda:\"[೦-೯]\",laoo:\"[໐-໙]\",limb:\"[᥆-᥏]\",mlym:\"[൦-൯]\",mong:\"[᠐-᠙]\",mymr:\"[၀-၉]\",orya:\"[୦-୯]\",tamldec:\"[௦-௯]\",telu:\"[౦-౯]\",thai:\"[๐-๙]\",tibt:\"[༠-༩]\",latn:\"\\\\d\"},qe={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},_e=Ae.hanidec.replace(/[\\[|\\]]/g,\"\").split(\"\");var Ue=new Map;function y(e,t){void 0===t&&(t=\"\");var e=e.numberingSystem||\"latn\",n=Ue.get(e),r=(void 0===n&&(n=new Map,Ue.set(e,n)),n.get(t));return void 0===r&&(r=new RegExp(\"\"+Ae[e]+t),n.set(t,r)),r}var Re,Pe=function(){return Date.now()},Ye=\"system\",He=null,Je=null,Ge=null,$e=60,Be=null,O=function(){function e(){}return e.resetCaches=function(){b.resetCache(),c.resetCache(),W.resetCache(),Ue.clear()},i(e,null,[{key:\"now\",get:function(){return Pe},set:function(e){Pe=e}},{key:\"defaultZone\",get:function(){return S(Ye,ge.instance)},set:function(e){Ye=e}},{key:\"defaultLocale\",get:function(){return He},set:function(e){He=e}},{key:\"defaultNumberingSystem\",get:function(){return Je},set:function(e){Je=e}},{key:\"defaultOutputCalendar\",get:function(){return Ge},set:function(e){Ge=e}},{key:\"defaultWeekSettings\",get:function(){return Be},set:function(e){Be=mt(e)}},{key:\"twoDigitCutoffYear\",get:function(){return $e},set:function(e){$e=e%100}},{key:\"throwOnInvalid\",get:function(){return Re},set:function(e){Re=e}}]),e}(),d=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+\": \"+this.explanation:this.reason},e}(),Qe=[0,31,59,90,120,151,181,212,243,273,304,334],Ke=[0,31,60,91,121,152,182,213,244,274,305,335];function T(e,t){return new d(\"unit out of range\",\"you specified \"+t+\" (of type \"+typeof t+\") as a \"+e+\", which is invalid\")}function Xe(e,t,n){t=new Date(Date.UTC(e,t-1,n)),e<100&&0<=e&&t.setUTCFullYear(t.getUTCFullYear()-1900),n=t.getUTCDay();return 0===n?7:n}function et(e,t,n){return n+(gt(e)?Ke:Qe)[t-1]}function tt(e,t){var e=gt(e)?Ke:Qe,n=e.findIndex(function(e){return e<t});return{month:n+1,day:t-e[n]}}function nt(e,t){return(e-t+7)%7+1}function rt(e,t,n){void 0===t&&(t=4),void 0===n&&(n=1);var r,i=e.year,o=e.month,a=e.day,s=et(i,o,a),o=nt(Xe(i,o,a),n),a=Math.floor((s-o+14-t)/7);return a<1?a=bt(r=i-1,t,n):a>bt(i,t,n)?(r=i+1,a=1):r=i,l({weekYear:r,weekNumber:a,weekday:o},It(e))}function it(e,t,n){void 0===n&&(n=1);var r,i=e.weekYear,o=e.weekNumber,a=e.weekday,n=nt(Xe(i,1,t=void 0===t?4:t),n),s=D(i),o=7*o+a-n-7+t,a=(o<1?o+=D(r=i-1):s<o?(r=i+1,o-=D(i)):r=i,tt(r,o));return l({year:r,month:a.month,day:a.day},It(e))}function ot(e){var t=e.year;return l({year:t,ordinal:et(t,e.month,e.day)},It(e))}function at(e){var t=e.year,n=tt(t,e.ordinal);return l({year:t,month:n.month,day:n.day},It(e))}function st(e,t){if(N(e.localWeekday)&&N(e.localWeekNumber)&&N(e.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(N(e.weekday)&&N(e.weekNumber)&&N(e.weekYear))return N(e.localWeekday)||(e.weekday=e.localWeekday),N(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),N(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()};throw new w(\"Cannot mix locale-based week fields with ISO-based week fields\")}function ut(e){var t=ct(e.year),n=M(e.month,1,12),r=M(e.day,1,pt(e.year,e.month));return t?n?!r&&T(\"day\",e.day):T(\"month\",e.month):T(\"year\",e.year)}function lt(e){var t=e.hour,n=e.minute,r=e.second,e=e.millisecond,i=M(t,0,23)||24===t&&0===n&&0===r&&0===e,o=M(n,0,59),a=M(r,0,59),s=M(e,0,999);return i?o?a?!s&&T(\"millisecond\",e):T(\"second\",r):T(\"minute\",n):T(\"hour\",t)}function N(e){return void 0===e}function v(e){return\"number\"==typeof e}function ct(e){return\"number\"==typeof e&&e%1==0}function ft(){try{return\"undefined\"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function dt(){try{return\"undefined\"!=typeof Intl&&!!Intl.Locale&&(\"weekInfo\"in Intl.Locale.prototype||\"getWeekInfo\"in Intl.Locale.prototype)}catch(e){return!1}}function ht(e,n,r){if(0!==e.length)return e.reduce(function(e,t){t=[n(t),t];return e&&r(e[0],t[0])===e[0]?e:t},null)[1]}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function mt(e){if(null==e)return null;if(\"object\"!=typeof e)throw new u(\"Week settings must be an object\");if(M(e.firstDay,1,7)&&M(e.minimalDays,1,7)&&Array.isArray(e.weekend)&&!e.weekend.some(function(e){return!M(e,1,7)}))return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)};throw new u(\"Invalid week settings\")}function M(e,t,n){return ct(e)&&t<=e&&e<=n}function m(e,t){void 0===t&&(t=2);e=e<0?\"-\"+(\"\"+-e).padStart(t,\"0\"):(\"\"+e).padStart(t,\"0\");return e}function g(e){if(!N(e)&&null!==e&&\"\"!==e)return parseInt(e,10)}function p(e){if(!N(e)&&null!==e&&\"\"!==e)return parseFloat(e)}function yt(e){if(!N(e)&&null!==e&&\"\"!==e)return e=1e3*parseFloat(\"0.\"+e),Math.floor(e)}function vt(e,t,n){void 0===n&&(n=\"round\");var r=Math.pow(10,t);switch(n){case\"expand\":return 0<e?Math.ceil(e*r)/r:Math.floor(e*r)/r;case\"trunc\":return Math.trunc(e*r)/r;case\"round\":return Math.round(e*r)/r;case\"floor\":return Math.floor(e*r)/r;case\"ceil\":return Math.ceil(e*r)/r;default:throw new RangeError(\"Value rounding \"+n+\" is out of range\")}}function gt(e){return e%4==0&&(e%100!=0||e%400==0)}function D(e){return gt(e)?366:365}function pt(e,t){var n,r=(r=t-1)-(n=12)*Math.floor(r/n)+1;return 2==r?gt(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function kt(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&0<=e.year&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function wt(e,t,n){return-nt(Xe(e,1,t),n)+t-1}function bt(e,t,n){var r=wt(e,t=void 0===t?4:t,n=void 0===n?1:n),t=wt(e+1,t,n);return(D(e)-r+t)/7}function St(e){return 99<e?e:e>O.twoDigitCutoffYear?1900+e:2e3+e}function Ot(e,t,n,r){void 0===r&&(r=null);var e=new Date(e),i={hourCycle:\"h23\",year:\"numeric\",month:\"2-digit\",day:\"2-digit\",hour:\"2-digit\",minute:\"2-digit\"},r=(r&&(i.timeZone=r),l({timeZoneName:t},i)),t=new Intl.DateTimeFormat(n,r).formatToParts(e).find(function(e){return\"timezonename\"===e.type.toLowerCase()});return t?t.value:null}function Tt(e,t){e=parseInt(e,10),Number.isNaN(e)&&(e=0),t=parseInt(t,10)||0;return 60*e+(e<0||Object.is(e,-0)?-t:t)}function Nt(e){var t=Number(e);if(\"boolean\"!=typeof e&&\"\"!==e&&Number.isFinite(t))return t;throw new u(\"Invalid unit value \"+e)}function Mt(e,t){var n,r,i={};for(n in e)h(e,n)&&null!=(r=e[n])&&(i[t(n)]=Nt(r));return i}function Dt(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=0<=e?\"+\":\"-\";switch(t){case\"short\":return i+m(n,2)+\":\"+m(r,2);case\"narrow\":return i+n+(0<r?\":\"+r:\"\");case\"techie\":return i+m(n,2)+m(r,2);default:throw new RangeError(\"Value format \"+t+\" is out of range for property format\")}}function It(e){return n=e,[\"hour\",\"minute\",\"second\",\"millisecond\"].reduce(function(e,t){return e[t]=n[t],e},{});var n}var Vt=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],Et=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],xt=[\"J\",\"F\",\"M\",\"A\",\"M\",\"J\",\"J\",\"A\",\"S\",\"O\",\"N\",\"D\"];function Ft(e){switch(e){case\"narrow\":return[].concat(xt);case\"short\":return[].concat(Et);case\"long\":return[].concat(Vt);case\"numeric\":return[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\"];case\"2-digit\":return[\"01\",\"02\",\"03\",\"04\",\"05\",\"06\",\"07\",\"08\",\"09\",\"10\",\"11\",\"12\"];default:return null}}var Ct=[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\",\"Sunday\"],Zt=[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\",\"Sun\"],Wt=[\"M\",\"T\",\"W\",\"T\",\"F\",\"S\",\"S\"];function Lt(e){switch(e){case\"narrow\":return[].concat(Wt);case\"short\":return[].concat(Zt);case\"long\":return[].concat(Ct);case\"numeric\":return[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\"];default:return null}}var jt=[\"AM\",\"PM\"],zt=[\"Before Christ\",\"Anno Domini\"],At=[\"BC\",\"AD\"],qt=[\"B\",\"A\"];function _t(e){switch(e){case\"narrow\":return[].concat(qt);case\"short\":return[].concat(At);case\"long\":return[].concat(zt);default:return null}}function Ut(e,t){for(var n=\"\",r=R(e);!(i=r()).done;){var i=i.value;i.literal?n+=i.val:n+=t(i.val)}return n}var Rt={D:G,DD:$,DDD:Q,DDDD:K,t:X,tt:ee,ttt:te,tttt:ne,T:re,TT:ie,TTT:oe,TTTT:ae,f:se,ff:le,fff:de,ffff:me,F:ue,FF:ce,FFF:he,FFFF:ye},I=function(){function d(e,t){this.opts=t,this.loc=e,this.systemLoc=null}d.create=function(e,t){return new d(e,t=void 0===t?{}:t)},d.parseFormat=function(e){for(var t=null,n=\"\",r=!1,i=[],o=0;o<e.length;o++){var a=e.charAt(o);\"'\"===a?((0<n.length||r)&&i.push({literal:r||/^\\s+$/.test(n),val:\"\"===n?\"'\":n}),t=null,n=\"\",r=!r):r||a===t?n+=a:(0<n.length&&i.push({literal:/^\\s+$/.test(n),val:n}),t=n=a)}return 0<n.length&&i.push({literal:r||/^\\s+$/.test(n),val:n}),i},d.macroTokenToFormatOpts=function(e){return Rt[e]};var e=d.prototype;return e.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,l({},this.opts,t)).format()},e.dtFormatter=function(e,t){return this.loc.dtFormatter(e,l({},this.opts,t=void 0===t?{}:t))},e.formatDateTime=function(e,t){return this.dtFormatter(e,t).format()},e.formatDateTimeParts=function(e,t){return this.dtFormatter(e,t).formatToParts()},e.formatInterval=function(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())},e.resolvedOptions=function(e,t){return this.dtFormatter(e,t).resolvedOptions()},e.num=function(e,t,n){var r;return void 0===t&&(t=0),void 0===n&&(n=void 0),this.opts.forceSimple?m(e,t):(r=l({},this.opts),0<t&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e))},e.formatDateTimeFromString=function(r,e){var n=this,i=\"en\"===this.loc.listingMode(),t=this.loc.outputCalendar&&\"gregory\"!==this.loc.outputCalendar,o=function(e,t){return n.loc.extract(r,e,t)},a=function(e){return r.isOffsetFixed&&0===r.offset&&e.allowZ?\"Z\":r.isValid?r.zone.formatOffset(r.ts,e.format):\"\"},s=function(){return i?jt[r.hour<12?0:1]:o({hour:\"numeric\",hourCycle:\"h12\"},\"dayperiod\")},u=function(e,t){return i?(n=r,Ft(e)[n.month-1]):o(t?{month:e}:{month:e,day:\"numeric\"},\"month\");var n},l=function(e,t){return i?(n=r,Lt(e)[n.weekday-1]):o(t?{weekday:e}:{weekday:e,month:\"long\",day:\"numeric\"},\"weekday\");var n},c=function(e){var t=d.macroTokenToFormatOpts(e);return t?n.formatWithSystemDefault(r,t):e},f=function(e){return i?(t=r,_t(e)[t.year<0?0:1]):o({era:e},\"era\");var t};return Ut(d.parseFormat(e),function(e){switch(e){case\"S\":return n.num(r.millisecond);case\"u\":case\"SSS\":return n.num(r.millisecond,3);case\"s\":return n.num(r.second);case\"ss\":return n.num(r.second,2);case\"uu\":return n.num(Math.floor(r.millisecond/10),2);case\"uuu\":return n.num(Math.floor(r.millisecond/100));case\"m\":return n.num(r.minute);case\"mm\":return n.num(r.minute,2);case\"h\":return n.num(r.hour%12==0?12:r.hour%12);case\"hh\":return n.num(r.hour%12==0?12:r.hour%12,2);case\"H\":return n.num(r.hour);case\"HH\":return n.num(r.hour,2);case\"Z\":return a({format:\"narrow\",allowZ:n.opts.allowZ});case\"ZZ\":return a({format:\"short\",allowZ:n.opts.allowZ});case\"ZZZ\":return a({format:\"techie\",allowZ:n.opts.allowZ});case\"ZZZZ\":return r.zone.offsetName(r.ts,{format:\"short\",locale:n.loc.locale});case\"ZZZZZ\":return r.zone.offsetName(r.ts,{format:\"long\",locale:n.loc.locale});case\"z\":return r.zoneName;case\"a\":return s();case\"d\":return t?o({day:\"numeric\"},\"day\"):n.num(r.day);case\"dd\":return t?o({day:\"2-digit\"},\"day\"):n.num(r.day,2);case\"c\":return n.num(r.weekday);case\"ccc\":return l(\"short\",!0);case\"cccc\":return l(\"long\",!0);case\"ccccc\":return l(\"narrow\",!0);case\"E\":return n.num(r.weekday);case\"EEE\":return l(\"short\",!1);case\"EEEE\":return l(\"long\",!1);case\"EEEEE\":return l(\"narrow\",!1);case\"L\":return t?o({month:\"numeric\",day:\"numeric\"},\"month\"):n.num(r.month);case\"LL\":return t?o({month:\"2-digit\",day:\"numeric\"},\"month\"):n.num(r.month,2);case\"LLL\":return u(\"short\",!0);case\"LLLL\":return u(\"long\",!0);case\"LLLLL\":return u(\"narrow\",!0);case\"M\":return t?o({month:\"numeric\"},\"month\"):n.num(r.month);case\"MM\":return t?o({month:\"2-digit\"},\"month\"):n.num(r.month,2);case\"MMM\":return u(\"short\",!1);case\"MMMM\":return u(\"long\",!1);case\"MMMMM\":return u(\"narrow\",!1);case\"y\":return t?o({year:\"numeric\"},\"year\"):n.num(r.year);case\"yy\":return t?o({year:\"2-digit\"},\"year\"):n.num(r.year.toString().slice(-2),2);case\"yyyy\":return t?o({year:\"numeric\"},\"year\"):n.num(r.year,4);case\"yyyyyy\":return t?o({year:\"numeric\"},\"year\"):n.num(r.year,6);case\"G\":return f(\"short\");case\"GG\":return f(\"long\");case\"GGGGG\":return f(\"narrow\");case\"kk\":return n.num(r.weekYear.toString().slice(-2),2);case\"kkkk\":return n.num(r.weekYear,4);case\"W\":return n.num(r.weekNumber);case\"WW\":return n.num(r.weekNumber,2);case\"n\":return n.num(r.localWeekNumber);case\"nn\":return n.num(r.localWeekNumber,2);case\"ii\":return n.num(r.localWeekYear.toString().slice(-2),2);case\"iiii\":return n.num(r.localWeekYear,4);case\"o\":return n.num(r.ordinal);case\"ooo\":return n.num(r.ordinal,3);case\"q\":return n.num(r.quarter);case\"qq\":return n.num(r.quarter,2);case\"X\":return n.num(Math.floor(r.ts/1e3));case\"x\":return n.num(r.ts);default:return c(e)}})},e.formatDurationFromString=function(e,t){var i,o,a=this,s=\"negativeLargestOnly\"===this.opts.signMode?-1:1,u=function(e){switch(e[0]){case\"S\":return\"milliseconds\";case\"s\":return\"seconds\";case\"m\":return\"minutes\";case\"h\":return\"hours\";case\"d\":return\"days\";case\"w\":return\"weeks\";case\"M\":return\"months\";case\"y\":return\"years\";default:return null}},t=d.parseFormat(t),n=t.reduce(function(e,t){var n=t.literal,t=t.val;return n?e:e.concat(t)},[]),e=e.shiftTo.apply(e,n.map(u).filter(function(e){return e})),n={isNegativeDuration:e<0,largestUnit:Object.keys(e.values)[0]};return Ut(t,(i=e,o=n,function(e){var t,n,r=u(e);return r?(t=o.isNegativeDuration&&r!==o.largestUnit?s:1,n=\"negativeLargestOnly\"===a.opts.signMode&&r!==o.largestUnit?\"never\":\"all\"===a.opts.signMode?\"always\":\"auto\",a.num(i.get(r)*t,e.length,n)):e}))},d}(),r=/[A-Za-z_+-]{1,256}(?::?\\/[A-Za-z0-9_+-]{1,256}(?:\\/[A-Za-z0-9_+-]{1,256})?)?/;function Pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce(function(e,t){return e+t.source},\"\");return RegExp(\"^\"+r+\"$\")}function Yt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(o){return t.reduce(function(e,t){var n=e[0],r=e[1],e=e[2],t=t(o,e),e=t[0],i=t[1],t=t[2];return[l({},n,e),i||r,t]},[{},null,1]).slice(0,2)}}function Ht(e){if(null!=e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i],s=a[0],a=a[1],s=s.exec(e);if(s)return a(s)}}return[null,null]}function Jt(){for(var e=arguments.length,i=new Array(e),t=0;t<e;t++)i[t]=arguments[t];return function(e,t){for(var n={},r=0;r<i.length;r++)n[i[r]]=g(e[t+r]);return[n,null,t+r]}}var t=/(?:([Zz])|([+-]\\d\\d)(?::?(\\d\\d))?)/,a=/(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d{1,30}))?)?)?/,Gt=RegExp(a.source+(\"(?:\"+t.source+\"?(?:\\\\[(\"+r.source+\")\\\\])?)?\")),k=RegExp(\"(?:[Tt]\"+Gt.source+\")?\"),$t=Jt(\"weekYear\",\"weekNumber\",\"weekDay\"),Bt=Jt(\"year\",\"ordinal\"),t=RegExp(a.source+\" ?(?:\"+t.source+\"|(\"+r.source+\"))?\"),r=RegExp(\"(?: \"+t.source+\")?\");function Qt(e,t,n){e=e[t];return N(e)?n:g(e)}function Kt(e,t){return[{hours:Qt(e,t,0),minutes:Qt(e,t+1,0),seconds:Qt(e,t+2,0),milliseconds:yt(e[t+3])},null,t+4]}function Xt(e,t){var n=!e[t]&&!e[t+1],e=Tt(e[t+1],e[t+2]);return[{},n?null:f.instance(e),t+3]}function en(e,t){return[{},e[t]?c.create(e[t]):null,t+1]}var tn=RegExp(\"^T?\"+a.source+\"$\"),nn=/^-?P(?:(?:(-?\\d{1,20}(?:\\.\\d{1,20})?)Y)?(?:(-?\\d{1,20}(?:\\.\\d{1,20})?)M)?(?:(-?\\d{1,20}(?:\\.\\d{1,20})?)W)?(?:(-?\\d{1,20}(?:\\.\\d{1,20})?)D)?(?:T(?:(-?\\d{1,20}(?:\\.\\d{1,20})?)H)?(?:(-?\\d{1,20}(?:\\.\\d{1,20})?)M)?(?:(-?\\d{1,20})(?:[.,](-?\\d{1,20}))?S)?)?)$/;function rn(e){function t(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&c)?-e:e}var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],u=e[6],l=e[7],e=e[8],c=\"-\"===n[0],n=l&&\"-\"===l[0];return[{years:t(p(r)),months:t(p(i)),weeks:t(p(o)),days:t(p(a)),hours:t(p(s)),minutes:t(p(u)),seconds:t(p(l),\"-0\"===l),milliseconds:t(yt(e),n)}]}var on={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function an(e,t,n,r,i,o,a){t={year:2===t.length?St(g(t)):g(t),month:Et.indexOf(n)+1,day:g(r),hour:g(i),minute:g(o)};return a&&(t.second=g(a)),e&&(t.weekday=3<e.length?Ct.indexOf(e)+1:Zt.indexOf(e)+1),t}var sn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\\d\\d)(\\d\\d)))$/;function un(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],a=e[6],s=e[7],u=e[8],l=e[9],c=e[10],e=e[11],t=an(t,i,r,n,o,a,s),i=u?on[u]:l?0:Tt(c,e);return[t,new f(i)]}var ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\\d\\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\\d{4}) (\\d\\d):(\\d\\d):(\\d\\d) GMT$/,cn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\\d\\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\\d\\d) (\\d\\d):(\\d\\d):(\\d\\d) GMT$/,fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \\d|\\d\\d) (\\d\\d):(\\d\\d):(\\d\\d) (\\d{4})$/;function dn(e){var t=e[1],n=e[2],r=e[3];return[an(t,e[4],r,n,e[5],e[6],e[7]),f.utcInstance]}function hn(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],a=e[6];return[an(t,e[7],n,r,i,o,a),f.utcInstance]}var mn=Pt(/([+-]\\d{6}|\\d{4})(?:-?(\\d\\d)(?:-?(\\d\\d))?)?/,k),yn=Pt(/(\\d{4})-?W(\\d\\d)(?:-?(\\d))?/,k),vn=Pt(/(\\d{4})-?(\\d{3})/,k),gn=Pt(Gt),pn=Yt(function(e,t){return[{year:Qt(e,t),month:Qt(e,t+1,1),day:Qt(e,t+2,1)},null,t+3]},Kt,Xt,en),kn=Yt($t,Kt,Xt,en),wn=Yt(Bt,Kt,Xt,en),bn=Yt(Kt,Xt,en);var Sn=Yt(Kt);var On=Pt(/(\\d{4})-(\\d\\d)-(\\d\\d)/,r),Tn=Pt(t),Nn=Yt(Kt,Xt,en);var Mn=\"Invalid Duration\",a={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Dn=l({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},a),k=365.2425,Gt=30.436875,In=l({years:{quarters:4,months:12,weeks:k/7,days:k,hours:24*k,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:k/28,days:k/4,hours:24*k/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:Gt/7,days:Gt,hours:24*Gt,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},a),V=[\"years\",\"quarters\",\"months\",\"weeks\",\"days\",\"hours\",\"minutes\",\"seconds\",\"milliseconds\"],Vn=V.slice(0).reverse();function E(e,t,n){n={values:(n=void 0===n?!1:n)?t.values:l({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new x(n)}function En(e,t){for(var n,r=null!=(n=t.milliseconds)?n:0,i=R(Vn.slice(1));!(o=i()).done;){var o=o.value;t[o]&&(r+=t[o]*e[o].milliseconds)}return r}function xn(i,o){var a=En(i,o)<0?-1:1;V.reduceRight(function(e,t){var n,r;return N(o[t])?e:(e&&(r=o[e]*a,n=i[t][e],r=Math.floor(r/n),o[t]+=r*a,o[e]-=r*n*a),t)},null),V.reduce(function(e,t){var n;return N(o[t])?e:(e&&(n=o[e]%1,o[e]-=n,o[t]+=n*i[e][t]),t)},null)}function Fn(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],o=i[0],i=i[1];0!==i&&(t[o]=i)}return t}var x=function(e){function m(e){var t=\"longterm\"===e.conversionAccuracy||!1,n=t?In:Dn;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||b.create(),this.conversionAccuracy=t?\"longterm\":\"casual\",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}m.fromMillis=function(e,t){return m.fromObject({milliseconds:e},t)},m.fromObject=function(e,t){if(void 0===t&&(t={}),null==e||\"object\"!=typeof e)throw new u(\"Duration.fromObject: argument expected to be an object, got \"+(null===e?\"null\":typeof e));return new m({values:Mt(e,m.normalizeUnit),loc:b.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})},m.fromDurationLike=function(e){if(v(e))return m.fromMillis(e);if(m.isDuration(e))return e;if(\"object\"==typeof e)return m.fromObject(e);throw new u(\"Unknown duration argument \"+e+\" of type \"+typeof e)},m.fromISO=function(e,t){var n=Ht(e,[nn,rn])[0];return n?m.fromObject(n,t):m.invalid(\"unparsable\",'the input \"'+e+\"\\\" can't be parsed as ISO 8601\")},m.fromISOTime=function(e,t){var n=Ht(e,[tn,Sn])[0];return n?m.fromObject(n,t):m.invalid(\"unparsable\",'the input \"'+e+\"\\\" can't be parsed as ISO 8601\")},m.invalid=function(e,t){if(void 0===t&&(t=null),!e)throw new u(\"need to specify a reason the Duration is invalid\");e=e instanceof d?e:new d(e,t);if(O.throwOnInvalid)throw new H(e);return new m({invalid:e})},m.normalizeUnit=function(e){var t={year:\"years\",years:\"years\",quarter:\"quarters\",quarters:\"quarters\",month:\"months\",months:\"months\",week:\"weeks\",weeks:\"weeks\",day:\"days\",days:\"days\",hour:\"hours\",hours:\"hours\",minute:\"minutes\",minutes:\"minutes\",second:\"seconds\",seconds:\"seconds\",millisecond:\"milliseconds\",milliseconds:\"milliseconds\"}[e&&e.toLowerCase()];if(t)return t;throw new J(e)},m.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=m.prototype;return t.toFormat=function(e,t){t=l({},t=void 0===t?{}:t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?I.create(this.loc,t).formatDurationFromString(this,e):Mn},t.toHuman=function(n){var r,e,i=this;return void 0===n&&(n={}),this.isValid?(r=!1!==n.showZeros,e=V.map(function(e){var t=i.values[e];return N(t)||0===t&&!r?null:i.loc.numberFormatter(l({style:\"unit\",unitDisplay:\"long\"},n,{unit:e.slice(0,-1)})).format(t)}).filter(function(e){return e}),this.loc.listFormatter(l({type:\"conjunction\",style:n.listStyle||\"narrow\"},n)).format(e)):Mn},t.toObject=function(){return this.isValid?l({},this.values):{}},t.toISO=function(){var e;return this.isValid?(e=\"P\",0!==this.years&&(e+=this.years+\"Y\"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+\"M\"),0!==this.weeks&&(e+=this.weeks+\"W\"),0!==this.days&&(e+=this.days+\"D\"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+=\"T\"),0!==this.hours&&(e+=this.hours+\"H\"),0!==this.minutes&&(e+=this.minutes+\"M\"),0===this.seconds&&0===this.milliseconds||(e+=vt(this.seconds+this.milliseconds/1e3,3)+\"S\"),\"P\"===e&&(e+=\"T0S\"),e):null},t.toISOTime=function(e){var t;return void 0===e&&(e={}),!this.isValid||(t=this.toMillis())<0||864e5<=t?null:(e=l({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:\"extended\"},e,{includeOffset:!1}),W.fromMillis(t,{zone:\"UTC\"}).toISOTime(e))},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t[e]=function(){return this.isValid?\"Duration { values: \"+JSON.stringify(this.values)+\" }\":\"Duration { Invalid, reason: \"+this.invalidReason+\" }\"},t.toMillis=function(){return this.isValid?En(this.matrix,this.values):NaN},t.valueOf=function(){return this.toMillis()},t.plus=function(e){if(!this.isValid)return this;for(var t=m.fromDurationLike(e),n={},r=0,i=V;r<i.length;r++){var o=i[r];(h(t.values,o)||h(this.values,o))&&(n[o]=t.get(o)+this.get(o))}return E(this,{values:n},!0)},t.minus=function(e){return this.isValid?(e=m.fromDurationLike(e),this.plus(e.negate())):this},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=Nt(e(this.values[i],i))}return E(this,{values:t},!0)},t.get=function(e){return this[m.normalizeUnit(e)]},t.set=function(e){return this.isValid?E(this,{values:l({},this.values,Mt(e,m.normalizeUnit))}):this},t.reconfigure=function(e){var e=void 0===e?{}:e,t=e.locale,n=e.numberingSystem,r=e.conversionAccuracy,e=e.matrix,t=this.loc.clone({locale:t,numberingSystem:n});return E(this,{loc:t,matrix:e,conversionAccuracy:r})},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){var e;return this.isValid?(e=this.toObject(),xn(this.matrix,e),E(this,{values:e},!0)):this},t.rescale=function(){var e;return this.isValid?(e=Fn(this.normalize().shiftToAll().toObject()),E(this,{values:e},!0)):this},t.shiftTo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!this.isValid)return this;if(0===t.length)return this;for(var r,t=t.map(function(e){return m.normalizeUnit(e)}),i={},o={},a=this.toObject(),s=0,u=V;s<u.length;s++){var l=u[s];if(0<=t.indexOf(l)){var c,f=l,d=0;for(c in o)d+=this.matrix[c][l]*o[c],o[c]=0;v(a[l])&&(d+=a[l]);var h=Math.trunc(d);o[l]=(1e3*d-1e3*(i[l]=h))/1e3}else v(a[l])&&(o[l]=a[l])}for(r in o)0!==o[r]&&(i[f]+=r===f?o[r]:o[r]/this.matrix[f][r]);return xn(this.matrix,i),E(this,{values:i},!0)},t.shiftToAll=function(){return this.isValid?this.shiftTo(\"years\",\"months\",\"weeks\",\"days\",\"hours\",\"minutes\",\"seconds\",\"milliseconds\"):this},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=0===this.values[r]?0:-this.values[r]}return E(this,{values:e},!0)},t.removeZeros=function(){return this.isValid?E(this,{values:Fn(this.values)},!0):this},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=0,r=V;n<r.length;n++){var i=r[n];if(t=this.values[i],i=e.values[i],!(void 0===t||0===t?void 0===i||0===i:t===i))return!1}return!0},i(m,[{key:\"locale\",get:function(){return this.isValid?this.loc.locale:null}},{key:\"numberingSystem\",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:\"years\",get:function(){return this.isValid?this.values.years||0:NaN}},{key:\"quarters\",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:\"months\",get:function(){return this.isValid?this.values.months||0:NaN}},{key:\"weeks\",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:\"days\",get:function(){return this.isValid?this.values.days||0:NaN}},{key:\"hours\",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:\"minutes\",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:\"seconds\",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:\"milliseconds\",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:\"isValid\",get:function(){return null===this.invalid}},{key:\"invalidReason\",get:function(){return this.invalid?this.invalid.reason:null}},{key:\"invalidExplanation\",get:function(){return this.invalid?this.invalid.explanation:null}}]),m}(Symbol.for(\"nodejs.util.inspect.custom\")),Cn=\"Invalid Interval\";var Zn=function(e){function l(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}l.invalid=function(e,t){if(void 0===t&&(t=null),!e)throw new u(\"need to specify a reason the Interval is invalid\");e=e instanceof d?e:new d(e,t);if(O.throwOnInvalid)throw new Y(e);return new l({invalid:e})},l.fromDateTimes=function(e,t){var n,e=Or(e),t=Or(t),r=(n=t,(r=e)&&r.isValid?n&&n.isValid?n<r?Zn.invalid(\"end before start\",\"The end of an interval must be after its start, but you had start=\"+r.toISO()+\" and end=\"+n.toISO()):null:Zn.invalid(\"missing or invalid end\"):Zn.invalid(\"missing or invalid start\"));return null==r?new l({start:e,end:t}):r},l.after=function(e,t){t=x.fromDurationLike(t),e=Or(e);return l.fromDateTimes(e,e.plus(t))},l.before=function(e,t){t=x.fromDurationLike(t),e=Or(e);return l.fromDateTimes(e.minus(t),e)},l.fromISO=function(e,t){var n,r,i,o=(e||\"\").split(\"/\",2),a=o[0],s=o[1];if(a&&s){try{u=(n=W.fromISO(a,t)).isValid}catch(s){u=!1}try{i=(r=W.fromISO(s,t)).isValid}catch(s){i=!1}if(u&&i)return l.fromDateTimes(n,r);if(u){o=x.fromISO(s,t);if(o.isValid)return l.after(n,o)}else if(i){var u=x.fromISO(a,t);if(u.isValid)return l.before(r,u)}}return l.invalid(\"unparsable\",'the input \"'+e+\"\\\" can't be parsed as ISO 8601\")},l.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=l.prototype;return t.length=function(e){return void 0===e&&(e=\"milliseconds\"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e,t){var n,r;return this.isValid?(n=this.start.startOf(e=void 0===e?\"milliseconds\":e,t),r=(r=null!=t&&t.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end).startOf(e,t),Math.floor(r.diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())):NaN},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&this.s<=e&&this.e>e},t.set=function(e){var e=void 0===e?{}:e,t=e.start,e=e.end;return this.isValid?l.fromDateTimes(t||this.s,e||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i=n.map(Or).filter(function(e){return t.contains(e)}).sort(function(e,t){return e.toMillis()-t.toMillis()}),o=[],a=this.s,s=0;a<this.e;){var u=i[s]||this.e,u=+u>+this.e?this.e:u;o.push(l.fromDateTimes(a,u)),a=u,s+=1}return o},t.splitBy=function(e){var t=x.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as(\"milliseconds\"))return[];for(var n=this.s,r=1,i=[];n<this.e;){var o=this.start.plus(t.mapUnits(function(e){return e*r})),o=+o>+this.e?this.e:o;i.push(l.fromDateTimes(n,o)),n=o,r+=1}return i},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e},t.equals=function(e){return!(!this.isValid||!e.isValid)&&this.s.equals(e.s)&&this.e.equals(e.e)},t.intersection=function(e){var t;return this.isValid?(t=(this.s>e.s?this:e).s,(e=(this.e<e.e?this:e).e)<=t?null:l.fromDateTimes(t,e)):this},t.union=function(e){var t;return this.isValid?(t=(this.s<e.s?this:e).s,e=(this.e>e.e?this:e).e,l.fromDateTimes(t,e)):this},l.merge=function(e){var e=e.sort(function(e,t){return e.s-t.s}).reduce(function(e,t){var n=e[0],e=e[1];return e?e.overlaps(t)||e.abutsStart(t)?[n,e.union(t)]:[n.concat([e]),t]:[n,t]},[[],null]),t=e[0],e=e[1];return e&&t.push(e),t},l.xor=function(e){for(var t,n=null,r=0,i=[],e=e.map(function(e){return[{time:e.s,type:\"s\"},{time:e.e,type:\"e\"}]}),o=R((t=Array.prototype).concat.apply(t,e).sort(function(e,t){return e.time-t.time}));!(a=o()).done;)var a=a.value,n=1===(r+=\"s\"===a.type?1:-1)?a.time:(n&&+n!=+a.time&&i.push(l.fromDateTimes(n,a.time)),null);return l.merge(i)},t.difference=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return l.xor([this].concat(n)).map(function(e){return t.intersection(e)}).filter(function(e){return e&&!e.isEmpty()})},t.toString=function(){return this.isValid?\"[\"+this.s.toISO()+\" – \"+this.e.toISO()+\")\":Cn},t[e]=function(){return this.isValid?\"Interval { start: \"+this.s.toISO()+\", end: \"+this.e.toISO()+\" }\":\"Interval { Invalid, reason: \"+this.invalidReason+\" }\"},t.toLocaleString=function(e,t){return void 0===e&&(e=G),void 0===t&&(t={}),this.isValid?I.create(this.s.loc.clone(t),e).formatInterval(this):Cn},t.toISO=function(e){return this.isValid?this.s.toISO(e)+\"/\"+this.e.toISO(e):Cn},t.toISODate=function(){return this.isValid?this.s.toISODate()+\"/\"+this.e.toISODate():Cn},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+\"/\"+this.e.toISOTime(e):Cn},t.toFormat=function(e,t){t=(void 0===t?{}:t).separator,t=void 0===t?\" – \":t;return this.isValid?\"\"+this.s.toFormat(e)+t+this.e.toFormat(e):Cn},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):x.invalid(this.invalidReason)},t.mapEndpoints=function(e){return l.fromDateTimes(e(this.s),e(this.e))},i(l,[{key:\"start\",get:function(){return this.isValid?this.s:null}},{key:\"end\",get:function(){return this.isValid?this.e:null}},{key:\"lastDateTime\",get:function(){return this.isValid&&this.e?this.e.minus(1):null}},{key:\"isValid\",get:function(){return null===this.invalidReason}},{key:\"invalidReason\",get:function(){return this.invalid?this.invalid.reason:null}},{key:\"invalidExplanation\",get:function(){return this.invalid?this.invalid.explanation:null}}]),l}(Symbol.for(\"nodejs.util.inspect.custom\")),Wn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=O.defaultZone);var t=W.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return c.isValidZone(e)},e.normalizeZone=function(e){return S(e,O.defaultZone)},e.getStartOfWeek=function(e){var e=void 0===e?{}:e,t=e.locale,e=e.locObj;return((void 0===e?null:e)||b.create(void 0===t?null:t)).getStartOfWeek()},e.getMinimumDaysInFirstWeek=function(e){var e=void 0===e?{}:e,t=e.locale,e=e.locObj;return((void 0===e?null:e)||b.create(void 0===t?null:t)).getMinDaysInFirstWeek()},e.getWeekendWeekdays=function(e){var e=void 0===e?{}:e,t=e.locale,e=e.locObj;return((void 0===e?null:e)||b.create(void 0===t?null:t)).getWeekendDays().slice()},e.months=function(e,t){void 0===e&&(e=\"long\");var t=void 0===t?{}:t,n=t.locale,r=t.numberingSystem,i=t.locObj,i=void 0===i?null:i,t=t.outputCalendar;return(i||b.create(void 0===n?null:n,void 0===r?null:r,void 0===t?\"gregory\":t)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e=\"long\");var t=void 0===t?{}:t,n=t.locale,r=t.numberingSystem,i=t.locObj,i=void 0===i?null:i,t=t.outputCalendar;return(i||b.create(void 0===n?null:n,void 0===r?null:r,void 0===t?\"gregory\":t)).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e=\"long\");var t=void 0===t?{}:t,n=t.locale,r=t.numberingSystem,t=t.locObj;return((void 0===t?null:t)||b.create(void 0===n?null:n,void 0===r?null:r,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e=\"long\");var t=void 0===t?{}:t,n=t.locale,r=t.numberingSystem,t=t.locObj;return((void 0===t?null:t)||b.create(void 0===n?null:n,void 0===r?null:r,null)).weekdays(e,!0)},e.meridiems=function(e){e=(void 0===e?{}:e).locale;return b.create(void 0===e?null:e).meridiems()},e.eras=function(e,t){void 0===e&&(e=\"short\");t=(void 0===t?{}:t).locale;return b.create(void 0===t?null:t,null,\"gregory\").eras(e)},e.features=function(){return{relative:ft(),localeWeek:dt()}},e}();function Ln(e,t){function n(e){return e.toUTC(0,{keepLocalTime:!0}).startOf(\"day\").valueOf()}t=n(t)-n(e);return Math.floor(x.fromMillis(t).as(\"days\"))}function jn(e,t,n,r){var e=function(e,t,n){for(var r,i,o={},a=e,s=0,u=[[\"years\",function(e,t){return t.year-e.year}],[\"quarters\",function(e,t){return t.quarter-e.quarter+4*(t.year-e.year)}],[\"months\",function(e,t){return t.month-e.month+12*(t.year-e.year)}],[\"weeks\",function(e,t){e=Ln(e,t);return(e-e%7)/7}],[\"days\",Ln]];s<u.length;s++){var l=u[s],c=l[0],l=l[1];0<=n.indexOf(c)&&(o[r=c]=l(e,t),t<(i=a.plus(o))?(o[c]--,t<(e=a.plus(o))&&(i=e,o[c]--,e=a.plus(o))):e=i)}return[e,o,i,r]}(e,t,n),i=e[0],o=e[1],a=e[2],e=e[3],s=t-i,n=n.filter(function(e){return 0<=[\"hours\",\"minutes\",\"seconds\",\"milliseconds\"].indexOf(e)}),t=(0===n.length&&(a=a<t?i.plus(((t={})[e]=1,t)):a)!==i&&(o[e]=(o[e]||0)+s/(a-i)),x.fromObject(o,r));return 0<n.length?(e=x.fromMillis(s,r)).shiftTo.apply(e,n).plus(t):t}var zn=\"missing Intl.DateTimeFormat.formatToParts support\";function F(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){e=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){for(var t=\"\",n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(Ae.hanidec))t+=_e.indexOf(e[n]);else for(var i in qe){var i=qe[i],o=i[0],i=i[1];o<=r&&r<=i&&(t+=r-o)}}return parseInt(t,10)}return t}(e))}}}var An=\"[ \"+String.fromCharCode(160)+\"]\",qn=new RegExp(An,\"g\");function _n(e){return e.replace(/\\./g,\"\\\\.?\").replace(qn,An)}function Un(e){return e.replace(/\\./g,\"\").replace(qn,\" \").toLowerCase()}function C(n,r){return null===n?null:{regex:RegExp(n.map(_n).join(\"|\")),deser:function(e){var t=e[0];return n.findIndex(function(e){return Un(t)===Un(e)})+r}}}function Rn(e,t){return{regex:e,deser:function(e){return Tt(e[1],e[2])},groups:t}}function Pn(e){return{regex:e,deser:function(e){return e[0]}}}function Yn(t,n){function r(e){return{regex:RegExp(e.val.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\"\\\\$&\")),deser:function(e){return e[0]},literal:!0}}var i=y(n),o=y(n,\"{2}\"),a=y(n,\"{3}\"),s=y(n,\"{4}\"),u=y(n,\"{6}\"),l=y(n,\"{1,2}\"),c=y(n,\"{1,3}\"),f=y(n,\"{1,6}\"),d=y(n,\"{1,9}\"),h=y(n,\"{2,4}\"),m=y(n,\"{4,6}\"),e=function(e){if(t.literal)return r(e);switch(e.val){case\"G\":return C(n.eras(\"short\"),0);case\"GG\":return C(n.eras(\"long\"),0);case\"y\":return F(f);case\"yy\":return F(h,St);case\"yyyy\":return F(s);case\"yyyyy\":return F(m);case\"yyyyyy\":return F(u);case\"M\":return F(l);case\"MM\":return F(o);case\"MMM\":return C(n.months(\"short\",!0),1);case\"MMMM\":return C(n.months(\"long\",!0),1);case\"L\":return F(l);case\"LL\":return F(o);case\"LLL\":return C(n.months(\"short\",!1),1);case\"LLLL\":return C(n.months(\"long\",!1),1);case\"d\":return F(l);case\"dd\":return F(o);case\"o\":return F(c);case\"ooo\":return F(a);case\"HH\":return F(o);case\"H\":return F(l);case\"hh\":return F(o);case\"h\":return F(l);case\"mm\":return F(o);case\"m\":case\"q\":return F(l);case\"qq\":return F(o);case\"s\":return F(l);case\"ss\":return F(o);case\"S\":return F(c);case\"SSS\":return F(a);case\"u\":return Pn(d);case\"uu\":return Pn(l);case\"uuu\":return F(i);case\"a\":return C(n.meridiems(),0);case\"kkkk\":return F(s);case\"kk\":return F(h,St);case\"W\":return F(l);case\"WW\":return F(o);case\"E\":case\"c\":return F(i);case\"EEE\":return C(n.weekdays(\"short\",!1),1);case\"EEEE\":return C(n.weekdays(\"long\",!1),1);case\"ccc\":return C(n.weekdays(\"short\",!0),1);case\"cccc\":return C(n.weekdays(\"long\",!0),1);case\"Z\":case\"ZZ\":return Rn(new RegExp(\"([+-]\"+l.source+\")(?::(\"+o.source+\"))?\"),2);case\"ZZZ\":return Rn(new RegExp(\"([+-]\"+l.source+\")(\"+o.source+\")?\"),2);case\"z\":return Pn(/[a-z_+-/]{1,256}?/i);case\" \":return Pn(/[^\\S\\n\\r]/);default:return r(e)}}(t)||{invalidReason:zn};return e.token=t,e}var Hn={year:{\"2-digit\":\"yy\",numeric:\"yyyyy\"},month:{numeric:\"M\",\"2-digit\":\"MM\",short:\"MMM\",long:\"MMMM\"},day:{numeric:\"d\",\"2-digit\":\"dd\"},weekday:{short:\"EEE\",long:\"EEEE\"},dayperiod:\"a\",dayPeriod:\"a\",hour12:{numeric:\"h\",\"2-digit\":\"hh\"},hour24:{numeric:\"H\",\"2-digit\":\"HH\"},minute:{numeric:\"m\",\"2-digit\":\"mm\"},second:{numeric:\"s\",\"2-digit\":\"ss\"},timeZoneName:{long:\"ZZZZZ\",short:\"ZZZ\"}};var Jn=null;function Gn(e,n){var t;return(t=Array.prototype).concat.apply(t,e.map(function(e){return t=n,(e=e).literal||null==(t=Qn(I.macroTokenToFormatOpts(e.val),t))||t.includes(void 0)?e:t;var t}))}var $n=function(){function e(t,e){var n;this.locale=t,this.format=e,this.tokens=Gn(I.parseFormat(e),t),this.units=this.tokens.map(function(e){return Yn(e,t)}),this.disqualifyingUnit=this.units.find(function(e){return e.invalidReason}),this.disqualifyingUnit||(n=(e=[\"^\"+(e=this.units).map(function(e){return e.regex}).reduce(function(e,t){return e+\"(\"+t.source+\")\"},\"\")+\"$\",e])[1],this.regex=RegExp(e[0],\"i\"),this.handlers=n)}return e.prototype.explainFromTokens=function(e){if(this.isValid){var t=function(e,t,n){var r=e.match(t);if(r){var i,o,a,s={},u=1;for(i in n)h(n,i)&&(a=(o=n[i]).groups?o.groups+1:1,!o.literal&&o.token&&(s[o.token.val[0]]=o.deser(r.slice(u,u+a))),u+=a);return[r,s]}return[r,{}]}(e,this.regex,this.handlers),n=t[0],t=t[1],r=t?(r=null,N((s=t).z)||(r=c.create(s.z)),N(s.Z)||(r=r||new f(s.Z),i=s.Z),N(s.q)||(s.M=3*(s.q-1)+1),N(s.h)||(s.h<12&&1===s.a?s.h+=12:12===s.h&&0===s.a&&(s.h=0)),0===s.G&&s.y&&(s.y=-s.y),N(s.u)||(s.S=yt(s.u)),[Object.keys(s).reduce(function(e,t){var n=function(e){switch(e){case\"S\":return\"millisecond\";case\"s\":return\"second\";case\"m\":return\"minute\";case\"h\":case\"H\":return\"hour\";case\"d\":return\"day\";case\"o\":return\"ordinal\";case\"L\":case\"M\":return\"month\";case\"y\":return\"year\";case\"E\":case\"c\":return\"weekday\";case\"W\":return\"weekNumber\";case\"k\":return\"weekYear\";case\"q\":return\"quarter\";default:return null}}(t);return n&&(e[n]=s[t]),e},{}),r,i]):[null,null,void 0],i=r[0],o=r[1],a=r[2];if(h(t,\"a\")&&h(t,\"H\"))throw new w(\"Can't include meridiem when specifying 24-hour format\");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:t,result:i,zone:o,specificOffset:a}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason};var s,i,r},i(e,[{key:\"isValid\",get:function(){return!this.disqualifyingUnit}},{key:\"invalidReason\",get:function(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}]),e}();function Bn(e,t,n){return new $n(e,n).explainFromTokens(t)}function Qn(o,e){var t,a;return o?(t=(e=I.create(e,o).dtFormatter(Jn=Jn||W.fromMillis(1555555555555))).formatToParts(),a=e.resolvedOptions(),t.map(function(e){return t=o,n=a,i=(e=e).type,e=e.value,\"literal\"===i?{literal:!(r=/^\\s+$/.test(e)),val:r?\" \":e}:(r=t[i],\"hour\"===(e=i)&&(e=null!=t.hour12?t.hour12?\"hour12\":\"hour24\":null!=t.hourCycle?\"h11\"===t.hourCycle||\"h12\"===t.hourCycle?\"hour12\":\"hour24\":n.hour12?\"hour12\":\"hour24\"),(i=\"object\"==typeof(i=Hn[e])?i[r]:i)?{literal:!1,val:i}:void 0);var t,n,r,i})):null}var Kn=\"Invalid DateTime\";function Xn(e){return new d(\"unsupported zone\",'the zone \"'+e.name+'\" is not supported')}function er(e){return null===e.weekData&&(e.weekData=rt(e.c)),e.weekData}function tr(e){return null===e.localWeekData&&(e.localWeekData=rt(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Z(e,t){e={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new W(l({},e,t,{old:e}))}function nr(e,t,n){var r=e-60*t*1e3,i=n.offset(r);return t===i?[r,t]:i===(n=n.offset(r-=60*(i-t)*1e3))?[r,i]:[e-60*Math.min(i,n)*1e3,Math.max(i,n)]}function rr(e,t){e+=60*t*1e3;t=new Date(e);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function ir(e,t,n){return nr(kt(e),t,n)}function or(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),r=l({},e.c,{year:r,month:i,day:Math.min(e.c.day,pt(r,i))+Math.trunc(t.days)+7*Math.trunc(t.weeks)}),i=x.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as(\"milliseconds\"),t=nr(kt(r),n,e.zone),r=t[0],n=t[1];return 0!==i&&(n=e.zone.offset(r+=i)),{ts:r,o:n}}function ar(e,t,n,r,i,o){var a=n.setZone,s=n.zone;return e&&0!==Object.keys(e).length||t?(e=W.fromObject(e,l({},n,{zone:t||s,specificOffset:o})),a?e:e.setZone(s)):W.invalid(new d(\"unparsable\",'the input \"'+i+\"\\\" can't be parsed as \"+r))}function sr(e,t,n){return void 0===n&&(n=!0),e.isValid?I.create(b.create(\"en-US\"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function ur(e,t,n){var r=9999<e.c.year||e.c.year<0,i=\"\";if(r&&0<=e.c.year&&(i+=\"+\"),i+=m(e.c.year,r?6:4),\"year\"!==n){if(t){if(i=(i+=\"-\")+m(e.c.month),\"month\"===n)return i;i+=\"-\"}else if(i+=m(e.c.month),\"month\"===n)return i;i+=m(e.c.day)}return i}function lr(e,t,n,r,i,o,a){var s=!n||0!==e.c.millisecond||0!==e.c.second,u=\"\";switch(a){case\"day\":case\"month\":case\"year\":break;default:if(u+=m(e.c.hour),\"hour\"!==a){if(t){if(u=(u+=\":\")+m(e.c.minute),\"minute\"===a)break;s&&(u=(u+=\":\")+m(e.c.second))}else{if(u+=m(e.c.minute),\"minute\"===a)break;s&&(u+=m(e.c.second))}\"second\"===a||!s||r&&0===e.c.millisecond||(u=(u+=\".\")+m(e.c.millisecond,3))}}return i&&(e.isOffsetFixed&&0===e.offset&&!o?u+=\"Z\":u=e.o<0?(u=(u+=\"-\")+m(Math.trunc(-e.o/60))+\":\")+m(Math.trunc(-e.o%60)):(u=(u+=\"+\")+m(Math.trunc(e.o/60))+\":\")+m(Math.trunc(e.o%60))),o&&(u+=\"[\"+e.zone.ianaName+\"]\"),u}var cr,fr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},dr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},mr=[\"year\",\"month\",\"day\",\"hour\",\"minute\",\"second\",\"millisecond\"],yr=[\"weekYear\",\"weekNumber\",\"weekday\",\"hour\",\"minute\",\"second\",\"millisecond\"],vr=[\"year\",\"ordinal\",\"hour\",\"minute\",\"second\",\"millisecond\"];function gr(e){var t={year:\"year\",years:\"year\",month:\"month\",months:\"month\",day:\"day\",days:\"day\",hour:\"hour\",hours:\"hour\",minute:\"minute\",minutes:\"minute\",quarter:\"quarter\",quarters:\"quarter\",second:\"second\",seconds:\"second\",millisecond:\"millisecond\",milliseconds:\"millisecond\",weekday:\"weekday\",weekdays:\"weekday\",weeknumber:\"weekNumber\",weeksnumber:\"weekNumber\",weeknumbers:\"weekNumber\",weekyear:\"weekYear\",weekyears:\"weekYear\",ordinal:\"ordinal\"}[e.toLowerCase()];if(t)return t;throw new J(e)}function pr(e){switch(e.toLowerCase()){case\"localweekday\":case\"localweekdays\":return\"localWeekday\";case\"localweeknumber\":case\"localweeknumbers\":return\"localWeekNumber\";case\"localweekyear\":case\"localweekyears\":return\"localWeekYear\";default:return gr(e)}}function kr(e,t){var n=S(t.zone,O.defaultZone);if(!n.isValid)return W.invalid(Xn(n));var r,t=b.fromObject(t);if(N(e.year))u=O.now();else{for(var i=0,o=mr;i<o.length;i++){var a=o[i];N(e[a])&&(e[a]=fr[a])}var s=ut(e)||lt(e);if(s)return W.invalid(s);s=n,void 0===cr&&(cr=O.now());var s=ir(e,\"iana\"!==s.type?s.offset(cr):(l=s.name,void 0===(r=Sr.get(l))&&(r=s.offset(cr),Sr.set(l,r)),r),n),u=s[0],l=s[1]}return new W({ts:u,zone:n,loc:t,o:l})}function wr(t,n,r){function e(e,t){return e=vt(e,o||r.calendary?0:2,r.calendary?\"round\":a),n.loc.clone(r).relFormatter(r).format(e,t)}function i(e){return r.calendary?n.hasSame(t,e)?0:n.startOf(e).diff(t.startOf(e),e).get(e):n.diff(t,e).get(e)}var o=!!N(r.round)||r.round,a=N(r.rounding)?\"trunc\":r.rounding;if(r.unit)return e(i(r.unit),r.unit);for(var s=R(r.units);!(u=s()).done;){var u=u.value,l=i(u);if(1<=Math.abs(l))return e(l,u)}return e(n<t?-0:0,r.units[r.units.length-1])}function br(e){var t={},e=0<e.length&&\"object\"==typeof e[e.length-1]?(t=e[e.length-1],Array.from(e).slice(0,e.length-1)):Array.from(e);return[t,e]}var Sr=new Map,W=function(e){function k(e){var t,n=e.zone||O.defaultZone,r=e.invalid||(Number.isNaN(e.ts)?new d(\"invalid input\"):null)||(n.isValid?null:Xn(n)),i=(this.ts=N(e.ts)?O.now():e.ts,null),o=null;r||(o=e.old&&e.old.ts===this.ts&&e.old.zone.equals(n)?(i=(t=[e.old.c,e.old.o])[0],t[1]):(t=v(e.o)&&!e.old?e.o:n.offset(this.ts),i=rr(this.ts,t),i=(r=Number.isNaN(i.year)?new d(\"invalid input\"):null)?null:i,r?null:t)),this._zone=n,this.loc=e.loc||b.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=i,this.o=o,this.isLuxonDateTime=!0}k.now=function(){return new k({})},k.local=function(){var e=br(arguments),t=e[0],e=e[1];return kr({year:e[0],month:e[1],day:e[2],hour:e[3],minute:e[4],second:e[5],millisecond:e[6]},t)},k.utc=function(){var e=br(arguments),t=e[0],e=e[1],n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],e=e[6];return t.zone=f.utcInstance,kr({year:n,month:r,day:i,hour:o,minute:a,second:s,millisecond:e},t)},k.fromJSDate=function(e,t){void 0===t&&(t={});var n,e=\"[object Date]\"===Object.prototype.toString.call(e)?e.valueOf():NaN;return Number.isNaN(e)?k.invalid(\"invalid input\"):(n=S(t.zone,O.defaultZone)).isValid?new k({ts:e,zone:n,loc:b.fromObject(t)}):k.invalid(Xn(n))},k.fromMillis=function(e,t){if(void 0===t&&(t={}),v(e))return e<-864e13||864e13<e?k.invalid(\"Timestamp out of range\"):new k({ts:e,zone:S(t.zone,O.defaultZone),loc:b.fromObject(t)});throw new u(\"fromMillis requires a numerical input, but received a \"+typeof e+\" with value \"+e)},k.fromSeconds=function(e,t){if(void 0===t&&(t={}),v(e))return new k({ts:1e3*e,zone:S(t.zone,O.defaultZone),loc:b.fromObject(t)});throw new u(\"fromSeconds requires a numerical input\")},k.fromObject=function(e,t){e=e||{};var n=S((t=void 0===t?{}:t).zone,O.defaultZone);if(!n.isValid)return k.invalid(Xn(n));var r=b.fromObject(t),i=Mt(e,pr),o=st(i,r),a=o.minDaysInFirstWeek,o=o.startOfWeek,s=O.now(),t=N(t.specificOffset)?n.offset(s):t.specificOffset,u=!N(i.ordinal),l=!N(i.year),c=!N(i.month)||!N(i.day),l=l||c,f=i.weekYear||i.weekNumber;if((l||u)&&f)throw new w(\"Can't mix weekYear/weekNumber units with year/month/day or ordinals\");if(c&&u)throw new w(\"Can't mix ordinal dates with month/day\");for(var d,c=f||i.weekday&&!l,h=rr(s,t),m=(c?(p=yr,d=dr,h=rt(h,a,o)):u?(p=vr,d=hr,h=ot(h)):(p=mr,d=fr),!1),y=R(p);!(v=y()).done;){var v=v.value;N(i[v])?i[v]=(m?d:h)[v]:m=!0}var g,p=(c?(f=a,s=o,g=ct((p=i).weekYear),f=M(p.weekNumber,1,bt(p.weekYear,f=void 0===f?4:f,s=void 0===s?1:s)),s=M(p.weekday,1,7),g?f?!s&&T(\"weekday\",p.weekday):T(\"week\",p.weekNumber):T(\"weekYear\",p.weekYear)):u?(f=ct((g=i).year),s=M(g.ordinal,1,D(g.year)),f?!s&&T(\"ordinal\",g.ordinal):T(\"year\",g.year)):ut(i))||lt(i);return p?k.invalid(p):(s=new k({ts:(f=ir(c?it(i,a,o):u?at(i):i,t,n))[0],zone:n,o:f[1],loc:r}),i.weekday&&l&&e.weekday!==s.weekday?k.invalid(\"mismatched weekday\",\"you can't specify both a weekday of \"+i.weekday+\" and a date of \"+s.toISO()):s.isValid?s:k.invalid(s.invalid))},k.fromISO=function(e,t){void 0===t&&(t={});var n=Ht(e,[mn,pn],[yn,kn],[vn,wn],[gn,bn]);return ar(n[0],n[1],t,\"ISO 8601\",e)},k.fromRFC2822=function(e,t){void 0===t&&(t={});var n=Ht(e.replace(/\\([^()]*\\)|[\\n\\t]/g,\" \").replace(/(\\s\\s+)/g,\" \").trim(),[sn,un]);return ar(n[0],n[1],t,\"RFC 2822\",e)},k.fromHTTP=function(e,t){void 0===t&&(t={});e=Ht(e,[ln,dn],[cn,dn],[fn,hn]);return ar(e[0],e[1],t,\"HTTP\",t)},k.fromFormat=function(e,t,n){if(void 0===n&&(n={}),N(e)||N(t))throw new u(\"fromFormat requires an input string and a format\");var r=n,i=r.locale,r=r.numberingSystem,i=b.fromOpts({locale:void 0===i?null:i,numberingSystem:void 0===r?null:r,defaultToEN:!0}),i=[(r=Bn(r=i,e,t)).result,r.zone,r.specificOffset,r.invalidReason],r=i[0],o=i[1],a=i[2],i=i[3];return i?k.invalid(i):ar(r,o,n,\"format \"+t,e,a)},k.fromString=function(e,t,n){return k.fromFormat(e,t,n=void 0===n?{}:n)},k.fromSQL=function(e,t){void 0===t&&(t={});var n=Ht(e,[On,pn],[Tn,Nn]);return ar(n[0],n[1],t,\"SQL\",e)},k.invalid=function(e,t){if(void 0===t&&(t=null),!e)throw new u(\"need to specify a reason the DateTime is invalid\");e=e instanceof d?e:new d(e,t);if(O.throwOnInvalid)throw new P(e);return new k({invalid:e})},k.isDateTime=function(e){return e&&e.isLuxonDateTime||!1},k.parseFormatForOpts=function(e,t){e=Qn(e,b.fromObject(t=void 0===t?{}:t));return e?e.map(function(e){return e?e.val:null}).join(\"\"):null},k.expandFormat=function(e,t){return void 0===t&&(t={}),Gn(I.parseFormat(e),b.fromObject(t)).map(function(e){return e.val}).join(\"\")},k.resetCache=function(){cr=void 0,Sr.clear()};var t=k.prototype;return t.get=function(e){return this[e]},t.getPossibleOffsets=function(){var e,t,n,r;return this.isValid&&!this.isOffsetFixed&&(e=kt(this.c),n=this.zone.offset(e-864e5),r=this.zone.offset(e+864e5),(n=this.zone.offset(e-6e4*n))!==(r=this.zone.offset(e-6e4*r)))&&(t=e-6e4*r,n=rr(e=e-6e4*n,n),r=rr(t,r),n.hour===r.hour)&&n.minute===r.minute&&n.second===r.second&&n.millisecond===r.millisecond?[Z(this,{ts:e}),Z(this,{ts:t})]:[this]},t.resolvedLocaleOptions=function(e){e=I.create(this.loc.clone(e=void 0===e?{}:e),e).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},t.toUTC=function(e,t){return void 0===t&&(t={}),this.setZone(f.instance(e=void 0===e?0:e),t)},t.toLocal=function(){return this.setZone(O.defaultZone)},t.setZone=function(e,t){var n,t=void 0===t?{}:t,r=t.keepLocalTime,r=void 0!==r&&r,t=t.keepCalendarTime,t=void 0!==t&&t;return(e=S(e,O.defaultZone)).equals(this.zone)?this:e.isValid?(n=this.ts,(r||t)&&(r=e.offset(this.ts),n=ir(this.toObject(),r,e)[0]),Z(this,{ts:n,zone:e})):k.invalid(Xn(e))},t.reconfigure=function(e){var e=void 0===e?{}:e,t=e.locale,n=e.numberingSystem,e=e.outputCalendar,t=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:e});return Z(this,{loc:t})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,e=Mt(e,pr),n=st(e,this.loc),r=n.minDaysInFirstWeek,n=n.startOfWeek,i=!N(e.weekYear)||!N(e.weekNumber)||!N(e.weekday),o=!N(e.ordinal),a=!N(e.year),s=!N(e.month)||!N(e.day),u=e.weekYear||e.weekNumber;if((a||s||o)&&u)throw new w(\"Can't mix weekYear/weekNumber units with year/month/day or ordinals\");if(s&&o)throw new w(\"Can't mix ordinal dates with month/day\");i?t=it(l({},rt(this.c,r,n),e),r,n):N(e.ordinal)?(t=l({},this.toObject(),e),N(e.day)&&(t.day=Math.min(pt(t.year,t.month),t.day))):t=at(l({},ot(this.c),e));a=ir(t,this.o,this.zone);return Z(this,{ts:a[0],o:a[1]})},t.plus=function(e){return this.isValid?Z(this,or(this,x.fromDurationLike(e))):this},t.minus=function(e){return this.isValid?Z(this,or(this,x.fromDurationLike(e).negate())):this},t.startOf=function(e,t){t=(void 0===t?{}:t).useLocaleWeeks,t=void 0!==t&&t;if(!this.isValid)return this;var n={},e=x.normalizeUnit(e);switch(e){case\"years\":n.month=1;case\"quarters\":case\"months\":n.day=1;case\"weeks\":case\"days\":n.hour=0;case\"hours\":n.minute=0;case\"minutes\":n.second=0;case\"seconds\":n.millisecond=0}return\"weeks\"===e&&(t?(t=this.loc.getStartOfWeek(),this.weekday<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t):n.weekday=1),\"quarters\"===e&&(t=Math.ceil(this.month/3),n.month=3*(t-1)+1),this.set(n)},t.endOf=function(e,t){var n;return this.isValid?this.plus(((n={})[e]=1,n)).startOf(e,t).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?I.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Kn},t.toLocaleString=function(e,t){return void 0===e&&(e=G),void 0===t&&(t={}),this.isValid?I.create(this.loc.clone(t),e).formatDateTime(this):Kn},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?I.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){var t,e=void 0===e?{}:e,n=e.format,r=e.suppressSeconds,r=void 0!==r&&r,i=e.suppressMilliseconds,i=void 0!==i&&i,o=e.includeOffset,o=void 0===o||o,a=e.extendedZone,a=void 0!==a&&a,e=e.precision;return this.isValid?(t=ur(this,n=\"extended\"===(void 0===n?\"extended\":n),e=gr(void 0===e?\"milliseconds\":e)),3<=mr.indexOf(e)&&(t+=\"T\"),t+lr(this,n,r,i,o,a,e)):null},t.toISODate=function(e){var e=void 0===e?{}:e,t=e.format,e=e.precision;return this.isValid?ur(this,\"extended\"===(void 0===t?\"extended\":t),gr(void 0===e?\"day\":e)):null},t.toISOWeekDate=function(){return sr(this,\"kkkk-'W'WW-c\")},t.toISOTime=function(e){var e=void 0===e?{}:e,t=e.suppressMilliseconds,t=void 0!==t&&t,n=e.suppressSeconds,n=void 0!==n&&n,r=e.includeOffset,r=void 0===r||r,i=e.includePrefix,i=void 0!==i&&i,o=e.extendedZone,o=void 0!==o&&o,a=e.format,a=void 0===a?\"extended\":a,e=e.precision;return this.isValid?(e=gr(e=void 0===e?\"milliseconds\":e),(i&&3<=mr.indexOf(e)?\"T\":\"\")+lr(this,\"extended\"===a,n,t,r,o,e)):null},t.toRFC2822=function(){return sr(this,\"EEE, dd LLL yyyy HH:mm:ss ZZZ\",!1)},t.toHTTP=function(){return sr(this.toUTC(),\"EEE, dd LLL yyyy HH:mm:ss 'GMT'\")},t.toSQLDate=function(){return this.isValid?ur(this,!0):null},t.toSQLTime=function(e){var e=void 0===e?{}:e,t=e.includeOffset,t=void 0===t||t,n=e.includeZone,n=void 0!==n&&n,e=e.includeOffsetSpace,r=\"HH:mm:ss.SSS\";return(n||t)&&((void 0===e||e)&&(r+=\" \"),n?r+=\"z\":t&&(r+=\"ZZ\")),sr(this,r,!0)},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+\" \"+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():Kn},t[e]=function(){return this.isValid?\"DateTime { ts: \"+this.toISO()+\", zone: \"+this.zone.name+\", locale: \"+this.locale+\" }\":\"DateTime { Invalid, reason: \"+this.invalidReason+\" }\"},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){var t;return void 0===e&&(e={}),this.isValid?(t=l({},this.c),e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t):{}},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){var r;return void 0===t&&(t=\"milliseconds\"),void 0===n&&(n={}),this.isValid&&e.isValid?(n=l({locale:this.locale,numberingSystem:this.numberingSystem},n),t=t,t=(Array.isArray(t)?t:[t]).map(x.normalizeUnit),e=jn((r=e.valueOf()>this.valueOf())?this:e,r?e:this,t,n),r?e.negate():e):x.invalid(\"created by diffing an invalid DateTime\")},t.diffNow=function(e,t){return void 0===e&&(e=\"milliseconds\"),void 0===t&&(t={}),this.diff(k.now(),e,t)},t.until=function(e){return this.isValid?Zn.fromDateTimes(this,e):this},t.hasSame=function(e,t,n){var r;return!!this.isValid&&(r=e.valueOf(),(e=this.setZone(e.zone,{keepLocalTime:!0})).startOf(t,n)<=r)&&r<=e.endOf(t,n)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(e){var t,n,r,i;return this.isValid?(t=(e=void 0===e?{}:e).base||k.fromObject({},{zone:this.zone}),n=e.padding?this<t?-e.padding:e.padding:0,r=[\"years\",\"months\",\"days\",\"hours\",\"minutes\",\"seconds\"],i=e.unit,Array.isArray(e.unit)&&(r=e.unit,i=void 0),wr(t,this.plus(n),l({},e,{numeric:\"always\",units:r,unit:i}))):null},t.toRelativeCalendar=function(e){return void 0===e&&(e={}),this.isValid?wr(e.base||k.fromObject({},{zone:this.zone}),this,l({},e,{numeric:\"auto\",units:[\"years\",\"months\",\"days\"],calendary:!0})):null},k.min=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.every(k.isDateTime))return ht(t,function(e){return e.valueOf()},Math.min);throw new u(\"min requires all arguments be DateTimes\")},k.max=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.every(k.isDateTime))return ht(t,function(e){return e.valueOf()},Math.max);throw new u(\"max requires all arguments be DateTimes\")},k.fromFormatExplain=function(e,t,n){var n=n=void 0===n?{}:n,r=n.locale,n=n.numberingSystem;return Bn(b.fromOpts({locale:void 0===r?null:r,numberingSystem:void 0===n?null:n,defaultToEN:!0}),e,t)},k.fromStringExplain=function(e,t,n){return k.fromFormatExplain(e,t,n=void 0===n?{}:n)},k.buildFormatParser=function(e,t){var t=t=void 0===t?{}:t,n=t.locale,t=t.numberingSystem,n=b.fromOpts({locale:void 0===n?null:n,numberingSystem:void 0===t?null:t,defaultToEN:!0});return new $n(n,e)},k.fromFormatParser=function(e,t,n){if(void 0===n&&(n={}),N(e)||N(t))throw new u(\"fromFormatParser requires an input string and a format parser\");var r,i,o,a=n,s=a.locale,a=a.numberingSystem,s=b.fromOpts({locale:void 0===s?null:s,numberingSystem:void 0===a?null:a,defaultToEN:!0});if(s.equals(t.locale))return r=(a=t.explainFromTokens(e)).result,i=a.zone,o=a.specificOffset,(a=a.invalidReason)?k.invalid(a):ar(r,i,n,\"format \"+t.format,e,o);throw new u(\"fromFormatParser called with a locale of \"+s+\", but the format parser was created for \"+t.locale)},i(k,[{key:\"isValid\",get:function(){return null===this.invalid}},{key:\"invalidReason\",get:function(){return this.invalid?this.invalid.reason:null}},{key:\"invalidExplanation\",get:function(){return this.invalid?this.invalid.explanation:null}},{key:\"locale\",get:function(){return this.isValid?this.loc.locale:null}},{key:\"numberingSystem\",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:\"outputCalendar\",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:\"zone\",get:function(){return this._zone}},{key:\"zoneName\",get:function(){return this.isValid?this.zone.name:null}},{key:\"year\",get:function(){return this.isValid?this.c.year:NaN}},{key:\"quarter\",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:\"month\",get:function(){return this.isValid?this.c.month:NaN}},{key:\"day\",get:function(){return this.isValid?this.c.day:NaN}},{key:\"hour\",get:function(){return this.isValid?this.c.hour:NaN}},{key:\"minute\",get:function(){return this.isValid?this.c.minute:NaN}},{key:\"second\",get:function(){return this.isValid?this.c.second:NaN}},{key:\"millisecond\",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:\"weekYear\",get:function(){return this.isValid?er(this).weekYear:NaN}},{key:\"weekNumber\",get:function(){return this.isValid?er(this).weekNumber:NaN}},{key:\"weekday\",get:function(){return this.isValid?er(this).weekday:NaN}},{key:\"isWeekend\",get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}},{key:\"localWeekday\",get:function(){return this.isValid?tr(this).weekday:NaN}},{key:\"localWeekNumber\",get:function(){return this.isValid?tr(this).weekNumber:NaN}},{key:\"localWeekYear\",get:function(){return this.isValid?tr(this).weekYear:NaN}},{key:\"ordinal\",get:function(){return this.isValid?ot(this.c).ordinal:NaN}},{key:\"monthShort\",get:function(){return this.isValid?Wn.months(\"short\",{locObj:this.loc})[this.month-1]:null}},{key:\"monthLong\",get:function(){return this.isValid?Wn.months(\"long\",{locObj:this.loc})[this.month-1]:null}},{key:\"weekdayShort\",get:function(){return this.isValid?Wn.weekdays(\"short\",{locObj:this.loc})[this.weekday-1]:null}},{key:\"weekdayLong\",get:function(){return this.isValid?Wn.weekdays(\"long\",{locObj:this.loc})[this.weekday-1]:null}},{key:\"offset\",get:function(){return this.isValid?+this.o:NaN}},{key:\"offsetNameShort\",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:\"short\",locale:this.locale}):null}},{key:\"offsetNameLong\",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:\"long\",locale:this.locale}):null}},{key:\"isOffsetFixed\",get:function(){return this.isValid?this.zone.isUniversal:null}},{key:\"isInDST\",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}},{key:\"isInLeapYear\",get:function(){return gt(this.year)}},{key:\"daysInMonth\",get:function(){return pt(this.year,this.month)}},{key:\"daysInYear\",get:function(){return this.isValid?D(this.year):NaN}},{key:\"weeksInWeekYear\",get:function(){return this.isValid?bt(this.weekYear):NaN}},{key:\"weeksInLocalWeekYear\",get:function(){return this.isValid?bt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}}],[{key:\"DATE_SHORT\",get:function(){return G}},{key:\"DATE_MED\",get:function(){return $}},{key:\"DATE_MED_WITH_WEEKDAY\",get:function(){return B}},{key:\"DATE_FULL\",get:function(){return Q}},{key:\"DATE_HUGE\",get:function(){return K}},{key:\"TIME_SIMPLE\",get:function(){return X}},{key:\"TIME_WITH_SECONDS\",get:function(){return ee}},{key:\"TIME_WITH_SHORT_OFFSET\",get:function(){return te}},{key:\"TIME_WITH_LONG_OFFSET\",get:function(){return ne}},{key:\"TIME_24_SIMPLE\",get:function(){return re}},{key:\"TIME_24_WITH_SECONDS\",get:function(){return ie}},{key:\"TIME_24_WITH_SHORT_OFFSET\",get:function(){return oe}},{key:\"TIME_24_WITH_LONG_OFFSET\",get:function(){return ae}},{key:\"DATETIME_SHORT\",get:function(){return se}},{key:\"DATETIME_SHORT_WITH_SECONDS\",get:function(){return ue}},{key:\"DATETIME_MED\",get:function(){return le}},{key:\"DATETIME_MED_WITH_SECONDS\",get:function(){return ce}},{key:\"DATETIME_MED_WITH_WEEKDAY\",get:function(){return fe}},{key:\"DATETIME_FULL\",get:function(){return de}},{key:\"DATETIME_FULL_WITH_SECONDS\",get:function(){return he}},{key:\"DATETIME_HUGE\",get:function(){return me}},{key:\"DATETIME_HUGE_WITH_SECONDS\",get:function(){return ye}}]),k}(Symbol.for(\"nodejs.util.inspect.custom\"));function Or(e){if(W.isDateTime(e))return e;if(e&&e.valueOf&&v(e.valueOf()))return W.fromJSDate(e);if(e&&\"object\"==typeof e)return W.fromObject(e);throw new u(\"Unknown datetime argument: \"+e+\", of type \"+typeof e)}return e.DateTime=W,e.Duration=x,e.FixedOffsetZone=f,e.IANAZone=c,e.Info=Wn,e.Interval=Zn,e.InvalidZone=ze,e.Settings=O,e.SystemZone=ge,e.VERSION=\"3.7.2\",e.Zone=s,Object.defineProperty(e,\"__esModule\",{value:!0}),e}({});","/*!\n * chartjs-adapter-luxon v1.3.1\n * https://www.chartjs.org\n * (c) 2023 chartjs-adapter-luxon Contributors\n * Released under the MIT license\n */\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"chart.js\"),require(\"luxon\")):\"function\"==typeof define&&define.amd?define([\"chart.js\",\"luxon\"],t):t((e=\"undefined\"!=typeof globalThis?globalThis:e||self).Chart,e.luxon)}(this,(function(e,t){\"use strict\";const n={datetime:t.DateTime.DATETIME_MED_WITH_SECONDS,millisecond:\"h:mm:ss.SSS a\",second:t.DateTime.TIME_WITH_SECONDS,minute:t.DateTime.TIME_SIMPLE,hour:{hour:\"numeric\"},day:{day:\"numeric\",month:\"short\"},week:\"DD\",month:{month:\"short\",year:\"numeric\"},quarter:\"'Q'q - yyyy\",year:{year:\"numeric\"}};e._adapters._date.override({_id:\"luxon\",_create:function(e){return t.DateTime.fromMillis(e,this.options)},init(e){this.options.locale||(this.options.locale=e.locale)},formats:function(){return n},parse:function(e,n){const i=this.options,r=typeof e;return null===e||\"undefined\"===r?null:(\"number\"===r?e=this._create(e):\"string\"===r?e=\"string\"==typeof n?t.DateTime.fromFormat(e,n,i):t.DateTime.fromISO(e,i):e instanceof Date?e=t.DateTime.fromJSDate(e,i):\"object\"!==r||e instanceof t.DateTime||(e=t.DateTime.fromObject(e,i)),e.isValid?e.valueOf():null)},format:function(e,t){const n=this._create(e);return\"string\"==typeof t?n.toFormat(t):n.toLocaleString(t)},add:function(e,t,n){const i={};return i[n]=t,this._create(e).plus(i).valueOf()},diff:function(e,t,n){return this._create(e).diff(this._create(t)).as(n).valueOf()},startOf:function(e,t,n){if(\"isoWeek\"===t){n=Math.trunc(Math.min(Math.max(0,n),6));const t=this._create(e);return t.minus({days:(t.weekday-n+7)%7}).startOf(\"day\").valueOf()}return t?this._create(e).startOf(t).valueOf():e},endOf:function(e,t){return this._create(e).endOf(t).valueOf()}})}));\n","/*!\n* chartjs-plugin-annotation v3.1.0\n* https://www.chartjs.org/chartjs-plugin-annotation/index\n * (c) 2024 chartjs-plugin-annotation Contributors\n * Released under the MIT License\n */\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e(require(\"chart.js\"),require(\"chart.js/helpers\")):\"function\"==typeof define&&define.amd?define([\"chart.js\",\"chart.js/helpers\"],e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self)[\"chartjs-plugin-annotation\"]=e(t.Chart,t.Chart.helpers)}(this,(function(t,e){\"use strict\";const o={modes:{point:(t,e)=>i(t,e,{intersect:!0}),nearest:(t,o,n)=>function(t,o,n){let r=Number.POSITIVE_INFINITY;return i(t,o,n).reduce(((t,i)=>{const s=i.getCenterPoint(),a=function(t,e,o){if(\"x\"===o)return{x:t.x,y:e.y};if(\"y\"===o)return{x:e.x,y:t.y};return e}(o,s,n.axis),d=e.distanceBetweenPoints(o,a);return d<r?(t=[i],r=d):d===r&&t.push(i),t}),[]).sort(((t,e)=>t._index-e._index)).slice(0,1)}(t,o,n),x:(t,e,o)=>i(t,e,{intersect:o.intersect,axis:\"x\"}),y:(t,e,o)=>i(t,e,{intersect:o.intersect,axis:\"y\"})}};function n(t,e,n){return(o.modes[n.mode]||o.modes.nearest)(t,e,n)}function i(t,e,o){return t.filter((t=>o.intersect?t.inRange(e.x,e.y):function(t,e,o){return\"x\"!==o&&\"y\"!==o?t.inRange(e.x,e.y,\"x\",!0)||t.inRange(e.x,e.y,\"y\",!0):t.inRange(e.x,e.y,o,!0)}(t,e,o.axis)))}function r(t,e,o){const n=Math.cos(o),i=Math.sin(o),r=e.x,s=e.y;return{x:r+n*(t.x-r)-i*(t.y-s),y:s+i*(t.x-r)+n*(t.y-s)}}const s=(t,e)=>e>t||t.length>e.length&&t.slice(0,e.length)===e,a=.001,d=(t,e,o)=>Math.min(o,Math.max(e,t)),l=(t,e)=>t.value>=t.start-e&&t.value<=t.end+e;function c(t,e,o){for(const n of Object.keys(t))t[n]=d(t[n],e,o);return t}function h(t,{x:e,y:o,x2:n,y2:i},r,{borderWidth:s,hitTolerance:d}){const l=(s+d)/2,c=t.x>=e-l-a&&t.x<=n+l+a,h=t.y>=o-l-a&&t.y<=i+l+a;return\"x\"===r?c:(\"y\"===r||c)&&h}function u(t,{rect:o,center:n},i,{rotation:s,borderWidth:a,hitTolerance:d}){return h(r(t,n,e.toRadians(-s)),o,i,{borderWidth:a,hitTolerance:d})}function f(t,e){const{centerX:o,centerY:n}=t.getProps([\"centerX\",\"centerY\"],e);return{x:o,y:n}}const x=t=>\"string\"==typeof t&&t.endsWith(\"%\"),y=t=>parseFloat(t)/100,p=t=>d(y(t),0,1),b=(t,e)=>({x:t,y:e,x2:t,y2:e,width:0,height:0}),g={box:t=>b(t.centerX,t.centerY),doughnutLabel:t=>b(t.centerX,t.centerY),ellipse:t=>({centerX:t.centerX,centerY:t.centerX,radius:0,width:0,height:0}),label:t=>b(t.centerX,t.centerY),line:t=>b(t.x,t.y),point:t=>({centerX:t.centerX,centerY:t.centerY,radius:0,width:0,height:0}),polygon:t=>b(t.centerX,t.centerY)};function m(t,e){return\"start\"===e?0:\"end\"===e?t:x(e)?p(e)*t:t/2}function v(t,e,o=!0){return\"number\"==typeof e?e:x(e)?(o?p(e):y(e))*t:t}function w(t,o,{borderWidth:n,position:i,xAdjust:r,yAdjust:s},a){const d=e.isObject(a),l=o.width+(d?a.width:0)+n,c=o.height+(d?a.height:0)+n,h=M(i),u=k(t.x,l,r,h.x),f=k(t.y,c,s,h.y);return{x:u,y:f,x2:u+l,y2:f+c,width:l,height:c,centerX:u+l/2,centerY:f+c/2}}function M(t,o=\"center\"){return e.isObject(t)?{x:e.valueOrDefault(t.x,o),y:e.valueOrDefault(t.y,o)}:{x:t=e.valueOrDefault(t,o),y:t}}const P=(t,e)=>t&&t.autoFit&&e<1;function S(t,o){const n=t.font,i=e.isArray(n)?n:[n];return P(t,o)?i.map((function(t){const n=e.toFont(t);return n.size=Math.floor(t.size*o),n.lineHeight=t.lineHeight,e.toFont(n)})):i.map((t=>e.toFont(t)))}function C(t){return t&&(e.defined(t.xValue)||e.defined(t.yValue))}function k(t,e,o=0,n){return t-m(e,n)+o}function A(t,o,n){const i=n.init;if(i)return!0===i?D(o,n):function(t,o,n){const i=e.callback(n.init,[{chart:t,properties:o,options:n}]);if(!0===i)return D(o,n);if(e.isObject(i))return i}(t,o,n)}function T(t,o,n){let i=!1;return o.forEach((o=>{e.isFunction(t[o])?(i=!0,n[o]=t[o]):e.defined(n[o])&&delete n[o]})),i}function D(t,e){const o=e.type||\"line\";return g[o](t)}const j=new Map,O=t=>isNaN(t)||t<=0,R=t=>t.reduce((function(t,e){return t+=e.string}),\"\");function I(t){if(t&&\"object\"==typeof t){const e=t.toString();return\"[object HTMLImageElement]\"===e||\"[object HTMLCanvasElement]\"===e}}function Y(t,{x:o,y:n},i){i&&(t.translate(o,n),t.rotate(e.toRadians(i)),t.translate(-o,-n))}function X(t,e){if(e&&e.borderWidth)return t.lineCap=e.borderCapStyle||\"butt\",t.setLineDash(e.borderDash),t.lineDashOffset=e.borderDashOffset,t.lineJoin=e.borderJoinStyle||\"miter\",t.lineWidth=e.borderWidth,t.strokeStyle=e.borderColor,!0}function _(t,e){t.shadowColor=e.backgroundShadowColor,t.shadowBlur=e.shadowBlur,t.shadowOffsetX=e.shadowOffsetX,t.shadowOffsetY=e.shadowOffsetY}function E(t,o){const n=o.content;if(I(n)){return{width:v(n.width,o.width),height:v(n.height,o.height)}}const i=S(o),r=o.textStrokeWidth,s=e.isArray(n)?n:[n],a=s.join()+R(i)+r+(t._measureText?\"-spriting\":\"\");return j.has(a)||j.set(a,function(t,e,o,n){t.save();const i=e.length;let r=0,s=n;for(let a=0;a<i;a++){const i=o[Math.min(a,o.length-1)];t.font=i.string;const d=e[a];r=Math.max(r,t.measureText(d).width+n),s+=i.lineHeight}return t.restore(),{width:r,height:s}}(t,s,i,r)),j.get(a)}function W(t,o,n){const{x:i,y:r,width:s,height:a}=o;t.save(),_(t,n);const d=X(t,n);t.fillStyle=n.backgroundColor,t.beginPath(),e.addRoundedRectPath(t,{x:i,y:r,w:s,h:a,radius:c(e.toTRBLCorners(n.borderRadius),0,Math.min(s,a)/2)}),t.closePath(),t.fill(),d&&(t.shadowColor=n.borderShadowColor,t.stroke()),t.restore()}function z(t,o,n,i){const r=n.content;if(I(r))return t.save(),t.globalAlpha=function(t,o){const n=e.isNumber(t)?t:o;return e.isNumber(n)?d(n,0,1):1}(n.opacity,r.style.opacity),t.drawImage(r,o.x,o.y,o.width,o.height),void t.restore();const s=e.isArray(r)?r:[r],a=S(n,i),l=n.color,c=e.isArray(l)?l:[l],h=function(t,e){const{x:o,width:n}=t,i=e.textAlign;return\"center\"===i?o+n/2:\"end\"===i||\"right\"===i?o+n:o}(o,n),u=o.y+n.textStrokeWidth/2;t.save(),t.textBaseline=\"middle\",t.textAlign=n.textAlign,function(t,e){if(e.textStrokeWidth>0)return t.lineJoin=\"round\",t.miterLimit=2,t.lineWidth=e.textStrokeWidth,t.strokeStyle=e.textStrokeColor,!0}(t,n)&&function(t,{x:e,y:o},n,i){t.beginPath();let r=0;n.forEach((function(n,s){const a=i[Math.min(s,i.length-1)],d=a.lineHeight;t.font=a.string,t.strokeText(n,e,o+d/2+r),r+=d})),t.stroke()}(t,{x:h,y:u},s,a),function(t,{x:e,y:o},n,{fonts:i,colors:r}){let s=0;n.forEach((function(n,a){const d=r[Math.min(a,r.length-1)],l=i[Math.min(a,i.length-1)],c=l.lineHeight;t.beginPath(),t.font=l.string,t.fillStyle=d,t.fillText(n,e,o+c/2+s),s+=c,t.fill()}))}(t,{x:h,y:u},s,{fonts:a,colors:c}),t.restore()}function F(t,o,n,i){const{radius:r,options:s}=o,a=s.pointStyle,d=s.rotation;let l=(d||0)*e.RAD_PER_DEG;if(I(a))return t.save(),t.translate(n,i),t.rotate(l),t.drawImage(a,-a.width/2,-a.height/2,a.width,a.height),void t.restore();O(r)||function(t,{x:o,y:n,radius:i,rotation:r,style:s,rad:a}){let d,l,c,h;switch(t.beginPath(),s){default:t.arc(o,n,i,0,e.TAU),t.closePath();break;case\"triangle\":t.moveTo(o+Math.sin(a)*i,n-Math.cos(a)*i),a+=e.TWO_THIRDS_PI,t.lineTo(o+Math.sin(a)*i,n-Math.cos(a)*i),a+=e.TWO_THIRDS_PI,t.lineTo(o+Math.sin(a)*i,n-Math.cos(a)*i),t.closePath();break;case\"rectRounded\":h=.516*i,c=i-h,d=Math.cos(a+e.QUARTER_PI)*c,l=Math.sin(a+e.QUARTER_PI)*c,t.arc(o-d,n-l,h,a-e.PI,a-e.HALF_PI),t.arc(o+l,n-d,h,a-e.HALF_PI,a),t.arc(o+d,n+l,h,a,a+e.HALF_PI),t.arc(o-l,n+d,h,a+e.HALF_PI,a+e.PI),t.closePath();break;case\"rect\":if(!r){c=Math.SQRT1_2*i,t.rect(o-c,n-c,2*c,2*c);break}a+=e.QUARTER_PI;case\"rectRot\":d=Math.cos(a)*i,l=Math.sin(a)*i,t.moveTo(o-d,n-l),t.lineTo(o+l,n-d),t.lineTo(o+d,n+l),t.lineTo(o-l,n+d),t.closePath();break;case\"crossRot\":a+=e.QUARTER_PI;case\"cross\":d=Math.cos(a)*i,l=Math.sin(a)*i,t.moveTo(o-d,n-l),t.lineTo(o+d,n+l),t.moveTo(o+l,n-d),t.lineTo(o-l,n+d);break;case\"star\":d=Math.cos(a)*i,l=Math.sin(a)*i,t.moveTo(o-d,n-l),t.lineTo(o+d,n+l),t.moveTo(o+l,n-d),t.lineTo(o-l,n+d),a+=e.QUARTER_PI,d=Math.cos(a)*i,l=Math.sin(a)*i,t.moveTo(o-d,n-l),t.lineTo(o+d,n+l),t.moveTo(o+l,n-d),t.lineTo(o-l,n+d);break;case\"line\":d=Math.cos(a)*i,l=Math.sin(a)*i,t.moveTo(o-d,n-l),t.lineTo(o+d,n+l);break;case\"dash\":t.moveTo(o,n),t.lineTo(o+Math.cos(a)*i,n+Math.sin(a)*i)}t.fill()}(t,{x:n,y:i,radius:r,rotation:d,style:a,rad:l})}const H=[\"left\",\"bottom\",\"top\",\"right\"];function N(t,o){const{pointX:n,pointY:i,options:s}=o,a=s.callout,d=a&&a.display&&function(t,o){const n=o.position;if(H.includes(n))return n;return function(t,o){const{x:n,y:i,x2:s,y2:a,width:d,height:l,pointX:c,pointY:h,centerX:u,centerY:f,rotation:x}=t,y={x:u,y:f},p=o.start,b=v(d,p),g=v(l,p),m=[n,n+b,n+b,s],w=[i+g,a,i,a],M=[];for(let t=0;t<4;t++){const o=r({x:m[t],y:w[t]},y,e.toRadians(x));M.push({position:H[t],distance:e.distanceBetweenPoints(o,{x:c,y:h})})}return M.sort(((t,e)=>t.distance-e.distance))[0].position}(t,o)}(o,a);if(!d||function(t,e,o){const{pointX:n,pointY:i}=t,r=e.margin;let s=n,a=i;\"left\"===o?s+=r:\"right\"===o?s-=r:\"top\"===o?a+=r:\"bottom\"===o&&(a-=r);return t.inRange(s,a)}(o,a,d))return;t.save(),t.beginPath();if(!X(t,a))return t.restore();const{separatorStart:l,separatorEnd:c}=function(t,e){const{x:o,y:n,x2:i,y2:r}=t,s=function(t,e){const{width:o,height:n,options:i}=t,r=i.callout.margin+i.borderWidth/2;if(\"right\"===e)return o+r;if(\"bottom\"===e)return n+r;return-r}(t,e);let a,d;\"left\"===e||\"right\"===e?(a={x:o+s,y:n},d={x:a.x,y:r}):(a={x:o,y:n+s},d={x:i,y:a.y});return{separatorStart:a,separatorEnd:d}}(o,d),{sideStart:h,sideEnd:u}=function(t,e,o){const{y:n,width:i,height:r,options:s}=t,a=s.callout.start,d=function(t,e){const o=e.side;if(\"left\"===t||\"top\"===t)return-o;return o}(e,s.callout);let l,c;\"left\"===e||\"right\"===e?(l={x:o.x,y:n+v(r,a)},c={x:l.x+d,y:l.y}):(l={x:o.x+v(i,a),y:o.y},c={x:l.x,y:l.y+d});return{sideStart:l,sideEnd:c}}(o,d,l);(a.margin>0||0===s.borderWidth)&&(t.moveTo(l.x,l.y),t.lineTo(c.x,c.y)),t.moveTo(h.x,h.y),t.lineTo(u.x,u.y);const f=r({x:n,y:i},o.getCenterPoint(),e.toRadians(-o.rotation));t.lineTo(f.x,f.y),t.stroke(),t.restore()}const L={xScaleID:{min:\"xMin\",max:\"xMax\",start:\"left\",end:\"right\",startProp:\"x\",endProp:\"x2\"},yScaleID:{min:\"yMin\",max:\"yMax\",start:\"bottom\",end:\"top\",startProp:\"y\",endProp:\"y2\"}};function V(t,o,n){return o=\"number\"==typeof o?o:t.parse(o),e.isFinite(o)?t.getPixelForValue(o):n}function B(t,e,o){const n=e[o];if(n||\"scaleID\"===o)return n;const i=o.charAt(0),r=Object.values(t).filter((t=>t.axis&&t.axis===i));return r.length?r[0].id:i}function $(t,e){if(t){const o=t.options.reverse;return{start:V(t,e.min,o?e.end:e.start),end:V(t,e.max,o?e.start:e.end)}}}function U(t,e){const{chartArea:o,scales:n}=t,i=n[B(n,e,\"xScaleID\")],r=n[B(n,e,\"yScaleID\")];let s=o.width/2,a=o.height/2;return i&&(s=V(i,e.xValue,i.left+i.width/2)),r&&(a=V(r,e.yValue,r.top+r.height/2)),{x:s,y:a}}function J(t,e){const o=t.scales,n=o[B(o,e,\"xScaleID\")],i=o[B(o,e,\"yScaleID\")];if(!n&&!i)return{};let{left:r,right:s}=n||t.chartArea,{top:a,bottom:d}=i||t.chartArea;const l=K(n,{min:e.xMin,max:e.xMax,start:r,end:s});r=l.start,s=l.end;const c=K(i,{min:e.yMin,max:e.yMax,start:d,end:a});return a=c.start,d=c.end,{x:r,y:a,x2:s,y2:d,width:s-r,height:d-a,centerX:r+(s-r)/2,centerY:a+(d-a)/2}}function q(t,e){if(!C(e)){const o=J(t,e);let n=e.radius;n&&!isNaN(n)||(n=Math.min(o.width,o.height)/2,e.radius=n);const i=2*n,r=o.centerX+e.xAdjust,s=o.centerY+e.yAdjust;return{x:r-n,y:s-n,x2:r+n,y2:s+n,centerX:r,centerY:s,width:i,height:i,radius:n}}return function(t,e){const o=U(t,e),n=2*e.radius;return{x:o.x-e.radius+e.xAdjust,y:o.y-e.radius+e.yAdjust,x2:o.x+e.radius+e.xAdjust,y2:o.y+e.radius+e.yAdjust,centerX:o.x+e.xAdjust,centerY:o.y+e.yAdjust,radius:e.radius,width:n,height:n}}(t,e)}function Q(t,e){const{scales:o,chartArea:n}=t,i=o[e.scaleID],r={x:n.left,y:n.top,x2:n.right,y2:n.bottom};return i?function(t,e,o){const n=V(t,o.value,NaN),i=V(t,o.endValue,n);t.isHorizontal()?(e.x=n,e.x2=i):(e.y=n,e.y2=i)}(i,r,e):function(t,e,o){for(const n of Object.keys(L)){const i=t[B(t,o,n)];if(i){const{min:t,max:r,start:s,end:a,startProp:d,endProp:l}=L[n],c=$(i,{min:o[t],max:o[r],start:i[s],end:i[a]});e[d]=c.start,e[l]=c.end}}}(o,r,e),r}function G(t,e){const o=J(t,e);return o.initProperties=A(t,o,e),o.elements=[{type:\"label\",optionScope:\"label\",properties:tt(t,o,e),initProperties:o.initProperties}],o}function K(t,e){const o=$(t,e)||e;return{start:Math.min(o.start,o.end),end:Math.max(o.start,o.end)}}function Z(t,e){const{start:o,end:n,borderWidth:i}=t,{position:r,padding:{start:s,end:a},adjust:d}=e;return o+i/2+d+m(n-i-o-s-a-e.size,r)}function tt(t,o,n){const i=n.label;i.backgroundColor=\"transparent\",i.callout.display=!1;const r=M(i.position),s=e.toPadding(i.padding),a=E(t.ctx,i),d=function({properties:t,options:e},o,n,i){const{x:r,x2:s,width:a}=t;return Z({start:r,end:s,size:a,borderWidth:e.borderWidth},{position:n.x,padding:{start:i.left,end:i.right},adjust:e.label.xAdjust,size:o.width})}({properties:o,options:n},a,r,s),l=function({properties:t,options:e},o,n,i){const{y:r,y2:s,height:a}=t;return Z({start:r,end:s,size:a,borderWidth:e.borderWidth},{position:n.y,padding:{start:i.top,end:i.bottom},adjust:e.label.yAdjust,size:o.height})}({properties:o,options:n},a,r,s),c=a.width+s.width,h=a.height+s.height;return{x:d,y:l,x2:d+c,y2:l+h,width:c,height:h,centerX:d+c/2,centerY:l+h/2,rotation:i.rotation}}const et=[\"enter\",\"leave\"],ot=et.concat(\"click\");function nt(t,e,o){if(t.listened)switch(e.type){case\"mousemove\":case\"mouseout\":return function(t,e,o){if(!t.moveListened)return;let i;i=\"mousemove\"===e.type?n(t.visibleElements,e,o.interaction):[];const r=t.hovered;t.hovered=i;const s={state:t,event:e};let a=it(s,\"leave\",r,i);return it(s,\"enter\",i,r)||a}(t,e,o);case\"click\":return function(t,e,o){const i=t.listeners,r=n(t.visibleElements,e,o.interaction);let s;for(const t of r)s=rt(t.options.click||i.click,t,e)||s;return s}(t,e,o)}}function it({state:t,event:e},o,n,i){let r;for(const s of n)i.indexOf(s)<0&&(r=rt(s.options[o]||t.listeners[o],s,e)||r);return r}function rt(t,o,n){return!0===e.callback(t,[o.$context,n])}const st=[\"afterDraw\",\"beforeDraw\"];function at(t,o,n){if(t.hooked){const i=o.options[n]||t.hooks[n];return e.callback(i,[o.$context])}}function dt(t,o,n){const i=function(t,o,n){const i=o.axis,r=o.id,s=i+\"ScaleID\",a={min:e.valueOrDefault(o.min,Number.NEGATIVE_INFINITY),max:e.valueOrDefault(o.max,Number.POSITIVE_INFINITY)};for(const e of n)e.scaleID===r?ut(e,o,[\"value\",\"endValue\"],a):B(t,e,s)===r&&ut(e,o,[i+\"Min\",i+\"Max\",i+\"Value\"],a);return a}(t.scales,o,n);let r=lt(o,i,\"min\",\"suggestedMin\");r=lt(o,i,\"max\",\"suggestedMax\")||r,r&&e.isFunction(o.handleTickRangeOptions)&&o.handleTickRangeOptions()}function lt(t,o,n,i){if(e.isFinite(o[n])&&!function(t,o,n){return e.defined(t[o])||e.defined(t[n])}(t.options,n,i)){const e=t[n]!==o[n];return t[n]=o[n],e}}function ct(t,e){for(const o of[\"scaleID\",\"xScaleID\",\"yScaleID\"]){const n=B(e,t,o);n&&!e[n]&&ht(t,o)&&console.warn(`No scale found with id '${n}' for annotation '${t.id}'`)}}function ht(t,o){if(\"scaleID\"===o)return!0;const n=o.charAt(0);for(const o of[\"Min\",\"Max\",\"Value\"])if(e.defined(t[n+o]))return!0;return!1}function ut(t,o,n,i){for(const r of n){const n=t[r];if(e.defined(n)){const t=o.parse(n);i.min=Math.min(i.min,t),i.max=Math.max(i.max,t)}}}class ft extends t.Element{inRange(t,o,n,i){const{x:s,y:a}=r({x:t,y:o},this.getCenterPoint(i),e.toRadians(-this.options.rotation));return h({x:s,y:a},this.getProps([\"x\",\"y\",\"x2\",\"y2\"],i),n,this.options)}getCenterPoint(t){return f(this,t)}draw(t){t.save(),Y(t,this.getCenterPoint(),this.options.rotation),W(t,this,this.options),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){return G(t,e)}}ft.id=\"boxAnnotation\",ft.defaults={adjustScaleRange:!0,backgroundShadowColor:\"transparent\",borderCapStyle:\"butt\",borderDash:[],borderDashOffset:0,borderJoinStyle:\"miter\",borderRadius:0,borderShadowColor:\"transparent\",borderWidth:1,display:!0,init:void 0,hitTolerance:0,label:{backgroundColor:\"transparent\",borderWidth:0,callout:{display:!1},color:\"black\",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:\"bold\"},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:\"center\",rotation:void 0,textAlign:\"start\",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},ft.defaultRoutes={borderColor:\"color\",backgroundColor:\"color\"},ft.descriptors={label:{_fallback:!0}};class xt extends t.Element{inRange(t,e,o,n){return u({x:t,y:e},{rect:this.getProps([\"x\",\"y\",\"x2\",\"y2\"],n),center:this.getCenterPoint(n)},o,{rotation:this.rotation,borderWidth:0,hitTolerance:this.options.hitTolerance})}getCenterPoint(t){return f(this,t)}draw(t){const e=this.options;e.display&&e.content&&(!function(t,e){const{_centerX:o,_centerY:n,_radius:i,_startAngle:r,_endAngle:s,_counterclockwise:a,options:d}=e;t.save();const l=X(t,d);t.fillStyle=d.backgroundColor,t.beginPath(),t.arc(o,n,i,r,s,a),t.closePath(),t.fill(),l&&t.stroke();t.restore()}(t,this),t.save(),Y(t,this.getCenterPoint(),this.rotation),z(t,this,e,this._fitRatio),t.restore())}resolveElementProperties(o,n){const i=function(e,o){return e.getSortedVisibleDatasetMetas().reduce((function(n,i){const r=i.controller;return r instanceof t.DoughnutController&&function(t,e,o){if(!e.autoHide)return!0;for(let e=0;e<o.length;e++)if(!o[e].hidden&&t.getDataVisibility(e))return!0}(e,o,i.data)&&(!n||r.innerRadius<n.controller.innerRadius)&&r.options.circumference>=90?i:n}),void 0)}(o,n);if(!i)return{};const{controllerMeta:r,point:s,radius:a}=function({chartArea:t},o,n){const{left:i,top:r,right:s,bottom:a}=t,{innerRadius:d,offsetX:l,offsetY:c}=n.controller,h=(i+s)/2+l,u=(r+a)/2+c,f={left:Math.max(h-d,i),right:Math.min(h+d,s),top:Math.max(u-d,r),bottom:Math.min(u+d,a)},x={x:(f.left+f.right)/2,y:(f.top+f.bottom)/2},y=o.spacing+o.borderWidth/2,p=d-y,b=x.y>u,g=function(t,o,n,i){const r=Math.pow(n-t,2),s=Math.pow(i,2),a=-2*o,d=Math.pow(o,2)+r-s,l=Math.pow(a,2)-4*d;if(l<=0)return{_startAngle:0,_endAngle:e.TAU};const c=(-a-Math.sqrt(l))/2,h=(-a+Math.sqrt(l))/2;return{_startAngle:e.getAngleFromPoint({x:o,y:n},{x:c,y:t}).angle,_endAngle:e.getAngleFromPoint({x:o,y:n},{x:h,y:t}).angle}}(b?r+y:a-y,h,u,p),m={_centerX:h,_centerY:u,_radius:p,_counterclockwise:b,...g};return{controllerMeta:m,point:x,radius:Math.min(d,Math.min(f.right-f.left,f.bottom-f.top)/2)}}(o,n,i);let d=E(o.ctx,n);const l=function({width:t,height:e},o){const n=Math.sqrt(Math.pow(t,2)+Math.pow(e,2));return 2*o/n}(d,a);P(n,l)&&(d={width:d.width*l,height:d.height*l});const{position:c,xAdjust:h,yAdjust:u}=n,f=w(s,d,{borderWidth:0,position:c,xAdjust:h,yAdjust:u});return{initProperties:A(o,f,n),...f,...r,rotation:n.rotation,_fitRatio:l}}}xt.id=\"doughnutLabelAnnotation\",xt.defaults={autoFit:!0,autoHide:!0,backgroundColor:\"transparent\",backgroundShadowColor:\"transparent\",borderColor:\"transparent\",borderDash:[],borderDashOffset:0,borderJoinStyle:\"miter\",borderShadowColor:\"transparent\",borderWidth:0,color:\"black\",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,position:\"center\",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,spacing:1,textAlign:\"center\",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0},xt.defaultRoutes={};class yt extends t.Element{inRange(t,e,o,n){return u({x:t,y:e},{rect:this.getProps([\"x\",\"y\",\"x2\",\"y2\"],n),center:this.getCenterPoint(n)},o,{rotation:this.rotation,borderWidth:this.options.borderWidth,hitTolerance:this.options.hitTolerance})}getCenterPoint(t){return f(this,t)}draw(t){const o=this.options,n=!e.defined(this._visible)||this._visible;o.display&&o.content&&n&&(t.save(),Y(t,this.getCenterPoint(),this.rotation),N(t,this),W(t,this,o),z(t,function({x:t,y:o,width:n,height:i,options:r}){const s=r.borderWidth/2,a=e.toPadding(r.padding);return{x:t+a.left+s,y:o+a.top+s,width:n-a.left-a.right-r.borderWidth,height:i-a.top-a.bottom-r.borderWidth}}(this),o),t.restore())}resolveElementProperties(t,o){let n;if(C(o))n=U(t,o);else{const{centerX:e,centerY:i}=J(t,o);n={x:e,y:i}}const i=e.toPadding(o.padding),r=w(n,E(t.ctx,o),o,i);return{initProperties:A(t,r,o),pointX:n.x,pointY:n.y,...r,rotation:o.rotation}}}yt.id=\"labelAnnotation\",yt.defaults={adjustScaleRange:!0,backgroundColor:\"transparent\",backgroundShadowColor:\"transparent\",borderCapStyle:\"butt\",borderDash:[],borderDashOffset:0,borderJoinStyle:\"miter\",borderRadius:0,borderShadowColor:\"transparent\",borderWidth:0,callout:{borderCapStyle:\"butt\",borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:\"miter\",borderWidth:1,display:!1,margin:5,position:\"auto\",side:5,start:\"50%\"},color:\"black\",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,padding:6,position:\"center\",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:\"center\",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},yt.defaultRoutes={borderColor:\"color\"};const pt=(t,e,o)=>({x:t.x+o*(e.x-t.x),y:t.y+o*(e.y-t.y)}),bt=(t,e,o)=>pt(e,o,Math.abs((t-e.y)/(o.y-e.y))).x,gt=(t,e,o)=>pt(e,o,Math.abs((t-e.x)/(o.x-e.x))).y,mt=t=>t*t,vt=(t,e,{x:o,y:n,x2:i,y2:r},s)=>\"y\"===s?{start:Math.min(n,r),end:Math.max(n,r),value:e}:{start:Math.min(o,i),end:Math.max(o,i),value:t},wt=(t,e,o,n)=>(1-n)*(1-n)*t+2*(1-n)*n*e+n*n*o,Mt=(t,e,o,n)=>({x:wt(t.x,e.x,o.x,n),y:wt(t.y,e.y,o.y,n)}),Pt=(t,e,o,n)=>2*(1-n)*(e-t)+2*n*(o-e),St=(t,o,n,i)=>-Math.atan2(Pt(t.x,o.x,n.x,i),Pt(t.y,o.y,n.y,i))+.5*e.PI;class Ct extends t.Element{inRange(t,e,o,n){const i=(this.options.borderWidth+this.options.hitTolerance)/2;if(\"x\"!==o&&\"y\"!==o){const o={mouseX:t,mouseY:e},{path:r,ctx:s}=this;if(r){X(s,this.options),s.lineWidth+=this.options.hitTolerance;const{chart:i}=this.$context,a=t*i.currentDevicePixelRatio,d=e*i.currentDevicePixelRatio,l=s.isPointInStroke(r,a,d)||Tt(this,o,n);return s.restore(),l}return function(t,{mouseX:e,mouseY:o},n=a,i){const{x:r,y:s,x2:d,y2:l}=t.getProps([\"x\",\"y\",\"x2\",\"y2\"],i),c=d-r,h=l-s,u=mt(c)+mt(h),f=0===u?-1:((e-r)*c+(o-s)*h)/u;let x,y;f<0?(x=r,y=s):f>1?(x=d,y=l):(x=r+f*c,y=s+f*h);return mt(e-x)+mt(o-y)<=n}(this,o,mt(i),n)||Tt(this,o,n)}return function(t,{mouseX:e,mouseY:o},n,{hitSize:i,useFinalPosition:r}){const s=vt(e,o,t.getProps([\"x\",\"y\",\"x2\",\"y2\"],r),n);return l(s,i)||Tt(t,{mouseX:e,mouseY:o},r,n)}(this,{mouseX:t,mouseY:e},o,{hitSize:i,useFinalPosition:n})}getCenterPoint(t){return f(this,t)}draw(t){const{x:o,y:n,x2:i,y2:r,cp:s,options:a}=this;if(t.save(),!X(t,a))return t.restore();_(t,a);const d=Math.sqrt(Math.pow(i-o,2)+Math.pow(r-n,2));if(a.curve&&s)return function(t,o,n,i){const{x:r,y:s,x2:a,y2:d,options:l}=o,{startOpts:c,endOpts:h,startAdjust:u,endAdjust:f}=Ot(o),x={x:r,y:s},y={x:a,y:d},p=St(x,n,y,0),b=St(x,n,y,1)-e.PI,g=Mt(x,n,y,u/i),m=Mt(x,n,y,1-f/i),v=new Path2D;t.beginPath(),v.moveTo(g.x,g.y),v.quadraticCurveTo(n.x,n.y,m.x,m.y),t.shadowColor=l.borderShadowColor,t.stroke(v),o.path=v,o.ctx=t,Yt(t,g,{angle:p,adjust:u},c),Yt(t,m,{angle:b,adjust:f},h)}(t,this,s,d),t.restore();const{startOpts:l,endOpts:c,startAdjust:h,endAdjust:u}=Ot(this),f=Math.atan2(r-n,i-o);t.translate(o,n),t.rotate(f),t.beginPath(),t.moveTo(0+h,0),t.lineTo(d-u,0),t.shadowColor=a.borderShadowColor,t.stroke(),It(t,0,h,l),It(t,d,-u,c),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,o){const n=Q(t,o),{x:i,y:s,x2:a,y2:d}=n,l=function({x:t,y:e,x2:o,y2:n},{top:i,right:r,bottom:s,left:a}){return!(t<a&&o<a||t>r&&o>r||e<i&&n<i||e>s&&n>s)}(n,t.chartArea),c=l?function(t,e,o){const{x:n,y:i}=At(t,e,o),{x:r,y:s}=At(e,t,o);return{x:n,y:i,x2:r,y2:s,width:Math.abs(r-n),height:Math.abs(s-i)}}({x:i,y:s},{x:a,y:d},t.chartArea):{x:i,y:s,x2:a,y2:d,width:Math.abs(a-i),height:Math.abs(d-s)};if(c.centerX=(a+i)/2,c.centerY=(d+s)/2,c.initProperties=A(t,c,o),o.curve){const t={x:c.x,y:c.y},n={x:c.x2,y:c.y2};c.cp=function(t,e,o){const{x:n,y:i,x2:s,y2:a,centerX:d,centerY:l}=t,c=Math.atan2(a-i,s-n),h=M(e.controlPoint,0);return r({x:d+v(o,h.x,!1),y:l+v(o,h.y,!1)},{x:d,y:l},c)}(c,o,e.distanceBetweenPoints(t,n))}const h=function(t,o,n){const i=n.borderWidth,r=e.toPadding(n.padding),s=E(t.ctx,n),a=s.width+r.width+i,d=s.height+r.height+i;return function(t,o,n,i){const{width:r,height:s,padding:a}=n,{xAdjust:d,yAdjust:l}=o,c={x:t.x,y:t.y},h={x:t.x2,y:t.y2},u=\"auto\"===o.rotation?function(t){const{x:o,y:n,x2:i,y2:r}=t,s=Math.atan2(r-n,i-o);return s>e.PI/2?s-e.PI:s<e.PI/-2?s+e.PI:s}(t):e.toRadians(o.rotation),f=function(t,e,o){const n=Math.cos(o),i=Math.sin(o);return{w:Math.abs(t*n)+Math.abs(e*i),h:Math.abs(t*i)+Math.abs(e*n)}}(r,s,u),x=function(t,e,o,n){let i;const r=function(t,e){const{x:o,x2:n,y:i,y2:r}=t,s=Math.min(i,r)-e.top,a=Math.min(o,n)-e.left,d=e.bottom-Math.max(i,r),l=e.right-Math.max(o,n);return{x:Math.min(a,l),y:Math.min(s,d),dx:a<=l?1:-1,dy:s<=d?1:-1}}(t,n);i=\"start\"===e.position?Dt({w:t.x2-t.x,h:t.y2-t.y},o,e,r):\"end\"===e.position?1-Dt({w:t.x-t.x2,h:t.y-t.y2},o,e,r):m(1,e.position);return i}(t,o,{labelSize:f,padding:a},i),y=t.cp?Mt(c,t.cp,h,x):pt(c,h,x),p={size:f.w,min:i.left,max:i.right,padding:a.left},b={size:f.h,min:i.top,max:i.bottom,padding:a.top},g=jt(y.x,p)+d,v=jt(y.y,b)+l;return{x:g-r/2,y:v-s/2,x2:g+r/2,y2:v+s/2,centerX:g,centerY:v,pointX:y.x,pointY:y.y,width:r,height:s,rotation:e.toDegrees(u)}}(o,n,{width:a,height:d,padding:r},t.chartArea)}(t,c,o.label);return h._visible=l,c.elements=[{type:\"label\",optionScope:\"label\",properties:h,initProperties:c.initProperties}],c}}Ct.id=\"lineAnnotation\";const kt={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};function At({x:t,y:e},o,{top:n,right:i,bottom:r,left:s}){return t<s&&(e=gt(s,{x:t,y:e},o),t=s),t>i&&(e=gt(i,{x:t,y:e},o),t=i),e<n&&(t=bt(n,{x:t,y:e},o),e=n),e>r&&(t=bt(r,{x:t,y:e},o),e=r),{x:t,y:e}}function Tt(t,{mouseX:e,mouseY:o},n,i){const r=t.label;return r.options.display&&r.inRange(e,o,i,n)}function Dt(t,e,o,n){const{labelSize:i,padding:r}=e,s=t.w*n.dx,a=t.h*n.dy,l=s>0&&(i.w/2+r.left-n.x)/s,c=a>0&&(i.h/2+r.top-n.y)/a;return d(Math.max(l,c),0,.25)}function jt(t,e){const{size:o,min:n,max:i,padding:r}=e,s=o/2;return o>i-n?(i+n)/2:(n>=t-r-s&&(t=n+r+s),i<=t+r+s&&(t=i-r-s),t)}function Ot(t){const e=t.options,o=e.arrowHeads&&e.arrowHeads.start,n=e.arrowHeads&&e.arrowHeads.end;return{startOpts:o,endOpts:n,startAdjust:Rt(t,o),endAdjust:Rt(t,n)}}function Rt(t,e){if(!e||!e.display)return 0;const{length:o,width:n}=e,i=t.options.borderWidth/2,r={x:o,y:n+i},s={x:0,y:i};return Math.abs(bt(0,r,s))}function It(t,e,o,n){if(!n||!n.display)return;const{length:i,width:r,fill:s,backgroundColor:a,borderColor:d}=n,l=Math.abs(e-i)+o;t.beginPath(),_(t,n),X(t,n),t.moveTo(l,-r),t.lineTo(e+o,0),t.lineTo(l,r),!0===s?(t.fillStyle=a||d,t.closePath(),t.fill(),t.shadowColor=\"transparent\"):t.shadowColor=n.borderShadowColor,t.stroke()}function Yt(t,{x:e,y:o},{angle:n,adjust:i},r){r&&r.display&&(t.save(),t.translate(e,o),t.rotate(n),It(t,0,-i,r),t.restore())}Ct.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},kt),fill:!1,length:12,start:Object.assign({},kt),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:\"transparent\",borderWidth:2,curve:!1,controlPoint:{y:\"-50%\"},display:!0,endValue:void 0,init:void 0,hitTolerance:0,label:{backgroundColor:\"rgba(0,0,0,0.8)\",backgroundShadowColor:\"transparent\",borderCapStyle:\"butt\",borderColor:\"black\",borderDash:[],borderDashOffset:0,borderJoinStyle:\"miter\",borderRadius:6,borderShadowColor:\"transparent\",borderWidth:0,callout:Object.assign({},yt.defaults.callout),color:\"#fff\",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:\"bold\"},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:\"center\",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:\"center\",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Ct.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},Ct.defaultRoutes={borderColor:\"color\"};class Xt extends t.Element{inRange(t,o,n,i){const s=this.options.rotation,d=(this.options.borderWidth+this.options.hitTolerance)/2;if(\"x\"!==n&&\"y\"!==n)return function(t,o,n,i){const{width:r,height:s,centerX:a,centerY:d}=o,l=r/2,c=s/2;if(l<=0||c<=0)return!1;const h=e.toRadians(n||0),u=Math.cos(h),f=Math.sin(h),x=Math.pow(u*(t.x-a)+f*(t.y-d),2),y=Math.pow(f*(t.x-a)-u*(t.y-d),2);return x/Math.pow(l+i,2)+y/Math.pow(c+i,2)<=1.0001}({x:t,y:o},this.getProps([\"width\",\"height\",\"centerX\",\"centerY\"],i),s,d);const{x:l,y:c,x2:h,y2:u}=this.getProps([\"x\",\"y\",\"x2\",\"y2\"],i),f=\"y\"===n?{start:c,end:u}:{start:l,end:h},x=r({x:t,y:o},this.getCenterPoint(i),e.toRadians(-s));return x[n]>=f.start-d-a&&x[n]<=f.end+d+a}getCenterPoint(t){return f(this,t)}draw(t){const{width:o,height:n,centerX:i,centerY:r,options:s}=this;t.save(),Y(t,this.getCenterPoint(),s.rotation),_(t,this.options),t.beginPath(),t.fillStyle=s.backgroundColor;const a=X(t,s);t.ellipse(i,r,n/2,o/2,e.PI/2,0,2*e.PI),t.fill(),a&&(t.shadowColor=s.borderShadowColor,t.stroke()),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){return G(t,e)}}Xt.id=\"ellipseAnnotation\",Xt.defaults={adjustScaleRange:!0,backgroundShadowColor:\"transparent\",borderDash:[],borderDashOffset:0,borderShadowColor:\"transparent\",borderWidth:1,display:!0,hitTolerance:0,init:void 0,label:Object.assign({},ft.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Xt.defaultRoutes={borderColor:\"color\",backgroundColor:\"color\"},Xt.descriptors={label:{_fallback:!0}};class _t extends t.Element{inRange(t,e,o,n){const{x:i,y:r,x2:s,y2:a,width:d}=this.getProps([\"x\",\"y\",\"x2\",\"y2\",\"width\"],n),c=(this.options.borderWidth+this.options.hitTolerance)/2;if(\"x\"!==o&&\"y\"!==o)return function(t,e,o,n){return!(!t||!e||o<=0)&&Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(o+n,2)}({x:t,y:e},this.getCenterPoint(n),d/2,c);return l(\"y\"===o?{start:r,end:a,value:e}:{start:i,end:s,value:t},c)}getCenterPoint(t){return f(this,t)}draw(t){const e=this.options,o=e.borderWidth;if(e.radius<.1)return;t.save(),t.fillStyle=e.backgroundColor,_(t,e);const n=X(t,e);F(t,this,this.centerX,this.centerY),n&&!I(e.pointStyle)&&(t.shadowColor=e.borderShadowColor,t.stroke()),t.restore(),e.borderWidth=o}resolveElementProperties(t,e){const o=q(t,e);return o.initProperties=A(t,o,e),o}}_t.id=\"pointAnnotation\",_t.defaults={adjustScaleRange:!0,backgroundShadowColor:\"transparent\",borderDash:[],borderDashOffset:0,borderShadowColor:\"transparent\",borderWidth:1,display:!0,hitTolerance:0,init:void 0,pointStyle:\"circle\",radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},_t.defaultRoutes={borderColor:\"color\",backgroundColor:\"color\"};class Et extends t.Element{inRange(t,o,n,i){if(\"x\"!==n&&\"y\"!==n)return this.options.radius>=.1&&this.elements.length>1&&function(t,e,o,n){let i=!1,r=t[t.length-1].getProps([\"bX\",\"bY\"],n);for(const s of t){const t=s.getProps([\"bX\",\"bY\"],n);t.bY>o!=r.bY>o&&e<(r.bX-t.bX)*(o-t.bY)/(r.bY-t.bY)+t.bX&&(i=!i),r=t}return i}(this.elements,t,o,i);const s=r({x:t,y:o},this.getCenterPoint(i),e.toRadians(-this.options.rotation)),a=this.elements.map((t=>\"y\"===n?t.bY:t.bX)),d=Math.min(...a),l=Math.max(...a);return s[n]>=d&&s[n]<=l}getCenterPoint(t){return f(this,t)}draw(t){const{elements:e,options:o}=this;t.save(),t.beginPath(),t.fillStyle=o.backgroundColor,_(t,o);const n=X(t,o);let i=!0;for(const o of e)i?(t.moveTo(o.x,o.y),i=!1):t.lineTo(o.x,o.y);t.closePath(),t.fill(),n&&(t.shadowColor=o.borderShadowColor,t.stroke()),t.restore()}resolveElementProperties(t,o){const n=q(t,o),{sides:i,rotation:r}=o,s=[],a=2*e.PI/i;let d=r*e.RAD_PER_DEG;for(let e=0;e<i;e++,d+=a){const e=Wt(n,o,d);e.initProperties=A(t,n,o),s.push(e)}return n.elements=s,n}}function Wt({centerX:t,centerY:e},{radius:o,borderWidth:n,hitTolerance:i},r){const s=(n+i)/2,a=Math.sin(r),d=Math.cos(r),l={x:t+a*o,y:e-d*o};return{type:\"point\",optionScope:\"point\",properties:{x:l.x,y:l.y,centerX:l.x,centerY:l.y,bX:t+a*(o+s),bY:e-d*(o+s)}}}Et.id=\"polygonAnnotation\",Et.defaults={adjustScaleRange:!0,backgroundShadowColor:\"transparent\",borderCapStyle:\"butt\",borderDash:[],borderDashOffset:0,borderJoinStyle:\"miter\",borderShadowColor:\"transparent\",borderWidth:1,display:!0,hitTolerance:0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Et.defaultRoutes={borderColor:\"color\",backgroundColor:\"color\"};const zt={box:ft,doughnutLabel:xt,ellipse:Xt,label:yt,line:Ct,point:_t,polygon:Et};Object.keys(zt).forEach((e=>{t.defaults.describe(`elements.${zt[e].id}`,{_fallback:\"plugins.annotation.common\"})}));const Ft={update:Object.assign},Ht=ot.concat(st),Nt=(t,o)=>e.isObject(o)?Qt(t,o):t,Lt=t=>\"color\"===t||\"font\"===t;function Vt(t=\"line\"){return zt[t]?t:(console.warn(`Unknown annotation type: '${t}', defaulting to 'line'`),\"line\")}function Bt(o,n,i,r){const s=function(e,o,n){if(\"reset\"===n||\"none\"===n||\"resize\"===n)return Ft;return new t.Animations(e,o)}(o,i.animations,r),a=n.annotations,d=function(t,e){const o=e.length,n=t.length;if(n<o){const e=o-n;t.splice(n,0,...new Array(e))}else n>o&&t.splice(o,n-o);return t}(n.elements,a);for(let t=0;t<a.length;t++){const n=a[t],i=Jt(d,t,n.type),r=n.setContext(Gt(o,i,d,n)),l=i.resolveElementProperties(o,r);l.skip=$t(l),\"elements\"in l&&(Ut(i,l.elements,r,s),delete l.elements),e.defined(i.x)||Object.assign(i,l),Object.assign(i,l.initProperties),l.options=qt(r),s.update(i,l)}}function $t(t){return isNaN(t.x)||isNaN(t.y)}function Ut(t,e,o,n){const i=t.elements||(t.elements=[]);i.length=e.length;for(let t=0;t<e.length;t++){const r=e[t],s=r.properties,a=Jt(i,t,r.type,r.initProperties),d=o[r.optionScope].override(r);s.options=qt(d),n.update(a,s)}}function Jt(t,e,o,n){const i=zt[Vt(o)];let r=t[e];return r&&r instanceof i||(r=t[e]=new i,Object.assign(r,n)),r}function qt(t){const e=zt[Vt(t.type)],o={};o.id=t.id,o.type=t.type,o.drawTime=t.drawTime,Object.assign(o,Qt(t,e.defaults),Qt(t,e.defaultRoutes));for(const e of Ht)o[e]=t[e];return o}function Qt(t,o){const n={};for(const i of Object.keys(o)){const r=o[i],s=t[i];Lt(i)&&e.isArray(s)?n[i]=s.map((t=>Nt(t,r))):n[i]=Nt(s,r)}return n}function Gt(t,e,o,n){return e.$context||(e.$context=Object.assign(Object.create(t.getContext()),{element:e,get elements(){return o.filter((t=>t&&t.options))},id:n.id,type:\"annotation\"}))}const Kt=new Map,Zt=t=>\"doughnutLabel\"!==t.type,te=ot.concat(st);var ee={id:\"annotation\",version:\"3.1.0\",beforeRegister(){!function(t,e,o,n=!0){const i=o.split(\".\");let r=0;for(const a of e.split(\".\")){const d=i[r++];if(parseInt(a,10)<parseInt(d,10))break;if(s(d,a)){if(n)throw new Error(`${t} v${o} is not supported. v${e} or newer is required.`);return!1}}}(\"chart.js\",\"4.0\",t.Chart.version)},afterRegister(){t.Chart.register(zt)},afterUnregister(){t.Chart.unregister(zt)},beforeInit(t){Kt.set(t,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(t,o,n){const i=Kt.get(t).annotations=[];let r=n.annotations;e.isObject(r)?Object.keys(r).forEach((t=>{const o=r[t];e.isObject(o)&&(o.id=t,i.push(o))})):e.isArray(r)&&i.push(...r),function(t,e){for(const o of t)ct(o,e)}(i.filter(Zt),t.scales)},afterDataLimits(t,e){const o=Kt.get(t);dt(t,e.scale,o.annotations.filter(Zt).filter((t=>t.display&&t.adjustScaleRange)))},afterUpdate(t,o,n){const i=Kt.get(t);!function(t,o,n){o.listened=T(n,ot,o.listeners),o.moveListened=!1,et.forEach((t=>{e.isFunction(n[t])&&(o.moveListened=!0)})),o.listened&&o.moveListened||o.annotations.forEach((t=>{!o.listened&&e.isFunction(t.click)&&(o.listened=!0),o.moveListened||et.forEach((n=>{e.isFunction(t[n])&&(o.listened=!0,o.moveListened=!0)}))}))}(0,i,n),Bt(t,i,n,o.mode),i.visibleElements=i.elements.filter((t=>!t.skip&&t.options.display)),function(t,o,n){const i=o.visibleElements;o.hooked=T(n,st,o.hooks),o.hooked||i.forEach((t=>{o.hooked||st.forEach((n=>{e.isFunction(t.options[n])&&(o.hooked=!0)}))}))}(0,i,n)},beforeDatasetsDraw(t,e,o){oe(t,\"beforeDatasetsDraw\",o.clip)},afterDatasetsDraw(t,e,o){oe(t,\"afterDatasetsDraw\",o.clip)},beforeDatasetDraw(t,e,o){oe(t,e.index,o.clip)},beforeDraw(t,e,o){oe(t,\"beforeDraw\",o.clip)},afterDraw(t,e,o){oe(t,\"afterDraw\",o.clip)},beforeEvent(t,e,o){nt(Kt.get(t),e.event,o)&&(e.changed=!0)},afterDestroy(t){Kt.delete(t)},getAnnotations(t){const e=Kt.get(t);return e?e.elements:[]},_getAnnotationElementsAtEventForMode:(t,e,o)=>n(t,e,o),defaults:{animations:{numbers:{properties:[\"x\",\"y\",\"x2\",\"y2\",\"width\",\"height\",\"centerX\",\"centerY\",\"pointX\",\"pointY\",\"radius\"],type:\"number\"},colors:{properties:[\"backgroundColor\",\"borderColor\"],type:\"color\"}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:\"afterDatasetsDraw\",init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:t=>!te.includes(t)&&\"init\"!==t,annotations:{_allKeys:!1,_fallback:(t,e)=>`elements.${zt[Vt(e.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:Lt,_fallback:!0},_indexable:Lt}},additionalOptionScopes:[\"\"]};function oe(t,o,n){const{ctx:i,chartArea:r}=t,s=Kt.get(t);n&&e.clipArea(i,r);const a=function(t,e){const o=[];for(const n of t)if(n.options.drawTime===e&&o.push({element:n,main:!0}),n.elements&&n.elements.length)for(const t of n.elements)t.options.display&&t.options.drawTime===e&&o.push({element:t});return o}(s.visibleElements,o).sort(((t,e)=>t.element.options.z-e.element.options.z));for(const t of a)ne(i,r,s,t);n&&e.unclipArea(i)}function ne(t,e,o,n){const i=n.element;n.main?(at(o,i,\"beforeDraw\"),i.draw(t,e),at(o,i,\"afterDraw\")):i.draw(t,e)}return t.Chart.register(ee),ee}));\n"]}