PageSourceSearch

https://asiandrivingschool.us/_next/static/chunks/211-d334bf75080be4e2.js

js asiandrivingschool.us collected 2026-10-04 17:49:06 UTC 18,658 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[211],{7789:function(e,t,n){n.d(t,{Z:function(){return s}});var a=n(57437),r=n(2265),l=n(35791),i=n(77468),o=n(79507);function s(e){let{showModal:t,setShowModal:n,title:s="Modal",titleStyle:d="",width:u="600px",contentStyles:c={},children:m,hidePadding:x=!1}=e;return(0,a.jsx)(r.Fragment,{children:(0,a.jsxs)(l.Z,{open:t,onClose:()=>{n(!1)},maxWidth:"md",fullWidth:!0,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",sx:{"& .MuiPaper-root":{borderRadius:"32px",margin:{xs:"16px",sm:"32px"},maxHeight:{xs:"95vh",sm:"90vh"},width:{xs:"calc(100% - 32px)",sm:"auto"},maxWidth:{xs:"calc(100% - 32px)",sm:"600px"}}},children:[s&&(0,a.jsx)(o.Z,{sx:{"&.MuiDialogTitle-root":{fontSize:{xs:"24px",md:"32px"},fontWeight:600,lineHeight:"45px",color:"#1E4245",textAlign:"center"}},children:s}),(0,a.jsx)(i.Z,{sx:{width:{xs:"100%",sm:u},padding:{xs:x?"0 0 16px":"16px",sm:x?"0 0 24px":"24px"},overflowY:"auto",overflowX:"hidden",maxHeight:"none",...c},children:m})]})})}},90211:function(e,t,n){n.d(t,{hV:function(){return D},WK:function(){return a.Z}});var a=n(7789);n(23420);var r=n(57437),l=n(2265),i=n(89051),o=n(56188),s=n(17284),d=n(30328),u=n(4117),c=n(25997),m=n(43850);let x=["SUN","MON","TUE","WED","THU","FRI","SAT"],f=["January","February","March","April","May","June","July","August","September","October","November","December"],p=e=>"".concat(e.getFullYear(),"-").concat(String(e.getMonth()+1).padStart(2,"0"),"-").concat(String(e.getDate()).padStart(2,"0")),h=e=>{let[t,n]=e.split(":"),a=Number(t),r=Number(n);return Number.isNaN(a)||Number.isNaN(r)?null:60*a+r},g=()=>{let e=new Intl.DateTimeFormat("en-US",{timeZone:s.yK,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts(new Date),t=t=>{var n;return(null===(n=e.find(e=>e.type===t))||void 0===n?void 0:n.value)||""},n=t("year"),a=t("month"),r=t("day"),l=Number(t("hour")),i=Number(t("minute"));return{dateStr:"".concat(n,"-").concat(a,"-").concat(r),minutes:60*l+i}},b=e=>{if(!e)return"";let t=e.match(/^(\d{4}-\d{2}-\d{2})/);if(t)return t[1];if(/^\d{4}-\d{2}-\d{2}$/.test(e))return e;let n=e.match(/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/);if(n){let[,e,t,a]=n;return"".concat(a,"-").concat(e.padStart(2,"0"),"-").concat(t.padStart(2,"0"))}let a=new Date(e);if(Number.isNaN(a.getTime()))return e;let r=new Intl.DateTimeFormat("en-US",{timeZone:s.yK,year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(a),l=e=>{var t;return(null===(t=r.find(t=>t.type===e))||void 0===t?void 0:t.value)||""};return"".concat(l("year"),"-").concat(l("month"),"-").concat(l("day"))},y=e=>{if(!e)return"";let t=e.match(/^(\d{1,2}):(\d{2})/);return t?"".concat(t[1].padStart(2,"0"),":").concat(t[2]):e.trim()},v=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],N=e=>{let{selectedDate:t,onSelect:n,minDate:a,maxDate:i,disablePast:o=!1,unavailableDates:s=[],selectedWeekdays:c}=e,[m,h]=(0,l.useState)(()=>{let{dateStr:e}=g(),[t,n]=e.split("-").map(Number);return new Date(t,n-1,1)}),y=(0,l.useMemo)(()=>g().dateStr,[]),N=(0,l.useMemo)(()=>new Set((s||[]).map(e=>b(e))),[s]),w=(0,l.useMemo)(()=>b(a),[a]),D=(0,l.useMemo)(()=>b(i),[i]),j=(0,l.useMemo)(()=>{let e=m.getFullYear(),t=m.getMonth(),n=new Date(e,t,1).getDay(),a=new Date(e,t+1,0).getDate(),r=new Date(e,t,0).getDate(),l=[];for(let a=n-1;a>=0;a--)l.push({day:r-a,date:new Date(e,t-1,r-a),current:!1});for(let n=1;n<=a;n++)l.push({day:n,date:new Date(e,t,n),current:!0});let i=l.length%7==0?0:7-l.length%7;for(let n=1;n<=i;n++)l.push({day:n,date:new Date(e,t+1,n),current:!1});return l},[m]),S=(0,l.useCallback)((e,t)=>{if(!t)return!0;let n=p(e);return!!(o&&n<y||N.has(n))||!!w&&n<w||!!D&&n>D||!!c&&!c[v[e.getDay()]]},[o,y,N,w,D,c]);return(0,r.jsxs)("div",{className:"border border-[#DDD6FE] rounded-[16px] p-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-4 px-1",children:[(0,r.jsxs)("p",{className:"font-lufga font-medium text-[16px] leading-[24px] text-[#0a0a0a]",children:[f[m.getMonth()]," ",m.getFullYear()]}),(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)("button",{type:"button",onClick:()=>h(new Date(m.getFullYear(),m.getMonth()-1,1)),"aria-label":"Previous month",className:"w-8 h-8 rounded-full flex items-center justify-center text-[#525252] hover:bg-[#F3EEFE] hover:text-[#5B21B6] transition-colors",children:(0,r.jsx)(d.Z,{sx:{fontSize:20}})}),(0,r.jsx)("button",{type:"button",onClick:()=>
1h(new Date(m.getFullYear(),m.getMonth()+1,1)),"aria-label":"Next month",className:"w-8 h-8 rounded-full flex items-center justify-center border border-[#5B21B6] text-[#5B21B6] hover:bg-[#F3EEFE] transition-colors",children:(0,r.jsx)(u.Z,{sx:{fontSize:20}})})]})]}),(0,r.jsx)("div",{className:"grid grid-cols-7 mb-2",children:x.map(e=>(0,r.jsx)("p",{className:"text-center font-lufga text-[11px] font-medium text-[#525252] py-1",children:e},e))}),(0,r.jsx)("div",{className:"grid grid-cols-7 gap-1",children:j.map((e,a)=>{let{day:l,date:i,current:o}=e,s=S(i,o),d=p(i),u=t===d;return(0,r.jsx)("button",{type:"button",disabled:s,onClick:()=>!s&&n(d),className:["h-9 sm:h-10 w-full rounded-[8px] font-lufga text-sm font-medium transition-colors",u?"bg-[#5B21B6] text-white":s?"bg-[#f5f5f5] text-[#d4d4d4] cursor-not-allowed":"bg-[#f5f5f5] text-[#0a0a0a] hover:bg-[#F3EEFE] hover:text-[#5B21B6] cursor-pointer"].join(" "),children:l},a)})})]})},w=e=>{let{branchName:t}=e,n=(0,o.mB)(t||"");return n?(0,r.jsxs)("div",{className:"bg-[#F3EEFE] rounded-[16px] p-4 flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-10 h-10 bg-[#5B21B6] rounded-[10px] flex items-center justify-center shrink-0",children:(0,r.jsx)(c.Z,{sx:{fontSize:20,color:"#fff"}})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-lufga text-[14px] text-[#0a0a0a] leading-[20px]",children:"Want to schedule later? Skip this step and call us:"}),(0,r.jsxs)("a",{href:"tel:".concat(n.phone.replace(/\D/g,"")),className:"font-lufga font-medium text-[14px] text-[#5B21B6] leading-[20px] hover:underline",children:[n.name,": ",n.phone]})]})]}):null};var D=e=>{let{showModal:t,setShowModal:n,modalTitle:o="Book Your Appointment",dateStepTitle:u="Select an available date",dateStepDescription:c="Select an available date for your appointment",dateStepMeta:x,showCurrentTexasTime:f=!0,timeStepTitle:p="Choose your time slot",minDate:v,maxDate:D,unavailableDates:j,unavailableDateSlots:S=[],timeSlots:T=[],bookedSlots:k=[],extraDisabledSlots:Z=[],selectedData:E,onDateSelect:F,onTimeSelect:B,onConfirm:M,onCancel:C,handleFetchSlots:I,handleSkipSchedule:U,selectedBranchName:A,confirmButtonLabel:H="Book Now",skipButtonLabel:Y="Skip & Call Later",isLoading:z=!1,isFetchingSlots:L=!1,showSkipOption:P=!1,showBranchContact:W=!1,rescheduleWarningFee:X,selectedWeekdays:J}=e,[$,V]=(0,l.useState)("date"),[_,K]=(0,l.useState)(null),[O,Q]=(0,l.useState)("");(0,l.useEffect)(()=>{if(!f){Q("");return}let e=new Intl.DateTimeFormat("en-US",{timeZone:s.yK,month:"short",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0,timeZoneName:"short"}),t=()=>{Q("Current Texas time: ".concat(e.format(new Date)))};t();let n=window.setInterval(t,1e3);return()=>window.clearInterval(n)},[f]);let R=x||O,q=(0,l.useMemo)(()=>{let{dateStr:e,minutes:t}=g(),n=b(_||""),a=new Set(S.filter(e=>b(e.date)===n&&!!e.startTime&&!!e.endTime).map(e=>"".concat(y(e.startTime),"-").concat(y(e.endTime))));return T.map(n=>{let r=k.some(e=>e.bookingTimeStart===n.startTime&&e.bookingTimeEnd===n.endTime),l=Z.some(e=>e.bookingTimeStart===n.startTime&&e.bookingTimeEnd===n.endTime),i=a.has("".concat(y(n.startTime),"-").concat(y(n.endTime))),o=h(n.startTime),d=!!_&&_<e,u=!!_&&_===e&&null!==o&&o<=t,c=d||u;return{title:"".concat((0,s.cz)(n.startTime)," - ").concat((0,s.cz)(n.endTime)),value:n,isDisabled:r||l||c||i,isBooked:r,isInternallyBlocked:l,isManuallyUnavailable:i,isPast:c}})},[T,k,Z,_,S]),G=(0,l.useMemo)(()=>q.filter(e=>!e.isDisabled).length,[q]),ee=()=>{n(!1),V("date"),K(null),null==C||C()};return(0,l.useEffect)(()=>{t&&(V("date"),K(null))},[t]),(0,r.jsx)(a.Z,{showModal:t,setShowModal:ee,title:"date"===$?o:"Select Time Slot",contentStyles:{padding:"0"},children:(0,r.jsxs)("div",{className:"px-5 pb-6 space-y-5",children:["date"===$&&(0,r.jsxs)(r.Fragment,{children:[R?(0,r.jsx)("p",{className:"text-center font-lufga text-[13px] text-[#4C1D95] leading-[18px] -mt-1",children:R}):null,(0,r.jsxs)("p",{className:"text-center font-lufga text-[14px] text-[#525252] leading-[20px]",children:["Step 1 of 2:"," ",(0,r.jsx)("span",{className:"font-medium text-[#0a0a0a]",children:c})]}),(0,r.jsx)(N,{selectedDate:_,onSelect:e=>{K(e),F(e),V("time")},minDate:v,maxDate:D,disablePast:!0,unavailableDates:j,selectedWeekdays:J}),W&&(0,r.jsx)(w,{branchName:A}),(0,r.jsxs)("div",{className:"grid grid-cols-1 ".concat(P?"sm:grid-cols-2":"sm:grid-cols-1"," gap-3 pt-1"),children:[(0,r.jsx)("button",{type:"button",onClick:ee,className:"w-full border border-[#e5e5e5] rounded-full py-3 font-lufga font-medium text-[16px] text-[#0a0a0a] hover:bg-[#f5f5f5] transition-colors",children:"Cancel"}),P&&U&&(0,r.jsx)("button",{type:"button",onClick:()=>{ee(),U()},className:"w-full border border-[#e5e5e5] rounded-full py-3 font-lufga font-medium text-[16px] text-[#0a0a0a] hover:bg-[#f5f5f5] transition-colors",children:Y})]})]}),"time"===$&&(0,r.jsxs)(r.Fragment,{children:[R?(0,r.jsx)("p",{className:"text-center font-lufga text-[13px] text-[#4C1D95] leading-[18px] -mt-1",children:R}):null,(0,r.jsxs)("p",{className:"text-center font-lufga text-[14px] text-[#525252] leading-[20px]",children:["Step 2 of 2:"," ",(0,r.jsx)("span",{className:"font-medium text-[#0a0a0a]",children:p})]}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsxs)("button",{type:"button",onClick:()=>V("date"),className:"inline-flex items-center gap-1 bg-[#F3EEFE] border border-[#DDD6FE] rounded-full px-4 py-2 font-lufga font-medium text-[14px] text-[#5B21B6] hover:bg-[#F3EEFE] transition-colors",children:[(0,r.jsx)(d.Z,{sx:{fontSize:18}}),"Back to Date"]})}),_&&(0,r.jsxs)("div",{className:"bg-[#F3EEFE] border border-[#DDD6FE] rounded-[12px] px-4 py-3 flex items-center gap-3",children:[(0,r.jsx)(m.Z,{sx:{fontSize:20,color:"#5B21B6"}}),(0,r.jsxs)("p",{className:"font-lufga text-[13px] text-[#525252] uppercase tracking-wide leading-[18px]",children:["Selected Date:"," ",(0,r.jsx)("span",{className:"font-semibold text-[#0a0a0a] normal-case tracking-normal text-[14px]",children:(0,s.P$)((null==E?void 0:E.bookingDate)||_)})]})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("p",{className:"font-lufga font-semibold text-[18px] leading-[28px] text-[#0a0a0a]",children:"Available Time Slots"}),T.length>0?(0,r.jsxs)("p",{className:"font-lufga text-[13px] text-[#525252]",children:[G," slots available"]}):(0,r.jsx)("p",{className:"font-lufga text-[13px] text-red-500",children:"No slots — call to schedule"})]}),L?(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center py-10 gap-3",children:[(0,r.jsx)("div",{className:"w-8 h-8 border-4 border-[#5B21B6] border-t-transparent roun
1ded-full animate-spin"}),(0,r.jsx)("p",{className:"font-lufga text-[14px] text-[#525252]",children:"Loading available slots…"})]}):(0,r.jsx)("div",{className:"grid grid-cols-2 gap-3",children:q.map((e,t)=>(0,r.jsx)(i.Z,{title:e.isDisabled?e.isBooked?"Already booked":e.isManuallyUnavailable?"Unavailable on this date":e.isPast?"Time passed":"Not available":"",placement:"top",children:(0,r.jsx)("span",{className:"block w-full",children:(0,r.jsx)("button",{type:"button",disabled:e.isDisabled,onClick:()=>!e.isDisabled&&B(e.value),className:["w-full rounded-[12px] py-3 px-2 text-center font-lufga font-medium text-[14px] leading-[20px] transition-colors",(null==E?void 0:E.bookingTimeStart)===e.value.startTime?"bg-[#5B21B6] text-white":e.isDisabled?"bg-[#f5f5f5] text-[#d4d4d4] cursor-not-allowed":"bg-[#f5f5f5] text-[#0a0a0a] hover:bg-[#F3EEFE] hover:text-[#5B21B6] cursor-pointer"].join(" "),children:e.title})})},t))})]}),W&&(0,r.jsx)(w,{branchName:A}),X&&(null==E?void 0:E.bookingDate)&&(null==E?void 0:E.bookingTimeStart)&&(()=>{var e;let t=(null===(e=String(E.bookingDate).match(/^\d{4}-\d{2}-\d{2}/))||void 0===e?void 0:e[0])||String(E.bookingDate);return((0,s.Fx)(t,E.bookingTimeStart).getTime()-Date.now())/36e5<24?(0,r.jsxs)("div",{className:"flex items-start gap-2 bg-orange-50 border border-orange-200 rounded-xl px-4 py-3 text-sm text-orange-700",children:[(0,r.jsx)("span",{className:"mt-0.5 text-orange-500 flex-shrink-0",children:"⚠️"}),(0,r.jsxs)("span",{children:["This slot is within 24 hours. A ",(0,r.jsxs)("strong",{children:["$",X]})," reschedule fee will be charged."]})]}):null})(),(0,r.jsxs)("div",{className:"grid grid-cols-1 ".concat(P?"sm:grid-cols-3":"sm:grid-cols-2"," gap-3 pt-1"),children:[(0,r.jsx)("button",{type:"button",onClick:ee,className:"w-full border border-[#e5e5e5] rounded-full py-3 font-lufga font-medium text-[16px] text-[#0a0a0a] hover:bg-[#f5f5f5] transition-colors",children:"Cancel"}),P&&U&&(0,r.jsx)("button",{type:"button",onClick:()=>{ee(),U()},className:"w-full border border-[#e5e5e5] rounded-full py-3 font-lufga font-medium text-[16px] text-[#0a0a0a] hover:bg-[#f5f5f5] transition-colors",children:Y}),(0,r.jsx)("button",{type:"button",disabled:!(null==E?void 0:E.bookingTimeStart)||!(null==E?void 0:E.bookingTimeEnd)||z,onClick:M,className:"w-full bg-[#5B21B6] text-white rounded-full py-3 font-lufga font-medium text-[16px] hover:bg-[#4C1D95] transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:z?(0,r.jsx)("span",{className:"w-5 h-5 border-2 border-white border-t-transparent rounded-full animate-spin"}):H})]})]})]})})}},56188:function(e,t,n){n.d(t,{$_:function(){return a},O3:function(){return r},mB:function(){return l}});let a=[{name:"Irving, TX",phone:"(214) 230-7900",address:"2214 W Walnut Hill Ln, Irving TX 75038",email:"[email protected]",mapQuery:"https://share.google/cY3upRdVx2n0lng3z"},{name:"Valley ranch, TX",phone:"(214) 230-7900",address:"780 S MacArthur Blvd Suite 130, Valley ranch TX 75019",email:"[email protected]",mapQuery:"https://maps.app.goo.gl/B1J5JvvbX7Uc1fSdA"},{name:"Coppell, TX",phone:"(214) 230-7900",address:"780 S MacArthur Blvd Suite 130, Valley ranch TX 75019",email:"[email protected]",mapQuery:"https://maps.app.goo.gl/B1J5JvvbX7Uc1fSdA"}],r=e=>{if(!e)return a;let t=a.find(t=>t.name.toLowerCase()===e.toLowerCase());return t?[t,...a.filter(t=>t.name.toLowerCase()!==e.toLowerCase())]:a},l=e=>a.find(t=>t.name.toLowerCase()===e.toLowerCase())},17284:function(e,t,n){n.d(t,{Al:function(){return S},Fx:function(){return F},P$:function(){return b},Sp:function(){return D},T6:function(){return j},V9:function(){return u},_f:function(){return h},aT:function(){return T},ay:function(){return g},cz:function(){return Z},dU:function(){return E},f:function(){return v},kw:function(){return B},p6:function(){return w},qw:function(){return k},w6:function(){return N},yK:function(){return i}});var a=n(24110),r=n(67603),l=n(59918);let i="America/Chicago",o=e=>{let t=new Intl.DateTimeFormat("en-US",{timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(e).reduce((e,t)=>
1(e[t.type]=t.value,e),{});return new Date(parseInt(t.year),parseInt(t.month)-1,parseInt(t.day),parseInt(t.hour)%24,parseInt(t.minute),parseInt(t.second))},s="yyyy-MM-dd",d="MM/dd/yyyy",u="MM-DD-YYYY",c=/^\d{4}-\d{2}-\d{2}$/,m=/^(\d{4}-\d{2}-\d{2})/,x=e=>{var t,n,a;let r=null!==(n=null==e?void 0:null===(t=e.trim)||void 0===t?void 0:t.call(e))&&void 0!==n?n:"";if(!r)return null;let l=r.match(m);return null!==(a=null==l?void 0:l[1])&&void 0!==a?a:null},f=e=>{let t=new Intl.DateTimeFormat("en-US",{timeZone:i,year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(e),n=e=>{var n;return(null===(n=t.find(t=>t.type===e))||void 0===n?void 0:n.value)||""};return{year:n("year"),month:n("month"),day:n("day")}},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,{year:t,month:n,day:a}=f(e);return"".concat(t,"-").concat(n,"-").concat(a)},h=()=>p(new Date),g=e=>{let[t,n,a]=h().split("-").map(Number);return p(new Date(Date.UTC(t,n-1,a+e,12,0,0)))},b=e=>{if(!e)return"";let t=x(e);if(t){let n=(0,a.Z)(t,s,new Date);return Number.isNaN(n.getTime())?e:(0,r.Z)(n,d)}if(c.test(e)){let t=(0,a.Z)(e,s,new Date);return Number.isNaN(t.getTime())?e:(0,r.Z)(t,d)}let n=y(e);return n?(0,r.Z)(n,d):e},y=e=>{if(e instanceof Date)return Number.isNaN(e.getTime())?null:o(e);if(!e)return null;if(c.test(e)){let t=(0,a.Z)(e,s,new Date);return Number.isNaN(t.getTime())?null:t}let t=(0,l.Z)(e);if(!Number.isNaN(t.getTime()))return o(t);let n=new Date(e);return Number.isNaN(n.getTime())?null:o(n)},v=e=>new Date(e).toLocaleDateString("en-US",{timeZone:i,year:"numeric",month:"long",day:"numeric"}),N=e=>{let t=e.month.padStart(2,"0"),n=e.day.padStart(2,"0");return"".concat(e.year,"-").concat(t,"-").concat(n)},w=e=>(()=>{let t=x(e);if(t)return t;let n=y(e);return n?(0,r.Z)(n,s):""})(),D=e=>(()=>{let t=x(e);if(t){let e=(0,a.Z)(t,s,new Date);return Number.isNaN(e.getTime())?"":(0,r.Z)(e,d)}let n=y(e);return n?(0,r.Z)(n,d):""})(),j=e=>{try{let t=y(e);if(!t)return"";return(0,r.Z)(t,"MM/dd/yyyy - hh:mm a")}catch(e){return""}},S=(e,t,n)=>{if(!e||!t||!n)return"";let l=e=>(0,r.Z)((0,a.Z)(e,"HH:mm",new Date),"hh:mm a"),i=l(t),o=l(n),s=D(e);return"".concat(s,", ").concat(i," - ").concat(o)},T=e=>{let{month:t,day:n,year:a}=e;return"".concat(t.padStart(2,"0"),"-").concat(n.padStart(2,"0"),"-").concat(a)},k=e=>{let[t,n,a]=e.trim().replace(/\//g,"-").split("-"),r=(null==t?void 0:t.length)===4;return{month:(r?n:t).padStart(2,"0"),day:(r?a:n).padStart(2,"0"),year:r?t:a}},Z=e=>{try{return(0,r.Z)((0,a.Z)(e,"HH:mm",new Date),"h:mm a")}catch(t){return e}},E=(e,t,n)=>{if(!e||!t||"active"!==n)return n;try{let r=x(e)||e,l=(0,a.Z)("".concat(r," ").concat(t),"yyyy-MM-dd HH:mm",new Date);if(o(new Date)>l)return"completed";return n}catch(e){return n}},F=(e,t)=>{let n=new Date("".concat(e,"T12:00:00.000Z")),a=parseInt(new Intl.DateTimeFormat("en-US",{timeZone:i,hour:"2-digit",hour12:!1}).format(n),10),[r,l]=t.split(":").map(Number),o=new Date("".concat(e,"T00:00:00.000Z"));return o.setUTCHours(r+(12-a),l,0,0),o},B=(e,t)=>{if(!e||!t)return!1;try{let n=x(e)||e;return F(n,t).getTime()<=Date.now()}catch(e){return!1}}}}]);

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.