1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[8563],{6809:(e,t,a)=>{a.r(t),a.d(t,{default:()=>c});var n=a(7294),o=a(9449),r=a(6495),i=a(1072),s=a(1959),l=a(3075),u=a(669);o.kL.register(o.jn,o.u,o.f$,o.od,o.RM,o.uw);const m="#4875A0",c=({resp:{data_points:e},timeIncrement:t,title:a})=>{const o=e.values.slice(0,-1),{t:c}=(0,i.$G)(),d=[];let g=e.offset,h=Number.MAX_SAFE_INTEGER,f=0;const p=new Date,D=t/60/60/24;let y=0;const x=o.map((e=>{const t=new Date(p);return t.setDate(t.getDate()-y),d.unshift((0,s.X_)(t)),y+=D,g+=e,h=Math.min(h,g),f=Math.max(f,g),g}));0===x.length&&(f=0,h=0);const M=Math.max(1,Math.ceil((f-h)/4)),w=Math.max(0,h-1),A=w+5*M;return n.createElement(n.Fragment,null,n.createElement("span",{className:"absolute top-1 right-2.5 text-[50px] leading-tight"},g),n.createElement("div",{className:"relative w-full flex-1 min-h-0"},n.createElement(r.x1,{"aria-label":c("content.lineChartOf",{title:a}),data:{labels:d,datasets:[{xAxisID:"xAxis",yAxisID:"yAxis",data:x,borderColor:m,pointBorderColor:m,pointBackgroun
1dColor:u.Z.theme===l.f8.DARK?"#31363A":"white",backgroundColor:"transparent"}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{displayColors:!1}},scales:{xAxis:{type:"category",grid:{display:!1}},yAxis:{border:{display:!1},type:"linear",min:w,max:A,ticks:{stepSize:M},grid:{color:u.Z.theme===l.f8.DARK?"#4D4F56":"#D1D5E0",tickColor:u.Z.theme===l.f8.DARK?"#4D4F56":"#D1D5E0"}}}},updateMode:"resize"})))}},1959:(e,t,a)=>{a.d(t,{SY:()=>c,X_:()=>d,p6:()=>m});var n=a(7155);const o=864e5,r=Math.pow(10,10);function i(e){if(null==e)return new Date;switch(typeof e){case"number":return new Date(e<r?1e3*e:e);case"string":return new Date(e)}return e}function s(e,t,a={}){const o=`date.format.${t??"default"}`,r=a.monthLong?"date.monthLong.":"date.month.";let i=e.getFullYear();i<1900&&(i+=1900);const s=e.getMonth()+1,l=n.ZP.t(r+e.getMonth()),u=e.getDate(),m=n.ZP.t(`date.day.${e.getDay()}`),c=e.getHours();let d=e.getHours()%12;0===d&&(d=12);let g=e.getMinutes();g<10&&(g="0"+g);const h=n.ZP.t(c>=12?"time.pm":"time.am");return n.ZP.t(o,{d:u,mo:s,month:l,y:i,day:m,hh:c,h:d,m:g,amPm:h})}function l(e,t){let a,o=Math.floor((e.getTime()-t.getTime())/1e3);if(o<60)a="seconds";else if((o/=60)<60)a="minutes";else if((o/=60)<24)a="hours";else{if(!((o/=24)<30))return s(e);a="days"}return n.ZP.t(`time.${a}.fromNow`,{count:Math.floor(o)})}function u(e,t){let a="time_long_ago";if(t.getTime()-e.getDate()<6*o)switch(t.getDay()-e.getDay()){case 0:a="time_today";break;case 1:case-6:a="time_yesterday";break;default:a="time_days_ago"}else e.getFullYear()===t.getFullYear()&&(a="time_this_year");return s(e,a)}function m(e,t={}){return s(function(e){let t=i(e);return t.getTime()%o==0&&(t=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())),t}(e),null,t)}function c(e,t=new Date){const a=i(e),n=i(t);return(a.getTime()>n.getTime()?l:u)(a,n)}function d(e){return n.ZP.t("date.format.dayAndMonth",{mo:n.ZP.t(`date.month.${e.getMonth()}`),d:e.getDate()})}}}]); 2//# sourceMappingURL=http://localhost:5309/sourcemaps/js/timeframe-chart.377f5877303f7603b0a3.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.