1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8871],{20183:function(e,a,t){t.d(a,{AccessarideForm:function(){return h}});var r,i,n,s,l=t(22114),o=t(47155),d=t(69033),c=t(99048),u=t(78554),m=t(20751);(r=n||(n={})).MT="Monday - Thursday",r.FR="Friday",r.SA="Saturday",r.SU="Sunday/Holiday",(i=s||(s={})).Available="Access-a-Ride service is available",i.NotAvailable="Access-a-Ride service is not available",i.CanNotReach="We can't reach our lookup service right now.",i.Error="An Error Has Occurred",i.Address="Address",i.City="City",i.ZipCode="Zip Code",i.DepartureDay="Departure Day",i.Minutes="Minutes",i.Hour="Hour",i.AmOrPm="AM or PM",i.Search="Search for Access-a-Ride",i.AM="AM",i.PM="PM",i.Warning="Warning";let h=()=>{let{translate:e,queueTranslations:a}=(0,m.$G)(),t=(0,o.useMemo)(()=>[{label:e(n[u.wH.MondayThursday]),value:u.wH.MondayThursday},{label:e(n[u.wH.Friday]),value:u.wH.Friday},{label:e(n[u.wH.Saturday]),value:u.wH.Saturday},{label:e(n[u.wH.Sunday]),value:u.wH.Sunday}],[e]),r=(0,o.useMemo)(()=>[{label:e(s.AM),value:"AM"},{label:e(s.PM),value:"PM"}],[e]),[i,h]=(0,o.useState)(!1),[p,g]=(0,o.useState)(null),[x,y]=(0,o.useState)(!1),[v,b]=(0,o.useState)(""),[f,j]=(0,o.useState)(t[0].value),[N,C]=(0,o.useState)(s.PM),[D,A]=(0,o.useState)("00"),S=async e=>{e.preventDefault(),h(!0);let a=e.currentTarget,t=a.action,r=new FormData(a),i=new URL(t),n=new URLSearchParams(r);n.set("departureDay",f),n.set("meridiem",N),n.set("min",D);let s=await fetch(`${i}?${n}`);if(s.ok){let e=await s.json();g(e.status),b(e.message),y(e.available)}else g(s.status);h(!1)},E=(0,o.useCallback)(()=>200===p?x?e(s.Available):e(s.NotAvailable):e(s.Warning),[p,x,e]),P=(0,o.useCallback)((a,t)=>{switch(a){case 200:return t;case 403:return e(s.CanNotReach);case 400:case 500:return t||e(s.Error);default:return e(s.Error)}},[e]);return(0,o.useEffect)(()=>{a([...Object.values(n),...Object.values(s)])}),(0,l.jsxs)("form",{className:"flex flex-col gap-6 @container",action:"/api/accessaride",method:"get",onSubmit:S,children:[(0,l.jsx)(d.Wi,{label:e(s.Address),name:"street",required:!0}),(0,l.jsxs)("div",{className:"flex gap-6 [&>div]:grow",children:[(0,l.jsx)(d.Wi,{label:e(s.City),name:"city",required:!0}),(0,l.jsx)(d.Wi,{label:e(s.ZipCode),name:"zip",required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col @xl:flex-row gap-6 [&>div]:grow [&>div]:basis-0",children:[(0,l.jsx)(d.Fj,{label:e(s.DepartureDay),options:t,value:f,defaultValue:f,onChange:e=>j(e),fullWidth:!0}),(0,l.jsxs)("div",{className:"flex gap-6 [&>div]:basis-0",children:[(0,l.jsx)(d.Wi,{label:e(s.Hour),type:"number",name:"hour",required:!0,min:1,max:12,autoComplete:"off",inputMode:"numeric",grow:!0}),(0,l.jsx)("div",{className:"grow",children:(0,l.jsx)(d.Fj,{fullWidth:!0,label:e(s.Minutes),options:[{label:":00",value:"00"},{label:":15",value:"15"},{label:":30",value:"30"},{label:":45",value:"45"}],value:D,defaultValue:D,onChange:A})}),(0,l.jsx)("div",{className:"grow",children:(0,l.jsx)(d.Fj,{label:e(s.AmOrPm),options:r,value:N,defaultValue:N,onChange:C})})]})]}),(0,l.jsx)(d.zx,{className:"justify-center font-bold",type:"submit",busy:i,children:e(s.Search)}),p&&(0,l.jsx)(c.w,{status:x?c.l.Success:c.l.Error,message:E(),children:P(p,v)})]})}},14712:function(e,a,t){t.r(a),t.d(a,{CustomerCommentsForm:function(){return ed}});var r,i,n,s,l,o,d,c=t(22114),u=t(47155),m=t(83624),h=t(74759),p=t(27125),g={"How can we help you?":"How can we help you?",Question:"Question","Please tell us why you are writing to us today":"Please tell us why you are writing to us today","Please tell us here if you have any questions or comments, and we'll be in touch shortly.":"Please tell us here if you have any questions or comments, and we'll be in touch shortly.","What is your trip planner feedback?":"What is your trip planner feedback?",Description:"Description","Contact information":"Contact information",Email:"Email","First name":"First name","Last name":"Last name","Address line 1":"Address line 1","Address line 2":"Address line 2",City:"City",Zip:"Zip",State:"State",Phone:"Phone","Please fill out this field":"Please fill out this field","Submit your comment":"Submit your comment","By clicking submit you acknowledge that you have read and understand our ":"By clicking submit you acknowledge that you have read and understand our ","Privacy Policy":"Privacy Policy","If this is an emergency please contact 911 or RTD Transit Police at 303.299.2911":"If this is an emergency please contact 911 or RTD Transit Police at 303.299.2911","Terms of Use":"Terms of Use","Please check the fields":"Please check the fields","Submitted Successfully":"Submitted Successfully",Complaint:"Complaint",Suggestion:"Suggestion",Commendation:"Commendation","
1Lost and Found":"Lost and Found","Feedback on RTD Schedules or Routing":"Feedback on RTD Schedules or Routing","Address or General Complaint Location":"Address or General Complaint Location"," and ":" and ","Person discriminated against (if other than complainant)":"Person discriminated against (if other than complainant)",Name:"Name","Title VI Complaint":"Title VI Complaint","What was the discrimination based on? (Check all that apply)":"What was the discrimination based on? (Check all that apply)",Race:"Race",Color:"Color",Sex:"Sex","Marital Status":"Marital Status","Sexual Orientation":"Sexual Orientation",Disability:"Disability","National Origin":"National Origin","Gender Identity":"Gender Identity",Ancestry:"Ancestry",Creed:"Creed","Gender Expression":"Gender Expression","Date of incident resulting in discrimination":"Date of incident resulting in discrimination","What RTD representatives were involved?":"What RTD representatives were involved?","Where did the incident take place? Please provide location, bus number, etc.":"Where did the incident take place? Please provide location, bus number, etc.","Route Number":"Route Number","Boarding Location":"Boarding Location","Occurrence Location":"Occurrence Location","Direction of Travel":"Direction of Travel","Specific Date of Service Experience":"Specific Date of Service Experience","Vehicle Number":"Vehicle Number","Employee Number":"Employee Number","Driver Name":"Driver Name","Driver Badge Number":"Driver Badge Number","Witnesses? Please provide their contact information.":"Witnesses? Please provide their contact information.",Witness:"Witness","Security Concern":"Security Concern","Title VI, CRS, Discrimination Complaint":"Title VI, CRS, Discrimination Complaint","Thank you for writing to the RTD Transit Police Department. We take your safety while utilizing RTD transit as the upmost importance. A member of our department will reach out to you as soon as possible to address your concerns. If this is an emergency, please call 911 or the Transit Police Department at 303.299.2911":"Thank you for writing to the RTD Transit Police Department. We take your safety while utilizing RTD transit as the upmost importance. A member of our department will reach out to you as soon as possible to address your concerns. If this is an emergency, please call 911 or the Transit Police Department at 303.299.2911","Thank you for submitting your complaint. RTD is committed to building a transit system free of discrimination and unfair treatment, and we take complaints seriously. RTD will review the complaint and contact you shortly.":"Thank you for submitting your complaint. RTD is committed to building a transit system free of discrimination and unfair treatment, and we take complaints seriously. RTD will review the complaint and contact you shortly.",Northbound:"Northbound",Southbound:"Southbound",Eastbound:"Eastbound",Westbound:"Westbound","Monday - Thursday":"Monday - Thursday",Saturday:"Saturday",Sunday:"Sunday",Holiday:"Holiday",Destination:"Destination","Did you file this complaint with another federal, state, or local agency; or with a federal or state court? Check each agency a complaint was filed with:":"Did you file this complaint with another federal, state, or local agency; or with a federal or state court? Check each agency a complaint was filed with:","Federal Court":"Federal Court","Federal Agency":"Federal Agency","Local Agency":"Local Agency","State Agency":"State Agency","State Court":"State Court",Other:"Other","Agency Contact Information":"Agency Contact Information","Agency Name":"Agency Name","Agency Address":"Agency Address","Agency City":"Agency City","Agency Zip":"Agency Zip","Agency State":"Agency State","Date filed":"Date filed","Question about RTD MyRide":"Question about RTD MyRide","Service Development":"Service Development","We do our best to stay on schedule, but sometimes your bus or train may arrive late. Delays are most often caused by situations that all road users in a large metro area will encounter. If your bus was late by ten minutes or more, or your train by more than five minutes, we'll research the cause of the delay and our Bus or Rail Operations team will use the information to continuously improve our service.":"We do our best to stay on schedule, but sometimes your bus or train may arrive late. Delays are most often caused by situations that all road users in a large metro area will encounter. If your bus was late by ten minutes or more, or your train by more than five minutes, we'll research the cause of the delay and our Bus or Rail Operations team will use the information to continuously improve our service.","Date of Occurrence":"Date of Occurrence","Time of Occurrence":"Time of Occurrence","Time of Day":"Time of Day","Does this complaint relate to discrimination based on a disability?":"Does this complaint relate to discrimination based on a disability?","What is your complaint?":"What is your complaint?","What is your suggestion?":"What is your suggestion?","Who or what would you like to commend?":"Who or what would you like to commend?","Type of item":"Type of item","Transfer to Bus or Light Rail Line, If Applicable":"Transfer to Bus or Light Rail Line, If Applicable","Transfer from Bus or Light Rail Line, If Applicable":"Transfer from Bus or Light Rail Line, If Applicable",Backpack:"Backpack",Bike:"Bike",Glasses:"Glasses",Gloves:"Gloves","ID or License":"ID or License",Umnbrella:"Umnbrella","Wallet or Purse":"Wallet or Purse","Describe, in detail, your lost or found item.":"Describe, in detail, your lost or found item.","We do our best to stay on schedule, but sometimes your vehicle may arrive late. Delays are most often caused by situations that all road users in a large metro area will encounter. If your vehicle was late by ten minutes or more, we'll research the cause of the delay and our team will use the information to continuously improve our service.":"We do our best to stay on schedule, but sometimes your vehicle may arrive late. Delays are most often caused by situations that all road users in a large metro area will encounter. If your vehicle was late by ten minutes or more, we'll research the cause of the delay and our team will use the information to continuously improve our service.","Client ID":"Client ID","What is your comment?":"What is your comment?","What is your question?":"What is your question?",
1None:"None","Describe how you were discriminated against.":"Describe how you were discriminated against.","Location of the Problem":"Location of the Problem","Description of the Problem":"Description of the Problem","Date of Problem (if applicable)":"Date of Problem (if applicable)","Time of Occurrence (if applicable)":"Time of Occurrence (if applicable)","Vehicle Number (if applicable)":"Vehicle Number (if applicable)","Note: To include photo(s) of the problem please reply to the acknowledgement email with the attachments after submitting this form.":"Note: To include photo(s) of the problem please reply to the acknowledgement email with the attachments after submitting this form."},x=t(69033),y=t(35306),v=t(57039),b=t(29708);let f={Question:"Question",Complaint:"Complaint",Suggestion:"Suggestion",Commendation:"Commendation",LostAndFound:"Lost and Found",AccessARide:"AaR/AoD",MyRideQuestion:"Question about RTD MyRide",TitleVI:"Title VI",Security:"Security",TripPlannerFeedback:"Feedback on Trip Planner",ServiceDevelopment:"Service Development",OneRTDCare:"OneRTD Care"},j=[{label:"Question",value:f.Question,id:"comment-question"},{label:"Complaint",value:f.Complaint,id:"comment-complaint"},{label:"Suggestion",value:f.Suggestion,id:"comment-suggestion"},{label:"Commendation",value:f.Commendation,id:"comment-commendation"},{label:"Lost and Found",value:f.LostAndFound,id:"comment-lostandfound"},{label:"Access-a-Ride/Access-on-Demand",value:f.AccessARide,id:"comment-accessaride"}],N=[{label:"Question about RTD MyRide",value:f.MyRideQuestion,id:"comment-mobileticketingquestion"},{label:"Title VI, CRS, Discrimination Complaint",value:f.TitleVI,id:"comment-titlevi"},{label:"Security Concern",value:f.Security,id:"comment-security"},{label:"Feedback on Trip Planner",value:f.TripPlannerFeedback,id:"comment-tripplanner"},{label:"Service Development",value:f.ServiceDevelopment,id:"comment-service-development"},{label:"OneRTD Care",value:f.OneRTDCare,id:"comment-one-rtd-care"}];(r=s||(s={})).CommentType="question",r.Description="description",r.Email="email",r.Phone="phone",r.Zip="00N3u00000PhsbB",r.Address1="00N3u00000Phsb2",r.Address2="00N3u00000Phsb3",r.City="00N3u00000Phsb4",r.FirstName="00N3u00000Phsb5",r.LastName="00N3u00000Phsb6",r.State="00N3u00000Phsb9",r.ReCaptcha="reCaptcha",r.OccurrenceDate="00N3u00000PiJ6g",r.OccurrenceTime="00N3u00000PiJ6l",r.RouteNumber="00N3u00000PhwBH",r.BoardingLocation="00N3u00000Phsae",r.OccurrenceLocation="00N3u00000Phsac",r.DirectionOfTravel="00N3u00000Phsb7",r.Destination="00N3u00000PhsaQ",r.VehicleNumber="00N3u00000PhsbA",r.DriverName="00N3u00000PhsaS",r.DriverBadgeNumber="00N3u00000PhsaK",r.Discrimination="disability",r.ClientId="00N3u00000PhsaJ",r.LostAndFound="00N3u00000Phsas",r.Subject="subject",r.Company="company",r.TripPlannerDescription="tripPlannerDescription",(i=l||(l={})).DiscriminatedName="00NDp00000ByuqU",i.DiscriminatedStreetAddress="00NDp00000ByuqZ",i.DiscriminatedStreetAddress2="00NDp00000Byuqe",i.DiscriminatedCity="00NDp00000Byuqj",i.DiscriminatedState="00NDp00000Byuqo",i.DiscriminatedZip="00NDp00000Byuqt",i.DiscriminatedPhone="00NDp00000Byuqy",i.DiscriminatedEmail="00NDp00000Byur3",i.Race="race",i.Color="color",i.NationalOrigin="nationalOrigin",i.Creed="creed",i.Sex="sex",i.SexualOrientation="sexualOrientation",i.GenderIdentity="genderIdentity",i.GenderExpression="genderExpression",i.MaritalStatus="maritalStatus",i.Ancestry="ancestry",i.InvolvedRTDRepresentatives="00NDp00000Byus1",i.IncidentLocation="00NDp00000Byus6",i.Witness1Name="00NDp00000ByusL",i.Witness1Address1="00NDp00000ByusQ",i.Witness1Address2="00NDp00000Byusz",i.Witness1City="00NDp00000Byut4",i.Witness1State="00NDp00000Byut9",i.Witness1Zip="00NDp00000ByutE",i.Witness1Phone="00NDp00000ByutJ",i.Witness1Email="00NDp00000ByutO",i.Witness2Name="00NDp00000ByutT",i.Witness2Address1="00NDp00000ByutY",i.Witness2Address2="00NDp00000Byutd",i.Witness2City="00NDp00000Byuti",i.Witness2State="00NDp00000Byutn",i.Witness2Zip="00NDp00000Byuts",i.Witness2Phone="00NDp00000Byutx",i.Witness2Email="00NDp00000Byuu2",i.Witness3Name="00NDp00000ByuuH",i.Witness3Address1="00NDp00000Byuu7",i.Witness3Address2="00NDp00000ByuuC",i.Witness3City="00NDp00000ByuuM",i.Witness3State="00NDp00000ByuuR",i.Witness3Zip="00NDp00000ByuuW",i.Witness3Phone="00NDp00000Byuug",i.Witness3Email="00NDp00000Byuub",i.FederalAgency="federalAgency",i.StateAgency="stateAgency",i.LocalAgency="localAgency",i.FederalCourt="federalCourt",i.StateCourt="stateCourt",i.None="none",i.Other="other",i.AgencyName="00NDp00000Byuve",i.AgencyAddress1="00NDp00000Byuvj",i.AgencyAddress2="00NDp00000Byuvo",i.AgencyCity="00NDp00000Byuvt",i.AgencyState="00NDp00000ByuwS",i.AgencyZip="00NDp00000ByuwX",i.DateFiled="agencyDateFiled",(n=o||(o={})).ServiceDay="00NUl00000BB5vh",n.TransferToBusRailLine="00NUl00000BB37h",n.TransferFromBusRailLine="00NUl00000BB1Dv",(d||(d={})).ProblemLocation="00NUl00000EfFCn";
1let C=[{label:"No",value:"0",id:"disabilityNo"},{label:"Yes",value:"1",id:"disabilityYes"}],D=[{label:"Northbound",value:"northbound"},{label:"Eastbound",value:"eastbound"},{label:"Westbound",value:"westbound"},{label:"Southbound",value:"southbound"}],A=[{label:"Monday-Thursday",value:"monday-thursday"},{label:"Friday",value:"friday"},{label:"Saturday",value:"saturday"},{label:"Sunday/Holiday",value:"sunday/holiday"}],S=[{label:"Backpack",value:"backpack"},{label:"Bike",value:"bike"},{label:"Glasses",value:"glasses"},{label:"Gloves",value:"gloves"},{label:"ID or License",value:"id"},{label:"Phone",value:"phone"},{label:"Umbrella",value:"umbrella"},{label:"Wallet or Purse",value:"wallet/purse"},{label:"Other",value:"other"}],E=e=>{let{control:a,errors:t,register:r,stateList:i,translate:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"space-y-2 flex flex-col gap-5",children:[(0,c.jsx)("p",{children:n("We do our best to stay on schedule, but sometimes your vehicle may arrive late. Delays are most often caused by situations that all road users in a large metro area will encounter. If your vehicle was late by ten minutes or more, we'll research the cause of the delay and our team will use the information to continuously improve our service.")}),(0,c.jsx)(x.Wi,{label:n("Client ID"),required:!0,hasError:s.ClientId in t,...r(s.ClientId)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("Date of Occurrence"),type:"date",min:"2015-01-01",hasError:s.OccurrenceDate in t,...r(s.OccurrenceDate)}),(0,c.jsx)(x.Wi,{required:!0,label:n("Time of Occurrence"),type:"time",hasError:s.OccurrenceTime in t,...r(s.OccurrenceTime)})]}),(0,c.jsx)(x.Wi,{label:n("Boarding Location"),hasError:s.BoardingLocation in t,...r(s.BoardingLocation)}),(0,c.jsx)(x.Wi,{label:n("Occurrence Location"),hasError:s.OccurrenceLocation in t,...r(s.OccurrenceLocation)}),(0,c.jsx)(x.Wi,{label:n("Destination"),hasError:s.Destination in t,...r(s.Destination)}),(0,c.jsx)(x.Wi,{label:n("Vehicle Number"),hasError:s.VehicleNumber in t,maxLength:15,...r(s.VehicleNumber)}),(0,c.jsx)(x.Wi,{label:n("Driver Name"),hasError:s.DriverName in t,...r(s.DriverName)})]}),(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:n("What is your comment?"),required:!0,hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.Description)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("Email"),type:"email",hasError:s.Email in t,...r(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("First name"),hasError:s.FirstName in t,...r(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:n("Last name"),hasError:s.LastName in t,...r(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:n("Address line 1"),hasError:s.Address1 in t,...r(s.Address1)}),(0,c.jsx)(x.Wi,{label:n("Address line 2"),hasError:s.Address2 in t,...r(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:n("City"),hasError:s.City in t,...r(s.City)}),(0,c.jsx)(x.Wi,{label:n("Zip"),hasError:s.Zip in t,...r(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:n("State"),options:i,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:n("Phone"),type:"tel",hasError:s.Phone in t,...r(s.Phone)})})]})]})]})},P=e=>{let{control:a,DirectionOfTravelOptions:t,errors:r,register:i,stateList:n,translate:l}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"space-y-2 flex flex-col gap-5",children:[(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:l("Date of Occurrence"),type:"date",min:"2015-01-01",hasError:s.OccurrenceDate in r,...i(s.OccurrenceDate)}),(0,c.jsx)(x.Wi,{required:!0,label:l("Time of Occurrence"),type:"time",hasError:s.OccurrenceTime in r,...i(s.OccurrenceTime)})]}),(0,c.jsx)(x.Wi,{label:l("Route Number"),hasError:s.RouteNumber in r,...i(s.RouteNumber)}),(0,c.jsx)(x.Wi,{label:l("Boarding Location"),hasError:s.BoardingLocation in r,...i(s.BoardingLocation)}),(0,c.jsx)(x.Wi,{label:l("Occurrence Location"),hasError:s.OccurrenceLocation in r,...i(s.OccurrenceLocation)}),(0,c.jsx)(v.Qr,{control:a,name:s.DirectionOfTravel,defaultValue:"northbound",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:l("Direction of Travel"),options:t,defaultValue:"northbound",value:a.value||"northbound",onChange:a.onChange,name:a.name})}}),(0,c.jsx)(x.Wi,{label:l("Destination"),hasError:s.Destination in r,...i(s.Destination)}),(0,c.jsx)(x.Wi,{label:l("Vehicle Number"),hasError:s.VehicleNumber in r,maxLength:15,...i(s.VehicleNumber)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:l("Driver Name"),hasError:s.DriverName in r,...i(s.DriverName)}
1),(0,c.jsx)(x.Wi,{label:l("Driver Badge Number"),hasError:s.DriverBadgeNumber in r,...i(s.DriverBadgeNumber)})]})]}),(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:l("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:l("Who or what would you like to commend?"),required:!0,hasError:s.Description in r,handleChange:a.onChange,value:a.value,...i(s.Description)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:l("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:l("Email"),type:"email",hasError:s.Email in r,...i(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:l("First name"),hasError:s.FirstName in r,...i(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:l("Last name"),hasError:s.LastName in r,...i(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:l("Address line 1"),hasError:s.Address1 in r,...i(s.Address1)}),(0,c.jsx)(x.Wi,{label:l("Address line 2"),hasError:s.Address2 in r,...i(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:l("City"),hasError:s.City in r,...i(s.City)}),(0,c.jsx)(x.Wi,{label:l("Zip"),hasError:s.Zip in r,...i(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:l("State"),options:n,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:l("Phone"),type:"tel",hasError:s.Phone in r,...i(s.Phone)})})]})]})]})},w=e=>{let{control:a,DirectionOfTravelOptions:t,DiscriminationOptions:r,errors:i,register:n,stateList:l,translate:o}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"space-y-2 flex flex-col gap-5",children:[(0,c.jsx)("p",{children:o("We do our best to stay on schedule, but sometimes your bus or train may arrive late. Delays are most often caused by situations that all road users in a large metro area will encounter. If your bus was late by ten minutes or more, or your train by more than five minutes, we'll research the cause of the delay and our Bus or Rail Operations team will use the information to continuously improve our service.")}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("Date of Occurrence"),type:"date",min:"2015-01-01",hasError:s.OccurrenceDate in i,...n(s.OccurrenceDate)}),(0,c.jsx)(x.Wi,{required:!0,label:o("Time of Occurrence"),type:"time",hasError:s.OccurrenceTime in i,...n(s.OccurrenceTime)})]}),(0,c.jsx)(x.Wi,{label:o("Route Number"),hasError:s.RouteNumber in i,...n(s.RouteNumber)}),(0,c.jsx)(x.Wi,{label:o("Boarding Location"),hasError:s.BoardingLocation in i,...n(s.BoardingLocation)}),(0,c.jsx)(x.Wi,{label:o("Occurrence Location"),hasError:s.OccurrenceLocation in i,...n(s.OccurrenceLocation)}),(0,c.jsx)(v.Qr,{control:a,name:s.DirectionOfTravel,defaultValue:"northbound",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("Direction of Travel"),options:t,defaultValue:"northbound",value:a.value||"northbound",onChange:a.onChange,name:a.name})}}),(0,c.jsx)(x.Wi,{label:o("Destination"),hasError:s.Destination in i,...n(s.Destination)}),(0,c.jsx)(x.Wi,{label:o("Vehicle Number"),hasError:s.VehicleNumber in i,maxLength:15,...n(s.VehicleNumber)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:o("Driver Name"),hasError:s.DriverName in i,...n(s.DriverName)}),(0,c.jsx)(x.Wi,{label:o("Driver Badge Number"),hasError:s.DriverBadgeNumber in i,...n(s.DriverBadgeNumber)})]}),(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Does this complaint relate to discrimination based on a disability?")}),(0,c.jsx)(v.Qr,{control:a,name:s.Discrimination,defaultValue:"0",render:()=>(0,c.jsx)(c.Fragment,{children:r.map(e=>(0,c.jsx)(x.Y8,{label:o(e.label),value:e.value,...n(s.Discrimination)},e.id))})})]})]}),(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:o("What is your complaint?"),required:!0,hasError:s.Description in i,handleChange:a.onChange,value:a.value,...n(s.Description)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("Email"),type:"email",hasError:s.Email in i,...n(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("First name"),hasError:s.FirstName in i,...n(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:o("Last name"),hasError:s.LastName in i,...n(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:o("Address line 1"),hasError:s.Address1 in i,...n(s.Address1)}),(0,c.jsx)(x.Wi,{label:o("Address line 2"),hasError:s.Address2 in i,...n(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:o("City"),hasError:s.City in i,...n(s.City)}),(0,c.jsx)(x.Wi,{label:o("Zip"),hasError:s.Zip in i,...n(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("State"),options:l,defaultValue:"CO",value:a.value||"CO",onCh
1ange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:o("Phone"),type:"tel",hasError:s.Phone in i,...n(s.Phone)})})]})]})]})},O=e=>{let{control:a,DirectionOfTravelOptions:t,errors:r,LostAndFoundItems:i,register:n,stateList:l,translate:o}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"space-y-2 flex flex-col gap-5",children:[(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("Date of Occurrence"),type:"date",min:"2015-01-01",hasError:s.OccurrenceDate in r,...n(s.OccurrenceDate)}),(0,c.jsx)(x.Wi,{required:!0,label:o("Time of Occurrence"),type:"time",hasError:s.OccurrenceTime in r,...n(s.OccurrenceTime)})]}),(0,c.jsx)(x.Wi,{label:o("Route Number"),hasError:s.RouteNumber in r,required:!0,...n(s.RouteNumber)}),(0,c.jsx)(x.Wi,{label:o("Boarding Location"),hasError:s.BoardingLocation in r,...n(s.BoardingLocation)}),(0,c.jsx)(x.Wi,{label:o("Occurrence Location"),hasError:s.OccurrenceLocation in r,...n(s.OccurrenceLocation)}),(0,c.jsx)(v.Qr,{control:a,name:s.DirectionOfTravel,defaultValue:"northbound",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("Direction of Travel"),options:t,defaultValue:"northbound",value:a.value||"northbound",onChange:a.onChange,name:a.name})}}),(0,c.jsx)(x.Wi,{label:o("Destination"),hasError:s.Destination in r,...n(s.Destination)}),(0,c.jsx)(x.Wi,{label:o("Vehicle Number"),hasError:s.VehicleNumber in r,maxLength:15,...n(s.VehicleNumber)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:o("Driver Name"),hasError:s.DriverName in r,...n(s.DriverName)}),(0,c.jsx)(x.Wi,{label:o("Driver Badge Number"),hasError:s.DriverBadgeNumber in r,...n(s.DriverBadgeNumber)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.LostAndFound,defaultValue:"backpack",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("Type of item"),options:i,defaultValue:"backpack",value:a.value||"backpack",onChange:a.onChange,name:a.name})}})]}),(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:o("Describe, in detail, your lost or found item."),required:!0,hasError:s.Description in r,handleChange:a.onChange,value:a.value,...n(s.Description)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("Email"),type:"email",hasError:s.Email in r,...n(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("First name"),hasError:s.FirstName in r,...n(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:o("Last name"),hasError:s.LastName in r,...n(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:o("Address line 1"),hasError:s.Address1 in r,...n(s.Address1)}),(0,c.jsx)(x.Wi,{label:o("Address line 2"),hasError:s.Address2 in r,...n(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:o("City"),hasError:s.City in r,...n(s.City)}),(0,c.jsx)(x.Wi,{label:o("Zip"),hasError:s.Zip in r,...n(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("State"),options:l,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:o("Phone"),type:"tel",hasError:s.Phone in r,...n(s.Phone)})})]})]})]})},W=e=>{let{control:a,errors:t,register:r,stateList:i,translate:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:n("What is your comment?"),required:!0,hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.Description)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("Email"),type:"email",hasError:s.Email in t,...r(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("First name"),hasError:s.FirstName in t,...r(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:n("Last name"),hasError:s.LastName in t,...r(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:n("Address line 1"),hasError:s.Address1 in t,...r(s.Address1)}),(0,c.jsx)(x.Wi,{label:n("Address line 2"),hasError:s.Address2 in t,...r(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:n("City"),hasError:s.City in t,...r(s.City)}),(0,c.jsx)(x.Wi,{label:n("Zip"),hasError:s.Zip in t,...r(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:n("State"),options:i,defaultValue:"CO",value:a.value||"CO",onCh
1ange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:n("Phone"),type:"tel",hasError:s.Phone in t,...r(s.Phone)})})]})]})]})},L=e=>{let{control:a,errors:t,register:r,stateList:i,translate:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:n("What is your question?"),required:!0,hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.Description)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("Email"),type:"email",hasError:s.Email in t,...r(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("First name"),hasError:s.FirstName in t,...r(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:n("Last name"),hasError:s.LastName in t,...r(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:n("Address line 1"),hasError:s.Address1 in t,...r(s.Address1)}),(0,c.jsx)(x.Wi,{label:n("Address line 2"),hasError:s.Address2 in t,...r(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:n("City"),hasError:s.City in t,...r(s.City)}),(0,c.jsx)(x.Wi,{label:n("Zip"),hasError:s.Zip in t,...r(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:n("State"),options:i,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:n("Phone"),type:"tel",hasError:s.Phone in t,...r(s.Phone)})})]})]})]})},T=e=>{let{control:a,errors:t,register:r,translate:i}=e;return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("fieldset",{id:"contactinfo",className:"space-y-2",children:(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{label:i("Subject"),hasError:s.Subject in t,...r(s.Subject)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:i("First name"),hasError:s.FirstName in t,...r(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:i("Last name"),hasError:s.LastName in t,...r(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:i("Company"),hasError:s.Company in t,...r(s.Company)}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:i("Phone"),type:"tel",hasError:s.Phone in t,...r(s.Phone)})}),(0,c.jsx)(x.Wi,{required:!0,label:i("Email"),type:"email",hasError:s.Email in t,...r(s.Email)}),(0,c.jsx)(x.Wi,{required:!0,label:i("Address or General Complaint Location"),hasError:s.OccurrenceLocation in t,...r(s.OccurrenceLocation)}),(0,c.jsx)("fieldset",{className:"space-y-2",children:(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{required:!0,label:i("Please tell us here if you have any questions or comments, and we'll be in touch shortly."),hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.Description)})}})})]})})})},B=e=>{let{control:a,errors:t,register:r,stateList:i,translate:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:n("What is your suggestion?"),required:!0,hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.Description)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("Email"),type:"email",hasError:s.Email in t,...r(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("First name"),hasError:s.FirstName in t,...r(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:n("Last name"),hasError:s.LastName in t,...r(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:n("Address line 1"),hasError:s.Address1 in t,...r(s.Address1)}),(0,c.jsx)(x.Wi,{label:n("Address line 2"),hasError:s.Address2 in t,...r(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:n("City"),hasError:s.City in t,...r(s.City)}),(0,c.jsx)(x.Wi,{label:n("Zip"),hasError:s.Zip in t,...r(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:n("State"),options:i,defaultValue:"CO",value:a.value||"CO",onCh
1ange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:n("Phone"),type:"tel",hasError:s.Phone in t,...r(s.Phone)})})]})]})]})},Z=e=>{let{control:a,errors:t,register:r,translate:i}=e;return(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:"space-y-2 flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{label:i("Employee Number"),required:!0,hasError:s.LastName in t,maxLength:5,...r(s.LastName)}),(0,c.jsx)(x.Wi,{label:i("Location of the Problem"),required:!0,hasError:d.ProblemLocation in t,...r(d.ProblemLocation)}),(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:i("Description of the Problem")}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:i("Note: To include photo(s) of the problem please reply to the acknowledgement email with the attachments after submitting this form."),required:!0,hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.Description)})}})]}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:i("Date of Problem (if applicable)"),type:"date",min:"2015-01-01",hasError:s.OccurrenceDate in t,...r(s.OccurrenceDate)}),(0,c.jsx)(x.Wi,{label:i("Time of Occurrence (if applicable)"),type:"time",hasError:s.OccurrenceTime in t,...r(s.OccurrenceTime)})]}),(0,c.jsx)(x.Wi,{label:i("Vehicle Number (if applicable)"),hasError:s.VehicleNumber in t,maxLength:15,...r(s.VehicleNumber)})]})})};var I=t(78554);let F=e=>{let{control:a,errors:t,register:r,translate:i}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("fieldset",{className:"space-y-2",children:(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:i(g["Route Number"]),hasError:s.RouteNumber in t,...r(s.RouteNumber)}),(0,c.jsx)(x.Wi,{required:!0,label:i(g["Boarding Location"]),hasError:s.BoardingLocation in t,...r(s.BoardingLocation)}),(0,c.jsx)(v.Qr,{control:a,name:s.DirectionOfTravel,defaultValue:"northbound",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:i(g["Direction of Travel"]),options:D.map(e=>({label:i(e.label),value:e.value})),defaultValue:"northbound",value:a.value||"northbound",onChange:a.onChange,name:a.name})}}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(v.Qr,{control:a,name:o.ServiceDay,defaultValue:"monday-thursday",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:i(g["Specific Date of Service Experience"]),options:A.map(e=>({label:i(e.label),value:e.value})),defaultValue:"monday-thursday",value:a.value||"monday-thursday",onChange:a.onChange,name:a.name})}}),(0,c.jsx)(x.Wi,{required:!0,label:i(g["Time of Day"]),type:"time",hasError:s.OccurrenceTime in t,...r(s.OccurrenceTime)})]}),(0,c.jsx)(x.Wi,{label:i(g["Transfer to Bus or Light Rail Line, If Applicable"]),hasError:o.TransferToBusRailLine in t,...r(o.TransferToBusRailLine)}),(0,c.jsx)(x.Wi,{label:i(g["Transfer from Bus or Light Rail Line, If Applicable"]),hasError:o.TransferFromBusRailLine in t,...r(o.TransferFromBusRailLine)}),(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:i(g["Please tell us why you are writing to us today"])}),(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:i(g["What is your suggestion?"]),required:!0,hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.Description)})}})]})]})}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:i(g["Contact information"])}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:i(g.Email),type:"email",hasError:s.Email in t,...r(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:i(g["First name"]),hasError:s.FirstName in t,...r(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:i(g["Last name"]),hasError:s.LastName in t,...r(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:i(g["Address line 1"]),hasError:s.Address1 in t,...r(s.Address1)}),(0,c.jsx)(x.Wi,{label:i(g["Address line 2"]),hasError:s.Address2 in t,...r(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:i(g.City),hasError:s.City in t,...r(s.City)}),(0,c.jsx)(x.Wi,{label:i(g.Zip),hasError:s.Zip in t,...r(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:i(g.State),options:I.aH,defaultValue:"CO",value:a.value||"CO",onCh
1ange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:i(g.Phone),type:"tel",hasError:s.Phone in t,...r(s.Phone)})})]})]})]})},R=e=>{let{control:a,errors:t,register:r,stateList:i,translate:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("fieldset",{className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Please tell us why you are writing to us today")}),(0,c.jsx)(v.Qr,{control:a,name:s.TripPlannerDescription,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:n("What is your trip planner feedback?"),required:!0,hasError:s.Description in t,handleChange:a.onChange,value:a.value,...r(s.TripPlannerDescription)})}})]}),(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:n("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("Email"),type:"email",hasError:s.Email in t,...r(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:n("First name"),hasError:s.FirstName in t,...r(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:n("Last name"),hasError:s.LastName in t,...r(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:n("Address line 1"),hasError:s.Address1 in t,...r(s.Address1)}),(0,c.jsx)(x.Wi,{label:n("Address line 2"),hasError:s.Address2 in t,...r(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:n("City"),hasError:s.City in t,...r(s.City)}),(0,c.jsx)(x.Wi,{label:n("Zip"),hasError:s.Zip in t,...r(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:n("State"),options:i,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:n("Phone"),type:"tel",hasError:s.Phone in t,...r(s.Phone)})})]})]})]})},k=e=>{let{control:a,DirectionOfTravelOptions:t,errors:r,register:i,stateList:n,translate:o,translateDropdownOptions:d}=e,u=e=>`${o("Witness")} ${e?` ${o(e)}`:""}`;return(0,c.jsxs)("div",{children:[(0,c.jsxs)("fieldset",{id:"contactinfo",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Contact information")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("Email"),type:"email",hasError:s.Email in r,...i(s.Email)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{required:!0,label:o("First name"),hasError:s.FirstName in r,...i(s.FirstName)}),(0,c.jsx)(x.Wi,{required:!0,label:o("Last name"),hasError:s.LastName in r,...i(s.LastName)})]}),(0,c.jsx)(x.Wi,{label:o("Address line 1"),hasError:s.Address1 in r,...i(s.Address1)}),(0,c.jsx)(x.Wi,{label:o("Address line 2"),hasError:s.Address2 in r,...i(s.Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:o("City"),hasError:s.City in r,...i(s.City)}),(0,c.jsx)(x.Wi,{label:o("Zip"),hasError:s.Zip in r,...i(s.Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:s.State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("State"),options:n,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:o("Phone"),type:"tel",hasError:s.Phone in r,...i(s.Phone)})})]})]}),(0,c.jsxs)("fieldset",{className:"space-y- mt-4",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Person discriminated against (if other than complainant)")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5 mt-2",children:[(0,c.jsx)(x.Wi,{label:o("Email"),...i(l.DiscriminatedEmail)}),(0,c.jsx)(x.Wi,{label:o("Name"),...i(l.DiscriminatedName)}),(0,c.jsx)(x.Wi,{label:o("Address line 1"),...i(l.DiscriminatedStreetAddress)}),(0,c.jsx)(x.Wi,{label:o("Address line 2"),...i(l.DiscriminatedStreetAddress2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:o("City"),...i(l.DiscriminatedCity)}),(0,c.jsx)(x.Wi,{label:o("Zip"),...i(l.DiscriminatedZip)})]}),(0,c.jsx)(v.Qr,{control:a,name:l.DiscriminatedState,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("State"),options:n,defaultValue:"CO",value:a.value||"CO",onCh
1ange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:o("Phone"),...i(l.DiscriminatedPhone)})})]})]}),(0,c.jsxs)("fieldset",{className:"space-y-2 mt-3",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("What was the discrimination based on? (Check all that apply)")}),(0,c.jsxs)("div",{className:"grid lg:grid-cols-4",children:[(0,c.jsx)(v.Qr,{control:a,name:l.Race,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Race"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.Color,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Color"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.NationalOrigin,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("National Origin"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.Creed,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Creed"),checked:!1,handleChange:a.onChange,name:a.name})}})]}),(0,c.jsxs)("div",{className:"grid lg:grid-cols-4",children:[(0,c.jsx)(v.Qr,{control:a,name:l.Sex,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Sex"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.SexualOrientation,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Sexual Orientation"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.GenderIdentity,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Gender Identity"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.GenderExpression,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Gender Expression"),checked:!1,handleChange:a.onChange,name:a.name})}})]}),(0,c.jsxs)("div",{className:"grid lg:grid-cols-4",children:[(0,c.jsx)(v.Qr,{control:a,name:l.MaritalStatus,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Marital Status"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.Ancestry,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Ancestry"),checked:!1,handleChange:a.onChange,name:a.name})}})]})]}),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)(x.Wi,{required:!0,label:o("Date of incident resulting in discrimination"),type:"date",min:"2015-01-01",hasError:s.OccurrenceDate in r,...i(s.OccurrenceDate)})}),(0,c.jsxs)("div",{className:"mt-3",children:[(0,c.jsx)(v.Qr,{control:a,name:s.Description,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:o("Describe how you were discriminated against."),required:!0,hasError:s.Description in r,handleChange:a.onChange,value:a.value,...i(s.Description)})}}),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)(v.Qr,{control:a,name:l.InvolvedRTDRepresentatives,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:o("What RTD representatives were involved?"),required:!0,hasError:l.InvolvedRTDRepresentatives in r,handleChange:a.onChange,value:a.value,...i(l.InvolvedRTDRepresentatives)})}})}),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)(v.Qr,{control:a,name:l.IncidentLocation,render:e=>{let{field:a}=e;return(0,c.jsx)(x.Kx,{label:o("Where did the incident take place? Please provide location, bus number, etc."),required:!0,hasError:l.IncidentLocation in r,handleChange:a.onChange,value:a.value,...i(l.IncidentLocation)})}})})]}),(0,c.jsxs)("div",{className:"space-y-2 flex flex-col gap-5 mt-3",children:[(0,c.jsx)(x.Wi,{label:o("Route Number"),hasError:s.RouteNumber in r,...i(s.RouteNumber)}),(0,c.jsx)(x.Wi,{label:o("Boarding Location"),hasError:s.BoardingLocation in r,...i(s.BoardingLocation)}),(0,c.jsx)(x.Wi,{label:o("Occurrence Location"),hasError:s.OccurrenceLocation in r,...i(s.OccurrenceLocation)}),(0,c.jsx)(v.Qr,{control:a,name:s.DirectionOfTravel,defaultValue:"northbound",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("Direction of Travel"),options:d(t),defaultValue:"northbound",value:a.value||"northbound",onChange:a.onChange,name:a.name})}}),(0,c.jsx)(x.Wi,{label:o("Destination"),hasError:s.Destination in r,...i(s.Destination)}),(0,c.jsx)(x.Wi,{label:o("Vehicle Number"),hasError:s.VehicleNumber in r,maxLength:15,...i(s.VehicleNumber)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:o("Driver Name"),hasError:s.DriverName in r,...i(s.DriverName)}
1),(0,c.jsx)(x.Wi,{label:o("Driver Badge Number"),hasError:s.DriverBadgeNumber in r,...i(s.DriverBadgeNumber)})]})]}),(0,c.jsxs)("fieldset",{className:"space-y-2 mt-3",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Witnesses? Please provide their contact information.")}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{label:u("Email"),...i(l.Witness1Email)}),(0,c.jsx)(x.Wi,{label:u("Name"),...i(l.Witness1Name)}),(0,c.jsx)(x.Wi,{label:u("Address line 1"),...i(l.Witness1Address1)}),(0,c.jsx)(x.Wi,{label:u("Address line 2"),...i(l.Witness1Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:u("City"),...i(l.Witness1City)}),(0,c.jsx)(x.Wi,{label:u("Zip"),...i(l.Witness1Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:l.Witness1State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("State"),options:n,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:u("Phone"),...i(l.Witness1Phone)})})]})]}),(0,c.jsxs)("fieldset",{className:"space-y-2 mt-3",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:`${o("Witness")} 2`}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{label:u("Email"),...i(l.Witness2Email)}),(0,c.jsx)(x.Wi,{label:u("Name"),...i(l.Witness2Name)}),(0,c.jsx)(x.Wi,{label:u("Address line 1"),...i(l.Witness2Address1)}),(0,c.jsx)(x.Wi,{label:u("Address line 2"),...i(l.Witness2Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:u("City"),...i(l.Witness2City)}),(0,c.jsx)(x.Wi,{label:u("Zip"),...i(l.Witness2Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:l.Witness2State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("State"),options:n,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:u("Phone"),...i(l.Witness2Phone)})})]})]}),(0,c.jsxs)("fieldset",{className:"space-y-2 mt-3",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:`${o("Witness")} 3`}),(0,c.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,c.jsx)(x.Wi,{label:u("Email"),...i(l.Witness3Email)}),(0,c.jsx)(x.Wi,{label:u("Name"),...i(l.Witness3Name)}),(0,c.jsx)(x.Wi,{label:u("Address line 1"),...i(l.Witness3Address1)}),(0,c.jsx)(x.Wi,{label:u("Address line 2"),...i(l.Witness3Address2)}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3",children:[(0,c.jsx)(x.Wi,{label:u("City"),...i(l.Witness3City)}),(0,c.jsx)(x.Wi,{label:u("Zip"),...i(l.Witness3Zip)})]}),(0,c.jsx)(v.Qr,{control:a,name:l.Witness3State,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("State"),options:n,defaultValue:"CO",value:a.value||"CO",onChange:a.onChange,name:a.name})}}),(0,c.jsx)("div",{className:"md:self-start",children:(0,c.jsx)(x.Wi,{label:u("Phone"),...i(l.Witness3Phone)})})]})]}),(0,c.jsxs)("fieldset",{className:"mt-3",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Did you file this complaint with another federal, state, or local agency; or with a federal or state court? Check each agency a complaint was filed with:")}),(0,c.jsxs)("div",{className:"grid md:grid-cols-3 mt-3",children:[(0,c.jsx)(v.Qr,{control:a,name:l.FederalCourt,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Federal Court"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.FederalAgency,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Federal Agency"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.LocalAgency,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Local Agency"),checked:!1,handleChange:a.onChange,name:a.name})}})]}),(0,c.jsxs)("div",{className:"grid md:grid-cols-3",children:[(0,c.jsx)(v.Qr,{control:a,name:l.StateAgency,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("State Agency"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.StateCourt,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("State Court"),checked:!1,handleChange:a.onChange,name:a.name})}}),(0,c.jsx)(v.Qr,{control:a,name:l.Other,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("Other"),checked:!1,handleChange:a.onChange,name:a.name})}})]}),(0,c.jsx)(v.Qr,{control:a,name:l.None,render:e=>{let{field:a}=e;return(0,c.jsx)(x.XZ,{title:o("None"),checked:!1,handleChange:a.onChange,name:a.name})}})]}),(0,c.jsxs)("fieldset",{className:"mt-3",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:o("Agency Contact Information")}),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)(x.Wi,{label:o("Agency Name"),...i(l.AgencyName)})}),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)(x.Wi,{label:o(`${o("Agency Address")} 1`),...i(l.AgencyAddress1)})}),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)(x.Wi,{label:o(`${o("Agency Address")} 2`),...i(l.AgencyAddress2)})}),(0,c.jsxs)("div",{className:"grid md:grid-cols-2 gap-3 mt-3",children:[(0,c.jsx)(x.Wi,{label:o("Agency City"),...i(l.AgencyCity)}),(0,c.jsx)(x.Wi,{label:o("Agency Zip"),...i(l.AgencyZip)})]}),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)(v.Qr,{control:a,name:l.AgencyState,defaultValue:"CO",render:e=>{let{field:a}=e;return(0,c.jsx)(x.Fj,{label:o("Agency State"),options:n,defaultValue:"CO",value:a.value||"CO",onCh
1ange:a.onChange,name:a.name})}})}),(0,c.jsx)("div",{className:"md:self-start mt-3",children:(0,c.jsx)(x.Wi,{required:!0,label:o("Date filed"),type:"date",min:"2015-01-01",hasError:l.DateFiled in r,...i(l.DateFiled)})})]})]})},M=e=>{let{titleVIChecks:a,agencyDate:t}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byur8",name:"00NDp00000Byur8",value:a.Race?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByurD",name:"00NDp00000ByurD",value:a.Color?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByurI",name:"00NDp00000ByurI",value:a.NationalOrigin?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByurN",name:"00NDp00000ByurN",value:a.Creed?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByurS",name:"00NDp00000ByurS",value:a.Sex?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByurX",name:"00NDp00000ByurX",value:a.SexualOrientation?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byurc",name:"00NDp00000Byurc",value:a.GenderIdentity?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byurh",name:"00NDp00000Byurh",value:a.GenderExpression?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byurm",name:"00NDp00000Byurm",value:a.MaritalStatus?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byurr",name:"00NDp00000Byurr",value:a.None?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byurw",name:"00NDp00000Byurw",value:a.Ancestry?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byuuv",name:"00NDp00000Byuuv",value:a.FederalAgency?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byuv0",name:"00NDp00000Byuv0",value:a.StateAgency?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byuv5",name:"00NDp00000Byuv5",value:a.LocalAgency?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByuvA",name:"00NDp00000ByuvA",value:a.FederalCourt?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByuvF",name:"00NDp00000ByuvF",value:a.StateCourt?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000ByuvK",name:"00NDp00000ByuvK",value:a.Other?"1":"0"}),(0,c.jsx)("input",{type:"hidden",id:"00NDp00000Byuwc",name:"00NDp00000Byuwc",value:t})]})};var _=t(99048),V=t(14978),q=t(31884);let z=I.yv?{[s.ReCaptcha]:q.Z_({required_error:"Please verify you are a human"})}:{[s.ReCaptcha]:q.Z_().optional()},$={[s.Description]:q.Z_({required_error:"Please provide a description"}).min(10,"Please provide a description with at least 10 characters"),[s.Email]:q.Z_().email({message:"Please provide a valid email"}),[s.Phone]:q.Z_().optional(),[s.Zip]:q.Z_().optional(),[s.Address1]:q.Z_().optional(),[s.Address2]:q.Z_().optional(),[s.City]:q.Z_().optional(),[s.FirstName]:q.Z_().min(1,"Please provide a first name"),[s.LastName]:q.Z_().min(1,"Please provide a last name"),[s.State]:q.Z_().optional(),...z},Q={[s.OccurrenceDate]:q.Z_().refine(e=>/^\d{4}-\d{2}-\d{2}$/.test(e),{message:"Please provide a valid date"}).refine(e=>{let[a,t,r]=e.split("-"),i=Number(a),n=Number(t)-1,s=new Date(i,n,Number(r));return s.getFullYear()===parseInt(a,10)&&s.getMonth()===n&&s.getDate()===parseInt(r,10)},{message:"Invalid date. Please provide a valid date."}).refine(e=>{let a=new Date("2015-01-01");return new Date(e)>=a},{message:"Date must be on or after 2015-01-01."}),[s.OccurrenceTime]:q.Z_().min(1,"Please provide an occurrence time."),[s.RouteNumber]:q.Z_().optional(),[s.BoardingLocation]:q.Z_().optional(),[s.OccurrenceLocation]:q.Z_().optional(),[s.DirectionOfTravel]:q.G0([q.i0("northbound"),q.i0("eastbound"),q.i0("westbound"),q.i0("southbound")]).optional(),[s.Destination]:q.Z_().optional(),[s.VehicleNumber]:q.Z_().optional(),[s.DriverName]:q.Z_().optional(),[s.DriverBadgeNumber]:q.Z_().optional()},G={[l.DiscriminatedName]:q.Z_().optional(),[l.DiscriminatedStreetAddress]:q.Z_().optional(),[l.DiscriminatedStreetAddress2]:q.Z_().optional(),[l.DiscriminatedCity]:q.Z_().optional(),[l.DiscriminatedState]:q.Z_().optional(),[l.DiscriminatedZip]:q.Z_().optional(),[l.DiscriminatedPhone]:q.Z_().optional(),[l.DiscriminatedEmail]:q.Z_().optional(),[l.Race]:q.O7().optional(),[l.Color]:q.O7().optional(),[l.NationalOrigin]:q.O7().optional(),[l.Creed]:q.O7().optional(),[l.Sex]:q.O7().optional(),[l.SexualOrientation]:q.O7().optional(),[l.GenderIdentity]:q.O7().optional(),[l.GenderExpression]:q.O7().optional(),[l.MaritalStatus]:q.O7().optional(),[l.Ancestry]:q.O7().optional(),[l.InvolvedRTDRepresentatives]:q.Z_({required_error:"Please provide a description"}).min(5,"Please provide a description with at least 5 characters"),[l.IncidentLocation]:q.Z_({required_error:"Please provide a description"}).min(5,"Please provide a description with at least 5 characters"),[l.Witness1Name]:q.Z_().optional(),[l.Witness1Address1]:q.Z_().optional(),[l.Witness1Address2]:q.Z_().optional(),[l.Witness1City]:q.Z_().optional(),[l.Witness1State]:q.Z_().optional(),[l.Witness1Zip]:q.Z_().optional(),[l.Witness1Phone]:q.Z_().optional(),[l.Witness1Email]:q.Z_().optional(),[l.Witness2Name]:q.Z_().optional(),[l.Witness2Address1]:q.Z_().optional(),[l.Witness2Address2]:q.Z_().optional(),[l.Witness2City]:q.Z_().optional(),[l.Witness2State]:q.Z_().optional(),[l.Witness2Zip]:q.Z_().optional(),[l.Witness2Phone]:q.Z_().optional(),[l.Witness2Email]:q.Z_().optional(),[l.Witness3Name]:q.Z_().optional(),[l.Witness3Address1]:q.Z_().optional(),[l.Witness3Address2]:q.Z_().optional(),[l.Witness3City]:q.Z_().optional(),[l.Witness3State]:q.Z_().optional(),[l.Witness3Zip]:q.Z_().optional(),[l.Witness3Phone]:q.Z_().optional(),[l.Witness3Email]:q.Z_().optional(),[l.FederalAgency]:q.O7().optional(),[l.StateAgency]:q.O7().optional(),[l.LocalAgency]:q.O7().optional(),[l.FederalCourt]:q.O7().optional(),[l.StateCourt]:q.O7().optional(),[l.Other]:q.O7().optional(),[l.None]:q.O7().optional(),[l.AgencyName]:q.Z_().optional(),[l.AgencyAddress1]:q.Z_().optional(),[l.AgencyAddress2]:q.Z_().optional(),[l.AgencyCity]:q.Z_().optional(),[l.AgencyState]:q.Z_().optional(),[l.AgencyZip]:q.Z_().optional(),[l.DateFiled]:q.Z_().optional()},U=q.Ry({[s.CommentType]:q.i0(f.Question),...$}),H=q.Ry({[s.CommentType]:q.i0(f.Complaint),...$,...Q,[s.Discrimination]:q.G0([q.i0("1"),q.i0("0")])}),K=q.Ry({[s.CommentType]:q.i0(f.Suggestion),...$}),X=q.Ry({[s.CommentType]:q.i0(f.Commendation),...$,...Q}),J=q.Ry({[s.CommentType]:q.i0(f.LostAndFound),...$,...Q,[s.RouteNumber]:q.Z_().min(1,"Please provide a route number."),[s.LostAndFound]:q.G0([q.i0("backpack"),q.i0("bike"),q.i0("glasses"),q.i0("gloves"),q.i0("id"),q.i0("phone"),q.i0("umbrella"),q.i0("wallet/purse"),q.i0("other")])}),Y=q.Ry({[s.CommentType]:q.i0(f.AccessARide),...$,...Q,[s.ClientId]:q.Z_().min(1,"Please provide a Client ID.")}),ee=q.Ry({[s.CommentType]:q.i0(f.MyRideQuestion),...$}),ea=q.Ry({[s.CommentType]:q.i0(f.TripPlannerFeedback),[s.TripPlannerDescription]:q.Z_({required_error:"Please provide a description"}).min(10,"Please provide a description with at least 10 characters"),[s.Email]:q.Z_().email({message:"Please provide a valid email"}),[s.Phone]:q.Z_().optional(),[s.Zip]:q.Z_().optional(),[s.Address1]:q.Z_().optional(),[s.Address2]:q.Z_().optional(),[s.City]:q.Z_().optional(),[s.FirstName]:q.Z_().min(1,"Please provide a first name"),[s.LastName]:q.Z_().min(1,"Please provide a last name"),[s.State]:q.Z_().optional(),...z}),et=q.Ry({[s.CommentType]:q.i0(f.TitleVI),...$,...G}),er=q.Ry({[s.CommentType]:q.i0(f.Security),...$,[s.OccurrenceLocation]:q.Z_().min(5,"Please provide a location"),[s.Subject]:q.Z_().optional(),[s.Company]:q.Z_().optional()}),ei=q.Ry({[s.CommentType]:q.i0(f.ServiceDevelopment),[s.RouteNumber]:q.Z_().min(1,"Please provide a route number."),[s.BoardingLocation]:q.Z_().min(1,"Please provide a boarding location."),[s.DirectionOfTravel]:q.G0([q.i0("northbound"),q.i0("eastbound"),q.i0("westbound"),q.i0("southbound")]),[o.ServiceDay]:q.G0([q.i0("monday-thursday"),q.i0("friday"),q.i0("saturday"),q.i0("sunday/holiday")]),[s.OccurrenceTime]:q.Z_().min(1,"Please provide time of day."),[o.TransferToBusRailLine]:q.Z_().optional(),[o.TransferFromBusRailLine]:q.Z_().optional(),...$}),en=q.Ry({[s.CommentType]:q.i0(f.OneRTDCare),[s.LastName]:q.Z_().min(4,"Please enter a vaild Employee Number"),[s.Description]:q.Z_({required_error:"Please provide a description"}).min(10,"Please provide a description with at least 10 characters"),[d.ProblemLocation]:q.Z_().min(1,"Please provide a location"),[s.OccurrenceDate]:q.Z_().optional(),[s.OccurrenceTime]:q.Z_().optional(),[s.VehicleNumber]:q.Z_().optional()}),es=q.VK(s.CommentType,[U,H,K,X,J,Y,ee,et,er,ea,ei,en]);var el=t(20751);let eo="customer-comment-success",ed=e=>{let{externalFormType:a,lang:t}=e,r=(0,u.useRef)(null),i=(0,h.useSearchParams)(),[n,o]=(0,u.useState)((null==i?void 0:i.get(eo))==="true"),d=(null==i?void 0:i.get("appData"))||void 0,A={"title-vi":{defaultValue:f.TitleVI,optionId:"comment-titlevi",commentType:"Title VI"},"my-ride":{defaultValue:f.MyRideQuestion,optionId:"comment-mobileticketingquestion",commentType:"Question about RTD MyRide"},security:{defaultValue:f.Security,optionId:"comment-security",commentType:"Security"},tripplanner:{defaultValue:f.TripPlannerFeedback,optionId:"comment-tripplanner",commentType:"Feedback on Trip Planner"},"service-development":{defaultValue:f.ServiceDevelopment,optionId:"comment-service-development",commentType:"Service Development"},"one-rtd-care":{defaultValue:f.OneRTDCare,optionId:"comment-one-rtd-care",commentType:"OneRTD Care"}},M=a?A[a]:void 0,V=M?M.commentType:"Question",{register:q,watch:z,control:$,formState:{errors:Q,isSubmitting:G},handleSubmit:U,clearErrors:H}=(0,v.cI)({resolver:(0,b.F)(es),shouldFocusError:!1}),K=Object.keys(Q).length>0,X=z(s.CommentType,V),J=z(s.OccurrenceTime),Y=z(s.OccurrenceDate),ee=z(s.Discrimination),ea=z(s.TripPlannerDescription),et={Race:z(l.Race),Color:z(l.Color),NationalOrigin:z(l.NationalOrigin),Creed:z(l.Creed),Sex:z(l.Sex),SexualOrientation:z(l.SexualOrientation),GenderIdentity:z(l.GenderIdentity),GenderExpression:z(l.GenderExpression),MaritalStatus:z(l.MaritalStatus),None:z(l.None),Ancestry:z(l.Ancestry),FederalAgency:z(l.FederalAgency),StateAgency:z(l.StateAgency),LocalAgency:z(l.LocalAgency),FederalCourt:z(l.FederalCourt),StateCourt:z(l.StateCourt),Other:z(l.Other)},er=z(l.DateFiled),ei=(0,u.useCallback)(()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.submit()},[]),en=(0,u.useCallback)(()=>o(!1),[]),{translate:ed,queueTranslations:eu}=(0,el.$G)();(0,u.useEffect)(()=>{eu(Object.keys(g))},[eu]);let em=(0,u.useCallback)(e=>e.map(e=>({value:e.value,label:ed(e.label)})),[ed]),eh=M?N.filter(e=>e.id===M.optionId):j,eg=I.yv?"00D6A000001i8Bx":"00DDL00000Cs6vU",ex=I.yv?`https://webto.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8&orgId=${eg}`:`https://rtd-denver--training.sandbox.my.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8&orgId=${eg}`,ey="security"===a?ed(g["Thank you for writing to the RTD Transit Police Department. We take your safety while utilizing RTD transit as the upmost importance. A member of our department will reach out to you as soon as possible to address your concerns. If this is an emergency, please call 911 or the Transit Police Department at 303.299.2911"]):"title-vi"===a?ed(g["Thank you for submitting your complaint. RTD is committed to building a transit system free of discrimination and unfair treatment, and we take complaints seriously. RTD will review the complaint and contact you shortly."]):ed(g["Submitted Successfully"]);return(0,c.jsxs)(c.Fragment,{children:["security"===a&&(0,c.jsx)("legend",{className:"text-heading-2xs font-bold mb-5",children:ed(g["If this is an emergency please contact 911 or RTD Transit Police at 303.299.2911"])}),(0,c.jsx)(m.default,{src:"https://www.google.com/recaptcha/api.js"}),K?(0,c.jsx)("div",{className:"my-6",children:(0,c.jsx)(_.w,{status:_.l.Error,message:ed(g["Please check the fields"]),children:(0,c.jsx)(ec,{errors:Q})})}):n&&(0,c.jsx)("div",{className:"my-6",children:(0,c.jsx)(_.w,{status:_.l.Success,message:ey})}),(0,c.jsxs)("form",{noValidate:!0,ref:r,onSubmit:U(ei,en),action:ex,method:"POST",children:[(0,c.jsx)(ep,{formType:X,adaFlag:ee,tripPlannerDescription:ea,tripPlannerData:d,externalFormType:a,webTime:J,webDate:Y,titleVIChecks:et,agencyDateFiled:er,orgID:eg??""}),(0,c.jsxs)("div",{className:"grid gap-5",children:[(0,c.jsx)("div",{hidden:void 0!==a,children:(0,c.jsxs)("fieldset",{id:"comment-type",className:"space-y-2",children:[(0,c.jsx)("legend",{className:"text-heading-2xs font-bold",children:ed(g["How can we help you?"])}),(0,c.jsx)("div",{children:(0,c.jsx)(v.Qr,{control:$,name:s.CommentType,defaultValue:M?M.defaultValue:f.Question,render:e=>{let{field:a}=e;return(0,c.jsx)(c.Fragment,{children:eh.map(e=>(0,c.jsx)(x.Y8,{label:ed(e.label),value:e.value,handleChange:e=>{H(),a.onChange(e)},...q(s.CommentType),name:a.name},e.id))})}})})]})}),X===f.AccessARide&&(0,c.jsx)(E,{control:$,errors:Q,register:q,stateList:I.aH,translate:ed}),X===f.Commendation&&(0,c.jsx)(P,{control:$,DirectionOfTravelOptions:D,errors:Q,register:q,stateList:I.aH,translate:ed}),X===f.Complaint&&(0,c.jsx)(w,{control:$,DirectionOfTravelOptions:D,DiscriminationOptions:C,errors:Q,register:q,stateList:I.aH,translate:ed}),X===f.LostAndFound&&(0,c.jsx)(O,{control:$,DirectionOfTravelOptions:D,errors:Q,LostAndFoundItems:S,register:q,stateList:I.aH,translate:ed}),"my-ride"===a&&(0,c.jsx)(W,{control:$,errors:Q,register:q,stateList:I.aH,translate:ed}),X===f.Question&&(0,c.jsx)(L,{control:$,errors:Q,register:q,stateList:I.aH,translate:ed}),"one-rtd-care"===a&&(0,c.jsx)(Z,{control:$,errors:Q,register:q,translate:ed}),"security"===a&&(0,c.jsx)(T,{control:$,errors:Q,register:q,translate:ed}),"service-development"===a&&(0,c.jsx)(F,{control:$,errors:Q,register:q,translate:ed}),X===f.Suggestion&&(0,c.jsx)(B,{control:$,errors:Q,register:q,stateList:I.aH,translate:ed}),"title-vi"===a&&(0,c.jsx)(k,{control:$,DirectionOfTravelOptions:D,errors:Q,register:q,stateList:I.aH,translate:ed,translateDropdownOptions:em}),"tripplanner"===a&&(0,c.jsx)(R,{control:$,errors:Q,register:q,stateList:I.aH,translate:ed}),I.yv&&(0,c.jsx)(v.Qr,{control:$,name:s.ReCaptcha,render:e=>{let{field:a}=e,t=s.ReCaptcha in Q;return(0,c.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,c.jsxs)("div",{className:"flex items-center gap-2",children:[(0,c.jsx)(p.Z,{...a,sitekey:"6LcXxrEZAAAAAEp_YoH2ccYsLYGqGAVPzAvOw6Gs"}),t&&(0,c.jsx)(y.go,{className:"w-4 h-4 text-red-700"})]}),t&&(0,c.jsx)("span",{className:"text-sm text-red-700",children:ed(g["Please fill out this field"])})]})}}),(0,c.jsx)(x.zx,{type:"submit",busy:G,className:"block text-center md:justify-self-start",children:ed(g["Submit your comment"])}),(0,c.jsxs)("p",{className:"text-center md:text-left",children:[ed(g["By clicking submit you acknowledge that you have read and understand our "]),(0,c.jsx)(x.rU,{className:"inline whitespace-nowrap",url:"/reports-and-policies/privacy-policy",children:ed(g["Privacy Policy"])}),ed(" and "),(0,c.jsx)(x.rU,{className:"inline whitespace-nowrap",url:"/terms-of-use",children:ed(g["Terms of Use"])})]})]})]})]})},ec=e=>{let{errors:a,message:t}=e;if(t)return t;if(a){let e=[];for(let t in a)e.push(a[t].message);return(0,c.jsx)("ul",{className:"list-disc pl-5",children:e.map((e,a)=>(0,c.jsx)("li",{children:e},a))})}},eu=()=>{let[e,a]=(0,u.useState)(JSON.stringify(new Date().getTime()));return(0,u.useEffect)(()=>{let e=setInterval(()=>{a(JSON.stringify(new Date().getTime()))},1e3);return()=>clearInterval(e)},[]),e},em=e=>{let{tripPlannerData:a,tripPlannerDescription:t}=e,r=JSON.parse(a),i="";for(let e in r)i+=`${e}: ${r[e]} 2`;return`------------------- 3${i} 4------------------- 5${t}`},eh=e=>{let a=new Date(`${e}T06:00:00`),t=a.getMonth()+1,r=a.getDate(),i=a.getFullYear();return`${t}/${r}/${i}`},ep=e=>{let{formType:a,externalFormType:t,tripPlannerDescription:r,tripPlannerData:i,webTime:n="",webDate:s="",adaFlag:l,titleVIChecks:o,agencyDateFiled:d,orgID:u}=e,m=(0,h.usePathname)(),p=new URL((0,V.WN)(m));p.searchParams.append(eo,"true");let g=eu(),x=""!==n?`${n}:00`:"00:00:00",y=d?eh(d):"",v=JSON.stringify({keyname:"RTDProd",fallback:"true",orgId:u,ts:g});return(0,c.jsxs)(c.Fragment,{children:[I.yv&&(0,c.jsx)("input",{type:"hidden",name:"captcha_settings",value:v}),(0,c.jsx)("input",{type:"hidden",name:"orgid",value:u}),(0,c.jsx)("input",{type:"hidden",id:"retURL",name:"retURL",val
5ue:p.toString()}),(0,c.jsx)("input",{type:"hidden",name:"recordType",value:"title-vi"===t?"012Dp000000QDKZIA4":"0123u000000iwSXAAY"}),(0,c.jsx)("input",{type:"hidden",id:"00N3u00000PhsbC",name:"00N3u00000PhsbC",value:a}),(0,c.jsx)("input",{type:"hidden",id:"00N3u00000PhsaX",name:"00N3u00000PhsaX"}),(0,c.jsx)("input",{type:"hidden",id:"00N03000000hq9V",name:"00N3u00000PiJL7",value:`${s} ${x}`}),(0,c.jsx)("input",{type:"hidden",id:"00N3u00000PhuCC",name:"00N3u00000PhuCC"}),(0,c.jsx)("input",{type:"hidden",id:"00N3u00000PhwBH",name:"00N3u00000PhwBH"}),(0,c.jsx)("input",{type:"hidden",id:"00N3u00000PhsaI",name:"00N3u00000PhsaI",value:l}),(0,c.jsx)("input",{type:"hidden",id:"00N3u00000PiDK4",name:"00N3u00000PiDK4"}),(0,c.jsx)("input",{type:"hidden",id:"00N03000000PKbW",name:"00N03000000PKbW"}),(0,c.jsx)("input",{type:"hidden",id:"00N03000000PKbX",name:"00N03000000PKbX"}),(0,c.jsx)("input",{type:"hidden",id:"00N03000000PKbY",name:"00N03000000PKbY"}),(0,c.jsx)("input",{type:"hidden",id:"00N3u00000PhsaO",name:"00N3u00000PhsaO"}),"title-vi"===t&&(0,c.jsx)(M,{titleVIChecks:o,agencyDate:y}),"tripplanner"===t&&void 0!==i&&void 0!==r&&(0,c.jsx)("input",{type:"hidden",id:"description",name:"description",value:em({tripPlannerData:i,tripPlannerDescription:r})})]})}},21349:function(e,a,t){t.d(a,{LicensePlateLookupForm:function(){return h}});var r,i,n=t(22114),s=t(47155),l={Submit:{es:"Enviar",zh:"æäº¤",ru:"ÐÑпÑавиÑÑ",vi:"Gá»i"},"Provisionally registered inside district boundaries. Pending updated information, please call":{es:"Registrado provisionalmente dentro de los l\xedmites del distrito. Informaci\xf3n actualizada pendiente, por favor llame al",zh:"ææ¶æ³¨åå¨åºåèå´å
ãå¾
æ´æ°ä¿¡æ¯ï¼è¯·è´çµ",ru:"ÐÑеменно заÑегиÑÑÑиÑован в пÑеделаÑ
гÑÐ°Ð½Ð¸Ñ Ñайона. ÐжидаеÑÑÑ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ð°Ñ Ð¸Ð½ÑоÑмаÑиÑ, пожалÑйÑÑа, позвониÑе",vi:"Tạm thá»i ÄÄng k\xfd trong giá»i hạn huyá»n. Th\xf4ng tin cáºp nháºt Äang chá» xá» l\xfd, vui l\xf2ng gá»i"},"with questions. Plate":{es:"con preguntas. Matr\xedcula",zh:"æé®é¢ã车ç",ru:"Ñ Ð²Ð¾Ð¿ÑоÑами. ÐлаÑÑина",vi:"c\xf3 c\xe2u há»i. Tấm"},"Registered inside district boundaries. Plate":{es:"Registrado dentro de los l\xedmites del distrito. Matr\xedcula",zh:"注åå¨åºåèå´å
ã车ç",ru:"ÐаÑегиÑÑÑиÑован в пÑеделаÑ
гÑÐ°Ð½Ð¸Ñ Ñайона. ÐлаÑÑина",vi:"ÄÄng k\xfd trong giá»i hạn huyá»n. Tấm"},"Not registered inside district boundaries. Plate":{es:"No registrado dentro de los l\xedmites del distrito. Matr\xedcula",zh:"æªå¨åºåèå´å
注åã车ç",ru:"Ðе заÑегиÑÑÑиÑован в пÑеделаÑ
гÑÐ°Ð½Ð¸Ñ Ñайона. ÐлаÑÑина",vi:"Kh\xf4ng ÄÄng k\xfd trong giá»i hạn huyá»n. Tấm"},"Please call":{es:"Por favor llame al",zh:"请è´çµ",ru:"ÐожалÑйÑÑа, позвониÑе",vi:"Vui l\xf2ng gá»i"},"to resolve this issue.":{es:"para resolver este problema.",zh:"è§£å³è¿ä¸ªé®é¢ã",ru:"ÑÑÐ¾Ð±Ñ ÑеÑиÑÑ ÑÑÑ Ð¿ÑоблемÑ.",vi:"Äá» giải quyết vấn Äá» n\xe0y."},"We can't reach our lookup service right now":{es:"No podemos acceder a nuestro servicio de b\xfasqueda en este momento",zh:"æä»¬ç°å¨æ æ³è®¿é®æä»¬çæ¥æ¾æå¡",ru:"СейÑÐ°Ñ Ð¼Ñ Ð½Ðµ можем добÑаÑÑÑÑ Ð´Ð¾ наÑей ÑлÑÐ¶Ð±Ñ Ð¿Ð¾Ð¸Ñка",vi:"Ch\xfang t\xf4i kh\xf4ng thá» Äạt ÄÆ°á»£c dá»ch vụ t\xecm kiếm cá»§a ch\xfang t\xf4i ngay b\xe2y giá»"},"Note: changes to your motor vehicle registration record may not be reflected. RTD cannot dispense license plate registration address information nor update vehicle registration records. Please contact your county motor vehicle office.":{es:"Nota: los cambios en su registro de veh\xedculo automotor pueden no reflejarse. RTD no puede dispensar informaci\xf3n de direcci\xf3n de registro de matr\xedcula ni actualizar los registros de registro de veh\xedculos. Por favor contacte a la oficina de veh\xedculos motorizados de su condado.",zh:"注æï¼æ¨çæºå¨è½¦æ³¨åè®°å½çæ´æ¹å¯è½ä¸ä¼åæ åºæ¥ã RTDæ æ³æä¾è½¦ç注åå°åä¿¡æ¯ï¼ä¹æ æ³æ´æ°è½¦è¾æ³¨åè®°å½ã 请èç³»æ¨æå¨å¿çæºå¨è½¦åå
¬å®¤ã",ru:"ÐÑимеÑание. ÐÐ·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð² ваÑей запиÑи о ÑегиÑÑÑаÑии авÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ Ð¼Ð¾Ð³ÑÑ Ð½Ðµ оÑÑажаÑÑÑÑ. RTD не Ð¼Ð¾Ð¶ÐµÑ ÑаÑпÑоÑÑÑанÑÑÑ Ð¸Ð½ÑоÑмаÑÐ¸Ñ Ð¾Ð± адÑеÑе ÑегиÑÑÑаÑии авÑомобилÑнÑÑ
номеÑов и обновлÑÑÑ Ð·Ð°Ð¿Ð¸Ñи о ÑегиÑÑÑаÑии авÑомобилей. ÐожалÑйÑÑа, ÑвÑжиÑеÑÑ Ñ Ð¾ÑиÑом ÑегиÑÑÑаÑии авÑомобилей ваÑего окÑÑга.",vi:"Lưu \xfd: c\xe1c thay Äá»i trong há» sÆ¡ ÄÄng k\xfd xe cÆ¡ giá»i cá»§a qu\xfd vá» c\xf3 thá» kh\xf4ng ÄÆ°á»£c phản \xe1nh. RTD kh\xf4ng thá» cung cấp th\xf4ng tin ÄÄng k\xfd Äá»a chá» biá»n sá» cÅ©ng như cáºp nháºt há» sÆ¡ ÄÄng k\xfd xe. Vui l\xf2ng li\xean há» vá»i vÄn ph\xf2ng xe cÆ¡ giá»i cá»§a qu\xfd vá»."},Inconclusive:{es:"Inconcluso",zh:"ä¸ç¡®å®",ru:"ÐеопÑеделеннÑй",vi:"Kh\xf4ng thuyết phục"},"Out of District":{es:"Fuera del distrito",zh:"åºå¤",ru:"Ðне Ñайона",vi:"Ngo\xe0i huyá»n"},"In District":{es:"En el distrito",zh:"åºå
",ru:"Ð Ñайоне",vi:"Trong huyá»n"}},o=t(69033);(r=i||(i={})).InDistrict="In District",r.OutDistrict="Out of District",r.Provisional="Provisionally In District";
5var d=t(99048),c=t(20751);let u="License Plate Number",m=e=>"string"==typeof e&&e.length>0,h=e=>{let{phone:a="303-299-2900",lang:t}=e,[r,h]=(0,s.useState)(!1),[p,g]=(0,s.useState)(null),[x,y]=(0,s.useState)(null),[v,b]=(0,s.useState)(""),f=async e=>{e.preventDefault(),h(!0);let a=e.currentTarget,t=a.action,r=new FormData(a),i=new URL(t),n=r.get(u),s=m(n)?n.replace(/[^a-z0-9]/gi,"").toUpperCase():"";i.searchParams.set("plate",s),b(s);let l=await fetch(i),o=await l.json();y(o.result),g(o.status),h(!1)},{translate:j,queueTranslations:N}=(0,c.$G)();(0,s.useEffect)(()=>{N([...Object.keys(l),u])});let C=(0,s.useMemo)(()=>({[i.InDistrict]:{status:d.l.Success,message:j("In District"),children:(0,n.jsx)("p",{children:`${j("Registered inside district boundaries. Plate")} ${v}`})},[i.OutDistrict]:{status:d.l.Error,message:j("Out of District"),children:(0,n.jsx)("p",{children:`${j("Not registered inside district boundaries. Plate")} ${v}`})},NotFound:{status:d.l.Error,message:j("Inconclusive"),children:(0,n.jsx)("p",{children:`${j("Please call")} ${a} ${j("to resolve this issue.")}`})},Error:{status:d.l.Error,message:j("We can't reach our lookup service right now"),children:(0,n.jsx)(n.Fragment,{})},[i.Provisional]:{status:d.l.Warn,message:"In District",children:(0,n.jsx)("p",{children:`${j("Provisionally registered inside district boundaries. Pending updated information, please call")} ${a} ${j("with questions. Plate")} ${v}`})}}),[v,a,j]),D=200===p&&x?C[x]??C.NotFound:[403,500].includes(p??404)?C.Error:C.NotFound;return(0,n.jsxs)("form",{method:"get",action:"/api/license-plate-lookup",onSubmit:f,children:[(0,n.jsxs)("div",{className:"flex gap-6 items-end [&>div]:grow",children:[(0,n.jsx)(o.Wi,{label:j(u),required:!0}),(0,n.jsx)(o.zx,{type:"submit",busy:r,children:j("Submit")})]}),p&&!r&&(0,n.jsxs)("div",{className:"mt-6",children:[(0,n.jsx)(d.w,{status:D.status,message:D.message,onDismiss:()=>{g(null),y(null)},children:D.children}),(0,n.jsx)("small",{className:"text-body-sm text-gray-800 mt-2 block",children:j("Note: changes to your motor vehicle registration record may not be reflected. RTD cannot dispense license plate registration address information nor update vehicle registration records. Please contact your county motor vehicle office.")})]})]})}},32531:function(e,a,t){t.d(a,{CalculatorForm:function(){return b}});var r=t(22114),i=t(47155),n=t(69033),s=t(35306),l=t(16953),o=t(20751),d=t(78554);let c=[{name:"January",rate:125},{name:"February",rate:115},{name:"March",rate:105},{name:"April",rate:94},{name:"May",rate:84},{name:"June",rate:73},{name:"July",rate:63},{name:"August",rate:52},{name:"September",rate:42},{name:"October",rate:31},{name:"November",rate:21},{name:"December",rate:11}],u=[{name:"January",rate:25},{name:"February",rate:23},{name:"March",rate:21},{name:"April",rate:19},{name:"May",rate:17},{name:"June",rate:15},{name:"July",rate:13},{name:"August",rate:11},{name:"September",rate:9},{name:"October",rate:7},{name:"November",rate:5},{name:"December",rate:3}],m=[{name:"January",rate:75},{name:"February",rate:69},{name:"March",rate:63},{name:"April",rate:57},{name:"May",rate:51},{name:"June",rate:45},{name:"July",rate:39},{name:"August",rate:33},{name:"September",rate:27},{name:"October",rate:21},{name:"November",rate:15},{name:"December",rate:9}],h=[{name:"January",rate:460},{name:"February",rate:423},{name:"March",rate:386},{name:"April",rate:350},{name:"May",rate:313},{name:"June",rate:276},{name:"July",rate:239},{name:"August",rate:202},{name:"September",rate:166},{name:"October",rate:129},{name:"November",rate:92},{name:"December",rate:55}],p=e=>{let a=new Date().getFullYear(),t=new Date().getMonth();return e>a?c.map(e=>e.name):c.filter((e,a)=>a>=t).map(e=>e.name)};var g=JSON.parse('[{"SLA":"B","NAME":"40th & Airport Station","ZIPCODE":80011},{"SLA":"D","NAME":"40th & Airport Station","ZIPCODE":80249},{"SLA":"B","NAME":"40th & Colorado Station","ZIPCODE":80205},{"SLA":"B","NAME":"40th & Colorado Station","ZIPCODE":80207},{"SLA":"B","NAME":"40th & Colorado Station","ZIPCODE":80216},{"SLA":"B","NAME":"6th & Broadway","ZIPCODE":80203},{"SLA":"B","NAME":"6th & Broadway","ZIPCODE":80204},{"SLA":"B","NAME":"Alameda Station","ZIPCODE":80209},{"SLA":"B","NAME":"Alameda Station","ZIPCODE":80223},{"SLA":"B","NAME":"Allison & Virginia","ZIPCODE":80226},{"SLA":"B","NAME":"Arapahoe at Village Center Station","ZIPCODE":80111},{"SLA":"B","NAME":"Belleview Station","ZIPCODE":80111},{"SLA":"B","NAME":"Belleview Station","ZIPCODE":80237},{"SLA":"B","NAME":"Boulder Broadway Corridor","ZIPCODE":80302},{"SLA":"B","NAME":"Boulder Broadway Corridor","ZIPCODE":80303},{"SLA":"B","NAME":"Boulder Broadway Corridor","ZIPCODE":80305},{"SLA":"B","NAME":"Boulder Broadway Corridor","ZIPCODE":80309},{"SLA":"B","NAME":"Boulder Broadway Corridor","ZIPCODE":80310},{"SLA":"B","NAME":"Boulder Junction at Depot Square Station","ZIPCODE":80301},{"SLA":"B","NAME":"Central Park Station","ZIPCODE":80207},{"SLA":"B","NAME":"Central Park Station","ZIPCODE":80216},{"SLA":"B","NAME":"Central Park Station","ZIPCODE":80238},{"SLA":"B","NAME":"Colfax at Auraria and 10th & Osage Stations","ZIPCODE":80204},{"SLA":"B","NAME":"Colfax Station","ZIPCODE":80011},{"SLA":"B","NAME":"Colfax Station","ZIPCODE":80045},{"SLA":"B","NAME":"Colorado Station","ZIPCODE":80210},{"SLA":"B","NAME":"Colorado Station","ZIPCODE":80222},{"SLA":"B","NAME":"County Line Station","ZIPCODE":80112},{"SLA":"B","NAME":"County Line Station","ZIPCODE":80124},{"SLA":"B","NAME":"Englewood Station","ZIPCODE":80110},{"SLA":"B","NAME":"Federal & Evans Transfer Hub","ZIPCODE":80219},{"SLA":"B","NAME":"Federal Center Station","ZIPCODE":80225},{"SLA":"B","NAME":"Federal Center Station","ZIPCODE":80228},{"SLA":"B","NAME":"Iliff Station","ZIPCODE":80014},{"SLA":"B","NAME":"Iliff Station","ZIPCODE":80044},{"SLA":"B","NAME":"Lincoln Station","ZIPCODE":80112},{"SLA":"B","NAME":"Lincoln Station","ZIPCODE":80124},{"SLA":"B","NAME":"Littleton / Downtown Station","ZIPCODE":80120},{"SLA":"B","NAME":"Littleton / Downtown Station","ZIPCODE":80160},{"SLA":"B","NAME":"Littleton / Mineral Station","ZIPCODE":80120},{"SLA":"B","NAME":"Littleton / Mineral Station","ZIPCODE":80128},{"SLA":"B","NAME":"Louisiana & Pearl Station","ZIPCODE":80209},{"SLA":"B","NAME":"Louisiana & Pearl Station","ZIPCODE":80210},{"SLA":"B","NAME":"Olde Town Arvada Station","ZIPCODE":80002},{"SLA":"B","NAME":"Olde Town Arvada Station","ZIPCODE":80003},{"SLA":"B","NAME":"Olde Town Arvada Station","ZIPCODE":80004},{"SLA":"B","NAME":"Park Ave West & Wewatta","ZIPCODE":80202},{"SLA":"B","NAME":"Park Ave West & Wewatta","ZIPCODE":80205},{"SLA":"B","NAME":"Park Ave West & Wewatta","ZIPCODE":80216},{"SLA":"B","NAME":"Peoria Station","ZIPCODE":80010},{"SLA":"B","NAME":"Peoria Station","ZIPCODE":80011},{"SLA":"B","NAME":"Peoria Station","ZIPCODE":80239},{"SLA":"B","NAME":"Southmoor Station","ZIPCODE":80222},{"SLA":"B","NAME":"Southmoor Station","ZIPCODE":80224},{"SLA":"B","NAME":"Southmoor Station","ZIPCODE":80237},{"SLA":"B","NAME":"University of Denver Station","ZIPCODE":80210},{"SLA":"B","NAME":"US 36 & Broomfield Station","ZIPCODE":80020},{"SLA":"B","NAME":"US 36 & Broomfield Station","ZIPCODE":80021},{"SLA":"B","NAME":"US 36 & Sheridan Station","ZIPCODE":80003},{"SLA":"B","NAME":"US 36 & Sheridan Station","ZIPCODE":80031},{"SLA":"B","NAME":"US 36 & Table Mesa Park-n-Ride","ZIPCODE":80303},{"SLA":"B","NAME":"US 36 & Table Mesa Park-n-Ride","ZIPCODE":80305},{"SLA":"B","NAME":"Wagon Rd Park-n-Ride","ZIPCODE":80233},{"SLA":"B","NAME":"Wagon Rd Park-n-Ride","ZIPCODE":80234},{"SLA":"B","NAME":"Wagon Rd Park-n-Ride","ZIPCODE":80241},{"SLA":"B","NAME":"Yale Station","ZIPCODE":80222},{"SLA":"C","NAME":"Aurora Metro Center Station","ZIPCODE":80012},{"SLA":"C","NAME":"Decatur & Federal Station","ZIPCODE":80204},{"SLA":"C","NAME":"Downtown Boulder Station","ZIPCODE":80302},{"SLA":"C","NAME":"Downtown Boulder Station","ZIPCODE":80304},{"SLA":"C","NAME":"Downtown Boulder Station","ZIPCODE":80306},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80201},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80202},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80203},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80204},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80205},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80264},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80265},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80293},{"SLA":"C","NAME":"Downtown Denver","ZIPCODE":80294},{"SLA":"C","NAME":"I-25 & Broadway Station","ZIPCODE":80209},{"SLA":"C","NAME":"I-25 & Broadway Station","ZIPCODE":80210},{"SLA":"C","NAME":"I-25 & Broadway Station","ZIPCODE":80223},{"SLA":"C","NAME":"Nine Mile Station","ZIPCODE":80014}]');let x=e=>{let{ecoPass:a,zipCode:t}=e;if(!a)return c;let r=g.find(e=>e.ZIPCODE===Number(t));if(!r)return u;let i=g.reduce((e,a)=>e.includes(a.SLA)?e:(a.ZIPCODE===Number(t)&&e.push(a.SLA),e.sort((e,a)=>e.localeCompare(a))),[]);switch(i.length>1?i.slice(-1)[0]:r.SLA){case"A":case"B":default:return u;case"C":return m;case"D":return h}},y=e=>{let{ecoPass:a,units:t,startMonth:r,zipCode:i,contractMinimum:n}=e,s=x({ecoPass:a,zipCode:i}),l=s.find(e=>e.name===r);
5if(!l){let e=new Date().toLocaleString("default",{month:"long"});l=s.find(a=>a.name===e)}if(!l)throw Error("Could not determine month for rate calculation.");let o=l.rate*t,d=0;return o<n&&(d=n-o),{cost:o,minimumCharge:d,total:o+d}};var v=e=>{let{estimate:a,units:t,ecoPass:i}=e,n=encodeURIComponent("Inquiry About My Eco Pass Estimate"),s=encodeURIComponent(`Hello Market Development Team, 6 7I just used your calculator and got an estimate of $${a.toLocaleString()} for ${t} ${i?"employees":"locations"}. Iâm interested in learning more about how we can move forward with providing Eco Passes for our organization. 8 9Could you please let me know the next steps or if you need any more details from me? 10 11Thanks so much, 12[Your Name] 13[Organization Name] 14[Contact Information]`),l=`mailto:[email protected]?subject=${n}&body=${s}`;return(0,r.jsxs)("p",{className:"text-sm text-gray-600 mt-4",children:["Contact us at"," ",(0,r.jsx)("a",{href:l,className:"text-blue-500 cursor-pointer",children:"[email protected]"})," ","to speak to the Market Development Team about this estimate."]})};let b=e=>{let{title:a,calculatorType:t,contractMinimum:c}=e,{translate:u}=(0,o.$G)(),[m]=(0,i.useState)("ecoPassProgramCalculator"===t),[h,g]=(0,i.useState)(new Date().getFullYear()),[x,b]=(0,i.useState)(!1),[f,j]=(0,i.useState)({email:"",address1:"",city:"",state:"",zip:"",estimate:{cost:0,minimumCharge:0,total:0},units:0,startDate:{month:"",year:""}}),[N,C]=(0,i.useState)(!0),[D,A]=(0,i.useState)(!1),[S,E]=(0,i.useState)(null),P=(0,i.useRef)(null),w=async e=>{var a;e.preventDefault(),A(!0),E(null);let t=new FormData(e.currentTarget),r=t.get("email").toString().trim(),i=t.get("address1").toString().trim(),n=null===(a=t.get("city"))||void 0===a?void 0:a.toString().trim(),s=t.get("state").toString().trim(),o=t.get("zip").toString().trim(),d=t.get("units").toString().trim(),u=(t.get("startMonth")||"").toString(),h=(t.get("startYear")||"").toString();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r))return A(!1),E("Please enter a valid email address.");if(!/^\d{5}$/.test(o))return A(!1),E("Zip code must be exactly 5 digits.");let p=Number(d);if(!Number.isInteger(p)||p<1||p>1e5)return A(!1),E(`${m?"Number of employees":"Number of units"} must be between 1 and 100,000.`);if("CO"!==s)return A(!1),E("The provided address must be within the state of Colorado.");let g=y({ecoPass:m,units:p,startMonth:u,zipCode:o,contractMinimum:c}),x={email:r,address1:i,city:n,state:s,zip:o,estimate:g,units:p,startDate:{month:u,year:h}},v=JSON.stringify({email:r,address1:i,city:n,state:s,zip:o,units:d,startMonth:u,year:h});P.current=v,C(!1),(0,l.k8)("web_pass_program_calculator",{event_category:"pass_program_calculator",event_label:"pass_program_calculator_submission"});try{let e=m?"eco-pass-calculator":"neco-pass-calculator",a=await fetch("/api/pass-program-calculator",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formType:e,fields:x})});if(!a.ok)throw Error(`Form submission failed: ${a.statusText}`);j(x)}catch(e){console.error("Failed to submit form:",e),j(x)}finally{A(!1)}},O=p(h),{units:W,estimate:L}=f,{cost:T,minimumCharge:B,total:Z}=L,I=e=>e.toLocaleString("en-US",{maximumFractionDigits:0});return(0,r.jsxs)("div",{className:"w-3/4 lg:w-1/2 bg-gray-50 rounded-lg p-5 mx-auto my-5",children:[(0,r.jsx)("h1",{className:"text-heading text-center font-bold",children:u(a)}),(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsxs)("div",{className:"w-full",children:[u(`Fill in the form below to generate an estimate of what providing an ${m?"Eco Pass":"NECO Pass"} could cost for your ${m?"business":"property"}. There is a minimum charge of $${c}
14 for all contracts. `),(0,r.jsx)("strong",{children:u("This is just an estimate, the actual cost may vary.")})]}),(0,r.jsxs)("div",{className:"w-full flex flex-col gap-2",children:[(0,r.jsx)("div",{className:"w-full",children:(0,r.jsxs)("form",{onSubmit:w,onChange:e=>{var a,t,r,i,n,s,l,o;if(!P.current)return;let d=new FormData(e.currentTarget);JSON.stringify({email:(null===(a=d.get("email"))||void 0===a?void 0:a.toString())||"",address1:(null===(t=d.get("address1"))||void 0===t?void 0:t.toString())||"",city:(null===(r=d.get("city"))||void 0===r?void 0:r.toString())||"",state:(null===(i=d.get("state"))||void 0===i?void 0:i.toString())||"",zip:(null===(n=d.get("zip"))||void 0===n?void 0:n.toString())||"",units:(null===(s=d.get("units"))||void 0===s?void 0:s.toString())||"",startMonth:(null===(l=d.get("startMonth"))||void 0===l?void 0:l.toString())||"",year:(null===(o=d.get("startYear"))||void 0===o?void 0:o.toString())||""})!==P.current&&C(!0)},children:[(0,r.jsxs)("div",{className:"flex flex-col md:flex-row gap-5 w-full mb-5",children:[(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.Wi,{required:!0,label:u(`${m?"Number of Employees":"Number of Units"}`),type:"number",name:"units",min:1,max:1e5})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.Fj,{label:u("Start Year"),options:Array.from({length:Math.max(0,Math.min(3,2027-h+1))},(e,a)=>a+h),defaultValue:h.toString(),onChange:e=>g(Number(e)),fullWidth:!0,name:"startYear"})}),(0,r.jsxs)("div",{className:"w-full relative mt-1",children:[(0,r.jsx)(n.Fj,{label:(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[u("Start Month"),(0,r.jsx)(s.BH,{className:"h-5 w-5 text-gray-500 cursor-pointer",onClick:()=>b(!x),onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1)})]}),options:O,defaultValue:O[0],onChange:()=>{},fullWidth:!0,name:"startMonth"}),x&&(0,r.jsx)(n.u,{message:u("Contracts are run on an annual calendar year so if you select February, the contract will be prorated to run from February thru December.")})]})]}),(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row gap-2 mb-5 w-full",children:[(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.Wi,{required:!0,label:u("Email"),name:"email",type:"email"})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.Wi,{required:!0,label:u("Property Address"),name:"address1"})})]}),(0,r.jsxs)("div",{className:"flex flex-col md:flex-row gap-2 mb-5 w-full",children:[(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.Wi,{label:u("City"),name:"city"})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.Fj,{label:u("State"),options:d.aH,fullWidth:!0,name:"state",onChange:()=>{},defaultValue:"CO"})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(n.Wi,{required:!0,label:u("Zip Code"),name:"zip",maxLength:5,pattern:"\\d{5}"})})]}),(0,r.jsx)("div",{className:"flex flex-col gap-3 items-center text-pretty justify-center my-2 mx-auto",children:(0,r.jsx)(n.zx,{type:"submit",variant:"primary",disabled:!N&&Z>0||D,children:D?(0,r.jsxs)("span",{className:"flex items-center gap-2",children:[(0,r.jsxs)("svg",{className:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),u("Calculating...")]}):u("Generate Estimate")})})]})}),S&&(0,r.jsx)("p",{className:"text-red-500 font-light text-sm w-3/4 mx-auto animate-fade-in",children:S}),!S&&(0,r.jsxs)("div",{className:`w-full text-center font-bold text-heading my-auto transition-all duration-500 ${T>0?"opacity-100 scale-100":"opacity-50 scale-95"}`,children:[u("Your estimate:"),(0,r.jsxs)("div",{className:`transition-all duration-700 ${T>0?"text-4xl":"text-2xl"}`,children:["$",I(Z)]}),T>0&&T<c&&(0,r.jsx)("p",{className:"text-gray-500 font-light text-sm w-3/4 mx-auto animate-fade-in",children:u(`Because your estimated total came in under the minimum charge of $${c}, an additional charge of $${I(B)} was added to your estimated contract of $${I(T)} to reach the minimum.`)})]}),T>0&&(0,r.jsx)("div",{className:"w-full text-center my-auto animate-fade-in",children:(0,r.jsx)(v,{estimate:Z,units:W,ecoPass:m})})]})]})]})}},18619:function(e,a,t){t.d(a,{InvestmentCatalogStatus:function(){return s}});var r=t(22114),i=t(47155),n=t(20751);let s=e=>{let{translate:a,queueTranslations:t}=(0,n.$G)(),s=function(e){let{page:a,totalPages:t,totalCount:r}=e;if(0===r)return"No investments match the current filters.";let i=1===r?"investment":"investments";return t>1?`Showing page ${a} of ${t} (${r} ${i})`:`Showing ${r} ${i}`}(e);return(0,i.useEffect)(()=>{t([s])},[t,s]),(0,r.jsx)("p",{role:"status","aria-live":"polite","data-testid":0===e.totalCount?"no-investments-match":"investment-count",className:0===e.totalCount?"py-8 text-gray-600":"text-sm text-gray-600 mb-6",children:a(s)})}},68048:function(e,a,t){t.d(a,{ServerArticleFilters:function(){return u}});
14var r=t(22114),i=t(47155),n=t(69033),s=t(85380),l=t(38924),o=t(78554),d=t(20751),c=t(70099);let u=e=>{let{metadata:a,currentFilters:t,hideTopicsFilter:u}=e,{translate:m}=(0,d.$G)(),{values:h,setFilters:p,clearLinkProps:g}=(0,c.I)({[o.az.ArticleCategory]:t.category||o.yK,[o.az.Year]:t.year||o.Fm,[o.az.Month]:t.year&&t.month||o.z0,...!u&&{[o.az.ArticleTopic]:t.topic||o.gf},[o.az.ArticleAuthor]:t.author||o.O7}),x=Object.keys(l.Z).slice(0,12),y=(0,i.useMemo)(()=>[{label:m(o.Fm),value:o.Fm},...a.years.map(e=>({label:e,value:e}))],[m,a.years]),v=(0,i.useMemo)(()=>[{label:m(o.z0),value:o.z0},...x.map((e,a)=>({label:m(e),value:String(a+1)}))],[m,x]),b=(0,i.useMemo)(()=>[{label:m(o.yK),value:o.yK},...Object.values(o.Fo).map(e=>({label:m(e),value:e}))],[m]),f=(0,i.useMemo)(()=>[{label:m(o.gf),value:o.gf},...a.topics.map(e=>({label:m(e),value:e}))],[m,a.topics]),j=(0,i.useMemo)(()=>[{label:m(o.O7),value:o.O7},...a.authors.map(e=>({label:e.name,value:e._id}))],[m,a.authors]),N=!!(t.year||t.month||t.category||t.topic||t.author);return(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row gap-6 mb-12 lg:mb-16 p-8 bg-gray-50 rounded-xl",children:[(0,r.jsxs)("form",{method:"get",className:"flex lg:items-center gap-3 relative flex-col lg:flex-row w-full lg:w-auto",children:[(0,r.jsx)(n.Fj,{label:m(o.Op),options:b,value:h[o.az.ArticleCategory],defaultValue:t.category||o.yK,onChange:e=>p({[o.az.ArticleCategory]:e}),name:o.az.ArticleCategory}),(0,r.jsx)(n.Fj,{label:m(o.af),options:y,value:h[o.az.Year],defaultValue:t.year||o.Fm,onChange:e=>{p({[o.az.Year]:e,[o.az.Month]:o.z0})},name:o.az.Year}),(0,r.jsx)(n.Fj,{label:m(o.rV),options:v,value:h[o.az.Month],defaultValue:t.month||o.z0,onChange:e=>p({[o.az.Month]:e}),name:o.az.Month,disabled:h[o.az.Year]===o.Fm}),!u&&(0,r.jsx)(n.Fj,{label:m(o.hn),options:f,value:h[o.az.ArticleTopic],onChange:e=>p({[o.az.ArticleTopic]:e}),defaultValue:t.topic||o.gf,name:o.az.ArticleTopic}),(0,r.jsx)(n.Fj,{label:m(o.Jg),options:j,value:h[o.az.ArticleAuthor],onChange:e=>p({[o.az.ArticleAuthor]:e}),defaultValue:t.author||o.O7,name:o.az.ArticleAuthor})]}),N&&(0,r.jsxs)(s.default,{...g,className:"flex items-center gap-2 lg:self-end lg:mb-3.5 group",children:[(0,r.jsx)(n.HQ,{className:"h-5 w-5 text-red"}),(0,r.jsx)("p",{className:"font-bold text-sm text-gray-700 group-hover:text-red",children:m("Clear filters")})]})]})}},30641:function(e,a,t){t.d(a,{ServerInvestmentFilters:function(){return c}});var r=t(22114),i=t(47155),n=t(69033),s=t(74759),l=t(78554),o=t(20751),d=t(85380);let c=e=>{let{currentFilters:a}=e,t=(0,i.useRef)(null),c=(0,s.usePathname)(),u=(0,s.useRouter)(),{translate:m,queueTranslations:h}=(0,o.$G)();(0,i.useEffect)(()=>{h([l.qR,l.I$,l.eP,l.rR,"Clear filters",...Object.values(l.pe),...Object.values(l.KL)])});let p=()=>{if(!t.current)return;let e=new URLSearchParams(new FormData(t.current));u.replace(`${c}?${e}`,{scroll:!1})},g=(0,i.useMemo)(()=>[{label:m(l.eP),value:l.eP},...Object.values(l.pe).map(e=>({label:m(e),value:e}))],[m]),x=(0,i.useMemo)(()=>[{label:m(l.rR),value:l.rR},...Object.values(l.KL).map(e=>({label:m(e),value:e}))],[m]),y=!!(a.mode||a.investmentType);return(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row gap-6 mb-12 lg:mb-16 p-8 bg-gray-50 rounded-xl",children:[(0,r.jsxs)("form",{method:"get",className:"flex lg:items-center gap-3 relative flex-col lg:flex-row w-full lg:w-auto",ref:t,children:[(0,r.jsx)(n.Fj,{label:m(l.qR),options:g,defaultValue:a.mode||l.eP,onChange:p,name:l.az.InvestmentMode}),(0,r.jsx)(n.Fj,{label:m(l.I$),options:x,defaultValue:a.investmentType||l.rR,onChange:p,name:l.az.InvestmentType})]},`${a.mode}|${a.investmentType}`),y&&(0,r.jsxs)(d.default,{href:c,replace:!0,scroll:!1,className:"flex items-center gap-2 lg:self-end lg:mb-3.5 group",children:[(0,r.jsx)(n.HQ,{className:"h-5 w-5 text-red"}),(0,r.jsx)("p",{className:"font-bold text-sm text-gray-700 group-hover:text-red",children:m("Clear filters")})]})]})}},70472:function(e,a,t){t.r(a),t.d(a,{ServerPagination:function(){return c}});var r=t(22114),i=t(85380),n=t(74759),s=t(69033),l=t(35306),o=t(31558);function d(e,a,t){let r=new URLSearchParams(e);a<=1?r.delete("page"):r.set("page",String(a));let i=r.toString();return i?`${t}?${i}`:t}function c(e){let{currentPage:a,totalPages:t,searchParams:c}=e,u=(0,n.usePathname)();if(t<=1)return null;let m=(0,o.I)({currentPageNumber:a,totalPages:t}),h=a>=t;return(0,r.jsx)("nav",{"data-testid":"pagination","aria-label":"Pagination",className:"w-full pb-4 pt-12 border-t border-gray-200",children:(0,r.jsxs)("div",{className:"flex justify-center gap-3 w-full",children:[1!==a&&(0,r.jsxs)(i.default,{href:d(c,a-1,u),className:"flex items-center gap-2 font-bold text-sm transition-colors hover:text-red focus:text-red",children:[(0,r.jsx)(l.wy,{className:"w-5 h-5 text-red"}),(0,r.jsx)("p",{children:"Back"})]}),m.map((e,t)=>(0,r.jsx)(i.default,{href:d(c,e.pageNumber,u),className:(0,s.nV)("text-sm px-1 font-bold border-b transition-colors hover:text-red focus:text-red",e.pageNumber===a?"text-red pointer-events-none border-gray-200":"text-gray-700 border-b-transparent"),children:e.text},`${e.text}_${t}`)),h?(0,r.jsxs)("span",{className:"flex items-center gap-2 font-bold text-sm cursor-not-allowed",children:[(0,r.jsx)("p",{className:"text-gray-300",children:"Next"}),(0,r.jsx)(l.XC,{className:"w-5 h-5 text-gray-300"})]}):(0,r.jsxs)(i.default,{href:d(c,a+1,u),className:"flex items-center gap-2 font-bold text-sm transition-colors hover:text-red focus:text-red",children:[(0,r.jsx)("p",{children:"Next"}),(0,r.jsx)(l.XC,{className:"w-5 h-5 text-red"})]})]})})}},43830:function(e,a,t){t.d(a,{ServiceChangesList:function(){return N}});var r,i,n=t(22114),s=t(47155),l=t(69033);let o={Routes:{es:"Rutas",zh:"路线",ru:"ÐаÑÑÑÑÑÑ",vi:"Tuyến ÄÆ°á»ng"},Search:{es:"Buscar",zh:"æç´¢",ru:"ÐоиÑк",vi:"T\xecm kiếm"},"Service Type":{es:"Tipo de servicio",zh:"æå¡ç±»å",ru:"Тип ÑÑлÑги",vi:"Loại dá»ch vụ"},Category:{es:"Categor\xeda",zh:"ç±»å«",ru:"ÐаÑегоÑиÑ",vi:"Danh má
14»¥c"},"View Details":{es:"Ver detalles",zh:"æ¥ç详æ
",ru:"ÐодÑобнее",vi:"Xem chi tiết"},Change:{es:"Cambio",zh:"åæ´",ru:"Ðзменение",vi:"Thay Äá»i"},Reason:{es:"Raz\xf3n",zh:"åå ",ru:"ÐÑиÑина",vi:"L\xfd do"},"Submit Feedback":{es:"Enviar comentarios",zh:"æäº¤åé¦",ru:"ÐÑпÑавиÑÑ Ð¾ÑзÑв",vi:"Gá»i phản há»i"}};var d=t(14978),c=t(5984),u=t(3657),m=t(38491),h=t(35894),p=t(28656);let g={_key:c.q.string().optional(),title:c.q.string().nullish(),description:c.q.contentBlocks().nullish(),enableTracking:c.q.boolean().nullish(),trackingPrefix:c.q.string().nullish(),resources:m.to};({_type:c.q.literal("resourceGroupBlock"),...g});let x=e=>((null==e?void 0:e.map(e=>{var a,t,r,i;if("to"in e){if((0,d.FS)(e.to))return{url:e.to.slug,text:e.text||e.to.title||"Internal Link",type:l._g.Internal,blockName:"intRes"};if((0,p.j)(e.to))return{url:e.to.url,text:e.text||e.to.title||"Download Link",type:l._g.Download,tracking:{goal:"web_resource_download",campaign:"resources",meta:e.to.url}};if((0,h.K)(e.to)||(0,d.Bm)(e.to))return{url:e.to.url,text:e.text||e.to.title||"External Link",type:l._g.External,blockName:"extRes"}}return"item"in e&&(0,u.Kw)(e.item)?{url:e.item.url,text:e.item.text||(null===(a=e.item.metadata)||void 0===a?void 0:a.caption)||(null===(t=e.item.metadata)||void 0===t?void 0:t.alt_text)||"Attachment",type:l._g.File,tracking:{goal:"web_resource_download",campaign:"resources",meta:e.item.url}}:(0,u.Kw)(e)?{url:e.url,text:e.text||(null===(r=e.metadata)||void 0===r?void 0:r.caption)||(null===(i=e.metadata)||void 0===i?void 0:i.alt_text)||"Attachment",type:l._g.File,tracking:{goal:"web_resource_download",campaign:"resources",meta:e.url}}:null}))??[]).filter(e=>!!e);var y=t(74759),v=t(35306),b=t(78554),f=t(20751);(r=i||(i={})).searchByRoute="Search by route",r.allCategories="All Categories",r.all="All";let j=()=>{let{translate:e,queueTranslations:a}=(0,f.$G)(),t=(0,s.useRef)(null),r=(0,y.usePathname)(),d=(0,y.useSearchParams)(),[c,u]=(0,s.useState)(""),m=(0,s.useCallback)(e=>{u(e.target.value)},[]),h={category:d.get(b.az.ServiceChangeCategory)||b.yK,serviceType:d.get(b.az.ServiceChangeServiceType)||b.up,searchQuery:d.get(b.az.Search)||""};(0,s.useEffect)(()=>{a([...Object.keys(o),...Object.values(i),...Object.values(b.$F),...Object.values(b.pI)])});let{items:p,setFilteredItems:g,setCurrentFilters:x}=(0,l.j4)(),j=(0,s.useMemo)(()=>({categoryFilterLabel:e(b.Op),serviceTypeFilterLabel:e(b.Eo),searchInputLabel:e(b.OC)}),[e]),N=h.category!==b.yK||h.serviceType!==b.up||""!==h.searchQuery,C=(0,s.useMemo)(()=>[{label:e(b.yK),value:b.yK},...Object.values(b.$F).map(a=>({label:e(a),value:a}))],[e]),D=Object.values(b.pI).map(a=>({label:e(a),value:a})),A=(0,s.useMemo)(()=>[{label:e(b.up),value:b.up},...D],[D,e]);(0,s.useEffect)(()=>{let e={category:h.category,serviceType:h.serviceType,searchQuery:c};null==g||g(p.filter(a=>{var t;return e.category===b.yK||"categories"in a&&(null==a?void 0:null===(t=a.categories)||void 0===t?void 0:t.includes(e.category))}).filter(a=>e.serviceType===b.up||(e.serviceType===b.pI.Rail?a.routes[0].routeTypeName===b.pI.Rail||"Light Rail"===a.routes[0].routeTypeName:a.routes[0].routeTypeName===b.pI.Bus)).filter(a=>{if(!e.searchQuery)return!0;let t=e.searchQuery.toLowerCase(),r=t.endsWith(" line");return t.length>4&&!r?a.routes[0].routeLongName.toLowerCase().includes(t):a.routes[0].routeShortName.toLowerCase().includes(t.replace("line","").trim())})),null==x||x({...e})},[h.category,h.serviceType,c,g,p,x]);let S=()=>{var e;null===(e=t.current)||void 0===e||e.submit()};return(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row gap-6 my-8 p-8 bg-gray-50 rounded-xl",children:[(0,n.jsxs)("form",{method:"get",className:"flex lg:items-center gap-3 relative flex-col lg:flex-row w-full lg:w-auto",ref:t,children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("label",{className:"text-gray-700 text-sm",children:e(b.OC)}),(0,n.jsx)("input",{placeholder:e("Search by route"),type:"text",name:b.az.Search,value:c,onChange:e=>m(e),className:"w-full px-3.5 py-2.5 mt-1.5 rounded-lg border border-gray-300 text-gray-900 focus:border-gray-600 focus:outline-none"}),(0,n.jsx)("button",{onClick:S,className:"cursor-pointer text-gray-500 hover:text-gray-800 w-6 h-6 p-[2px] absolute top-[42px] right-3.5","aria-label":"search",children:(0,n.jsx)(v.lA,{})})]}),(0,n.jsx)(l.Fj,{label:j.serviceTypeFilterLabel,options:A,defaultValue:h.serviceType,onCh
14ange:S,name:b.az.ServiceChangeServiceType}),(0,n.jsx)(l.Fj,{label:j.categoryFilterLabel,options:C,defaultValue:h.category,onChange:S,name:b.az.ServiceChangeCategory})]}),N&&(0,n.jsxs)("a",{href:r,className:"flex items-center gap-2 lg:self-end lg:mb-3.5 group",children:[(0,n.jsx)(l.HQ,{className:"h-5 w-5 text-red"}),(0,n.jsx)("p",{className:"font-bold text-sm text-gray-700 group-hover:text-red",children:e("Clear filters")})]})]})},N=e=>{let{lang:a,discoveredRouteNames:t,isProposed:r}=e,{translate:i,queueTranslations:c}=(0,f.$G)(),{items:u}=(0,l.j4)(),[m,h]=(0,s.useState)(u),[p,g]=(0,s.useState)();return(0,s.useEffect)(()=>{c(Object.keys(o))}),(0,n.jsxs)(l.hz,{value:{items:u,setFilteredItems:h,filteredItems:m,setCurrentFilters:g,currentFilters:p},children:[(0,n.jsx)(j,{}),(0,n.jsx)("h3",{className:"text-heading-xl font-bold pb-8",children:i("Dashboard: Routes and Lines")}),0===m.length&&(0,n.jsx)("span",{children:i("No Service Changes match the current filters or search")}),(0,n.jsx)("section",{className:"flex gap-x-12 gap-y-7 flex-wrap justify-center lg:justify-start pb-7",children:m.map((e,s)=>{var o,u,m,h;let p=r?(null===(o=e.proposedScheduleMedia)||void 0===o?void 0:o.url)||(null===(u=e.proposedScheduleLink)||void 0===u?void 0:u.to)&&(0,d.kl)(null===(m=e.proposedScheduleLink)||void 0===m?void 0:m.to):void 0,g=e.date?(()=>{let a=new Date(e.date),t=a.getUTCFullYear(),r=String(a.getUTCMonth()+1).padStart(2,"0");return`${t}${r}`})():void 0,y=!!r&&("not-configured"===t?!!g:!!Array.isArray(t)&&t.some(a=>{var t,r;return a.toUpperCase()===(null===(r=e.routes[0])||void 0===r?void 0:null===(t=r.routeShortName)||void 0===t?void 0:t.toUpperCase())}));return(0,n.jsx)(l.h6,{...e,route:e.routes[0],lang:a,proposedMapUrl:null===(h=e.proposedMap)||void 0===h?void 0:h.url,proposedScheduleUrl:p,hasProposedScheduleTxtFiles:y,runboardId:g,resources:x(e.resources),translate:i,queueTranslations:c},`${e.title}-${s}`)})})]})}},8386:function(e,a,t){t.d(a,{FacilityListLocalized:function(){return d}});var r=t(22114),i=t(47155),n=t(69033),s={"Popular Facilities":{es:"Instalaciones Populares",zh:"çé¨è®¾æ½",ru:"ÐопÑлÑÑнÑе обÑекÑÑ",vi:"CÆ¡ sá» phá» biến"},"View All Stations":{es:"Ver todas las estaciones",zh:"æ¥çææç«ç¹",ru:"ÐоÑмоÑÑеÑÑ Ð²Ñе ÑÑанÑии",vi:"Xem tất cả c\xe1c trạm"},"Bus Connections":{es:"Conexiones de autob\xfas",zh:"å
¬äº¤è¿æ¥",ru:"ÐвÑобÑÑнÑе ÑоединениÑ",vi:"Kết ná»i xe bu\xfdt"},"Rail Connections":{es:"Conexiones de tren",zh:"轨éè¿æ¥",ru:"ÐелезнодоÑожнÑе ÑоединениÑ",vi:"Kết ná»i ÄÆ°á»ng sắt"},Parking:{es:"Estacionamiento",zh:"å车",ru:"ÐаÑковка",vi:"B\xe3i Äáºu xe"},"Bike Lockers":{es:"Casilleros para bicicletas",zh:"èªè¡è½¦å¨ç©æ",ru:"ÐелоÑипеднÑе ÑкаÑÑики",vi:"Tá»§ kh\xf3a xe Äạp"},"Bike Racks":{es:"Portabicicletas",zh:"èªè¡è½¦æ¶",ru:"ÐелоÑипеднÑе ÑÑойки",vi:"Gi\xe1 xe Äạp"},Has:{es:"Tiene",zh:"æ",ru:"ÐмееÑ",vi:"C\xf3"},"Does not have":{es:"No tiene",zh:"没æ",ru:"Ðе имееÑ",vi:"Kh\xf4ng c\xf3"},"View upcoming departures":{es:"Ver pr\xf3ximas salidas",zh:"æ¥çå³å°åºå",ru:"ÐÑоÑмоÑÑ Ð¿ÑедÑÑоÑÑиÑ
оÑпÑавлений",vi:"Xem c\xe1c chuyến Äi sắp tá»i"}
14,"Image credit:":{es:"Cr\xe9dito de imagen:",zh:"å¾çæ¥æºï¼",ru:"ÐвÑÐ¾Ñ Ð¸Ð·Ð¾Ð±ÑажениÑ:",vi:"Nguá»n ảnh:"}},l=t(78554),o=t(20751);let d=e=>{let{title:a,facilities:t}=e,{translate:d,queueTranslations:c}=(0,o.$G)();return(0,i.useEffect)(()=>{c([...Object.keys(s),a])}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"col-span-full flex items-center justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(n.z1,{}),(0,r.jsx)("h2",{className:"text-heading-2xl font-bold text-gray-800 mt-4",children:d(a)})]}),(0,r.jsx)(n.Jd,{displayType:"button",text:d("View All Stations"),url:l.nn.NextRide.AllFacilities,variant:"secondary",showIcon:!0,iconOptions:{icon:"arrowRight",iconSide:"right"},className:"hidden lg:flex"})]}),t.map(e=>(0,r.jsx)(n.Tw,{...e,translate:d},e.name)),(0,r.jsx)(n.Jd,{displayType:"button",text:d("View All Stations"),url:l.nn.NextRide.AllFacilities,variant:"secondary",showIcon:!0,iconOptions:{icon:"arrowRight",iconSide:"right"},className:"flex lg:hidden justify-self-start"})]})}},64931:function(e,a,t){t.d(a,{HorizontalNavClient:function(){return l}});var r=t(22114),i=t(69033),n=t(96832),s=t(16953);let l=e=>{let{navItemLinks:a,enableTracking:t}=e;return(0,r.jsx)(i.lt,{navItemLinks:a,handleTracking:e=>{if(!t)return;let a=(0,n._)({name:e,block:"sub"});(0,s.k8)(a,{event_category:"Horizontal Nav",value:e})}})}},4491:function(e,a,t){t.d(a,{PortableTextClient:function(){return l}});var r=t(22114),i=t(69033),n=t(96832),s=t(16953);let l=e=>{let{trackingPrefix:a,...t}=e;return(0,r.jsx)(i._o,{...t,onTrackCallToAction:e=>{let{text:t,blockName:r}=e;(0,s.k8)((0,n._)({block:r,name:t,trackingPrefix:a}),{category:"CallToAction"})}})}},41304:function(e,a,t){t.d(a,{PowerBIEmbedLocalized:function(){return l}});var r=t(22114),i=t(47155),n=t(69033),s=t(20751);let l=e=>{let{rId:a,title:t,srDescription:l}=e,o=t||"Power BI Embed",{translate:d,queueTranslations:c}=(0,s.$G)();return(0,i.useEffect)(()=>{c([o])},[c,o]),(0,r.jsx)(n.xd,{title:d(o),rId:a,hideTitle:!t,srDescription:l??void 0})}},21144:function(e,a,t){t.d(a,{SidebarNavClient:function(){return u}});var r=t(22114),i=t(69033),n=t(96832),s=t(20443),l=t(92405);let o=e=>(0,r.jsx)(s.TranslateProvider,{lang:e.lang,scope:"contact",children:(0,r.jsx)(l.LocalizedContactComponent,{...e})});var d=t(27980),c=t(16953);let u=e=>{let{navItemLinks:a,sidebarNavTitle:t,enableTracking:s,enableSocial:l,contact:u,lang:m,defaultSocialShareTitleText:h,defaultEmailBodyText:p}=e,g=t||"Sidebar",x=a.length>0;return x||l?(0,r.jsxs)("div",{className:"my-4 md:mt-8 md:mb-0 md:w-64 md:min-w-min md:max-w-[50%] md:shrink-0 order-1 md:order-[unset]",children:[x&&(0,r.jsx)("div",{className:`${l?"mb-6":"mb-0"}`,children:(0,r.jsx)(i.il,{title:t??"Related Links",links:a,handleTracking:e=>{let a=(0,n._)({name:e,block:"sub",trackingPrefix:g});s&&(0,c.k8)(a,{event_category:`${t??"Related Links"} Sub Page`,value:e})}})}),l?(0,r.jsx)(o,{...u,lang:m,enableSocial:l,children:(0,r.jsx)("div",{className:"py-3",children:(0,r.jsx)(d.SocialShare,{title:h||"Share this page",defaultEmailBodyText:p,defaultSocialShareTitleText:h})})}):null]}):null}},15944:function(e,a,t){t.d(a,{default:function(){return u}});var r=t(22114),i=t(47155),n=t(69033),s={"Related Articles":{es:"Art\xedculos Relacionados",zh:"ç¸å
³æç« ",ru:"СвÑзаннÑе ÑÑаÑÑи",vi:"B\xe0i viết li\xean quan"},"View All News":{es:"Ver Todas las Noticias",zh:"æ¥çæææ°é»",ru:"ÐоÑмоÑÑеÑÑ Ð²Ñе новоÑÑи",vi:"Xem tất cả tin tức"},"RTD Staff":{es:"Personal de RTD",zh:"RTDåå·¥",ru:"СоÑÑÑдники RTD",vi:"Nh\xe2n vi\xean RTD"},Posted:{es:"Publicado",zh:"åå¸",ru:"РазмеÑено",vi:"ÄÄng"}},l=t(96832),o=t(63454),d=t(20751),c=t(16953);function u(e){let{lang:a,enableTracking:t}=e,{translate:u,queueTranslations:m}=(0,d.$G)();if((0,i.useEffect)(()=>{m(Object.keys(s))}),!e.items)return null;let h=new o.F(u,a);return"catalog"===e.listType?(0,r.jsx)(n.Ov,{items:h.makeCatalogListItemsFromCustom(e.items),translate:u,onItemTrack:e=>{t&&e.url&&(0,c.k8)((0,l._)({name:e.url,block:"card",asUrl:!0}),{category:"Card CTA",label:e.title})}}):(0,r.jsx)(n.LZ,{items:h.makeSimpleListItemsFromCustom(e.items),lang:a,translate:u})}},92405:function(e,a,t){t.d(a,{LocalizedContactComponent:function(){return s}});var r=t(22114),i=t(69033),n=t(20751);let s=e=>{let{translate:a,queueTranslations:t}=(0,n.$G)();return(0,r.jsx)(i.r8,{...e,translate:a,queueTranslations:t,children:e.children})}}
14,72639:function(e,a,t){t.d(a,{LocalizedProjectUpdateComponent:function(){return o}});var r=t(22114),i=t(47155),n=t(69033),s={"Project Overview":{es:"Resumen del proyecto",zh:"é¡¹ç®æ¦è¿°",ru:"ÐÐ±Ð·Ð¾Ñ Ð¿ÑоекÑа",vi:"Tá»ng quan dá»± \xe1n"},"Upcoming Events":{es:"Pr\xf3ximos eventos",zh:"å³å°ä¸¾è¡çæ´»å¨",ru:"ÐÑедÑÑоÑÑие ÑобÑÑиÑ",vi:"Sá»± kiá»n sắp tá»i"},Updated:{es:"Actualizado",zh:"æ´æ°",ru:"Ðбновлено",vi:"Cáºp nháºt"},Completed:{es:"Completado",zh:"已宿",ru:"ÐавеÑÑено",vi:"Ä\xe3 ho\xe0n th\xe0nh"},"In Progress":{es:"En progreso",zh:"è¿è¡ä¸",ru:"РпÑоÑеÑÑе",vi:"Äang tiến h\xe0nh"},"On Hold":{es:"En espera",zh:"æå",ru:"Рожидании",vi:"Tạm ngưng"},Future:{es:"Futuro",zh:"æªæ¥",ru:"ÐÑдÑÑее",vi:"Tương lai"}},l=t(20751);let o=e=>{let{translate:a,queueTranslations:t}=(0,l.$G)();return(0,i.useEffect)(()=>{t(Object.keys(s))}),(0,r.jsx)(n.qI,{...e,translate:a,queueTranslations:t})}},70099:function(e,a,t){t.d(a,{I:function(){return n}});var r=t(47155),i=t(74759);function n(e){let a=(0,i.useRouter)(),t=(0,i.usePathname)(),[n,s]=(0,r.useTransition)(),[l,o]=(0,r.useState)(null),d=n&&l||e;return{values:d,setFilters:e=>{let r={...d,...e};o(r);let i=new URLSearchParams(r);s(()=>{a.replace(`${t}?${i}`,{scroll:!1})})},clearLinkProps:{href:t,replace:!0,scroll:!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.