1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4463],{14352:function(t,e,r){"undefined"!=typeof self&&self,t.exports=function(t){var e=[function(t,e,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),r.d(e,"HighchartsReact",function(){return l});var c=r(1),i=r.n(c),u="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,l=Object(c.memo)(Object(c.forwardRef)(function(t,e){var r=Object(c.useRef)(),l=Object(c.useRef)(),s=Object(c.useRef)(t.constructorType),f=Object(c.useRef)(t.highcharts);return u(function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":a(window))&&window.Highcharts,n=t.constructorType||"chart";e?e[n]?t.options?l.current=e[n](r.current,t.options,t.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(l.current){if(!1!==t.allowChartUpdate)if(t.constructorType!==s.current||t.highcharts!==f.current)s.current=t.constructorType,f.current=t.highcharts,e();else if(!t.immutable&&l.current){var n,c;(n=l.current).update.apply(n,[t.options].concat(function(t){if(Array.isArray(t))return o(t)}(c=t.updateArgs||[!0,!0])||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return o(t,void 0);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}else e()}else e()},[t.options,t.allowChartUpdate,t.updateArgs,t.containerProps,t.highcharts,t.constructorType]),u(function(){return function(){l.current&&(l.current.destroy(),l.current=null)}},[]),Object(c.useImperativeHandle)(e,function(){return{get chart(){return l.current},container:r}},[]),i.a.createElement("div",n({},t.containerProps,{ref:r}))}));e.default=l},function(e,r){e.exports=t}];function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};return r.m=e,r.c=n,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}(r(14232))},34463:(t,e,r)=>{"use strict";r.r(e),r.d(e,{StockChart:()=>C});var n=r(37876),o=r(14232),a=r(95672),c=r.n(a),i=r(14352),u=r.n(i),l=r(35578),s=r(27038),f=r(89738),p=r(92057),d=r(8961);let y=d.IO[d.lm.SECONDARY_COLOR],h={color:d.lm.SECONDARY_COLOR,emptyColor:d.lm.NEUTRAL_COLOR_40,thickness:"5px",speed:"0.85s",width:"70px",height:"70px"},m={fontFamily:"var(".concat(p.dp,")")},b={fontFamily:"var(".concat(p.dp,")"),color:y,fontSize:"18px",fontWeight:"300"},g={fontFamily:"var(".concat(p.dp,")"),fontSize:"14px",fontWeight:"300"},S={fontFamily:"var(".concat(p.dp,")"),fontSize:"14px",fontWeight:"300"},v={container:{maxW:"1200px",width:"100%",margin:"0 auto"},spinnerContainer:{width:"100%",alignItems:"center",justifyContent:"center",height:"400px"},spinnerProps:h,chartStyle:m,dateInputStyle:b,zoomLabelStyle:g,buttonsTextStyle:S,titleStyle:{fontFamily:"var(".concat(p.dp,")"),color:"#333333",fontSize:"24px",fontWeight:"400"},axisLabesStyle:{color:"#666666",cursor:"default",fontSize:"12px"},axisLineColor:"#ccd6eb",curveColor:"#7cb5ec"};var O=r(83035),x=r(91058);let w="line",C=t=>{let{title:e}=t,[r,a]=(0,o.useState)(null),[i,p]=(0,o.useState)(null),{container:d,spinnerContainer:y,spinnerProps:h}=v,{lang:m,isFirstLoad:b}=(0,x.gK)(),g=(0,o.useCallback)(function(){let t=this.value;if("en"!==m){let e=new Date(t);if("Invalid Date"===e.toString())return c().dateFormat("%b '%y"!==this.dateTimeLabelFormat?"%d. %b":this.dateTimeLabelFormat,t);let r=e.toLocaleDateString(m,{month:"short"});if("%b '%y"!==this.dateTimeLabelFormat){let t=e.toLocaleDateString(m,{day:"numeric"});return"".concat(t,". ").concat(r)}{let t=e.toLocaleDateString(m,{year:"numeric"}).slice(2);return"".concat(r," '").concat(t)}}return c().dateFormat("%b '%y"!==this.dateTimeLabelFormat?"%d. %b":this.dateTimeLabelFormat,t)},[m]);return(0,o.useEffect)(()=>
1{if(!i&&r){let{chartStyle:t,dateInputStyle:n,zoomLabelStyle:o,buttonsTextStyle:a,titleStyle:i,axisLineColor:u,axisLabesStyle:l,curveColor:s}=v;if("en"!==m){let t=[];for(let e=1;e<=12;e+=1){let r=new Date("2023-".concat(e<10?"0":"").concat(e,"-01")).toLocaleDateString(m,{month:"short"});t.push(r)}c().setOptions({lang:{months:t}})}p({chart:{type:w,style:t},rangeSelector:{selected:1,inputStyle:n,inputDateFormat:"en"!==m?"%B %e, %Y":"%b %e, %Y",inputBoxHeight:22,labelStyle:o,buttonTheme:{style:a}},title:{text:e,style:i},xAxis:{lineColor:u,tickColor:u,labels:{formatter:g,style:l}},yAxis:{labels:{style:l}},series:[{type:w,name:"NVCR",data:r,tooltip:{valueDecimals:2},color:s}]})}},[m,i,r,e,g]),(0,o.useEffect)(()=>{r||b||(0,O.td)({dataType:O.We,updateIntervalInMinutes:120,updateFromWeekday:1,updateTillWeekday:5}).then(t=>a(t.data))},[r,b]),(0,n.jsx)(l.az,{...d,children:r&&i?(0,n.jsx)(u(),{highcharts:c(),options:i,constructorType:"stockChart"}):(0,n.jsx)(s.s,{...y,children:(0,n.jsx)(f.y,{...h})})})}},83035:(t,e,r)=>{"use strict";r.d(e,{We:()=>n,pe:()=>o,td:()=>c,yH:()=>a});let n="STOCK_CHART",o="STOCK_PRICE",a="STOCK_VALUES";async function c(t){let{dataType:e,updateIntervalInMinutes:r,updateFromWeekday:n,updateTillWeekday:o,updateFromUTCHour:a,updateTillUTCHour:c}=t,i=await fetch("/api/edge-config?function=".concat(e).concat(r?"&updateIntervalInMinutes=".concat(r):"").concat(n?"&updateFromWeekday=".concat(n):"").concat(o?"&finishWeekday=".concat(o):"").concat(a?"&updateFromUTCHour=".concat(a):"").concat(c?"&updateTillUTCHour=".concat(c):"")),u=await i.json();return u.error&&console.error(u.error.message),u}}}]);
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.