1"use strict";(self.webpackChunk_minimal_material_kit_react=self.webpackChunk_minimal_material_kit_react||[]).push([[79225],{79225:(e,t,a)=>{a.r(t),a.d(t,{default:()=>M});var n=a(47313),c=a(33532),l=a(8121),D=a(3051),d=a(98789),o=a(881);function M(e,t){const[a,M]=(0,n.useState)(!1),[r,s]=(0,n.useState)(t),[u,f]=(0,n.useState)(e),i=u&&r&&(0,c.Z)(new Date(r),new Date(u))||!1,y=(new Date).getFullYear(),w=u?(0,l.Z)(u):null,_=r?(0,l.Z)(r):null,h=y===w&&y===_,k=!(!u||!r)&&(0,D.Z)(new Date(u),new Date(r)),m=!(!u||!r)&&(0,d.Z)(new Date(u),new Date(r)),S="".concat((0,o.fDate)(u)," - ").concat((0,o.fDate)(r));return{startDate:u,endDate:r,onChangeStartDate:e=>{f(e)},onChangeEndDate:e=>{i&&s(null),s(e)},open:a,onOpen:()=>M(!0),onClose:()=>M(!1),onReset:()=>{f(null),s(null)},isSelected:!!u&&!!r,isError:i,label:S||"",shortLabel:(h?m?k?(0,o.fDate)(r,"dd MMM yy"):"".concat((0,o.fDate)(u,"dd")," - ").concat((0,o.fDate)(r,"dd MMM yy")):"".concat((0,o.fDate)(u,"dd MMM")," - ").concat((0,o.fDate)(r,"dd MMM yy")):"".concat((0,o.fDate)(u,"dd MMM yy")," - ").concat((0,o.fDate)(r,"dd MMM yy")))||"",setStartDate:f,setEndDate:s}}}}]);
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.