PageSourceSearch

https://olympus.exatom.io/js/1891.ced5173a.js

js exatom.io collected 2026-09-24 20:04:08 UTC 34,764 bytes, 9 lines download raw bytes

1"use strict";(self["webpackChunkappwork_vue_starter"]=self["webpackChunkappwork_vue_starter"]||[]).push([[1891],{51891:function(t,e,o){o.d(e,{A:function(){return Je}});var n=o(57237),r=o(95804);
2/*!
3* chartjs-plugin-annotation v2.2.1
4* https://www.chartjs.org/chartjs-plugin-annotation/index
5 * (c) 2023 chartjs-plugin-annotation Contributors
6 * Released under the MIT License
7 */
8const i={modes:{point(t,e){return c(t,e,{intersect:!0})},nearest(t,e,o){return l(t,e,o)},x(t,e,o){return c(t,e,{intersect:o.intersect,axis:"x"})},y(t,e,o){return c(t,e,{intersect:o.intersect,axis:"y"})}}};function s(t,e,o){const n=i.modes[o.mode]||i.modes.nearest;return n(t,e,o)}function a(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)}function d(t,e,o){return"x"===o?{x:t.x,y:e.y}:"y"===o?{x:e.x,y:t.y}:e}function c(t,e,o){return t.visibleElements.filter(t=>o.intersect?t.inRange(e.x,e.y):a(t,e,o.axis))}function l(t,e,o){let n=Number.POSITIVE_INFINITY;return c(t,e,o).reduce((t,i)=>{const s=i.getCenterPoint(),a=d(e,s,o.axis),c=(0,r.Lt)(e,a);return c<n?(t=[i],n=c):c===n&&t.push(i),t},[]).sort((t,e)=>t._index-e._index).slice(0,1)}const u=(t,e)=>e>t||t.length>e.length&&t.slice(0,e.length)===e,h=.001,f=(t,e,o)=>Math.min(o,Math.max(e,t));function x(t,e,o){for(const n of Object.keys(t))t[n]=f(t[n],e,o);return t}function y(t,e,o,n){if(!t||!e||o<=0)return!1;const r=n/2;return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(o+r,2)}function p(t,{x:e,y:o,x2:n,y2:r},i,s){const a=s/2,d=t.x>=e-a-h&&t.x<=n+a+h,c=t.y>=o-a-h&&t.y<=r+a+h;return"x"===i?d:("y"===i||d)&&c}function b(t,e){const{centerX:o,centerY:n}=t.getProps(["centerX","centerY"],e);return{x:o,y:n}}function g(t,e,o,n=!0){const r=o.split(".");let i=0;for(const s of e.split(".")){const a=r[i++];if(parseInt(s,10)<parseInt(a,10))break;if(u(a,s)){if(n)throw new Error(`${t} v${o} is not supported. v${e} or newer is required.`);return!1}}return!0}const v=t=>"string"===typeof t&&t.endsWith("%"),m=t=>parseFloat(t)/100,w=t=>f(m(t),0,1);function M(t,e){return"start"===e?0:"end"===e?t:v(e)?w(e)*t:t/2}function S(t,e,o=!0){return"number"===typeof e?e:v(e)?(o?w(e):m(e))*t:t}function k(t,e){const{x:o,width:n}=t,r=e.textAlign;return"center"===r?o+n/2:"end"===r||"right"===r?o+n:o}function P(t,e="center"){return(0,r.Gv)(t)?{x:(0,r.a4)(t.x,e),y:(0,r.a4)(t.y,e)}:(t=(0,r.a4)(t,e),{x:t,y:t})}function C(t){return t&&((0,r.sw)(t.xValue)||(0,r.sw)(t.yValue))}function D(t,e,o,n=!1){const i=o.init;if(i)return!0===i?T(e,n):j(e,n,(0,r.E2)(i,[{chart:t,properties:e,options:o}]))}function I(t,e,o){let n=!1;return e.forEach(e=>{(0,r.Tn)(t[e])?(n=!0,o[e]=t[e]):(0,r.sw)(o[e])&&delete o[e]}),n}function T({centerX:t,centerY:e},o){return o?{centerX:t,centerY:e,radius:0,width:0,height:0}:{x:t,y:e,x2:t,y2:e,width:0,height:0}}function j(t,e,o){return!0===o?T(t,e):(0,r.Gv)(o)?o:void 0}const O=new Map,A=t=>isNaN(t)||t<=0,Y=t=>t.reduce(function(t,e){return t+=e.string,t},"");function X(t){if(t&&"object"===typeof t){const e=t.toString();return"[object HTMLImageElement]"===e||"[object HTMLCanvasElement]"===e}}function W(t,{x:e,y:o},n){n&&(t.translate(e,o),t.rotate((0,r.eh)(n)),t.translate(-e,-o))}function R(t,e){if(e&&e.borderWidth)return t.lineCap=e.borderCapStyle,t.setLineDash(e.borderDash),t.lineDashOffset=e.borderDashOffset,t.lineJoin=e.borderJoinStyle,t.lineWidth=e.borderWidth,t.strokeStyle=e.borderColor,!0}function E(t,e){t.shadowColor=e.backgroundShadowColor,t.shadowBlur=e.shadowBlur,t.shadowOffsetX=e.shadowOffsetX,t.shadowOffsetY=e.shadowOffsetY}function _(t,e){const o=e.content;if(X(o))return{width:S(o.width,e.width),height:S(o.height,e.height)};const n=e.font,i=(0,r.cy)(n)?n.map(t=>(0,r.di)(t)):[(0,r.di)(n)],s=e.textStrokeWidth,a=(0,r.cy)(o)?o:[o],d=a.join()+Y(i)+s+(t._measureText?"-spriting":"");return O.has(d)||O.set(d,$(t,a,i,s)),O.get(d)}function z(t,e,o){const{x:n,y:i,width:s,height:a}=e;t.save(),E(t,o);const d=R(t,o);t.fillStyle=o.backgroundColor,t.beginPath(),(0,r.If)(t,{x:n,y:i,w:s,h:a,radius:x((0,r.u$)(o.borderRadius),0,Math.min(s,a)/2)}),t.closePath(),t.fill(),d&&(t.shadowColor=o.borderShadowColor,t.stroke()),t.restore(
8)}function N(t,e,o){const n=o.content;if(X(n))return t.save(),t.globalAlpha=F(o.opacity,n.style.opacity),t.drawImage(n,e.x,e.y,e.width,e.height),void t.restore();const i=(0,r.cy)(n)?n:[n],s=o.font,a=(0,r.cy)(s)?s.map(t=>(0,r.di)(t)):[(0,r.di)(s)],d=o.color,c=(0,r.cy)(d)?d:[d],l=k(e,o),u=e.y+o.textStrokeWidth/2;t.save(),t.textBaseline="middle",t.textAlign=o.textAlign,H(t,o)&&B(t,{x:l,y:u},i,a),J(t,{x:l,y:u},i,{fonts:a,colors:c}),t.restore()}function H(t,e){if(e.textStrokeWidth>0)return t.lineJoin="round",t.miterLimit=2,t.lineWidth=e.textStrokeWidth,t.strokeStyle=e.textStrokeColor,!0}function L(t,e,o,n){const{radius:i,options:s}=e,a=s.pointStyle,d=s.rotation;let c=(d||0)*r.tn;if(X(a))return t.save(),t.translate(o,n),t.rotate(c),t.drawImage(a,-a.width/2,-a.height/2,a.width,a.height),void t.restore();A(i)||V(t,{x:o,y:n,radius:i,rotation:d,style:a,rad:c})}function V(t,{x:e,y:o,radius:n,rotation:i,style:s,rad:a}){let d,c,l,u;switch(t.beginPath(),s){default:t.arc(e,o,n,0,r.DD),t.closePath();break;case"triangle":t.moveTo(e+Math.sin(a)*n,o-Math.cos(a)*n),a+=r.cI,t.lineTo(e+Math.sin(a)*n,o-Math.cos(a)*n),a+=r.cI,t.lineTo(e+Math.sin(a)*n,o-Math.cos(a)*n),t.closePath();break;case"rectRounded":u=.516*n,l=n-u,d=Math.cos(a+r.Rv)*l,c=Math.sin(a+r.Rv)*l,t.arc(e-d,o-c,u,a-r.PI,a-r.sK),t.arc(e+c,o-d,u,a-r.sK,a),t.arc(e+d,o+c,u,a,a+r.sK),t.arc(e-c,o+d,u,a+r.sK,a+r.PI),t.closePath();break;case"rect":if(!i){l=Math.SQRT1_2*n,t.rect(e-l,o-l,2*l,2*l);break}a+=r.Rv;case"rectRot":d=Math.cos(a)*n,c=Math.sin(a)*n,t.moveTo(e-d,o-c),t.lineTo(e+c,o-d),t.lineTo(e+d,o+c),t.lineTo(e-c,o+d),t.closePath();break;case"crossRot":a+=r.Rv;case"cross":d=Math.cos(a)*n,c=Math.sin(a)*n,t.moveTo(e-d,o-c),t.lineTo(e+d,o+c),t.moveTo(e+c,o-d),t.lineTo(e-c,o+d);break;case"star":d=Math.cos(a)*n,c=Math.sin(a)*n,t.moveTo(e-d,o-c),t.lineTo(e+d,o+c),t.moveTo(e+c,o-d),t.lineTo(e-c,o+d),a+=r.Rv,d=Math.cos(a)*n,c=Math.sin(a)*n,t.moveTo(e-d,o-c),t.lineTo(e+d,o+c),t.moveTo(e+c,o-d),t.lineTo(e-c,o+d);break;case"line":d=Math.cos(a)*n,c=Math.sin(a)*n,t.moveTo(e-d,o-c),t.lineTo(e+d,o+c);break;case"dash":t.moveTo(e,o),t.lineTo(e+Math.cos(a)*n,o+Math.sin(a)*n);break}t.fill()}function $(t,e,o,n){t.save();const r=e.length;let i=0,s=n;for(let a=0;a<r;a++){const r=o[Math.min(a,o.length-1)];t.font=r.string;const d=e[a];i=Math.max(i,t.measureText(d).width+n),s+=r.lineHeight}return t.restore(),{width:i,height:s}}function B(t,{x:e,y:o},n,r){t.beginPath();let i=0;n.forEach(function(n,s){const a=r[Math.min(s,r.length-1)],d=a.lineHeight;t.font=a.string,t.strokeText(n,e,o+d/2+i),i+=d}),t.stroke()}function J(t,{x:e,y:o},n,{fonts:r,colors:i}){let s=0;n.forEach(function(n,a){const d=i[Math.min(a,i.length-1)],c=r[Math.min(a,r.length-1)],l=c.lineHeight;t.beginPath(),t.font=c.string,t.fillStyle=d,t.fillText(n,e,o+l/2+s),s+=l,t.fill()})}function F(t,e){const o=(0,r.Et)(t)?t:e;return(0,r.Et)(o)?f(o,0,1):1}const G={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 K(t,e,o){return e="number"===typeof e?e:t.parse(e),(0,r.MI)(e)?t.getPixelForValue(e):o}function U(t,e,o){const n=e[o];if(n||"scaleID"===o)return n;const r=o.charAt(0),i=Object.values(t).filter(t=>t.axis&&t.axis===r);return i.length?i[0].id:r}function q(t,e){if(t){const o=t.options.reverse,n=K(t,e.min,o?e.end:e.start),r=K(t,e.max,o?e.start:e.end);return{start:n,end:r}}}function Q(t,e){const{chartArea:o,scales:n}=t,r=n[U(n,e,"xScaleID")],i=n[U(n,e,"yScaleID")];let s=o.width/2,a=o.height/2;return r&&(s=K(r,e.xValue,r.left+r.width/2)),i&&(a=K(i,e.yValue,i.top+i.height/2)),{x:s,y:a}}function Z(t,e){const o=t.scales,n=o[U(o,e,"xScaleID")],r=o[U(o,e,"yScaleID")];if(!n&&!r)return{};let{left:i,right:s}=n||t.chartArea,{top:a,bottom:d}=r||t.chartArea;const c=rt(n,{min:e.xMin,max:e.xMax,start:i,end:s});i=c.start,s=c.end;const l=rt(r,{min:e.yMin,max:e.yMax,start:d,end:a});return a=l.start,d=l.end,{x:i,y:a,x2:s,y2:d,width:s-i,height:d-a,centerX:i+(s-i)/2,centerY:a+(d-a)/2}}function tt(t,e){if(!C(e)){const o=Z(t,e);let n=e.radius;n&&!isNaN(n)||(n=Math.min(o.width,o.height)/2,e.radius=n);const r=2*n,i=o.centerX+e.xAdjust,s=o.centerY+e.yAdjust;return{x:i-n,y:s-n,x2:i+n,y2:s+n,centerX:i,centerY:s,width:r,height:r,radius:n}}return nt(t,e)}function et(t,e){const{scales:o,chartArea:n}=t,r=o[e.scaleID],i={x:n.left,y:n.top,x2:n.right,y2:n.bottom};return r?it(r,i,e):st(o,i,e),i}function ot(t,e,o){const n=Z(t,e);return n.initProperties=D(t,n,e,o),n.elements=[{type:"label",optionScope:"label",properties:lt(t,n,e),initProperties:n.initProperties}],n}function nt(t,e){const o=Q(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}}function rt(t,e){const o=q(t,e)||e;return{start:Math.min(o.start,o.end),end:Math.max(o.start,o.end)}}function it(t,e,o){const n=K(t,o.value,NaN),r=K(t,o.endValue,n);t.isHorizontal()?(e.x=n,e.x2=r):(e.y=n,e.y2=r)}function st(t,e,o){for(const n of Object.keys(G)){const r=t[U(t,o,n)];if(r){const{min:t,max:i,start:s,end:a,startProp:d,endProp:c}=G[n],l=q(r,{min:o[t],max:o[i],start:r[s],end:r[a]});e[d]=l.start,e[c]=l.end}}}function at({properties:t,options:e},o,n,r){const{x:i,x2:s,width:a}=t;return ct({start:i,end:s,size:a,borderWidth:e.borderWidth},{position:n.x,padding:{start:r.left,end:r.right},adjust:e.label.xAdjust,size:o.width})}function dt({properties:t,options:e},o,n,r){const{y:i,y2:s,height:a}=t;return ct({start:i,end:s,size:a,borderWidth:e.borderWidth},{position:n.y,padding:{start:r.top,end:r.bottom},adjust:e.label.yAdjust,size:o.height})}function ct(t,e){const{start:o,end:n,borderWidth:r}=t,{position:i,padding:{start:s,end:a},adjust:d}=e,c=n-r-o-s-a-e.size;return o+r/2+d+M(c,i)}function lt(t,e,o){const n=o.label;n.backgroundColor="transparent",n.callout.display=!1;const i=P(n.position),s=(0,r.Lv)(n.padding),a=_(t.ctx,n),d=at({properties:e,options:o},a,i,s),c=dt({properties:e,options:o},a,i,s),l=a.width+s.width,u=a.height+s.height;return{x:d,y:c,x2:d+l,y2:c+u,width:l,height:u,centerX:d+l/2,centerY:c+u/2,rotation:n.rotation}}
8function ut(t,e,o){const n=Math.cos(o),r=Math.sin(o),i=e.x,s=e.y;return{x:i+n*(t.x-i)-r*(t.y-s),y:s+r*(t.x-i)+n*(t.y-s)}}const ht=["enter","leave"],ft=ht.concat("click");function xt(t,e,o){e.listened=I(o,ft,e.listeners),e.moveListened=!1,e._getElements=s,ht.forEach(t=>{(0,r.Tn)(o[t])&&(e.moveListened=!0)}),e.listened&&e.moveListened||e.annotations.forEach(t=>{!e.listened&&(0,r.Tn)(t.click)&&(e.listened=!0),e.moveListened||ht.forEach(o=>{(0,r.Tn)(t[o])&&(e.listened=!0,e.moveListened=!0)})})}function yt(t,e,o){if(t.listened)switch(e.type){case"mousemove":case"mouseout":return pt(t,e,o);case"click":return gt(t,e,o)}}function pt(t,e,o){if(!t.moveListened)return;let n;n="mousemove"===e.type?s(t,e,o.interaction):[];const r=t.hovered;t.hovered=n;const i={state:t,event:e};let a=bt(i,"leave",r,n);return bt(i,"enter",n,r)||a}function bt({state:t,event:e},o,n,r){let i;for(const s of n)r.indexOf(s)<0&&(i=vt(s.options[o]||t.listeners[o],s,e)||i);return i}function gt(t,e,o){const n=t.listeners,r=s(t,e,o.interaction);let i;for(const s of r)i=vt(s.options.click||n.click,s,e)||i;return i}function vt(t,e,o){return!0===(0,r.E2)(t,[e.$context,o])}const mt=["afterDraw","beforeDraw"];function wt(t,e,o){const n=e.visibleElements;e.hooked=I(o,mt,e.hooks),e.hooked||n.forEach(t=>{e.hooked||mt.forEach(o=>{(0,r.Tn)(t.options[o])&&(e.hooked=!0)})})}function Mt(t,e,o){if(t.hooked){const n=e.options[o]||t.hooks[o];return(0,r.E2)(n,[e.$context])}}function St(t,e,o){const n=Tt(t.scales,e,o);let i=Pt(e,n,"min","suggestedMin");i=Pt(e,n,"max","suggestedMax")||i,i&&(0,r.Tn)(e.handleTickRangeOptions)&&e.handleTickRangeOptions()}function kt(t,e){for(const o of t)Dt(o,e)}function Pt(t,e,o,n){if((0,r.MI)(e[o])&&!Ct(t.options,o,n)){const n=t[o]!==e[o];return t[o]=e[o],n}}function Ct(t,e,o){return(0,r.sw)(t[e])||(0,r.sw)(t[o])}function Dt(t,e){for(const o of["scaleID","xScaleID","yScaleID"]){const n=U(e,t,o);n&&!e[n]&&It(t,o)&&console.warn(`No scale found with id '${n}' for annotation '${t.id}'`)}}function It(t,e){if("scaleID"===e)return!0;const o=e.charAt(0);for(const n of["Min","Max","Value"])if((0,r.sw)(t[o+n]))return!0;return!1}function Tt(t,e,o){const n=e.axis,i=e.id,s=n+"ScaleID",a={min:(0,r.a4)(e.min,Number.NEGATIVE_INFINITY),max:(0,r.a4)(e.max,Number.POSITIVE_INFINITY)};for(const r of o)r.scaleID===i?jt(r,e,["value","endValue"],a):U(t,r,s)===i&&jt(r,e,[n+"Min",n+"Max",n+"Value"],a);return a}function jt(t,e,o,n){for(const i of o){const o=t[i];if((0,r.sw)(o)){const t=e.parse(o);n.min=Math.min(n.min,t),n.max=Math.max(n.max,t)}}}class Ot extends n.Hg{inRange(t,e,o,n){const{x:i,y:s}=ut({x:t,y:e},this.getCenterPoint(n),(0,r.eh)(-this.options.rotation));return p({x:i,y:s},this.getProps(["x","y","x2","y2"],n),o,this.options.borderWidth)}getCenterPoint(t){return b(this,t)}draw(t){t.save(),W(t,this.getCenterPoint(),this.options.rotation),z(t,this,this.options),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){return ot(t,e)}}Ot.id="boxAnnotation",Ot.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 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,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},Ot.defaultRoutes={borderColor:"color",backgroundColor:"color"},Ot.descriptors={label:{_fallback:!0}};const At=["left","bottom","top","right"];class Yt extends n.Hg{inRange(t,e,o,n){const{x:i,y:s}=ut({x:t,y:e},this.getCenterPoint(n),(0,r.eh)(-this.rotation));return p({x:i,y:s},this.getProps(["x","y","x2","y2"],n),o,this.options.borderWidth)}getCenterPoint(t){return b(this,t)}draw(t){const e=this.options,o=!(0,r.sw)(this._visible)||this._visible;e.display&&e.content&&o&&(t.save(),W(t,this.getCenterPoint(),this.rotation),Rt(t,this),z(t,this,e),N(t,Vt(this),e),t.restore(
8))}resolveElementProperties(t,e){let o;if(C(e))o=Q(t,e);else{const{centerX:n,centerY:r}=Z(t,e);o={x:n,y:r}}const n=(0,r.Lv)(e.padding),i=_(t.ctx,e),s=Xt(o,i,e,n);return{initProperties:D(t,s,e),pointX:o.x,pointY:o.y,...s,rotation:e.rotation}}}function Xt(t,e,o,n){const r=e.width+n.width+o.borderWidth,i=e.height+n.height+o.borderWidth,s=P(o.position,"center"),a=Wt(t.x,r,o.xAdjust,s.x),d=Wt(t.y,i,o.yAdjust,s.y);return{x:a,y:d,x2:a+r,y2:d+i,width:r,height:i,centerX:a+r/2,centerY:d+i/2}}function Wt(t,e,o=0,n){return t-M(e,n)+o}function Rt(t,e){const{pointX:o,pointY:n,options:i}=e,s=i.callout,a=s&&s.display&&Ht(e,s);if(!a||$t(e,s,a))return;t.save(),t.beginPath();const d=R(t,s);if(!d)return t.restore();const{separatorStart:c,separatorEnd:l}=Et(e,a),{sideStart:u,sideEnd:h}=zt(e,a,c);(s.margin>0||0===i.borderWidth)&&(t.moveTo(c.x,c.y),t.lineTo(l.x,l.y)),t.moveTo(u.x,u.y),t.lineTo(h.x,h.y);const f=ut({x:o,y:n},e.getCenterPoint(),(0,r.eh)(-e.rotation));t.lineTo(f.x,f.y),t.stroke(),t.restore()}function Et(t,e){const{x:o,y:n,x2:r,y2:i}=t,s=_t(t,e);let a,d;return"left"===e||"right"===e?(a={x:o+s,y:n},d={x:a.x,y:i}):(a={x:o,y:n+s},d={x:r,y:a.y}),{separatorStart:a,separatorEnd:d}}function _t(t,e){const{width:o,height:n,options:r}=t,i=r.callout.margin+r.borderWidth/2;return"right"===e?o+i:"bottom"===e?n+i:-i}function zt(t,e,o){const{y:n,width:r,height:i,options:s}=t,a=s.callout.start,d=Nt(e,s.callout);let c,l;return"left"===e||"right"===e?(c={x:o.x,y:n+S(i,a)},l={x:c.x+d,y:c.y}):(c={x:o.x+S(r,a),y:o.y},l={x:c.x,y:c.y+d}),{sideStart:c,sideEnd:l}}function Nt(t,e){const o=e.side;return"left"===t||"top"===t?-o:o}function Ht(t,e){const o=e.position;return At.includes(o)?o:Lt(t,e)}function Lt(t,e){const{x:o,y:n,x2:i,y2:s,width:a,height:d,pointX:c,pointY:l,centerX:u,centerY:h,rotation:f}=t,x={x:u,y:h},y=e.start,p=S(a,y),b=S(d,y),g=[o,o+p,o+p,i],v=[n+b,s,n,s],m=[];for(let w=0;w<4;w++){const t=ut({x:g[w],y:v[w]},x,(0,r.eh)(f));m.push({position:At[w],distance:(0,r.Lt)(t,{x:c,y:l})})}return m.sort((t,e)=>t.distance-e.distance)[0].position}function Vt({x:t,y:e,width:o,height:n,options:i}){const s=i.borderWidth/2,a=(0,r.Lv)(i.padding);return{x:t+a.left+s,y:e+a.top+s,width:o-a.left-a.right-i.borderWidth,height:n-a.top-a.bottom-i.borderWidth}}function $t(t,e,o){const{pointX:n,pointY:r}=t,i=e.margin;let s=n,a=r;return"left"===o?s+=i:"right"===o?s-=i:"top"===o?a+=i:"bottom"===o&&(a-=i),t.inRange(s,a)}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,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 Bt=(t,e,o)=>({x:t.x+o*(e.x-t.x),y:t.y+o*(e.y-t.y)}),Jt=(t,e,o)=>Bt(e,o,Math.abs((t-e.y)/(o.y-e.y))).x,Ft=(t,e,o)=>Bt(e,o,Math.abs((t-e.x)/(o.x-e.x))).y,Gt=t=>t*t,Kt=(t,e,{x:o,y:n,x2:r,y2:i},s)=>"y"===s?{start:Math.min(n,i),end:Math.max(n,i),value:e}:{start:Math.min(o,r),end:Math.max(o,r),value:t},Ut=(t,e,o,n)=>(1-n)*(1-n)*t+2*(1-n)*n*e+n*n*o,qt=(t,e,o,n)=>({x:Ut(t.x,e.x,o.x,n),y:Ut(t.y,e.y,o.y,n)}),Qt=(t,e,o,n)=>2*(1-n)*(e-t)+2*n*(o-e),Zt=(t,e,o,n)=>-Math.atan2(Qt(t.x,e.x,o.x,n),Qt(t.y,e.y,o.y,n))+.5*r.PI;class te extends n.Hg{inRange(t,e,o,n){const r=this.options.borderWidth/2;if("x"!==o&&"y"!==o){const o={mouseX:t,mouseY:e},{path:i,ctx:s}=this;if(i){R(s,this.options);const{chart:r}=this.$context,a=t*r.currentDevicePixelRatio,d=e*r.currentDevicePixelRatio,c=s.isPointInStroke(i,a,d)||ae(this,o,n);
8return s.restore(),c}const a=Gt(r);return se(this,o,a,n)||ae(this,o,n)}return oe(this,{mouseX:t,mouseY:e},o,{hBorderWidth:r,useFinalPosition:n})}getCenterPoint(t){return b(this,t)}draw(t){const{x:e,y:o,x2:n,y2:r,cp:i,options:s}=this;if(t.save(),!R(t,s))return t.restore();E(t,s);const a=Math.sqrt(Math.pow(n-e,2)+Math.pow(r-o,2));if(s.curve&&i)return we(t,this,i,a),t.restore();const{startOpts:d,endOpts:c,startAdjust:l,endAdjust:u}=pe(this),h=Math.atan2(r-o,n-e);t.translate(e,o),t.rotate(h),t.beginPath(),t.moveTo(0+l,0),t.lineTo(a-u,0),t.shadowColor=s.borderShadowColor,t.stroke(),ge(t,0,l,d),ge(t,a,-u,c),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){const o=et(t,e),{x:n,y:i,x2:s,y2:a}=o,d=ne(o,t.chartArea),c=d?ie({x:n,y:i},{x:s,y:a},t.chartArea):{x:n,y:i,x2:s,y2:a,width:Math.abs(s-n),height:Math.abs(a-i)};if(c.centerX=(s+n)/2,c.centerY=(a+i)/2,c.initProperties=D(t,c,e),e.curve){const t={x:c.x,y:c.y},o={x:c.x2,y:c.y2};c.cp=ve(c,e,(0,r.Lt)(t,o))}const l=de(t,c,e.label);return l._visible=d,c.elements=[{type:"label",optionScope:"label",properties:l,initProperties:c.initProperties}],c}}te.id="lineAnnotation";const ee={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 oe(t,{mouseX:e,mouseY:o},n,{hBorderWidth:r,useFinalPosition:i}){const s=Kt(e,o,t.getProps(["x","y","x2","y2"],i),n);return s.value>=s.start-r&&s.value<=s.end+r||ae(t,{mouseX:e,mouseY:o},i,n)}function ne({x:t,y:e,x2:o,y2:n},{top:r,right:i,bottom:s,left:a}){return!(t<a&&o<a||t>i&&o>i||e<r&&n<r||e>s&&n>s)}function re({x:t,y:e},o,{top:n,right:r,bottom:i,left:s}){return t<s&&(e=Ft(s,{x:t,y:e},o),t=s),t>r&&(e=Ft(r,{x:t,y:e},o),t=r),e<n&&(t=Jt(n,{x:t,y:e},o),e=n),e>i&&(t=Jt(i,{x:t,y:e},o),e=i),{x:t,y:e}}function ie(t,e,o){const{x:n,y:r}=re(t,e,o),{x:i,y:s}=re(e,t,o);return{x:n,y:r,x2:i,y2:s,width:Math.abs(i-n),height:Math.abs(s-r)}}function se(t,{mouseX:e,mouseY:o},n=h,r){const{x:i,y:s,x2:a,y2:d}=t.getProps(["x","y","x2","y2"],r),c=a-i,l=d-s,u=Gt(c)+Gt(l),f=0===u?-1:((e-i)*c+(o-s)*l)/u;let x,y;return f<0?(x=i,y=s):f>1?(x=a,y=d):(x=i+f*c,y=s+f*l),Gt(e-x)+Gt(o-y)<=n}function ae(t,{mouseX:e,mouseY:o},n,r){const i=t.label;return i.options.display&&i.inRange(e,o,r,n)}function de(t,e,o){const n=o.borderWidth,i=(0,r.Lv)(o.padding),s=_(t.ctx,o),a=s.width+i.width+n,d=s.height+i.height+n;return le(e,o,{width:a,height:d,padding:i},t.chartArea)}function ce(t){const{x:e,y:o,x2:n,y2:i}=t,s=Math.atan2(i-o,n-e);return s>r.PI/2?s-r.PI:s<r.PI/-2?s+r.PI:s}function le(t,e,o,n){const{width:i,height:s,padding:a}=o,{xAdjust:d,yAdjust:c}=e,l={x:t.x,y:t.y},u={x:t.x2,y:t.y2},h="auto"===e.rotation?ce(t):(0,r.eh)(e.rotation),f=ue(i,s,h),x=he(t,e,{labelSize:f,padding:a},n),y=t.cp?qt(l,t.cp,u,x):Bt(l,u,x),p={size:f.w,min:n.left,max:n.right,padding:a.left},b={size:f.h,min:n.top,max:n.bottom,padding:a.top},g=ye(y.x,p)+d,v=ye(y.y,b)+c;return{x:g-i/2,y:v-s/2,x2:g+i/2,y2:v+s/2,centerX:g,centerY:v,pointX:y.x,pointY:y.y,width:i,height:s,rotation:(0,r.xW)(h)}}function ue(t,e,o){const n=Math.cos(o),r=Math.sin(o);return{w:Math.abs(t*n)+Math.abs(e*r),h:Math.abs(t*r)+Math.abs(e*n)}}function he(t,e,o,n){let r;const i=xe(t,n);return r="start"===e.position?fe({w:t.x2-t.x,h:t.y2-t.y},o,e,i):"end"===e.position?1-fe({w:t.x-t.x2,h:t.y-t.y2},o,e,i):M(1,e.position),r}function fe(t,e,o,n){const{labelSize:r,padding:i}=e,s=t.w*n.dx,a=t.h*n.dy,d=s>0&&(r.w/2+i.left-n.x)/s,c=a>0&&(r.h/2+i.top-n.y)/a;return f(Math.max(d,c),0,.25)}function xe(t,e){const{x:o,x2:n,y:r,y2:i}=t,s=Math.min(r,i)-e.top,a=Math.min(o,n)-e.left,d=e.bottom-Math.max(r,i),c=e.right-Math.max(o,n);return{x:Math.min(a,c),y:Math.min(s,d),dx:a<=c?1:-1,dy:s<=d?1:-1}}function ye(t,e){const{size:o,min:n,max:r,padding:i}=e,s=o/2;return o>r-n?(r+n)/2:(n>=t-i-s&&(t=n+i+s),r<=t+i+s&&(t=r-i-s),t)}function pe(t){const e=t.options,o=e.arrowHeads&&e.arrowHeads.start,n=e.arrowHeads&&e.arrowHeads.end;return{startOpts:o,endOpts:n,startAdjust:be(t,o),endAdjust:be(t,n)}}
vendor: 4,378 bytes, line 8
8function be(t,e){if(!e||!e.display)return 0;const{length:o,width:n}=e,r=t.options.borderWidth/2,i={x:o,y:n+r},s={x:0,y:r};return Math.abs(Jt(0,i,s))}function ge(t,e,o,n){if(!n||!n.display)return;const{length:r,width:i,fill:s,backgroundColor:a,borderColor:d}=n,c=Math.abs(e-r)+o;t.beginPath(),E(t,n),R(t,n),t.moveTo(c,-i),t.lineTo(e+o,0),t.lineTo(c,i),!0===s?(t.fillStyle=a||d,t.closePath(),t.fill(),t.shadowColor="transparent"):t.shadowColor=n.borderShadowColor,t.stroke()}function ve(t,e,o){const{x:n,y:r,x2:i,y2:s,centerX:a,centerY:d}=t,c=Math.atan2(s-r,i-n),l=P(e.controlPoint,0),u={x:a+S(o,l.x,!1),y:d+S(o,l.y,!1)};return ut(u,{x:a,y:d},c)}function me(t,{x:e,y:o},{angle:n,adjust:r},i){i&&i.display&&(t.save(),t.translate(e,o),t.rotate(n),ge(t,0,-r,i),t.restore())}function we(t,e,o,n){const{x:i,y:s,x2:a,y2:d,options:c}=e,{startOpts:l,endOpts:u,startAdjust:h,endAdjust:f}=pe(e),x={x:i,y:s},y={x:a,y:d},p=Zt(x,o,y,0),b=Zt(x,o,y,1)-r.PI,g=qt(x,o,y,h/n),v=qt(x,o,y,1-f/n),m=new Path2D;t.beginPath(),m.moveTo(g.x,g.y),m.quadraticCurveTo(o.x,o.y,v.x,v.y),t.shadowColor=c.borderShadowColor,t.stroke(m),e.path=m,e.ctx=t,me(t,g,{angle:p,adjust:h},l),me(t,v,{angle:b,adjust:f},u)}te.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},ee),fill:!1,length:12,start:Object.assign({},ee),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:2,curve:!1,controlPoint:{y:"-50%"},display:!0,endValue:void 0,init:void 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,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},te.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},te.defaultRoutes={borderColor:"color"};class Me extends n.Hg{inRange(t,e,o,n){const i=this.options.rotation,s=this.options.borderWidth;if("x"!==o&&"y"!==o)return Se({x:t,y:e},this.getProps(["width","height","centerX","centerY"],n),i,s);const{x:a,y:d,x2:c,y2:l}=this.getProps(["x","y","x2","y2"],n),u=s/2,f="y"===o?{start:d,end:l}:{start:a,end:c},x=ut({x:t,y:e},this.getCenterPoint(n),(0,r.eh)(-i));return x[o]>=f.start-u-h&&x[o]<=f.end+u+h}getCenterPoint(t){return b(this,t)}draw(t){const{width:e,height:o,centerX:n,centerY:i,options:s}=this;t.save(),W(t,this.getCenterPoint(),s.rotation),E(t,this.options),t.beginPath(),t.fillStyle=s.backgroundColor;const a=R(t,s);t.ellipse(n,i,o/2,e/2,r.PI/2,0,2*r.PI),t.fill(),a&&(t.shadowColor=s.borderShadowColor,t.stroke()),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){return ot(t,e,!0)}}function Se(t,e,o,n){const{width:i,height:s,centerX:a,centerY:d}=e,c=i/2,l=s/2;if(c<=0||l<=0)return!1;const u=(0,r.eh)(o||0),h=n/2||0,f=Math.cos(u),x=Math.sin(u),y=Math.pow(f*(t.x-a)+x*(t.y-d),2),p=Math.pow(x*(t.x-a)-f*(t.y-d),2);return y/Math.pow(c+h,2)+p/Math.pow(l+h,2)<=1.0001}Me.id="ellipseAnnotation",Me.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,label:Object.assign({},Ot.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},Me.defaultRoutes={borderColor:"color",backgroundColor:"color"},Me.descriptors={label:{_fallback:!0}};class ke extends n.Hg{inRange(t,e,o,n){const{x:r,y:i,x2:s,y2:a,width:d}=this.getProps(["x","y","x2","y2","width"],n),c=this.options.borderWidth;if("x"!==o&&"y"!==o)return y({x:t,y:e},this.getCenterPoint(n),d/2,c);const l=c/2,u="y"===o?{start:i,end:a,value:e}:{start:r,end:s,value:t};return u.value>=u.start-l&&u.value<=u.end+l}getCenterPoint(t){return b(this,t)}draw(t){const e=this.options,o=e.borderWidth;
8if(e.radius<.1)return;t.save(),t.fillStyle=e.backgroundColor,E(t,e);const n=R(t,e);L(t,this,this.centerX,this.centerY),n&&!X(e.pointStyle)&&(t.shadowColor=e.borderShadowColor,t.stroke()),t.restore(),e.borderWidth=o}resolveElementProperties(t,e){const o=tt(t,e);return o.initProperties=D(t,o,e,!0),o}}ke.id="pointAnnotation",ke.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!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},ke.defaultRoutes={borderColor:"color",backgroundColor:"color"};class Pe extends n.Hg{inRange(t,e,o,n){if("x"!==o&&"y"!==o)return this.options.radius>=.1&&this.elements.length>1&&De(this.elements,t,e,n);const i=ut({x:t,y:e},this.getCenterPoint(n),(0,r.eh)(-this.options.rotation)),s=this.elements.map(t=>"y"===o?t.bY:t.bX),a=Math.min(...s),d=Math.max(...s);return i[o]>=a&&i[o]<=d}getCenterPoint(t){return b(this,t)}draw(t){const{elements:e,options:o}=this;t.save(),t.beginPath(),t.fillStyle=o.backgroundColor,E(t,o);const n=R(t,o);let r=!0;for(const i of e)r?(t.moveTo(i.x,i.y),r=!1):t.lineTo(i.x,i.y);t.closePath(),t.fill(),n&&(t.shadowColor=o.borderShadowColor,t.stroke()),t.restore()}resolveElementProperties(t,e){const o=tt(t,e),{sides:n,rotation:i}=e,s=[],a=2*r.PI/n;let d=i*r.tn;for(let r=0;r<n;r++,d+=a){const n=Ce(o,e,d);n.initProperties=D(t,o,e),s.push(n)}return o.elements=s,o}}function Ce({centerX:t,centerY:e},{radius:o,borderWidth:n},r){const i=n/2,s=Math.sin(r),a=Math.cos(r),d={x:t+s*o,y:e-a*o};return{type:"point",optionScope:"point",properties:{x:d.x,y:d.y,centerX:d.x,centerY:d.y,bX:t+s*(o+i),bY:e-a*(o+i)}}}function De(t,e,o,n){let r=!1,i=t[t.length-1].getProps(["bX","bY"],n);for(const s of t){const t=s.getProps(["bX","bY"],n);t.bY>o!==i.bY>o&&e<(i.bX-t.bX)*(o-t.bY)/(i.bY-t.bY)+t.bX&&(r=!r),i=t}return r}Pe.id="polygonAnnotation",Pe.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderShadowColor:"transparent",borderWidth:1,display:!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},Pe.defaultRoutes={borderColor:"color",backgroundColor:"color"};const Ie={box:Ot,ellipse:Me,label:Yt,line:te,point:ke,polygon:Pe};Object.keys(Ie).forEach(t=>{n.NT.describe(`elements.${Ie[t].id}`,{_fallback:"plugins.annotation.common"})});const Te={update:Object.assign},je=ft.concat(mt),Oe=(t,e)=>(0,r.Gv)(e)?Ne(t,e):t,Ae=t=>"color"===t||"font"===t;function Ye(t="line"){return Ie[t]?t:(console.warn(`Unknown annotation type: '${t}', defaulting to 'line'`),"line")}function Xe(t,e,o,n){const i=Re(t,o.animations,n),s=e.annotations,a=Le(e.elements,s);for(let d=0;d<s.length;d++){const e=s[d],o=_e(a,d,e.type),n=e.setContext(He(t,o,e)),c=o.resolveElementProperties(t,n);c.skip=We(c),"elements"in c&&(Ee(o,c.elements,n,i),delete c.elements),(0,r.sw)(o.x)||Object.assign(o,c),Object.assign(o,c.initProperties),c.options=ze(n),i.update(o,c)}}function We(t){return isNaN(t.x)||isNaN(t.y)}function Re(t,e,o){return"reset"===o||"none"===o||"resize"===o?Te:new n.Qw(t,e)}function Ee(t,e,o,n){const r=t.elements||(t.elements=[]);r.length=e.length;for(let i=0;i<e.length;i++){const t=e[i],s=t.properties,a=_e(r,i,t.type,t.initProperties),d=o[t.optionScope].override(t);s.options=ze(d),n.update(a,s)}}function _e(t,e,o,n){const r=Ie[Ye(o)];let i=t[e];return i&&i instanceof r||(i=t[e]=new r,Object.assign(i,n)),i}function ze(t){const e=Ie[Ye(t.type)],o={};o.id=t.id,o.type=t.type,o.drawTime=t.drawTime,Object.assign(o,Ne(t,e.defaults),Ne(t,e.defaultRoutes));for(const n of je)o[n]=t[n];return o}function Ne(t,e){const o={};for(const n of Object.keys(e)){const i=e[n],s=t[n];Ae(n)&&(0,r.cy)(s)?o[n]=s.map(t=>Oe(t,i)):o[n]=Oe(s,i)}return o}function He(t,e,o){return e.$context||(e.$context=Object.assign(Object.create(t.getContext()),{element:e,id:o.id,type:"annotation"}))}function Le(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}var Ve="2.2.1";const $e=new Map,Be=ft.concat(mt);var Je={id:"annotation",version:Ve,beforeRegister(){g("chart.js","3.7",n.t1.version)},afterRegister(){n.t1.register(Ie)},afterUnregister(){n.t1.unregister(Ie)},beforeInit(t){$e.set(t,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(t,e,o){const n=$e.get(t),i=n.annotations=[];let s=o.annotations;
8(0,r.Gv)(s)?Object.keys(s).forEach(t=>{const e=s[t];(0,r.Gv)(e)&&(e.id=t,i.push(e))}):(0,r.cy)(s)&&i.push(...s),kt(i,t.scales)},afterDataLimits(t,e){const o=$e.get(t);St(t,e.scale,o.annotations.filter(t=>t.display&&t.adjustScaleRange))},afterUpdate(t,e,o){const n=$e.get(t);xt(t,n,o),Xe(t,n,o,e.mode),n.visibleElements=n.elements.filter(t=>!t.skip&&t.options.display),wt(t,n,o)},beforeDatasetsDraw(t,e,o){Fe(t,"beforeDatasetsDraw",o.clip)},afterDatasetsDraw(t,e,o){Fe(t,"afterDatasetsDraw",o.clip)},beforeDraw(t,e,o){Fe(t,"beforeDraw",o.clip)},afterDraw(t,e,o){Fe(t,"afterDraw",o.clip)},beforeEvent(t,e,o){const n=$e.get(t);yt(n,e.event,o)&&(e.changed=!0)},afterDestroy(t){$e.delete(t)},_getState(t){return $e.get(t)},defaults:{animations:{numbers:{properties:["x","y","x2","y2","width","height","centerX","centerY","pointX","pointY","radius"],type:"number"}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:"afterDatasetsDraw",init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:t=>!Be.includes(t)&&"init"!==t,annotations:{_allKeys:!1,_fallback:(t,e)=>`elements.${Ie[Ye(e.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:Ae,_fallback:!0},_indexable:Ae}},additionalOptionScopes:[""]};function Fe(t,e,o){const{ctx:n,chartArea:i}=t,s=$e.get(t);o&&(0,r.uv)(n,i);const a=Ge(s.visibleElements,e).sort((t,e)=>t.element.options.z-e.element.options.z);for(const r of a)Ke(n,i,s,r);o&&(0,r.$J)(n)}function Ge(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}function Ke(t,e,o,n){const r=n.element;n.main?(Mt(o,r,"beforeDraw"),r.draw(t,e),Mt(o,r,"afterDraw")):r.draw(t,e)}},95804:function(t,e,o){o.d(e,{sK:function(){return n.H},PI:function(){return n.P},Rv:function(){return n.b3},tn:function(){return n.b2},DD:function(){return n.T},cI:function(){return n.b4},If:function(){return n.av},E2:function(){return n.C},uv:function(){return n.L},sw:function(){return n.j},Lt:function(){return n.aG},__:function(){return n.Q},cy:function(){return n.b},MI:function(){return n.g},Tn:function(){return n.a8},Pj:function(){return n.k},Et:function(){return n.x},Gv:function(){return n.i},h1:function(){return n.V},hd:function(){return n.a},xW:function(){return n.F},di:function(){return n.O},Lv:function(){return n.K},eh:function(){return n.t},u$:function(){return n.ax},$J:function(){return n.N},a4:function(){return n.v}});var n=o(32998)}}]);
9//# sourceMappingURL=1891.ced5173a.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.