1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2587],{71606:function(e,t,a){a.r(t);var s=a(85893),n=a(67294),r=a(30286);a(81759),a(15138);var c=a(30381),l=a.n(c),i=a(13245);t.default=e=>{let{onChange:t}=e,[a,c]=(0,n.useState)({startDate:new Date(2010,0),endDate:new Date,key:"selection",showDateDisplay:!1}),[o,D]=(0,n.useState)(!1),[d,x]=(0,n.useState)(!1);return(0,s.jsxs)("div",{className:"flex items-center flex-wrap justify-center space-y-2 md:justify-start",children:[(0,s.jsx)("div",{className:"mr-2",children:"Filtrar por:"}),(0,s.jsxs)("div",{className:"relative mr-2",children:[(0,s.jsxs)("div",{className:"border border-[#e6e6e6] p-[6px] text=[16px] flex justify-between items-center w-[240px] font-Inter-Regular",onClick:()=>x(!d),children:[o?"".concat(l()(a.startDate).format("YYYY-MM-DD")," / ").concat(l()(a.endDate).format("YYYY-MM-DD")):"Rango de fecha",(0,s.jsx)(i.Z,{className:"h-[16px] w-[16px]"})]}),d&&(0,s.jsx)("div",{className:"absolute z-10",children:(0,s.jsx)(r.C0,{editableDateInputs:!0,onChange:e=>{o||D(!o),c({...a,startDate:e.selection.startDate,endDate:e.selection.endDate}),t&&t({...a,startDate:e.selection.startDate,endDate:e.selection.endDate})},onShownDateChange:e=>console.log(e),moveRangeOnFirstSelection:!1,ranges:[a],shownDate:new Date})})]}),(0,s.jsx)("div",{className:"text-[#cdcdcd] text-[12px] font-Inter-Regular cursor-pointer",onClick:()=>{c({...a,startDate:new Date(2010,0),endDate:new Date}),t&&t({...a,startDate:new Date(2010,0),endDate:new Date}),D(!1)},children:"Limpiar filtros"})]})}}}]);
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.