1import{aE as N}from"./0XwV3hpy.js";(function(){try{var h=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};h.SENTRY_RELEASE={id:"ecos-frontend-cp@32b46d188678f896e839c69d78ed855453967266"};var a=new h.Error().stack;a&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[a]="c9f9a979-c589-4439-a8bd-26a97ff1a5ff",h._sentryDebugIdIdentifier="sentry-dbid-c9f9a979-c589-4439-a8bd-26a97ff1a5ff")}catch{}})();function S(h,a){for(var o=0;o<a.length;o++){const g=a[o];if(typeof g!="string"&&!Array.isArray(g)){for(const i in g)if(i!=="default"&&!(i in h)){const l=Object.getOwnPropertyDescriptor(g,i);l&&Object.defineProperty(h,i,l.get?l:{enumerable:!0,get:()=>g[i]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}},H;function I(){return H||(H=1,(function(h){(function(a){h.exports?(a.default=a,h.exports=a):a(typeof Highcharts<"u"?Highcharts:void 0)})(function(a){var o=a?a._modules:{};function g(i,l,u,m){i.hasOwnProperty(l)||(i[l]=m.apply(null,u),typeof CustomEvent=="function"&&a.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:l,module:i[l]}})))}g(o,"Extensions/DragPanes/AxisResizerDefaults.js",[],function(){return{minLength:"10%",maxLength:"100%",resize:{controlledAxis:{next:[],prev:[]},enabled:!1,cursor:"ns-resize",lineColor:"#cccccc",lineDashStyle:"Solid",lineWidth:4,x:0,y:0}}}),g(o,"Extensions/DragPanes/AxisResizer.js",[o["Extensions/DragPanes/AxisResizerDefaults.js"],o["Core/Utilities.js"]],function(i,l){let{addEvent:u,clamp:m,isNumber:P,relativeLength:E}=l;class D{constructor(e){this.init(e)}init(e,t){this.axis=e,this.options=e.options.resize||{},this.render(),t||this.addMouseEvents()}render(){let e=this.axis,t=e.chart,r=this.options,s=r.x||0,d=r.y,n=m(e.top+e.height+d,t.plotTop,t.plotTop+t.plotHeight),c={};t.styledMode||(c={cursor:r.cursor,stroke:r.lineColor,"stroke-width":r.lineWidth,dashstyle:r.lineDashStyle}),this.lastPos=n-d,this.controlLine||(this.controlLine=t.renderer.path().addClass("highcharts-axis-resizer")),this.controlLine.add(e.axisGroup);let f=t.styledMode?this.controlLine.strokeWidth():r.lineWidth;c.d=t.renderer.crispLine([["M",e.left+s,n],["L",e.left+e.width+s,n]],f),this.controlLine.attr(c)}addMouseEvents(){let e,t,r,s=this,d=s.controlLine.element,n=s.axis.chart.container,c=[];s.mouseMoveHandler=e=f=>s.onMouseMove(f),s.mouseUpHandler=t=f=>s.onMouseUp(f),s.mouseDownHandler=r=()=>s.onMouseDown(),c.push(u(n,"mousemove",e),u(n.ownerDocument,"mouseup",t),u(d,"mousedown",r),u(n,"touchmove",e),u(n.ownerDocument,"touchend",t),u(d,"touchstart",r)),s.eventsToUnbind=c}onMouseMove(e){if(!e.touches||e.touches[0].pageX!==0){let t=this.axis.chart.pointer;this.grabbed&&t&&(this.hasDragged=!0,this.updateAxes(t.normalize(e).chartY-(this.options.y||0)))}}onMouseUp(e){let t=this.axis.chart.pointer;this.hasDragged&&t&&this.updateAxes(t.normalize(e).chartY-(this.options.y||0)),this.grabbed=this.hasDragged=this.axis.chart.activeResizer=void 0}onMouseDown(){this.axis.chart.pointer?.reset(!1,0),this.grabbed=this.axis.chart.activeResizer=!0}updateAxes(e){let t=this.axis.chart,r=this.options.controlledAxis,s=r.next.length===0?[t.yAxis.indexOf(this.axis)+1]:r.next,d=[this.axis].concat(r.prev),n=[],c=t.plotTop,f=t.plotHeight,w=c+f,j=y=>100*y/f+"%",T=(y,b,p)=>Math.round(m(y,b,p));e=m(e,c,w);let L=!1,z=e-this.lastPos;if(z*z<1)return;let A=!0;for(let y of[d,s])for(let b of y){let p,x,v=P(b)?t.yAxis[b]:A?b:t.get(b),M=v&&v.options;if(!M||M.isInternal){A=!1;continue}x=v.top;let R=Math.round(E(M.minLength||NaN,f)),O=Math.round(E(M.maxLength||NaN,f));if(A)(p=T(e-x,R,O))===O&&(L=!0),e=x+p,n.push({axis:v,options:{height:j(p)}});else{if(z=e-this.lastPos,p=T(v.len-z,R,O),(x=v.top+z)+p>w){let k=w-p-x;e+=k,x+=k}x<c&&(x=c)+p>w&&(p=f),p===R&&(L=!0),n.push({axis:v,options:{top:j(x-c),height:j(p)}})}A=!1}if(!L){for(let y of n)y.axis.update(y.options,!1);t.redraw(!1)}}destroy(){let e=this.axis;for(let t of(delete e.resizer,this.eventsToUnbind&&this.eventsToUnbind.forEach(r=>r()),this.controlLine.destroy(),Object.keys(this)))this[t]=null}}return D.resizerOptions=i,D}
1),g(o,"Extensions/DragPanes/DragPanes.js",[o["Extensions/DragPanes/AxisResizer.js"],o["Core/Defaults.js"],o["Core/Utilities.js"]],function(i,l,u){let{defaultOptions:m}=l,{addEvent:P,merge:E,wrap:D}=u;function C(){let s=this.resizer,d=this.options.resize;if(d){let n=d.enabled!==!1;s?n?s.init(this,!0):s.destroy():n&&(this.resizer=new i(this))}}function e(s){!s.keepEvents&&this.resizer&&this.resizer.destroy()}function t(s){this.chart.activeResizer||s.apply(this,[].slice.call(arguments,1))}function r(s){this.chart.activeResizer||s.apply(this,[].slice.call(arguments,1))}return{compose:function(s,d){s.keepProps.includes("resizer")||(E(!0,m.yAxis,i.resizerOptions),s.keepProps.push("resizer"),P(s,"afterRender",C),P(s,"destroy",e),D(d.prototype,"runPointActions",r),D(d.prototype,"drag",t))}}}),g(o,"masters/modules/drag-panes.src.js",[o["Core/Globals.js"],o["Extensions/DragPanes/AxisResizer.js"],o["Extensions/DragPanes/DragPanes.js"]],function(i,l,u){return i.AxisResizer=l,u.compose(i.Axis,i.Pointer),i})})})(_)),_.exports}var U=I();const W=N(U),q=S({__proto__:null,default:W},[U]);export{q as d};
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.