1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3675],{96085:function(e,t,r){var n;"undefined"!=typeof self&&self,n=function(e){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"HighchartsReact",function(){return u});var a=r(1),c=r.n(a),s="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,u=Object(a.memo)(Object(a.forwardRef)(function(e,t){var r=Object(a.useRef)(),u=Object(a.useRef)(),l=Object(a.useRef)(e.constructorType),p=Object(a.useRef)(e.highcharts
1);return s(function(){function t(){var t=e.highcharts||"object"===("undefined"==typeof window?"undefined":i(window))&&window.Highcharts,n=e.constructorType||"chart";t?t[n]?e.options?u.current=t[n](r.current,e.options,e.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(u.current){if(!1!==e.allowChartUpdate){if(e.constructorType!==l.current||e.highcharts!==p.current)l.current=e.constructorType,p.current=e.highcharts,t();else if(!e.immutable&&u.current){var n,a;(n=u.current).update.apply(n,[e.options].concat(function(e){if(Array.isArray(e))return o(e)}(a=e.updateArgs||[!0,!0])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return o(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,void 0):void 0}}(a)||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 t()}}else t()},[e.options,e.allowChartUpdate,e.updateArgs,e.containerProps,e.highcharts,e.constructorType]),s(function(){return function(){u.current&&(u.current.destroy(),u.current=null)}},[]),Object(a.useImperativeHandle)(t,function(){return{get chart(){return u.current},container:r}},[]),c.a.createElement("div",n({},e.containerProps,{ref:r}))}));t.default=u},function(t,r){t.exports=e}])},e.exports=n(r(2265))},73675:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return d}});var n=r(57437),o=r(2265),i=r(82282),a=r.n(i),c=r(96085),s=r.n(c),u=r(10607),l=r(45462),p=r(96583);function d(e){let{series:t,aqiDrivers:r,standard:i,timeZone:c,shortRange:d,height:f=320,theme:y=p.no}=e,h=(0,o.useMemo)(()=>new(a()).Time({timezone:c}),[c]),b=(0,o.useMemo)(()=>{let e=t.length>1;return{chart:{type:"spline",height:f,backgroundColor:"transparent",style:{fontFamily:"inherit"},spacing:[8,4,8,4]},time:{timezone:c},title:{text:void 0},credits:{enabled:!1},legend:{enabled:!1},accessibility:{enabled:!1},xAxis:{type:"datetime",tickAmount:5,lineColor:y.gridLine,tickColor:y.gridLine,crosshair:{width:1,color:y.axis,dashStyle:"Dash"},labels:{style:{fontSize:"11px",color:y.axis},format:d?"{value:%H:%M}":"{value:%b %e}"}},yAxis:t.map((e,t)=>({title:{text:(0,p.C8)(e.key,e.unit),style:{fontSize:"11px",color:y.axis}},labels:{style:{fontSize:"11px",color:y.axis}},gridLineColor:y.gridLine,opposite:1===t})),tooltip:{shared:!0,useHTML:!0,backgroundColor:y.surface,borderColor:y.border,borderRadius:8,shadow:!1,style:{fontSize:"12px"},formatter(){var e,n;let o=h.dateFormat(d?"%b %e, %H:%M":"%b %e, %Y, %H:%M",Number(this.x)),a=(null!==(e=this.points)&&void 0!==e?e:[]).map(e=>{let r=t[e.series.index],n=r?(0,p.C8)(r.key,r.unit):e.series.name,o=r?l.Jw[r.key].decimals:1;return'<div style="display:flex;gap:6px;align-items:center">\n <span style="width:8px;height:8px;border-radius:9999px;background:'.concat(e.color,'"></span>\n <span>').concat(n,": <b>").concat(Number(e.y).toFixed(o),"</b></span>\n </div>")}),c=(null!==(n=this.points)&&void 0!==n?n:[]).find(e=>{var r;return(null===(r=t[e.series.index])||void 0===r?void 0:r.key)==="aqi"}),s="";if(c){let e=[];1===t.length&&e.push((0,u.X0)(Number(c.y),i).label);let n=null==r?void 0:r.get(Number(this.x));if(n){let t=l.Jw[n];e.push("Driven by ".concat(t?t.label:n))}e.length&&(s='<div style="margin-top:4px;color:'.concat(y.muted,'">').concat(e.join(" \xb7 "),"</div>"))}return'<div><div style="color:'.concat(y.muted,';margin-bottom:4px">').concat(o,"</div>").concat(a.join("")).concat(s,"</div>")}},plotOptions:{spline:{lineWidth:3,connectNulls:!0,marker:{enabled:!1,states:{hover:{enabled:!0,radius:5}}},states:{hover:{lineWidthPlus:0}}}},series:t.map((t,r)=>{let n=!e&&"aqi"===t.key;return{type:"spline",name:(0,p.C8)(t.key,t.unit),data:t.data,yAxis:r,color:1===r?"#00C8E6":"#005EE5",...n?{zoneAxis:"y",zones:(0,u.DG)(i).map((e,t,r)=>({...t===r.length-1?{}:{value:e.max},color:e.hex}))}:{},marker:{enabled:1===t.data.filter(e=>{let[,t]=e;return null!=t}).length,radius:5}}})}},[t,r,i,c,h,d,f,y]);return(0,n.jsx)(s(),{highcharts:a(),options:b})}}}]);
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.