const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["chunks/Home.CX3nBtYS.js","chunks/vendor.Yn5UHKja.js","chunks/shared.CxGScO9g.js","chunks/vendor-alpha.C1sqknyM.js","chunks/Category.C6T3QVMt.js","chunks/Categories.CUOStymo.js","chunks/equipmentList.BS0iBVNB.js","chunks/EquipmenClass.CFoVsLZI.js","chunks/LocationDirectory.Dxt4rcwI.js","chunks/Search.BrS76Hgv.js","chunks/CheckoutRoutes.5Qbj69N_.js","chunks/FormLayout.CbQJ4RW4.js","chunks/PaymentMethodIcon.DWVae5L9.js","chunks/DashboardRoutes.W7dmQDkj.js","chunks/SignUpRoute.6inbpCvs.js","chunks/ApplyAccount.YMt9GkU-.js","chunks/UploadProgress.Cxno5iST.js"])))=>i.map(i=>d[i]);
var Lo=Object.defineProperty,Do=Object.defineProperties;var Ro=Object.getOwnPropertyDescriptors;var Xe=Object.getOwnPropertySymbols;var ln=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable;var cn=(t,o,a)=>o in t?Lo(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,X=(t,o)=>{for(var a in o||(o={}))ln.call(o,a)&&cn(t,a,o[a]);if(Xe)for(var a of Xe(o))dn.call(o,a)&&cn(t,a,o[a]);return t},se=(t,o)=>Do(t,Ro(o));var Re=(t,o)=>{var a={};for(var s in t)ln.call(t,s)&&o.indexOf(s)<0&&(a[s]=t[s]);if(t!=null&&Xe)for(var s of Xe(t))o.indexOf(s)<0&&dn.call(t,s)&&(a[s]=t[s]);return a};var ce=(t,o,a)=>new Promise((s,c)=>{var p=h=>{try{g(a.next(h))}catch(w){c(w)}},u=h=>{try{g(a.throw(h))}catch(w){c(w)}},g=h=>h.done?s(h.value):Promise.resolve(h.value).then(p,u);g((a=a.apply(t,o)).next())});import{bb as Po,j as e,bc as No,l as Fe,r as i,aH as le,bd as Jn,aI as Kn,aJ as Z,c as Rt,B as l,s as n,T as qe,n as st,f as ct,h as lt,d as T,C as Pt,u as Nt,m as dt,be as Mo,o as _o,t as Oo,W as $o,Y as pn,bf as Bo,bg as Uo,bh as Fo,bi as Mt,bj as qo,aR as Ho,G as zo,a as Go}from"./chunks/vendor.Yn5UHKja.js";import{p as r,eM as Yo,bo as Xn,eN as _t,eO as Vo,eP as Zn,eQ as U,eR as eo,eS as at,eT as ft,bZ as rt,eU as Wo,eV as Qo,eW as Jo,eX as Ko,eY as to,eZ as bt,e_ as Xo,e$ as Zo,f0 as ea,f1 as ta,f2 as na,f3 as oa,g as V,q as F,B as ue,f4 as un,f5 as aa,a8 as Ae,P as ra,bG as ia,e as me,ez as sa,f6 as ca,f7 as la,H as J,f as M,aa as no,ae as He,k as P,f8 as oo,a3 as nt,f9 as da,af as mn,av as ne,dB as ao,fa as pa,fb as Se,fc as jt,I as Le,fd as ro,fe as ua,ff as ma,l as ee,G as K,ac as Ve,ab as pt,ad as ut,Q as ha,v as mt,t as xa,C as io,cp as ga,aw as Ot,K as St,fg as yt,fh as hn,fi as xn,fj as fa,N as gn,T as ba,fk as $t,fl as Bt,a6 as so,x as Tt,fm as _e,fn as ya,fo as Ea,fp as wa,ap as Ca,_ as fe,$ as be,di as co,dj as lo,a4 as ja,fq as Sa,fr as Ta,eu as po,c7 as ka,fs as uo,z as ot,ft as fn,c8 as Aa,fu as Ia,fv as va,fw as La,fx as Da,fy as Pe,fz as Ra,fA as Pa,fB as Et,bu as Na,bw as Ma,fC as _a,bt as Oa,fD as Ut,fE as Ye,Y as $e,fF as kt,fG as Ft,cv as $a,as as mo,X as Ba,fH as bn,J as Ua,fI as Fa,ao as qa,fJ as Ha,fK as za,fL as Ga,fM as Ya,m as Be,fN as Va,fO as Wa,fP as Qa,bz as Ja,j as B,i as Y,fQ as Ka,fR as Xa,fS as Za,bV as er,ar as yn,fT as tr,a9 as nr,fU as or,fV as ar}from"./chunks/shared.CxGScO9g.js";import{a0 as ho,a1 as xo,a2 as go,B as rr,a3 as ir,R as sr,T as I,S as it,W as cr,V as Ce,_ as lr,l as dr,v as Ne,a4 as pr,a5 as ur,Y as mr,Z as hr,a6 as xr}from"./chunks/vendor-alpha.C1sqknyM.js";const je=2147483100,gr={speedDial:50+je,appBar:50+je,drawer:100+je,modal:150+je,snackbar:200+je,tooltip:250+je,fab:300+je};function fo({children:t}){const o=Po({palette:r,typography:Yo,breakpoints:Xn,zIndex:gr});return e.jsx(No,{theme:o,children:t})}const fr={back:"Back",edit:"Edit",rentNow:"Rent Now",rentEquipment:"Rent Equipment",redirecting:"Redirecting...",backButtonLabel:"Back",placeholders:{monthDayYear:"MM/DD/YYYY",currency:"XXX,XXX.XX"},and:"and",or:"or",locationHelperTexts:{default:"Enter city or zip code",invalidLocation:"Please enter a valid city or zip code"},uploadHelperTexts:{uploading:"Uploading...",uploadComplete:"Upload complete"},noMatchingResultsFound:"No matching results found.",addressCouldNotBeValidated:"The address you entered could not be validated. Please check the address and try again.",unresolvedCoordinatesError:"The selected address could not be resolved to valid coordinates. Please choose an address from the dropdown or enter a different address."},br={signInContent:"Already have an account?",signInLink:"Sign in",signUpContent:"New to EquipmentShare?",signUpLink:"Create account"},yr={haveQuestions:"Have questions? ",phoneText:"Talk with your local branch "},Er={setLocation:"Set location for accurate pricing"},wr={continueAsGuest:"Checkout as guest",continueToCheckout:"Continue to checkout",checkoutAuthInitializingAriaLabel:"Checking sign-in status",branchDetailsLeftHeader:"ORDERING FROM",cartModal:{dateNotification:"All the equipment in your cart will follow the selected dates. To rent for a different timeframe, please place a separate order.",locationRequired:"Location required",selectFutureDates:"Your selected rental dates have already passed. Please select future dates to move forward with your reservation.",shortNoticeWarning:"Selected <bold>start date is within 24 hours.</bold> Delivery may be delayed or subject to availability.",shortNoticeWarningCartItem:"Start date is within 24 hours. Delivery may be delayed or subject to availability."},salesStaffEmailOption:{label:"Are you currently working with an EquipmentShare Account Manager or have you worked with one in the past?",selected:{value:"Yes",description:"I will provide my Account Manager’s email address or contact information.",emailInputLabel:"Account Manager’s Email Address (recommended for fastest response)",incorrectEmailMessage:"Enter Valid Equipmentshare Email",alternateDataLabel:"Alternative Account Manager Contact Details",alternateDataPlaceholder:"John Account Manager from KC branch"},notSelected:{value:"No",description:"Assign me an Account Manager"}}},Cr={priceMismatchMessage:{title:"Cart Prices Updated",description:"Some equipment prices in your cart have changed since you added them. Please review the updated pricing to continue with your order.",confirmButtonLabel:"REVIEW CART",cancelButton:"Cancel"}},jr={all:"All",seeAll:"See All",seeMore:"See More",showing:"Showing",of:"of",filters:{titleDesktop:"Filters",titleMobile:"Filter By Specs",bottomSheetTitle:"Specs Filters",clearFiltersLabelDesktop:"Clear all filters",clearFiltersLabelMobile:"Clear",applyFiltersLabel:"Apply filters"}},Sr={message:"Coming soon: {name} page"},Tr={myAccount:"My account",createAccount:"Create account",alreadyHaveAnAccount:"Already have an account? ",signIn:"Sign in"},kr={"general-liability":{title:"General Liability"},"auto-liability":{title:"Auto Liability"},"rental-floater":{title:"Property coverage / Rental"},"drivers-license":{title:"Drivers License"},headers:{document:"Document",fullName:"Name",coverageAmount:"Coverage Amount",validFrom:"Valid From",expiration:"Expiration",dateAdded:"Date Added",status:"Status",actions:"Actions",view:"View"},actions:{view:"View / Download"},status:{approved:"Approved",pending:"Pending",inReview:"In Review",rejected:"Not Approved",expired:"Expired"},uploadDocument:{desktopAddButtonLabel:"add new document",mobileAddButtonLabel:"add document",desktopSubmitButtonLabel:"Save changes",mobileSubmitButtonLabel:"Save",uploadInsuranceTitle:"Upload Insurance Document",driverLicenseTitle:"Upload Drivers License",disclaimer:"Changes made to here will be made across your account.",effectiveDate:{label:"Effective Date",invalidError:"Invalid date"},expirationDate:{label:"Expiration Date",invalidError:"Invalid date"},totalCoverageAmount:{label:"Total Coverage Amount",invalidError:"Invalid coverage amount"},fullName:{label:"Full Name"},licenseNumber:{label:"License Number"},state:{label:"State"},selectFile:{labelStart:"Drag & drop or",labelMid:"Choose File",labelEnd:"to upload",label:"Drag & drop or {chooseFile} to upload",maxFileSize:"Maximum file size is {maxFileSize}",helperMessage:"Supported formats: PDF, JPEG & PNG",invalidError:"No document uploaded"}}},Ar={locationLabel:"Where’s your jobsite",locationDefaultPlaceholder:"City or zip code",dateLabel:"Dates",submitButton:"Rent Equipment",form:{startDateLabel:"Start date",endDateLabel:"End date"}},Ir={label:"Where is your jobsite?",nolocationsFound:"No locations found",noAddressFoundHelperText:"Don't have an address? Enter jobsite coordinates (or select on map)",noAddressText:"No addresses available",invalidAddress:"Invalid jobsite address. Please enter in valid latitude and longitude or select on map."},vr={findOnMapButton:"Find on map",helperText:"Place a pin on your jobsite location",drawerHeader:"Place Jobsite Location Pin",saveLocationButton:"Save Location"},Lr={selectedAddressMissing:"Selected address is missing",please:"please",myProfile:'access "my profile" to edit'},Dr={sectionTitles:{rentalAccount:"Your Rental Account",t3Tech:"Your T3 Tech"},cards:{orders:{title:"Order history",description:"View a detailed record of your previous and ongoing orders"},rentalManagement:{title:"Rental Management",description:"View and manage rentals, reservations and request equipment service"},invoices:{title:"Invoices & Payments",description:"View all transactions, manage payments and settings"},profile:{title:"Profile",description:"Edit name, contact info, company and default branch"},rentalAgreements:{title:"Rental Agreements",description:"Confirm and electronically sign rental agreements tied to your orders"},analytics:{title:"Analytics",description:"Access rental insights on your equipment's history, usage and spend"},rentalInsurance:{title:"Rental Insurance (COI)",description:"Upload / update your Certificate of Insurance for a quicker rental process"},fleetMap:{title:"Fleet Map",description:"Monitor activity and utilization for all your rentals from EquipmentShare"},affiliateCompaniesReport:{title:"Affiliate Companies Report",description:"Explore rental data on affiliate companies and download the On Rent Report"},documents:{title:"Documents & Insurance (COI)",cardTitle:"Documents & Insurance (COI)",description:"Upload / update rental insurance documents and more"},emissionsReport:{title:"Emissions Report",description:"Explore fuel consumption and emissions data for your rentals"},creditAccount:{title:"Apply & Manage Account",description:"Set up your account to unlock full account benefits and get ready to rent faster."},cameras:{title:"Cameras",description:"Monitor video feeds for your project cameras"},p66:{title:"Phillips 66 Rental Request",description:"Submit equipment rental requests for Phillips 66 facilities and projects"}},requestService:"Request Service"},Rr={labels:{accountHolder:"Account holder",signIn:"Sign In",welcome:"Welcome"},subtitles:{t3Tech:"Your T3 Tech",rentalAccount:"Your Rental Account"},signUp:{newCustomer:"New customer?",startHere:"Start here."},links:{manageProfile:"Manage Profile",fleetMap:"Fleet Map",account:"Account",orders:"Orders & Quotes",invoices:"Invoices & Payments",profile:"Profile",myProfile:"My Profile",notifications:"Notifications",helpCenter:"Help Center",logout:"Logout"}},Pr={signupTermsText:"By continuing, you agree to EquipmentShare’s",signupTermsLink:"Conditions of Use",getStarted:{title:"Get Started",pageTitle:"Get Started",emailInputLabel:"Enter your email address",submitButtonLabel:"Continue",footerText:"Already have an account?",footerLink:"Sign in.",form:{email:{invalidEmailErrorMessage:"Please enter a valid email address.",maxLengthErrorMessage:"Exceeded maximum limit of 50 characters"}}},verifyEmail:{title:"Check your Email",pageTitle:"Check Email",subtitle:"Please check your inbox to proceed",descriptionPart1:"We've just sent an email to",descriptionPart2:"with a link to continue.",footerText:"Didn’t receive: check spam or ",footerLink:"click to resend."},createAccount:{title:"Create your account",pageTitle:"Create Account",companyTitle:"Create your company account",form:{firstName:{label:"First name",requiredErrorMessage:"First Name is required"},lastName:{label:"Last name",requiredErrorMessage:"Last Name is required"},companyName:{label:"Company name",maxLengthErrorMessage:"Exceeded maximum limit of 50 characters"},password:{label:"Password",minLengthHelperText:"Minimum 8 characters",matchCaseHelperText:"Both upper and lowercase letters",matchNumberHelperText:"A number",matchSpecialCaseHelperText:"A symbol"},confirmPassword:{label:"Confirm password",mustMatchHelperText:"passwords must match"},applyCredit:{heading:"Interested in applying for a credit account?",yes:{title:"Yes",description:"Credit application to follow"},no:{title:"No",description:"I plan to pay by card or bank account only"}},alertsTextNotificationsLabel:"Receive text alerts and notifications",marketingEmailsOptInLabel:"Receive marketing emails",marketingEmailsOptInDescription:"I agree to receive marketing emails tailored to my interests upon account setup. EquipmentShare respects your privacy and will never share your data. Unsubscribe at any time.",phone:{label:"Phone number",requiredErrorMessage:"Phone number is required",invalidErrorMessage:"Invalid phone number"}},terms:{description:"By clicking 'Create Account', you are creating an account, and you agree to our",and:"and",termsOfService:"Terms of Service",privacyPolicy:"Privacy Policy"},signInLink:"Back to sign in"},createCompanyAccount:{pageTitle:"Create Company Account"},linkExpiredOnSelfSignup:{title:"My Account",subtitle:"Link has expired or has already been used",emailInputLabel:"Re-enter your email address",submitButtonLabel:"Resend Email Verification",footerText:"Need help?",footerLink:"Connect with support."},linkExpiredOnInviteSignup:{title:"Invite expired",subtitle:"Please contact your company admin",description:"Link expired. Please contact your company Admin for a new invite to this company account.",footerText:"Need help?",footerLink:"Connect with support."},companyExistsOnSelfSignup:{title:"A Company Account May Already Exist",subtitle:"Please contact your company admin",description:"We found an existing EquipmentShare account connected to your company email. Sometimes different companies or locations share the same email domain. If your company already has an account, your administrator can invite you to join it.",proceedMessage:"If this account isn’t yours, you can continue by creating a new company account.",proceedButton:"Create New Company",footerText:"Need help determining the right account?",footerLink:"Contact support."},confirmAccount:{title:"Account Confirmed",pageTitle:"Account Confirmed",subtitle:"Thank you!",description:"Your account has been successfully created! You are now being redirected.",footerText:"Not redirected?",footerLink:"Click here to continue."},inviteTeam:{title:"Invite your team",pageTitle:"Invite Team",subtitle:"Thank you!",inputLabel:"Email address",inputPlaceHolder:"Email, comma separated",helperText:"Maximum 10 entries*",description:"Your account has been successfully created! You are now being redirected.",addButtonLabel:"Add",removeButtonLabel:"Remove",submitButtonLabel:"Invite Teammates",footerText:"I would like to",footerLink:"skip and do this later"},inviteConfirmation:{title:"Invitations sent!",footerLink:"Continue To My Account"}},Nr={v2:{challengeMessage:"Please complete the security check below"}},Mr={fullAccess:{label:"Full Access",description:"Grants comprehensive control over the rental platform, including managing rentals, billing, and team members."},manager:{label:"Manager",description:"Allows oversight and management of rental operations, including inviting team members at the User role."},user:{label:"User",description:"Enables renting equipment and managing personal transactions with limited access to other features. Users can also invite team members at the User role."},admin:{label:"Admin"},salesPerson:{label:"Sales Person"},operations:{label:"Operations"},driver:{label:"Driver"},pending:{label:"Pending"}},_r={message:"Redirecting..."},Or={preferredLabel:"Preferred",backendError:"Failed to update information, please try again",backButtonLabel:"Back",closeButtonLabel:"Close",editButtonLabel:"Edit",mobileViewSectionLabels:{personalInfo:"Personal Info",companyInfo:"Company info",billingInfo:"Billing info",manageTeam:"Manage team",manageJobsites:"Manage jobsites",notifications:"Notifications"},pageHeader:{manageYourProfile:"Manage Your Profile",manageYourOrdersAndRentals:"Your Orders & Rentals"},breadcrumbLinks:{yourAccount:"YOUR ACCOUNT",yourProfile:"YOUR PROFILE",yourOrders:"YOUR ORDERS",yourRentals:"ACTIVE RENTALS"},addressForm:{addressLabel:"Address",coordinatesLabel:"Coordinates",noAddress:"No address?",enterJobsiteCoordinates:"Enter jobsite coordinates",enterJobsiteAddress:"Enter jobsite address instead"},mobileLabel:"Mobile Number",emailLabel:"Email",updateEmailTextSubLabel:"Request email update",smsLabel:"SMS",firstNameLabel:"First Name",lastNameLabel:"Last Name",cityLabel:"City",stateLabel:"State",zipCodeLabel:"Zip Code",changeRemoveButton:"Change / Remove",viewButton:"View",setPreferredButton:"Set Preferred",updateModal:{description:"Changes made to here will be made across your account."},personalInfo:{header:"Personal Info",nameLabel:"Account Holder"},companyInfo:{header:"Company Info",companyNameLabel:"Company Name",companyAddressLabel:"Company Address",companyPhoneLabel:"Company Phone"},billingInfo:{header:"Billing Info",pointOfContactNameLabel:"Point of Contact",billingPointOfContactLabel:"Billing Point of Contact",billingPhoneLabel:"Billing Phone",billingAddressLabel:"Billing Address",billingEmailLabel:"Billing Email"},jobsiteInfo:{header:"Your Jobsites",addNewJobsiteButton:"Add new jobsite",addJobsiteLabel:"Add jobsite",emptyListLabel:"To add jobsites, select “Add new jobsite” below.",emptyListLabelForUserRole:"Your company admin has not added any jobsites yet.",jobsiteNameLabel:"Jobsite Name",updateButton:"UPDATE JOBSITE",removeButton:"REMOVE JOBSITE",deleteJobsiteButton:"DELETE JOBSITE",setPreferredJobsiteLabel:"Set as preferred jobsite",preferredJobsiteLabel:"Preferred jobsite",jobsiteAddressLabel:"Jobsite address",jobsiteCoordinatesLabel:"Jobsite coordinates",enterJobsiteCoordinatesText:"Don’t have an address? Enter jobsite coordinates (or select on map)",enterJobsiteAddressText:"Enter jobsite address instead",addressLine1Label:"Address Line 1"},manageTeam:{header:"Manage Your Team",mobileHeader:"My Team",changeRemoveButton:"Change / Remove",modal:{addTeamHeader:"Add team member(s)",editTeamHeader:"Edit team member",teamInvitationStatusHeader:"Invitation(s) sent!",newMembersInvited:"new members invited",membersInviteFailed:"invite failed",inviteSuccess:"Invite sent",inviteFailed:"Invite failed"},addButton:"add new team member",userRoleLabel:"User Role",deleteUserButton:"DELETE USER",deleteUserErrors:{ES_API_CU_01:"Can't delete your own user account. Please contact your account owner or T3 support to delete your account.",ES_API_CU_02:"Cannot delete user because they are currently the primary billing contact for the company."},pendingInvitesTitle:"Pending Invites",activeMembersTitle:"Active Team Members",filterByRole:{filterButtonLabel:"Filter by role",menuTitle:"Select Roles To Filter By",allRoles:"All Roles",submitButtonLabel:"Apply filter"}},notificationInfo:{header:"Notifications",emailNotificationsLabel:"Email notifications ",emailNotificationsOn:"(on)",emailNotificationsOff:"(off)",smsNotificationsLabel:"SMS notifications ",smsNotificationsOn:"(on)",smsNotificationsOff:"(off)",consentMessage:"By opting into text messages, you agree to receive automated messages from EquipmentShare. To receive messages at a different number, ",consentMessagePhoneNumberUpdate:"update your phone number",consentMessageSuffix:" on your profile page above. ",primaryEmailLabel:"Current primary email:",primaryPhoneLabel:"Current primary phone number:",rentalNotificationHeader:"Rental Notifications",marketingNotificationsHeader:"Get the Latest",rentalNotificationModalHeader:"Rental notifications",marketingNotificationsModalHeader:"Get the latest notifications"},updateForm:{saveButtonLabel:"Save",savingButtonLabel:"Saving",saveChangesButtonLabel:"SAVE CHANGES",updatingButtonLabel:"Updating",addingButtonLabel:"Adding",removingButtonLabel:"Removing",deletingButtonLabel:"Deleting",invalidPhone:"Please provide a valid phone number",invalidAddress:"Please provide a valid address"}},$r={orderHistory:"Your Order History",yourActiveRentalsLabel:"Your Active Rentals",assetIdLabel:"Asset:",rentalLabel:"Rental",startDateLabel:"Start Date",endDateLabel:"Est End Date",endDateLabelMobile:"End Date",backendError:"Failed to update information, please try again",backButtonLabel:"Back",tableHeaders:{orders:"ORDERS",active:"ACTIVE"},details:"Details",close:"Close",equipment:"Equipment",noOrderMessage:"No orders yet...",noActiveRentalsMessage:"No active rentals yet...",pageHeader:{manageYourOrdersAndRentals:"Your Order History",activeRentalsHeader:"Rental Management"},breadcrumbLinks:{yourAccount:"YOUR ACCOUNT",yourOrders:"YOUR ORDERS"},orderTableHeaders:{orderPlaced:"Order Placed",equipment:"Equipment",quantity:"Quantity",startAndEndDate:"Start / End Date",jobsite:"Jobsite",status:"Status"},activeTableHeaders:{equipment:"Equipment",startDate:"Start Date",endDate:"End Date",jobsite:"Jobsite",poName:"PO#",rentalId:"Rental #",actions:"Actions"},activeRentals:"ACTIVE RENTALS",active:"Active",bulkItem:"Bulk Item",notApplicable:"NA",updateInDesktopFormLabels:{modalHeader:"Add Purchase Order",addButtonLabel:"Add Purchase Order",addingButtonLabel:"Adding...",orderNumber:" ",purchaseOrder:"Name",startDate:"Start Date",endDate:"End Date",amount:"Budget Amount (USD)",saveButtonLabel:"Save Changes",savingButtonLabel:"Saving"},scheduleOffRentModal:{pickUpDateLable:"Schedule Your Pick Up Date",notes:"Notes:",saveButtonLabel:"Schedule Pick Up",savingButtonLabel:"Scheduling",placeholders:{notes:"This is a space for a user note"},modal:{scheduleHeader:"Reschedule Pick Up",rescheduleHeader:"Schedule Pick Up"}},purchaseOrderNameTooShort:"Purchase Order must be at least 3 characters long.",purchaseOrderNameTooLong:"Purchase Order can only be a maximum of 255 characters.",purchaseOrderDuplicateName:"Purchase Order with this name already exists.",purchaseOrderGenericError:"Failed to add purchase order. Please try again.",assignPurchaseOrder:{modalHeader:"Assign Purchase Order",description:"Select an existing PO or create a new one to assign to this order. All rentals in this order will be updated",purchaseOrderLabel:"Purchase Order",searchPlaceholder:"Search purchase orders",noResults:"No purchase orders found",minCharsHint:"Type at least 3 characters to search",searching:"Searching...",helperText:"Want to use a different PO for this order? Select an existing PO or",createNewLink:"create a new one",saveButtonLabel:"SAVE CHANGES",savingButtonLabel:"SAVING...",backendError:"Failed to assign purchase order"}},Br={accountManagerEmail:"Account Manager Email",optional:"(Optional)",accountManagerHelperText:"<bold>Working with an account manager?</bold> Enter their email to route this request directly to them for faster processing."},Ur={pageHeader:{manageYourCreditAccount:"Apply & manage your account"},actions:{applyForCredit:"Apply for credit",returnToApplication:"Return to application",getCreditHelp:"Get credit help",viewApplication:"View application",reapplyForCredit:"Reapply for credit"},creditInfo:{header:"Credit Info & Status",status:"Application Status",limit:"Credit Limit",itemTitle:"Item Title"},breadcrumbLinks:{yourAccount:"YOUR ACCOUNT",manageCreditAccount:"Apply & manage account"},companyDetails:{title:"Company details",individualTitle:"Individual details",CODtitle:"Account Information",whoAreYouApplyingAs:"Who are you applying as?",applicantType:{label:"Applicant type",company:"Company",individual:"Individual"},company:"Company",businessLegalName:"Business Legal Name",dba:"DBA",address:"Address",city:"city",state:"state",email:"email",phone:"phone",contactName:"Contact Name",zipCode:"zip code",federalTaxID:"Federal Tax ID",taxID:"Tax ID",taxExempt:"Tax Exempt",bankruptcy:"Bankruptcy",natureOfBusiness:"Nature of Business",stateOfOrganization:"State of Organization",isSalesTaxExempt:"Sales Tax Exempt?",hasFiledBankruptcy:"Has this Company, it’s Owners or Officers Filed for Bankruptcy?",hasFiledPersonalBankruptcy:"Have you ever filed for personal bankruptcy?",salesTaxExemptOptions:{yes:{title:"yes",content:"Document required for exemption"},no:{title:"no",content:"Will be charged sales tax"}},hasFiledBankruptcyOptions:{yes:{title:"yes"},no:{title:"no"}},salesContactOptions:{yes:{title:"yes"},no:{title:"no"}},salesContact:{subFormTitle:"Sales Member Details",summaryLabel:"Sales Member",hasSalesContact:"Are You Working With A Member Of Our Sales Staff?",firstName:"First Name",lastName:"Last Name",email:"Email"}},billingDetails:{title:"Billing details",sameAddressAsAbove:"Billing and account addresses are the same",sameAddressAsProfile:"Billing address is the same as your profile address",invite:"Invite new contact",invited:"Invite sent to: ",inviteTeamMember:"Add team member(s)",selectInviteLabel:"Select an existing user or invite a new one",accountPayableInfo:"Accounts Payable Information",accountPayableContact:"Accounts Payable Contact",accountsPayableFirstName:"First Name ",accountsPayableLastName:"Last Name",billingAddress:"Billing Address",address:"Address",city:"city",state:"state",email:"Email",phone:"Phone",zip:"zip code",invoiceMethod:"Invoice Method",emailAndPaperCopy:"Email + Paper Copy",poRequired:"PO Required",preferredMethodOfInvoicing:"Preferred Method for Invoicing",isPORequired:"PO Required?",monthlyInvoices:"Monthly Invoices",isMonthlyStatementsRequired:"Monthly Statements Required?",preferredMethodOfInvoicingOptions:{mail:{title:"Email",content:"Electronic billing notification only"}},isPORequiredOptions:{yes:{title:"yes"},no:{title:"no"}},isMonthlyStatementsRequiredOptions:{yes:{title:"yes"},no:{title:"no"}}},insuranceDetails:{title:"Insurance details",helperText:"What is RPP?",haveMyOwnRentalInsurance:"I Have My Own Rental Insurance",insuranceCompany:"Insurance Agent/Agency",insuranceContactLabel:"Insurance Contact",insuranceContactTitle:"Insurance Point of Contact",insuranceContactMessage:"We will reach out for insurance information when needed",firstName:"First Name",lastName:"Last Name",email:"email",phone:"phone",haveMyOwnRentalInsuranceOptions:{yes:{title:"yes",content:"I can provide my own COI"},no:{title:"no",content:"I accept EquipmentShare",rpperms:"RPP terms"}},insurance:"Insurance",hasOwnInsurance:"Yes (use my own)",acceptedRPPTerms:"No (accepted RPP terms)"},branchDetails:{title:"Branch Information",yourBranch:"Your Branch"},increaseCredit:{title:"Credit increase request",currentLimit:"Current Credit Limit",requestedLimit:"Current Credit Limit",reason:"Current Credit Limit",submit:"Submit request"},review:{form:{fullNameFieldLabel:"First & Last Name",ssn:"SSN",address:"Address",city:"City",state:"State",zipcode:"Zip Code",driversLicenseFieldTitle:"Upload Drivers License",driversLicenseFieldDescription:"First and last name must match personal guarantee signee",driversLicenseFieldLabel:"License Front"}},yearsInBusiness:"Years in Business",yearsInBusinessOptions:{upto5:{label:"0-5 years",value:"0-5"},"6plus":{label:"6+ years",value:"6+"}},termsAndConditionsConsent:"By entering my name, I acknowledge that I have read and agree to the {termsAndConditions}.",personalGuaranteeConsent:"By entering my name, I acknowledge that I have read and agree to the {personalGuarantee}, and I am authorized to submit this application.",isPaperCopy:"Include paper copies",backToAccount:"Back to my account",termsAndConditions:"Terms and Conditions",personalGuarantee:"Personal Guarantee",notApplied:"Not Applied",inProgress:"In Progress",denied:"Denied",approved:"approved",deniedTooltip:"Your application has been denied. Please contact the Credit Team for more information.",ES:"ES",termsHelperText:"go here. Following the short terms can be a link to the full terms with underlined",termsHelperTextBold:"text or a small button.",submissionHelperText:"You submitted this application on",submitMyApplication:"Submit my application",yes:"Yes",no:"No",applyNow:"Apply Now",applyCreditTitle:"Get Commercial Credit Fast!",applyCreditDescription:"Apply easily online with EquipmentShare and unlock the power to rent now, pay later. Just follow the link to our quick application form."},Fr={generic:fr,authenticationLinks:br,branch:yr,navbar:Er,cart:wr,checkout:Cr,categories:jr,comingSoon:Sr,doMoreWithRentalAccount:Tr,documents:kr,locationAndDateSelector:Ar,locationDropdown:Ir,coordinatePicker:vr,checkoutFlowValidations:Lr,userDashboard:Dr,userDropdown:Rr,signup:Pr,recaptcha:Nr,userRoles:Mr,loginRedirect:_r,myProfile:Or,myOrders:$r,jobsiteDetailsForm:Br,creditApplication:Ur},qr="See More",Hr="View Page",zr="No matching results.",Gr="EquipmentShare",Yr={seeMore:qr,viewPage:Hr,emptyNoResults:zr,thumbnailFallbackLabel:Gr},Vr={cta:"Request a quote",supportingLine:"Not ready to check out? Send your cart to a sales rep and we'll follow up with a quote valid for 30 days.",ctaAriaLabel:"Request a quote from a sales representative",dialogTitle:"Request a Quote",closeDialogAriaLabel:"Close",backToCart:"Back to Cart",backToCartAriaLabel:"Back to cart",sectionYourInformation:"Your Information",fullNameLabel:"Full Name",companyLabel:"Company (optional)",emailLabel:"Email Address",phoneLabel:"Phone Number",projectNotesLabel:"Project Notes (optional)",projectNotesPlaceholder:"Tell us about your project, timing, delivery needs, or questions",cartSummarySectionTitle:"Your Cart Summary ({count, plural, one {# Item} other {# Items}})",cartSummaryRentalDatesLabel:"Rental Dates:",cartSummaryLineItemPricing:"{dayRate} / day - {lineTotal}",cartSummaryEstimatedTotalLabel:"Estimated Total",cartSummaryEstimatedTotalDisclaimer:"Estimated total is based on current selections and may not include all fees. We’ll reach out by phone or email to finalize your 30-day quote.",cartSummaryLineItemsAccordionExpand:"Expand cart line items",cartSummaryLineItemsAccordionCollapse:"Collapse cart line items",submitRequest:"Submit quote request",thankYouTitle:"Thank you for your quote request!",thankYouCloseAriaLabel:"Close",thankYouQuoteSummaryHeading:"Quote Summary",thankYouItemsLabel:"Items:",thankYouItemsValue:"{count, plural, one {# item} other {# items}}",thankYouRentalPeriodHeading:"Rental Period",thankYouRentalRange:"{start} - {end}",thankYouFollowUp:"A sales representative will follow up with you soon.",cartSuccessBannerTitle:"Quote Submitted Successfully",cartSuccessBannerBody:"A sales representative will contact you soon with your quote details.",ctaLockedAfterSubmitTitle:"Looks like you’ve already submitted a quote request for this cart. Updating your cart will enable a new quote request."},Wr={requestQuote:Vr},Qr={label:"Equipment Utilization",description:"Review utilization details for active rentals and manage underutilized equipment."},Jr={label:"Utilization",cards:{equipmentOnRent:{label:"Equipment On Rent"},dailyUtilization:{label:"Daily Avg. Utilization",tooltip:"Daily Average Utilization is the percentage of rented assets that were used each day, on average."},runTime:{label:"Total Run Time"},idleTime:{label:"Total Idle Time",tooltip:"Total time on road vehicles have spent at idle (engine on, no operation)"}},info:{dataUpdation:"Data shown reflects the last 30 days and is updated daily",lastUpdated:"last updated {date}",dataUpdatedNA:"- N/A"},error:{generic:"Error: {error}",companyNotFound:"Company ID not found",fetchSummaryFailed:"Failed to fetch utilization summary"},loading:{text:"..."},table:{columns:{asset:{label:"Asset"},equipment:{label:"Equipment"},company:{label:"Company"},location:{label:"Location"},lastUse:{label:"Last Use",valueTooltip:"Last check-in {date} @ {time}"},daysUsedVsOnRent:{daysUsedLabel:"Days Used/",daysOnRentLabel:"Days On Rent"},utilization:{label:"Utilization",tooltip:"Usage is the percentage of days the asset was used during its rental period."},totalHrs:{label:"Total hrs"},estOffRentDate:{label:"Est. Off-Rent Date"},actions:{moreDetails:{label:"More Details"}}}},filter:{label:"Filter",popup:{label:"All Filters",tracker:{label:"Tracker",hasTracker:"Has Tracker",noTracker:"No Tracker"},category:{label:"Category"}},clearButton:{label:"Clear All"},applyButton:{label:"Done"}},jobsiteDetails:{toggleOpen:"Detail",toggleClose:"Close",jobsite:"Jobsite",rentalNumber:"Rental #:"},lastCheckinTooltip:"Last check-in {date} @ {time}"},Kr={dashboardTile:Qr,page:Jr},Xr={chooseOption:"Choose how you’d like to rent and pay for your equipment.",chooseOptionSubText:"Select the option that best fits your project size, payment preference, and flexibility needs.",creditAccount:"Credit Account",creditAccountDesc:`Pay with monthly invoices — requires credit approval.
Best for ongoing projects, flexible payment terms, and larger rentals.`,cod:"Cash on Delivery (COD)",codDesc:`Pay at the time of rental — no credit approval required.
Available for rentals up to $50,000 OEC or less. Best for one-time or smaller rentals.`,continue:"Continue",creditNote:"Credit can be applied for later when setting up a COD account"},Zr={account:{title:"Account Information"},billing:{title:"Billing Information"},insurance:{title:"Insurance Information"}},ei={select:Xr,summary:Zr},ti="Payment & Billing Details",ni="Payment Methods",oi="Billing Information",ai="Billing Settings",ri="Preferred payment method:",ii="Other payment methods:",si="Add new payment method",ci="Edit",li="Change",di="Remove",pi="Card Details",ui="Name on Card",mi="Expiry Date",hi={title:"Payment & Billing Details",description:"Save payment methods, update billing contacts and more."},xi="No payment methods found",gi="Add a payment method to get started.",fi={title:"Remove Payment Method?",description:"Are you sure you want to remove this payment method? This action cannot be undone.",confirmButtonLabel:"Remove",cancelButtonLabel:"Cancel"},bi={paymentMethodNotFound:{title:"Payment Method Not Found",description:"The payment method you are trying to remove no longer exists.",closeButtonLabel:"Close"},paymentMethodInUse:{title:"Cannot Delete Payment Method",description:"This payment method cannot be deleted. Please contact support for assistance.",closeButtonLabel:"Close"}},yi={name:"Accounts Payable Contact",phone:"Phone",address:"Billing Address",email:"Email",poRequired:"PO Required",monthlyStatements:"Monthly Statements",billingSettings:"Billing Settings",netTerm:"Net Term",rentalBillingCycles:"Rental Billing Cycles",employerIdentificationNumber:"Employer Identification Number",billingMethod:"Billing Method"},Ei={headerLabel:"Edit billing information",description:"Changes made to here will be made across your account.",name:"Accounts Payable Contact",phone:"Phone",address:"BillingAddress",city:"City",state:"State",zip:"Zip Code",email:"Email",isPORequired:"PO Required?",isMonthlyStatementsRequired:"Monthly Statements Required?",preferredMethodOfInvoicing:"Invoicing Method",preferredMethodOfInvoicingOptions:{mail:{title:"Mail",content:"Paper copy notification"},email:{title:"Email",content:"Electronic notification only"}},isPORequiredOptions:{yes:{title:"Yes"},no:{title:"No"}},isMonthlyStatementsRequiredOptions:{yes:{title:"Yes"},no:{title:"No"}},saveButtonLabel:"SAVE CHANGES"},wi={title:ti,paymentMethods:ni,billingInformation:oi,billingSettings:ai,preferredPaymentMethod:ri,otherPaymentMethods:ii,addNewPaymentMethod:si,edit:ci,change:li,remove:di,cardDetails:pi,nameOnCard:ui,expiryDate:mi,dashboardTile:hi,noPaymentMethods:xi,noPaymentMethodsDescription:gi,confirmRemovePaymentMethod:fi,errors:bi,billingInfoSection:yi,billingInfoUpdateModal:Ei},Ci=se(X(X({},Fr),Wr),{siteSearch:Yr,account:{utilization:Kr,paymentAccount:ei,paymentAndBilling:wi}}),ji=[_t.ENGLISH_US],En=window.navigator.language,qt=ji.includes(En)?En:_t.ENGLISH_US,Si={[_t.ENGLISH_US]:Ci},bo=Vo(Si[qt]);var Ti={REACT_APP_CI_COMMIT_REF_SLUG:"main",REACT_APP_USE_MOCK_API:"true",REACT_APP_ENV_ENABLE_LOGGING:"1",REACT_APP_LOG_LEVEL:"debug",ESLINT_NO_DEV_ERRORS:"true",NODE_ENV:"production",APP_VERSION:'"5.37.6"'};function ki(){return e.jsx(Fe.StrictMode,{children:e.jsx(Zn,{children:e.jsx(ho,{store:U,children:e.jsx(xo,{loading:null,persistor:eo,children:e.jsx(go,{locale:qt,messages:bo,children:e.jsx(fo,{children:e.jsxs("div",{children:[e.jsxs("div",{className:"App","data-testid":"app-container",children:["Environment: ","production"]}),e.jsxs("div",{className:"App","data-testid":"app-container1",children:["REACT_APP_CI_COMMIT_REF_SLUG: ",Ti.REACT_APP_CI_COMMIT_REF_SLUG]})]})})})})})})})}var N=(t=>(t.NONE="none",t.USER_MENU="user-menu",t.CART_MENU="cart-menu",t))(N||{});const Ht="menu-event",Ai=new CustomEvent(Ht,{detail:N.USER_MENU}),Ii=new CustomEvent(Ht,{detail:N.CART_MENU}),vi=new CustomEvent(Ht,{detail:N.NONE}),Ie=new rr(N.NONE),ve=t=>{Ie.getValue()===t&&document.dispatchEvent(vi)},zt=t=>{switch(t){case N.USER_MENU:Ie.getValue()!==N.USER_MENU?document.dispatchEvent(Ai):ve(N.USER_MENU);break;case N.CART_MENU:Ie.getValue()!==N.CART_MENU?(document.dispatchEvent(Ii),U.dispatch(at({open:!0,index:0}))):(ve(N.CART_MENU),U.dispatch(at({open:!1,index:-1})));break}};let wn=!1;const Li=()=>{if(wn)return;wn=!0,document.addEventListener(ft.LOCAL_CATEGORY,o=>{const a=o;U.getState().location.userLocation||rt(Wo({latitude:a.detail.latitude,longitude:a.detail.longitude}))}),window.isRentalWebComponentsInitialized=!0;const t=new CustomEvent(ft.RENTAL_WEB_COMPONENTS_INITIALIZED);document.dispatchEvent(t),window.addEventListener("pageshow",()=>{U.getState().app.firstPageShowEventCompleted||window.pageshowEventCount>1?(Object.keys(Qo).forEach(o=>{ir(Jo[o]).then(a=>{U.dispatch({type:sr,key:o,payload:a})})}),U.dispatch(Ko()),U.dispatch(to()),U.getState().app.firstPageShowEventCompleted&&U.dispatch(bt())):U.dispatch(bt())}),window.pageshowEventCount===1&&!U.getState().app.firstPageShowEventCompleted&&U.dispatch(bt()),document.addEventListener(ft.MENU,o=>{const a=o.detail;a&&Ie.next(a)}),Xo.onmessage=o=>{Zo!==o.appId&&rt(ea({identity:o.payload.identity,loginStatus:o.payload.loginStatus,isOwner:o.payload.isOwner}))},ta(),na(),oa()},Di=i.lazy(()=>le(()=>import("./chunks/Home.CX3nBtYS.js"),__vite__mapDeps([0,1,2,3]))),Ri=i.lazy(()=>le(()=>import("./chunks/Category.C6T3QVMt.js"),__vite__mapDeps([4,1,2,3]))),Cn=i.lazy(()=>le(()=>import("./chunks/Categories.CUOStymo.js"),__vite__mapDeps([5,1,6,2,3]))),Pi=i.lazy(()=>le(()=>import("./chunks/EquipmenClass.CFoVsLZI.js"),__vite__mapDeps([7,1,2,3]))),Ni=i.lazy(()=>le(()=>import("./chunks/LocationDirectory.Dxt4rcwI.js"),__vite__mapDeps([8,1,2,3]))),Mi=i.lazy(()=>le(()=>import("./chunks/Search.BrS76Hgv.js"),__vite__mapDeps([9,1,2,3,6])));function _i(){return e.jsx(Jn,{children:e.jsxs(Kn,{children:[e.jsx(Z,{path:"/",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Di,{})})}),e.jsx(Z,{path:"/location-directory/*",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Ni,{})})}),e.jsx(Z,{path:"/rent",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Ri,{})})}),e.jsx(Z,{path:"/rent/categories/*",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Cn,{})})}),e.jsx(Z,{path:"/local/*",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Cn,{})})}),e.jsx(Z,{path:"/rent/equipment-classes/*",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Pi,{})})}),e.jsx(Z,{path:"/search",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Mi,{})})})]})})}function Oi(){const t=Rt(),o=()=>{let a=window.location.origin,s=!1,c;const p=localStorage.getItem(un);if(p){const u=JSON.parse(p);a=u.url,c=u.enforceRedirectUrl,u.type===aa.LOGIN_AFTER_FORCE_LOGOUT&&(s=!0)}setTimeout(()=>{localStorage.removeItem(un),s?Ae.login(a,c):window.location.href=a},1e3)};return i.useEffect(()=>{const a=V(F.auth.subPath.login.subPath.callback.id);t.pathname===a&&o()},[]),e.jsx(l,{children:e.jsx(ue,{children:e.jsx(I,{id:"generic.redirecting"})})})}const wt=Fe.lazy(()=>le(()=>import("./chunks/CheckoutRoutes.5Qbj69N_.js"),__vite__mapDeps([10,1,2,3,11,12]))),$i=Fe.lazy(()=>le(()=>import("./chunks/DashboardRoutes.W7dmQDkj.js"),__vite__mapDeps([13,1,3,2]))),Bi=Fe.lazy(()=>le(()=>import("./chunks/SignUpRoute.6inbpCvs.js"),__vite__mapDeps([14,1,2,3]))),Ui=Fe.lazy(()=>le(()=>import("./chunks/ApplyAccount.YMt9GkU-.js").then(t=>t.d),__vite__mapDeps([15,1,2,3,11,16])));function Fi(){var t,o,a;return e.jsxs(Kn,{children:[e.jsx(Z,{path:F.account.path+"/*",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(ra,{component:e.jsx($i,{})})})}),e.jsx(Z,{path:F.signup.path+"/*",element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Bi,{})})}),e.jsx(Z,{path:V(F.rental.subPath.cart),element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(wt,{path:(t=V(F.rental.subPath.cart))!=null?t:""})})}),e.jsx(Z,{path:V(F.rental.subPath.checkout),element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(wt,{path:(o=V(F.rental.subPath.checkout))!=null?o:""})})}),e.jsx(Z,{path:V(F.rental.subPath.orderDetails),element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(wt,{path:(a=V(F.rental.subPath.orderDetails))!=null?a:""})})}),e.jsx(Z,{path:V(F.applyCredit),element:e.jsx(i.Suspense,{fallback:null,children:e.jsx(Ui,{source:ia.GUEST_USER})})})]})}function qi(o){var t=Re(o,[]);return e.jsxs("svg",se(X({xmlns:"http://www.w3.org/2000/svg",width:"41",height:"40",viewBox:"0 0 41 40",fill:"none"},t),{children:[e.jsx("rect",{width:"41",height:"40",rx:"5",fill:"currentColor"}),e.jsx("path",{d:"M16.5455 28.182C16.9973 28.182 17.3637 27.8157 17.3637 27.3638C17.3637 26.9119 16.9973 26.5456 16.5455 26.5456C16.0936 26.5456 15.7273 26.9119 15.7273 27.3638C15.7273 27.8157 16.0936 28.182 16.5455 28.182Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M25.5454 28.182C25.9973 28.182 26.3636 27.8157 26.3636 27.3638C26.3636 26.9119 25.9973 26.5456 25.5454 26.5456C25.0936 26.5456 24.7273 26.9119 24.7273 27.3638C24.7273 27.8157 25.0936 28.182 25.5454 28.182Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 11H13.2727L15.4655 21.9555C15.5403 22.3321 15.7452 22.6705 16.0444 22.9113C16.3435 23.1522 16.7178 23.2801 17.1018 23.2727H25.0545C25.4385 23.2801 25.8129 23.1522 26.112 22.9113C26.4112 22.6705 26.6161 22.3321 26.6909 21.9555L28 15.0909H14.0909",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))}const Hi=n(l)`
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
`,zi=n(l)`
  position: relative;
`,Gi=n(qi)`
  color: ${r.custom.darkGrey};
  cursor: pointer;
`,Yi=n(l)`
  border-radius: 50%;
  background-color: ${r.primary.main};
  color: white;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 10px;
`,Vi=n(l)`
  box-sizing: border-box;
  border-radius: 5px;
  background: ${r.custom.white};
  padding: 14px 16px 24px 16px;
`,Wi=n(l)`
  width: 95vw;
  max-width: 400px;
  position: absolute;
  top: 68px;
  right: -10px;
  z-index: 100;
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
`,Qi=n(l)`
  position: absolute;
  top: -20px;
  right: 10px;
`,Ji=n(l)`
  width: 40px;
  height: 21px;
  position: relative;
  overflow: hidden;
  :after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: ${r.custom.white};
    transform: rotate(45deg);
    top: 8px;
    left: 5px;
    border-radius: 5px 0 0 0;
    box-shadow: -1px -1px 10px -2px rgba(0, 0, 0, 0.15);
  }
`,Ki=n(qe)`
  color: ${r.custom.darkGrey};
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: 38px;
  letter-spacing: 0.25px;
  text-transform: capitalize;
`,Xi=n(me)`
  margin-top: 18px;
  overflow-y: auto;
  gap: 20px;

  ${t=>t.theme.breakpoints.down("xs")} {
    margin-top: 22px;
    max-height: 333px;
  }
`,Zi=n(l)`
  display: flex;
  gap: 14px;
  padding-right: 10px;
`,es=n(l)`
  padding-top: 2px;
  display: flex;
  align-items: center;
`,ts=n("img")`
  max-width: unset;
  width: 50px;
  height: 50px;
  object-fit: contain;
`,ns=n(l)`
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-right: 5px;
`,os=n(qe)`
  color: ${r.custom.darkGrey};
  font-size: 14px;
  font-style: normal;
  font-weight: 700;

  &:hover {
    cursor: pointer;
  }

  ${t=>t.theme.breakpoints.down("xs")} {
    line-height: 20px;
  }
`;n(qe)`
  color: ${r.custom.mediumDarkGrey};
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.35px;

  ${t=>t.theme.breakpoints.down("xs")} {
    line-height: 20px;
  }
`;const as=n(l)`
  margin-left: auto;
  padding-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
`,rs=n(sa)`
  width: 20px;
  height: 20px;
  object-fit: contain;
  color: ${r.primary.main};
  cursor: pointer;
`,is=n(ca)`
  width: 18px;
  height: 20px;
  object-fit: contain;
  color: ${r.primary.main};
  cursor: pointer;
`,ss=n(l)`
  display: flex;
  background: rgba(238, 238, 238, 0.5);
  border-radius: 5px;
  padding: 12px 16px;
  margin-top: 20px;
  gap: 16px;
`,jn=n(qe)`
  font-size: 14px;
  color: ${r.custom.greyBorder};
  line-height: 20px;
  flex: 1;

  &:last-child {
    text-align: right;
  }
`,Sn=n("span")`
  font-weight: 700;
`,Tn=n("span")`
  font-weight: 400;
`,cs=n(l)`
  display: flex;
  margin-top: 25px;
  justify-content: space-between;
`,ls=n(qe)`
  color: ${r.custom.darkGrey};
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.35px;
`,ds=n(la)`
  margin-left: auto;
  .price-cell-typography {
    color: ${r.custom.darkGrey};
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.35px;
  }
`,yo=n(st)`
  width: 100%;
  margin-top: 16px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid ${r.primary.main};
  background: ${r.primary.main};
  color: ${r.custom.white};
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;

  &:hover {
    background-color: ${r.primary.main};
  }
`,ps=n(st)`
  width: 100%;
  margin-top: 11px;
  height: 40.152px;
  border-radius: 5px;
  border: 1px solid ${r.primary.main};
  color: ${r.custom.darkGrey};
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;

  &:hover {
    background-color: ${r.custom.white};
  }
`,us=n(yo)`
  margin-top: 25px;

  ${t=>t.theme.breakpoints.down("xs")} {
    margin-top: 18px;
  }
`,ms=n(l)`
  background: ${r.custom.white};
  border-radius: 5px;
  display: grid;
  gap: 0px;
  grid-template-areas: 'AreaOne AreaOne' 'AreaThree AreaTwo' 'AreaFour AreaFour';
  grid-template-columns: minmax(auto, 215px) minmax(auto, 133px);
  grid-template-rows: auto;
  width: 100%;
  box-shadow: 0px 4px 6px 0px #0000001a;

  ${t=>t.theme.breakpoints.down("xs")} {
    grid-template-areas: 'AreaOne' 'AreaTwo';
    grid-template-columns: auto;
    max-width: unset;
    border-radius: 0px 0px 5px 5px;
  }
`,hs=n(l)`
  grid-area: AreaOne;
  position: relative;
  width: 100%;

  ${t=>t.theme.breakpoints.down("xs")} {
    background: ${r.custom.darkGrey};
    display: flex;
    align-items: center;
    height: 71px;
  }
`,xs=n(J)`
  align-items: flex-start;
  background: ${r.custom.darkGrey};
  border-radius: 6px;
  gap: 32px;
  justify-content: space-between;
  min-height: 38px;
  padding: 12px 12px 12px 12px;
  margin: 17px 26px 10px 26px;

  ${t=>t.theme.breakpoints.down("xs")} {
    background: none;
    padding: 0;
    align-items: center;
    margin: 0px 20px;
    width: 100%;
  }
`,gs=n(J)`
  align-items: flex-start;
  gap: 10px;
  ${t=>t.theme.breakpoints.down("xs")} {
    align-items: center;
  }
`,fs=n(ue)`
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 14px;
  margin-bottom: 0px;
  white-space: nowrap;
  ${t=>t.theme.breakpoints.down("xs")} {
    font-family: trade-gothic-next-condensed, sans-serif;
    font-size: 20px;
    font-weight: ${M.heavy};
    color: ${r.custom.white};
    text-transform: uppercase;
  }
`,bs=n(no)`
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.25px;
  margin-bottom: 0px;
  word-break: break-word;
  color: ${r.custom.white};

  ${t=>t.theme.breakpoints.down("xs")} {
    font-size: 16px;
    font-weight: ${M.light};
    color: ${r.custom.white};
  }
`,ys=n(l)`
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: ${r.primary.main};
`,Es=n(He)`
  color: ${r.custom.grey};
  width: 21px;
  height: 21px;
  object-fit: contain;
`,ws=n(me)`
  grid-area: AreaTwo;
  position: relative;
  padding: 9px 10px 10px 17px;

  ${t=>t.theme.breakpoints.down("xs")} {
    padding: 0px 20px 25px 20px;
  }
`,Cs=n(l)`
  margin-top: 18px;
  color: ${r.custom.darkGrey};
  font-size: 12px;
  font-style: normal;
  font-weight: ${M.regular};
  line-height: 20px;
  text-transform: capitalize;
`;function Eo(){var $;const t=i.useRef(null),o=P(x=>x.cart.cartHeaderConfig),a=P(x=>x.cart),s=oo(),[c,p]=i.useState(!0),[u,g]=i.useState(!1),[h,w]=i.useState(),[_,L]=i.useState(),k=ct(),y=lt(k.breakpoints.down(k.breakpoints.values.xs));i.useEffect(()=>{g(o==null?void 0:o.open),w(o==null?void 0:o.index),L(o==null?void 0:o.maxItemsToShow)},[o]),i.useEffect(()=>{const x=Object.values(a.loadingFlags).some(S=>S);p(x)},[a.loadingFlags]),i.useEffect(()=>{if(u&&t.current){const x=t.current;if(a.cartItems.length==0)x.scrollTop=x.scrollHeight;else{let S;if(_&&a.cartItems.length>_){S=x.querySelector(`#cart-item-${String(_)}`);const C=S.offsetTop,W=S.offsetHeight,Q=C-W/1.3;x.style.maxHeight=`${Q}px`}h&&h!==-1?S=x.querySelector(`#cart-item-${String(h)}`):S=x.querySelector(`#cart-item-${String(a.cartItems.length-1)}`);const d=S.offsetTop,j=x.scrollTop,m=x.getBoundingClientRect().top,v=d-m+j;y||x.scrollTo({top:v})}}},[u]);const O=x=>{ao(x)},R=(x,S)=>{rt(pa({index:S,cartItem:x,cartOperationType:Se.UPDATE,toggleCartHeaderOnUpdate:!0}))},te=x=>{const S={index:x,actionType:Se.REMOVE};rt(jt(S))};i.useEffect(()=>{u&&s()},[u]);const A=()=>{if(a.cartItems.length===0)return null;const x=a.cartItems[0],S=T.unix(x.startDate),d=T.unix(x.endDate);return e.jsxs(ss,{children:[e.jsxs(jn,{children:[e.jsx(Sn,{children:"Drop Off: "}),e.jsxs(Tn,{children:[S.format("MM/DD/YYYY")," (",S.format("h:mmA"),")"]})]}),e.jsxs(jn,{children:[e.jsx(Sn,{children:"Pick Up: "}),e.jsxs(Tn,{children:[d.format("MM/DD/YYYY")," (",d.format("h:mmA"),")"]})]})]})};return a.cartItems.length>0?e.jsxs(e.Fragment,{children:[e.jsx(Xi,{ref:t,children:a.cartItems.map((x,S)=>{var d,j;return e.jsxs(Zi,{id:`cart-item-${String(S)}`,ref:m=>m,children:[e.jsx(es,{children:e.jsx(ts,{src:(d=x.imageSource)!=null?d:"",alt:`image for ${x.name}`,onError:m=>{const v=m.target;v.src=nt}})}),e.jsx(ns,{children:e.jsxs(os,{onClick:()=>O(x.slug),children:[x.quantity," x ",(j=x.name)!=null?j:""]})}),e.jsxs(as,{children:[e.jsx(rs,{onClick:()=>R(x,S)}),e.jsx(is,{onClick:()=>te(S)})]})]},String(S)+":"+String(x.equipmentId))})}),A(),e.jsxs(cs,{children:[e.jsx(ls,{children:"Subtotal"}),e.jsx(ds,{amount:($=a.quote)==null?void 0:$.rental_subtotal,isLoading:c})]}),e.jsx(yo,{onClick:da,children:"VIEW CART & checkout"}),e.jsx(ps,{onClick:mn,children:"continue shopping"})]}):e.jsxs(e.Fragment,{children:[e.jsx(ne,{screen:{down:"xs"},children:e.jsx(Cs,{children:"Get started by browsing our selection"})}),e.jsx(us,{onClick:mn,children:"browse equipment"})]})}function js(o){var t=Re(o,[]);const a=Le(),s=P(y=>y.cart.cartHeaderConfig),c=P(y=>y.cart),p=i.useRef(null),[u,g]=i.useState(!1),h=ct(),w=lt(h.breakpoints.down(h.breakpoints.values.xs)),_=()=>{zt(N.CART_MENU)},L=()=>{!w&&u&&(ve(N.CART_MENU),a(at({open:!1,index:-1})))};i.useEffect(()=>{setTimeout(()=>{var y;(y=p.current)==null||y.scrollIntoView({behavior:"smooth"})},0)},[u]),i.useEffect(()=>{g(s==null?void 0:s.open)},[s]);const k=ro(c.cartItems);return e.jsx(Pt,se(X({onClickAway:L},t),{children:e.jsxs(Hi,{ref:p,children:[e.jsxs(zi,{children:[e.jsx(Gi,{onClick:_}),k>0&&e.jsx(Yi,{children:k})]}),u?e.jsx(ne,{screen:{up:"xs"},children:e.jsxs(Wi,{children:[e.jsx(Qi,{children:e.jsx(Ji,{})}),e.jsxs(Vi,{children:[e.jsxs(Ki,{children:["Cart (",k," ",k===1?"item":"items",")"]}),e.jsx(Eo,{})]})]})}):null]})}))}function Ss(){const t=P(s=>s.cart),o=oo();i.useEffect(()=>{const s=Ie.subscribe(c=>{c===N.CART_MENU&&o()});return()=>s.unsubscribe()},[]);const a=ro(t.cartItems);return e.jsxs(ms,{children:[e.jsx(hs,{children:e.jsxs(xs,{children:[e.jsxs(gs,{children:[e.jsx(fs,{children:"Cart"}),e.jsxs(bs,{children:["(",a," ",a===1?"item":"items",")"]})]}),e.jsx(ys,{onClick:()=>ve(N.CART_MENU),children:e.jsx(Es,{})})]})}),e.jsx(ws,{children:e.jsx(Eo,{})})]})}const Ts=n(l)`
  display: flex;
  justify-content: space-between;
  gap: 25px;
`,ks=n(l)`
  display: flex;
  flex-direction: column;
  gap: 22px;
`,kn=n(l)`
  display: flex;
  gap: 25px;

  @media (max-width: 786px) {
    gap: 15px;
  }
`,Ze=n(l)`
  width: 100%;
  .MuiStack-root {
    padding: 0;
  }
  .MuiFormControl-root {
    width: 100%;
  }
`,An=n(l)`
  width: 100%;
  min-width: 0;
  .MuiStack-root {
    padding: 0;
  }
  .MuiFormControl-root {
    width: 100%;
  }
`,et=n(ua)``,In=n(ma)``;T.extend(Nt);function wo(te){var A=te,{minStartDate:t,startDate:o,endDate:a,setStartDate:s,setEndDate:c,startDateLabel:p,endDateLabel:u,startDateHelperLabel:g,endDateHelperLabel:h,startTime:w,endTime:_,setStartTime:L,setEndTime:k,startTimeLabel:y,endTimeLabel:O}=A,R=Re(A,["minStartDate","startDate","endDate","setStartDate","setEndDate","startDateLabel","endDateLabel","startDateHelperLabel","endDateHelperLabel","startTime","endTime","setStartTime","setEndTime","startTimeLabel","endTimeLabel"]);const $=m=>{t=T.utc(String(t)).local().set("hour",0).set("minute",0).set("second",0),m=T.utc(String(m)),a&&m&&m.isAfter(T(String(a)))?(S(m),d(m.add(1,"day"))):m.isAfter(t)||m.isSame(t)?(S(m),a||d(m.add(1,"day"))):ee("error","trying to assign invalid start date")},x=m=>{t=T.utc(String(t)).local().set("hour",0).set("minute",0).set("second",0),m=T.utc(String(m)),o&&m&&m.isBefore(T(String(o)))&&(m.isAfter(T(String(t)))||m.isSame(T(String(t)),"day"))?(S(m),d(m)):m.isBefore(t)?ee("error","trying to assign invalid end date"):d(m)},S=m=>{s(m.local().startOf("day"))},d=m=>{c(m.local().endOf("day"))};return w!==void 0&&L&&_!==void 0&&k?e.jsxs(ks,se(X({},R),{children:[e.jsxs(kn,{children:[e.jsxs(Ze,{className:"date-picker-start-date-container",children:[p&&e.jsx(l,{children:p}),e.jsx(et,{minDate:t,value:o,dateChangeHandler:$,showIcon:!0,iconColor:r.primary.main,isStyledForFormDatePicker:!0,format:"DD MMM YYYY"}),g&&e.jsx(l,{children:g})]}),e.jsxs(An,{children:[y&&e.jsx(l,{children:y}),e.jsx(In,{value:w,onChange:L})]})]}),e.jsxs(kn,{children:[e.jsxs(Ze,{className:"date-picker-end-date-container",children:[u&&e.jsx(l,{children:u}),e.jsx(et,{minDate:t,value:a,dateChangeHandler:x,showIcon:!0,iconColor:r.primary.main,isStyledForFormDatePicker:!0,format:"DD MMM YYYY"}),h&&e.jsx(l,{children:h})]}),e.jsxs(An,{children:[O&&e.jsx(l,{children:O}),e.jsx(In,{value:_,onChange:k})]})]})]})):e.jsxs(Ts,se(X({},R),{children:[e.jsxs(Ze,{className:"date-picker-start-date-container",children:[p&&e.jsx(l,{children:p}),e.jsx(et,{minDate:t,value:o,dateChangeHandler:$}),g&&e.jsx(l,{children:g})]}),e.jsxs(Ze,{className:"date-picker-end-date-container",children:[u&&e.jsx(l,{children:u}),e.jsx(et,{minDate:t,value:a,dateChangeHandler:x}),h&&e.jsx(l,{children:h})]})]}))}const As=n(dt)``,Is=n(l)`
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;
  max-width: 640px;
  border-radius: 5px;
  box-shadow:
    0px 8px 15px 0px rgba(0, 0, 0, 0.1),
    0px -8px 15px 0px rgba(0, 0, 0, 0.1);
  background: ${r.primary.contrastText};
  flex-shrink: 0;
  :focus-visible {
    outline: 0px;
  }
`,vs=n(l)`
  position: relative;
  max-height: 95vh;
  overflow-y: auto;
  :focus-visible {
    outline: 0px;
  }
`,Ls=n(l)``,Ds=n(l,{shouldForwardProp:t=>t!=="cartModalType"})`
  padding: ${t=>t.cartModalType==H.CENTERED_MODAL?"30px 45px 45px 45px":"0px 20px 45px 20px"};
  box-sizing: border-box;
`,Rs=n(l,{shouldForwardProp:t=>t!=="cartModalType"})`
  padding: ${t=>t.cartModalType==H.CENTERED_MODAL?"20px 45px 45px 45px":"20px 20px 30px 20px"};
  background: ${t=>t.cartModalType==H.CENTERED_MODAL?`${r.custom.lightGrey}`:`${r.custom.white}`};
  border-top: ${t=>t.cartModalType==H.CENTERED_MODAL?"0px":"1px solid #ccc"};
  border-radius: ${t=>t.cartModalType==H.CENTERED_MODAL?"0 0 5px 5px":"0px"};
`,Ps=n(l)`
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 25px;
  @media (max-width: 786px) {
    gap: 15px;
  }
`,Ns=n("img")`
  width: 100px;
  height: 80px;
  object-fit: contain;
  @media (max-width: 786px) {
    width: 75px;
    height: 75px;
  }
`,Ms=n(me)``,_s=n(qe,{shouldForwardProp:t=>t!=="cartModalType"})`
  max-width: 100%;
  flex-shrink: 0;
  color: ${r.custom.darkGrey};
  font-style: normal;
  font-size: ${t=>t.cartModalType==H.CENTERED_MODAL?"20px":"14px"};
  font-weight: ${t=>t.cartModalType==H.CENTERED_MODAL?"800":"700"};
  line-height: ${t=>t.cartModalType==H.CENTERED_MODAL?"30px":"18px"};
  text-transform: ${t=>t.cartModalType==H.CENTERED_MODAL?"uppercase":"capitalize"};
  font-family: ${t=>t.cartModalType==H.CENTERED_MODAL?"trade-gothic-next-condensed, sans-serif":"trade-gothic-next, sans-serif"};
`,Os=n(J)`
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 15px;
  padding: 0px 20px;
`,$s=n(K)`
  font-weight: ${M.bold};
  margin-bottom: 0px;
`,vn=n(He)`
  color: ${r.custom.grey};
  width: 21px;
  height: 21px;
  object-fit: contain;
`,Ln=n(l,{shouldForwardProp:t=>t!=="cartModalType"})`
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: ${r.primary.main};
  position: ${t=>t.cartModalType==H.CENTERED_MODAL?"absolute":"relative"};
  top: ${t=>t.cartModalType==H.CENTERED_MODAL?"16px":"0px"};
  right: ${t=>t.cartModalType==H.CENTERED_MODAL?"18px":"0px"};
`,Oe=n(K)`
  margin-bottom: 5px;
`,Me=n(Ve,{shouldForwardProp:t=>t!=="hasError"&&t!=="absolutePosition"})`
  margin-top: ${t=>t.hasError&&t.absolutePosition?"0px":"5px"};
  margin-left: 3px;
  margin-bottom: ${t=>t.hasError&&t.absolutePosition?"8px":"0px"};
  color: ${t=>t.hasError?r.error.main:r.custom.mediumGrey};
  width: fit-content;
`,Bs=n(me)`
  gap: 22px;
`,Dn=n(l)``,Us=n(pt,{shouldForwardProp:t=>t!=="hasError"})`
  border-radius: 5px;
  border: ${t=>t.hasError?`0.75px solid ${r.error.main}`:`0.75px solid ${r.custom.grey}`};
  height: 48px;
  .autocomplete-styled-text, #autocomplete-input {
    font-size: 16px;
    line-height: 24px;
  }
`,Fs=n(ut)`
  color: #757575;
  width: 20px;
`,qs=n(Oe)`
  font-weight: 400;
`,Hs=n(l)`
  display: flex;
  justify-content: space-between;
  gap: 25px;
`,zs=n(ha)`
  height: 40px;
  flex: 0;
  border-radius: 4px;
  .quantity-container {
    width: 50px;
    text-align: center;
  }
  .quantity-update-button {
    width: 40px;
  }
  .decrement-button {
    border-right: 1px solid ${r.custom.grey};
    border-radius: 5px 0px 0px 5px;
  }
  .increment-button {
    border-left: 1px solid ${r.custom.grey};
    border-radius: 0px 5px 5px 0px;
  }
`,Gs=n(mt)`
  flex: 1;
  flex-shrink: 0;
  padding: 0;
  height: 40px;
`,Ys=n(xa,{shouldForwardProp:t=>t!=="cartModalType"&&t!=="showPriceLabel"})`
  margin-top: 10px;
  .pricing-container {
    flex-wrap: wrap;
    gap: 5px 15px;
    min-height: ${t=>t.cartModalType==H.CENTERED_MODAL?"30px":"21px"};
  }
  .price-cell-typography {
    font-size: ${t=>t.cartModalType==H.CENTERED_MODAL?"18px":"14px"};
  }
`,Vs=n("hr")`
  border: none;
  border-top: 1px solid #ccc;
  margin: 25px 0;
`,Ws=n("a")`
  width: fit-content;
  font-family: ${({theme:t})=>t.typography.fontFamily};
  cursor: pointer;
  font-size: 16px;
  color: ${r.custom.darkGrey};
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  line-height: 22px;
`,Qs=n(io)`
  color: ${r.primary.main};
`,Js=n(wo,{shouldForwardProp:t=>t!=="startDateError"&&t!=="endDateError"})`
  .date-picker-start-date-container .date-range-picker-field .MuiInputBase-root {
    border-color: ${t=>t.startDateError?`${r.error.main}`:`${r.custom.grey}`};
  }
  .date-picker-end-date-container .date-range-picker-field .MuiInputBase-root {
    border-color: ${t=>t.endDateError?`${r.error.main}`:`${r.custom.grey}`};
  }
  .date-picker-start-date-container .date-range-picker-field .MuiInputBase-input,
  .date-picker-end-date-container .date-range-picker-field .MuiInputBase-input {
    font-size: 16px;
  }
`,Ks=n(l)`
  width: 100%;
  padding: 8px 16px;
  background: ${r.custom.lightGrey};
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 0px;
`,Xs=n(K)`
  display: inline;
  margin-bottom: 0;
`,Zs=n("a")`
  letter-spacing: 0.35px;
  color: ${r.custom.darkGrey};
  margin-bottom: 0px;
  width: fit-content;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
`,Rn=n(J)`
  gap: 14.5px;
  margin-top: 20px;
`,Pn=n(ga)`
  color: ${r.primary.main};
  transform: rotate(180deg);
  width: 20px;
  height: 20px;
  margin-top: 6px;
`,Nn=n(K)`
  line-height: 24px;
  letter-spacing: 0.4px;
`,ec=n("span")`
  font-weight: 700;
`;T.extend(Nt);const Mn=new it;var H=(t=>(t.CENTERED_MODAL="CENTERED_MODAL",t.BOTTOM_SHEET="BOTTOM_SHEET",t))(H||{});function _n({cartModalConfig:t,cartModalType:o,handleClose:a}){var Qe,Ge;const s=Le(),{formatMessage:c}=cr(),p=P(f=>f.location.userLocation),u=P(f=>f.location.branch),g=P(f=>f.auth),h=P(f=>f.cart.siteLevelDate),w=P(f=>f.cart.timezone),[_,L]=i.useState(!1),k=P(f=>f.prices.priceCatalog[St(t.equipmentId)]),[y,O]=i.useState(),[R,te]=i.useState(yt.PICKUP),[A,$]=i.useState(null),[x,S]=i.useState(null),[d,j]=i.useState(hn),[m,v]=i.useState(xn),[C,W]=i.useState(null),[Q,ae]=i.useState(!1),re=i.useMemo(()=>fa(A,x,d,m),[A,x,d,m]),he=i.useMemo(()=>({default:{element:e.jsx(Me,{hasError:C==null?void 0:C.locationError,children:C!=null&&C.locationError?c({id:"cart.cartModal.locationRequired"}):p?"":c({id:"generic.locationHelperTexts.default"})})},invalidInput:{element:e.jsx(Me,{hasError:!0,absolutePosition:!0,children:e.jsx(I,{id:"generic.locationHelperTexts.invalidLocation"})}),position:"absolute"}}),[C,p]),de=f=>{const z=f.hour(),xe=f.minute();return`${z.toString().padStart(2,"0")}:${xe.toString().padStart(2,"0")}`},ie=()=>{if(t.startDate&&t.endDate){const f=T.unix(t.startDate),z=T.unix(t.endDate);if(T(f).isValid()&&T(z).isValid()){$(f),S(z),j(de(f)),v(de(z));return}}if(h!=null&&h.start&&(h!=null&&h.end)){const f=T.unix(h==null?void 0:h.start),z=T.unix(h==null?void 0:h.end);if(T(f).isValid()&&T(z).isValid()){$(f),S(z),j(de(f)),v(de(z));return}}$(null),S(null),j(hn),v(xn)},ze=ja(),ye=f=>{ze.applyFallbackImage(f,nt)};i.useEffect(()=>{var f;t&&(O((f=t.quantity)!=null?f:1),te(t.deliveryType),ie())},[t]);const pe=T.utc().local().add(1,"day"),ht=f=>ce(this,null,function*(){var z;try{if(f.stopPropagation(),!t||!xt()||re)return;const xe=wa(A,x,d,m);if(!xe)return;ae(!0);const{selectedStart:Je,selectedEnd:Ke}=xe,ge=Je.unix(),b=Ke.unix();if(!Number.isNaN(ge)&&!Number.isNaN(b)&&typeof y=="number"&&A&&x&&R!==yt.UNASSIGNED&&p!==null&&u!==null&&!_e(ge,w)){const D=yield Ca({page:1,perPage:1},{equipmentClassIds:[Number(t.equipmentId)]}),E=D==null?void 0:D.equipment_classes[0],G={equipmentId:t.equipmentId,categoryName:E==null?void 0:E.category_name,categoryId:E==null?void 0:E.category_id,categoryIdHierarchy:E==null?void 0:E.category_id_hierarchy,categoryNameHierarchy:E==null?void 0:E.category_name_hierarchy,name:t.equipmentClassName,imageSource:(z=t.imageSource)!=null?z:nt,slug:t.slug,quantity:y,startDate:ge,endDate:b,isStartDateValid:!_e(ge,w)};if(t.cartOperationType===Se.ADD){const q=St(t.equipmentId),oe=U.getState().prices.priceCatalog[q];if(!oe||oe&&!gn(oe.status))return;if(!(oe!=null&&oe.price)){fe(be.missingEquipmentPrice);return}const De={index:t.index,actionType:Se.ADD,cartUpdateObject:G};s(jt(De)),co({type:lo.PRODUCT_ADDED,payload:{cartItem:G}})}else if(t.cartOperationType===Se.UPDATE){const q={index:t.index,actionType:Se.UPDATE,cartUpdateObject:G};s(jt(q))}a(),t.toggleCartHeaderOnUpdate&&(Ie.getValue()!==N.CART_MENU&&zt(N.CART_MENU),s(at({open:!0,index:t.index})))}else R===yt.UNASSIGNED&&ee("error","Delivery type is not picked"),(Number.isNaN(ge)||!A)&&ee("error","Start date is not picked"),(Number.isNaN(b)||!x)&&ee("error","End date is not picked"),(p===null||u===null)&&ee("error","Jobsite location is not selected")}catch(xe){console.error(`Error at updateCartButtonHandler: ${xe}`)}finally{ae(!1)}}),We=()=>{Mn.next(!0)},xt=()=>{let f=!1;return p&&A&&x&&(f=!0),W(()=>({locationError:!p,startDateError:!A,endDateError:!x})),f};return i.useEffect(()=>{W(f=>({locationError:p?!1:f==null?void 0:f.locationError,startDateError:A?!1:f==null?void 0:f.startDateError,endDateError:x?!1:f==null?void 0:f.endDateError}))},[p,A,x]),i.useEffect(()=>{k&&gn(k.status)&&L(ba(k.price))},[k]),i.useEffect(()=>function(){$t.next(Bt.NONE)},[]),t?e.jsxs(e.Fragment,{children:[e.jsxs(Ds,{cartModalType:o,children:[e.jsxs(Ps,{children:[e.jsx(Ns,{src:(Qe=t.imageSource)!=null?Qe:nt,alt:`image for ${t.equipmentClassName}`,onError:ye}),e.jsxs(Ms,{children:[e.jsx(_s,{cartModalType:o,children:(Ge=t.equipmentClassName)!=null?Ge:""}),p!=null&&p.address?e.jsx(Ys,{equipmentId:t.equipmentId,day:!0,week:!0,month:!0,cartModalType:o,showPriceLabel:so(g.loginStatus)}):e.jsxs(Ws,{onClick:We,children:[e.jsx(Qs,{}),"Enter jobsite location for accurate pricing"]})]})]}),_&&e.jsx(Ks,{children:e.jsxs(Xs,{children:["For pricing, please contact us directly at"," ",e.jsx(Zs,{"data-event-tracking":Tt.MainPhone,href:"tel:+18888073687",children:"1.888.80.RENTS"})]})}),e.jsx(Vs,{}),e.jsxs(Bs,{children:[e.jsxs(Dn,{children:[e.jsx(Oe,{children:"Where is your jobsite?"}),e.jsx(Us,{resetCurrentLocationOnClickAway:!0,hideStartIcon:!0,inputFocusSubject:Mn,endIcon:e.jsx(Fs,{}),helperText:he,hasError:C==null?void 0:C.locationError,showCurrentLocationSelector:!0})]}),e.jsxs(Dn,{children:[e.jsx(Js,{minStartDate:pe,startDate:A,endDate:x,setStartDate:$,setEndDate:S,startDateLabel:e.jsx(Oe,{children:"Start Date"}),endDateLabel:e.jsx(Oe,{children:"End Date"}),startDateHelperLabel:C!=null&&C.startDateError?e.jsx(Me,{hasError:!0,children:"Start date required"}):e.jsx(e.Fragment,{}),endDateHelperLabel:C!=null&&C.endDateError?e.jsx(Me,{hasError:!0,children:"End date required"}):e.jsx(e.Fragment,{}),startDateError:C==null?void 0:C.startDateError,endDateError:C==null?void 0:C.endDateError,startTime:d,endTime:m,setStartTime:j,setEndTime:v,startTimeLabel:e.jsx(Oe,{children:"Start Time"}),endTimeLabel:e.jsx(Oe,{children:"End Time"})}),!!A&&_e(T(String(A)).unix(),w)&&e.jsx(Me,{hasError:!0,children:e.jsx(I,{id:"cart.cartModal.selectFutureDates"})}),re&&e.jsx(Me,{hasError:!0,children:re}),h&&!!A&&!_e(T(String(A)).unix(),w)&&e.jsxs(Rn,{children:[e.jsx(Pn,{}),e.jsx(Nn,{children:e.jsx(I,{id:"cart.cartModal.dateNotification"})})]}),!!A&&!_e(T(String(A)).unix(),w)&&ya(T(String(A)).unix(),w)&&e.jsxs(Rn,{children:[e.jsx(Pn,{}),e.jsx(Nn,{children:e.jsx(I,{id:"cart.cartModal.shortNoticeWarning",values:{bold:f=>e.jsx(ec,{children:f})}})})]})]})]})]}),e.jsxs(Rs,{cartModalType:o,children:[e.jsx(qs,{children:"Quantity"}),e.jsxs(Hs,{children:[e.jsx(zs,{quantity:y!=null?y:"",setQuantity:O}),e.jsx(Gs,{"data-event-tracking":Tt.AddToCart,onClick:f=>ht(f),disabled:Q,children:t.cartOperationType==Se.ADD?"ADD TO CART":"UPDATE CART"})]})]})]}):e.jsx(e.Fragment,{})}function tc(){const[t,o]=i.useState("NONE"),a=P(p=>p.cart.cartModalConfig),s=Le(),c=()=>{s(Ea())};return i.useEffect(()=>{!a||!a.open?o("NONE"):window.innerWidth<=786?o("BOTTOM_SHEET"):o("CENTERED_MODAL")},[a]),a?e.jsxs(e.Fragment,{children:[e.jsx(As,{open:t==="CENTERED_MODAL","aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:e.jsx(Is,{className:"cart-modal-content",children:e.jsxs(vs,{children:[e.jsx(Ln,{onClick:c,cartModalType:"CENTERED_MODAL",children:e.jsx(vn,{})}),e.jsx(_n,{cartModalConfig:a,handleClose:c,cartModalType:"CENTERED_MODAL"})]})})}),e.jsx(Ot,{isOpen:t==="BOTTOM_SHEET",onClose:c,children:e.jsxs(Ls,{children:[e.jsxs(Os,{children:[e.jsx($s,{children:"Add to cart"}),e.jsx(Ln,{onClick:c,cartModalType:"BOTTOM_SHEET",children:e.jsx(vn,{})})]}),e.jsx(_n,{cartModalConfig:a,handleClose:c,cartModalType:"BOTTOM_SHEET"})]})})]}):e.jsx(e.Fragment,{})}function nc(t){if(t.bestRate>=t.standardRate)return null;const{months:o,weeks:a,days:s}=t.bestBreakdown,c=[];return o>0&&c.push(o===1?"4-week":`${o}x 4-week`),a>0&&c.push(a===1?"Weekly":`${a}x Weekly`),c.length===0?null:`${c.join(" + ")+" rate applied"} — even for a ${t.rentalDays}-day rental.`}const Ue=7,Te=28;function oc(t,o,a,s){const c=Math.floor(s/Te),p=s-c*Te,u=Math.floor(p/Ue),g=p-u*Ue;return c*a+u*o+g*t}function ac({pricePerDay:t,pricePerWeek:o,pricePerMonth:a,rentalDays:s}){const c={months:0,weeks:0,days:0};if(s<=0)return{bestRate:0,standardRate:0,rentalDays:0,bestBreakdown:c};const p=oc(t,o,a,s);let u=p,g={months:Math.floor(s/Te),weeks:Math.floor(s%Te/Ue),days:s%Te%Ue};const h=Math.floor(s/Te);for(let w=0;w<=h+1;w++){const _=s-w*Te;if(_<0){const k=w*a;k<u&&(u=k,g={months:w,weeks:0,days:0});break}const L=Math.floor(_/Ue);for(let k=L;k<=L+1;k++){const y=_-k*Ue,O=w*a+k*o+(y>0?y*t:0);O<u&&(u=O,g={months:w,weeks:k,days:Math.max(y,0)})}}return{bestRate:Math.round(u*100)/100,standardRate:Math.round(p*100)/100,rentalDays:s,bestBreakdown:g}}const rc=Ce.object({email:Ce.string().trim().optional().default(""),phone:Ce.string().trim().optional().default("")}).refine(t=>!!t.email||!!t.phone,{message:"Please provide an email or phone number so we can contact you.",path:["_form"]}).superRefine((t,o)=>{t.email&&t.email.length>255?o.addIssue({code:Ce.ZodIssueCode.custom,message:"Please limit your input to 255 characters.",path:["email"]}):t.email&&!Sa.test(t.email)&&o.addIssue({code:Ce.ZodIssueCode.custom,message:"Invalid email address",path:["email"]}),t.phone&&t.phone.length>32?o.addIssue({code:Ce.ZodIssueCode.custom,message:"Please limit your input to 32 characters.",path:["phone"]}):t.phone&&!Ta(t.phone.replace(/[\s()\-]/g,""))&&o.addIssue({code:Ce.ZodIssueCode.custom,message:"Invalid phone number. Must be 10 digits or include +1 followed by 10 digits.",path:["phone"]})}),ic="/rental-order-service/rental/equipment-availability";function sc(t){return ce(this,null,function*(){try{const{data:o}=yield po.post(ic,t);return o}catch(o){throw ee("error","at submitQuickEstimate while submitting equipment availability request"),o}})}const Co=n(dt)``,jo=n(l)`
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 34rem;
  border-radius: 5px;
  box-shadow:
    0px 8px 15px 0px rgba(0, 0, 0, 0.1),
    0px -8px 15px 0px rgba(0, 0, 0, 0.1);
  background: ${r.primary.contrastText};
  flex-shrink: 0;
  :focus-visible {
    outline: 0px;
  }
`,So=n(l)`
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  box-sizing: border-box;
  :focus-visible {
    outline: 0px;
  }
`,cc=n(J)`
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 15px;
  padding: 0px 20px;
`,lc=n(K)`
  font-weight: ${M.bold};
  margin-bottom: 0px;
`,dc=n(l)`
  padding: 0px 20px 30px 20px;
`,At=n(He)`
  color: ${r.custom.grey};
  width: 21px;
  height: 21px;
  object-fit: contain;
`,To=n(l)`
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: ${r.primary.main};
  position: absolute;
  top: 16px;
  right: 18px;
`,pc=n(l)`
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: ${r.primary.main};
`,It=n("h2")`
  font-family: trade-gothic-next-condensed, sans-serif;
  font-size: 24px;
  font-weight: ${M.heavy};
  color: ${r.custom.darkGrey};
  margin: 0 0 24px 0;
  line-height: 30px;
  padding-right: 30px;
`,uc=n(K)`
  margin-bottom: 12px;
`,tt=n(K)`
  margin-bottom: 5px;
`,On=n(Ve,{shouldForwardProp:t=>t!=="hasError"})`
  margin-top: 5px;
  margin-left: 3px;
  color: ${t=>t.hasError?r.error.main:r.custom.mediumGrey};
  width: fit-content;
`,mc=n(wo,{shouldForwardProp:t=>t!=="startDateError"&&t!=="endDateError"})`
  .date-picker-start-date-container .date-range-picker-field .MuiInputBase-root {
    border-color: ${t=>t.startDateError?`${r.error.main}`:`${r.custom.grey}`};
  }
  .date-picker-end-date-container .date-range-picker-field .MuiInputBase-root {
    border-color: ${t=>t.endDateError?`${r.error.main}`:`${r.custom.grey}`};
  }
  .date-picker-start-date-container .date-range-picker-field .MuiInputBase-input,
  .date-picker-end-date-container .date-range-picker-field .MuiInputBase-input {
    font-size: 16px;
  }
`,hc=n(mt)`
  width: 100%;
  height: 48px;
  margin-top: 28px;
  font-size: 16px;
  letter-spacing: 0.8px;

  &:disabled {
    background-color: ${r.custom.grey};
    border-color: ${r.custom.grey};
    cursor: not-allowed;
    pointer-events: auto;

    &:hover {
      background-color: ${r.custom.grey};
      border-color: ${r.custom.grey};
    }
  }
`,xc=n(J)`
  gap: 12px;
  align-items: flex-start;
  background: ${r.custom.warningBackground};
  border: 1px solid ${r.custom.warningBorder};
  border-radius: 5px;
  padding: 12px 16px;
  margin-top: 20px;
`,gc=n(Mo)`
  color: ${r.primary.main};
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
`,fc=n(K)`
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
`,bc=n(l)`
  border: 0.75px solid ${r.custom.grey};
  border-radius: 5px;
  padding: 18px 22px;
  margin-bottom: 20px;
`,yc=n(J)`
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
`,Ec=n("span")`
  font-size: 16px;
  font-weight: ${M.bold};
  color: ${r.custom.darkGrey};
`,wc=n("span")`
  font-size: 20px;
  font-weight: ${M.bold};
  color: ${r.primary.main};
`,Cc=n("span")`
  font-size: 16px;
  color: ${r.custom.mediumGrey};
  text-decoration: line-through;
`,jc=n("span")`
  font-size: 14px;
  color: ${r.custom.mediumGrey};
`,Sc=n(l)`
  border: 1.5px dashed ${r.custom.grey};
  border-radius: 5px;
  padding: 10px 14px;
  margin-top: 12px;
`,Tc=n(K)`
  margin: 0;
  font-size: 14px;
  line-height: 20px;
`,kc=n("a")`
  font-size: 14px;
  color: ${r.primary.main};
  cursor: pointer;
  text-decoration: underline;
  margin-top: 6px;
  display: inline-block;
`,Ac=n("p")`
  font-size: 12px;
  color: ${r.custom.mediumGrey};
  margin: 8px 0 0 0;
  line-height: 18px;
`,Ic=n(me)`
  gap: 16px;
`,vc=n("h3")`
  font-family: trade-gothic-next, sans-serif;
  font-size: 16px;
  font-weight: ${M.bold};
  color: ${r.custom.darkGrey};
  margin: 0 0 6px 0;
  line-height: 22px;
`,Lc=n(K)`
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
`,vt=n("a")`
  color: ${r.primary.main};
  font-weight: ${M.bold};
  text-decoration: none;
`,$n=n(_o)`
  width: 100%;

  .MuiInputBase-root {
    border-radius: 5px;
    height: 48px;
  }

  .MuiInputBase-input {
    font-size: 16px;
    line-height: 24px;
  }

  .MuiInputBase-input::placeholder {
    color: ${r.custom.mediumGrey};
    opacity: 1;
  }

  .MuiOutlinedInput-notchedOutline {
    border-color: ${r.custom.grey};
  }

  .Mui-focused .MuiOutlinedInput-notchedOutline {
    border-color: ${r.primary.main} !important;
  }
`,Dc=n("p")`
  font-size: 14px;
  color: ${r.error.main};
  margin: 0;
  line-height: 20px;
`,Rc=n(mt)`
  width: 100%;
  height: 48px;
  font-size: 16px;
  letter-spacing: 0.8px;
`,Pc=n(l)`
  background: ${r.custom.grey100};
  border-radius: 4px;
  padding: 16px 20px;
`,Nc=n(K)`
  margin: 0;
  line-height: 24px;
  text-align: center;
`;T.extend(Nt);T.extend(Oo);function Mc(){var Ke,ge;const t=Le(),o=P(b=>b.quickEstimate.config),a=P(b=>b.location.branch),s=P(b=>b.prices.priceCatalog),c=P(b=>b.cart.timezone),[p,u]=i.useState("NONE"),[g,h]=i.useState("dates"),[w,_]=i.useState(null),[L,k]=i.useState(null),[y,O]=i.useState(null),[R,te]=i.useState(null),[A,$]=i.useState(null),[x,S]=i.useState(!1),[d,j]=i.useState(!1),m=T().local().startOf("day"),v=uo,C=ot(v),W=$o({defaultValues:{email:"",phone:""},resolver:lr(rc)}),{control:Q,handleSubmit:ae,reset:re,formState:{errors:he}}=W,de=(Ke=he==null?void 0:he._form)==null?void 0:Ke.message;i.useEffect(()=>{!o||!o.open?u("NONE"):u(window.innerWidth<=Xn.values.sm?"BOTTOM_SHEET":"CENTERED_MODAL")},[o]),i.useEffect(()=>{p==="NONE"&&(_(null),k(null),O(null),h("dates"),te(null),$(null),S(!1),j(!1),re())},[p,re]),i.useEffect(()=>{if(O(b=>({startDateError:w?!1:b==null?void 0:b.startDateError,endDateError:L?!1:b==null?void 0:b.endDateError})),w){const b=T(String(w)).unix();S(_e(b,c))}else S(!1)},[w,L,c]);const ie=()=>{t(fn())},ze=()=>{const b=!!w&&!!L;return O({startDateError:!w,endDateError:!L}),b},ye=()=>{var De,Ee,we;if(!ze()||!o)return;const b=T(String(w)).utc().tz(c),E=T(String(L)).utc().tz(c).diff(b,"day")+1;if(E<=0){O({startDateError:!1,endDateError:!0,endDateMessage:"End date must be on or after the start date"});return}const G=s[St(o.equipmentId)],q=G==null?void 0:G.price;if(!q){fe(be.missingEquipmentPriceEstimate);return}const oe=ac({pricePerDay:(De=q.price_per_day)!=null?De:0,pricePerWeek:(Ee=q.price_per_week)!=null?Ee:0,pricePerMonth:(we=q.price_per_month)!=null?we:0,rentalDays:E});te(oe),$(q),h("estimate")},pe=()=>{h("dates"),te(null),$(null),re()},ht=(b,D,E,G,q)=>{var Yt,Vt,Wt,Qt,Jt,Kt,Xt,Zt,en,tn,nn,on,an,rn,sn;const oe=T(String(w)).utc().tz(c),De=T(String(L)).utc().tz(c),Ee=(Wt=(Vt=(Yt=a==null?void 0:a.location)==null?void 0:Yt.city)==null?void 0:Vt.trim())!=null?Wt:"",we=(Kt=(Jt=(Qt=a==null?void 0:a.location)==null?void 0:Qt.state)==null?void 0:Jt.trim())!=null?Kt:"";let gt="";return Ee&&we?gt=`EquipmentShare ${Ee}, ${we}`:(Ee||we)&&(gt=`EquipmentShare ${Ee||we}`),se(X(X({equipment_class_id:String(b.equipmentId),equipment_class_name:b.equipmentName,category:b.categoryName||null,start_date:oe.format("YYYY-MM-DD"),end_date:De.format("YYYY-MM-DD"),branch_directions_link:(Zt=(Xt=a==null?void 0:a.location)==null?void 0:Xt.get_directions_link)!=null?Zt:"",branch_id:String((en=a==null?void 0:a.branch_id)!=null?en:""),branch_name:gt,branch_phone:(nn=ot((tn=a==null?void 0:a.location)==null?void 0:tn.location_phone))!=null?nn:"",charged_total:D.standardRate,optimized_total:D.bestRate,weekly_rate:(on=E.price_per_week)!=null?on:0,daily_rate:(an=E.price_per_day)!=null?an:0,"4_weekly_rate":(rn=E.price_per_month)!=null?rn:0,optimized_breakdown:{"4_week_periods":D.bestBreakdown.months,weeks:D.bestBreakdown.weeks,days:D.bestBreakdown.days},landing_page:window.location.href},G.phone?{mobile_number:(sn=ot(G.phone))!=null?sn:""}:{}),G.email?{email_address:G.email}:{}),{timezone:c,recaptchaToken:q})},We=b=>{t(fn()),t(Ia({equipmentName:b}))},xt=(b,D)=>{var E,G;if(dr(b)&&b.response){const q=b.response.status;if(q===409){We(D);return}if(q===400){((G=(E=b.response.data)==null?void 0:E.message)!=null?G:"").toLowerCase().includes("recaptcha")?fe(be.quickEstimateRecaptchaError):fe(be.quickEstimateValidationError);return}if(q===422){fe(be.quickEstimateSubmissionError);return}if(q>=500){fe(be.quickEstimateServerError);return}}fe(be.formSubmissionError)},Qe=b=>ce(this,null,function*(){if(!(!o||!R||!A||!w||!L||d)){j(!0);try{const D=yield Aa("submit");if(!D){ee("error","QuickEstimate: undefined recaptcha token"),fe(be.formSubmissionError);return}const E=ht(o,R,A,b,D);yield sc(E),co({type:lo.QUICK_ESTIMATE_SUBMITTED,payload:{form_type:"request_availability",equipment_class_id:E.equipment_class_id,equipment_class_name:E.equipment_class_name,category:E.category,optimized_total:E.optimized_total,charged_total:E.charged_total,daily_rate:E.daily_rate,weekly_rate:E.weekly_rate,monthly_rate:E["4_weekly_rate"],rental_duration_days:R.rentalDays,start_date:E.start_date,end_date:E.end_date,branch_id:E.branch_id,branch_name:E.branch_name,has_email:!!b.email,has_phone:!!b.phone}}),We(o.equipmentName)}catch(D){ee("error","at QuickEstimateModal while submitting equipment availability request",D),xt(D,o.equipmentName)}finally{j(!1)}}});if(!o)return null;const Ge=`Get an estimate now - ${o.equipmentName}`,f=e.jsxs(e.Fragment,{children:[e.jsx(uc,{children:"When do you need the equipment?"}),e.jsx(mc,{minStartDate:m,startDate:w,endDate:L,setStartDate:_,setEndDate:k,startDateLabel:e.jsx(tt,{children:"Start Date"}),endDateLabel:e.jsx(tt,{children:"End Date"}),startDateHelperLabel:y!=null&&y.startDateError?e.jsx(On,{hasError:!0,children:"Start date required"}):e.jsx(e.Fragment,{}),endDateHelperLabel:y!=null&&y.endDateError?e.jsx(On,{hasError:!0,children:(ge=y==null?void 0:y.endDateMessage)!=null?ge:"End date required"}):e.jsx(e.Fragment,{}),startDateError:y==null?void 0:y.startDateError,endDateError:y==null?void 0:y.endDateError}),x&&e.jsxs(xc,{children:[e.jsx(gc,{}),e.jsxs(fc,{children:[e.jsx("strong",{children:"Heads up:"})," Same-day rentals may have limited availability. For fastest service, call"," ",e.jsx(vt,{href:`tel:${C}`,children:v}),"."]})]}),e.jsx(hc,{onClick:ye,children:"CONTINUE"})]}),z=R?nc(R):null,xe=R&&e.jsxs(e.Fragment,{children:[e.jsxs(bc,{children:[e.jsxs(yc,{children:[e.jsx(Ec,{children:"Your Rate:"}),e.jsxs(wc,{children:["$",R.bestRate.toFixed(2),"*"]}),R.bestRate<R.standardRate&&e.jsxs(Cc,{children:["$",R.standardRate.toFixed(2)]}),e.jsxs(jc,{children:["(",R.rentalDays,"-day rental)"]})]}),z&&e.jsx(Sc,{children:e.jsxs(Tc,{children:["✅ ",z]})}),e.jsx(kc,{onClick:pe,children:"Change Dates"}),e.jsx(Ac,{children:"* Please note: This is just an estimate. Taxes and delivery are not included and final pricing may vary."})]}),e.jsxs(Ic,{children:[e.jsxs("div",{children:[e.jsx(vc,{children:"Ready to confirm availability?"}),e.jsxs(Lc,{children:["Call"," ",e.jsx(vt,{href:`tel:${C}`,children:v})," or leave your email or phone below."]})]}),e.jsxs("div",{children:[e.jsx(tt,{children:"Email Address"}),e.jsx(pn,{name:"email",control:Q,render:({field:b,fieldState:D})=>{var E;return e.jsx($n,se(X({},b),{placeholder:"you@email.com",error:!!D.error,helperText:(E=D.error)==null?void 0:E.message}))}})]}),e.jsxs("div",{children:[e.jsx(tt,{children:"Phone Number"}),e.jsx(pn,{name:"phone",control:Q,render:({field:b,fieldState:D})=>{var E;return e.jsx($n,se(X({},b),{placeholder:"(555) 555-5555",error:!!D.error,helperText:(E=D.error)==null?void 0:E.message}))}})]}),de&&e.jsx(Dc,{children:de}),e.jsx(Rc,{onClick:ae(Qe),disabled:d,children:d?"SUBMITTING...":"GET ESTIMATE"})]})]}),Je=g==="dates"?f:xe;return e.jsxs(ka,{children:[e.jsx(Co,{open:p==="CENTERED_MODAL","aria-labelledby":"quick-estimate-modal-title",children:e.jsx(jo,{children:e.jsxs(So,{children:[e.jsx(To,{onClick:ie,children:e.jsx(At,{})}),e.jsx(It,{id:"quick-estimate-modal-title",children:Ge}),Je]})})}),e.jsxs(Ot,{isOpen:p==="BOTTOM_SHEET",onClose:ie,dialogTitle:!1,children:[e.jsxs(cc,{children:[e.jsx(lc,{children:"Quick Estimate"}),e.jsx(pc,{onClick:ie,children:e.jsx(At,{})})]}),e.jsxs(dc,{children:[e.jsx(It,{children:Ge}),Je]})]})]})}function _c(){const t=Le(),o=P(u=>u.quickEstimate.thankYouConfig),a=uo,s=ot(a);if(!o)return null;const c=()=>{t(va())},p=`Get an estimate now - ${o.equipmentName}`;return e.jsx(Co,{open:o.open,onClose:c,children:e.jsx(jo,{children:e.jsxs(So,{children:[e.jsx(To,{onClick:c,children:e.jsx(At,{})}),e.jsx(It,{children:p}),e.jsx(Pc,{children:e.jsxs(Nc,{children:["Thanks! A member of our team will reach out shortly. Or call"," ",e.jsx(vt,{href:`tel:${s}`,children:a})," ","for immediate assistance."]})})]})})})}const Oc=5,Bn="Search...",Un="Find equipment and solutions...",$c=150,Bc=(t,o)=>ce(void 0,null,function*(){try{const{data:a}=yield po.get(`/rental-equipment-search/equipment-classes/suggestions?search_term=${encodeURIComponent(t)}&result_size=${o}`);return a}catch(a){throw ee("error","at getSearchAutoSuggestOptions while fetching search auto suggest options"),new Error("error at getSearchAutoSuggestOptions while fetching search auto suggest options")}}),Uc=3,Fc=3,qc=6;function Hc(_){var L=_,{startIcon:t,endIcon:o,popupPosition:a,placeholder:s,helperText:c,inputFocusSubject:p,closeAutocompleteSubject:u,onDropdownToggleFn:g,onInputChangeCallBack:h}=L,w=Re(L,["startIcon","endIcon","popupPosition","placeholder","helperText","inputFocusSubject","closeAutocompleteSubject","onDropdownToggleFn","onInputChangeCallBack"]);const k=d=>(typeof d=="string"?d.trim().toLowerCase():"")||"pages",y=d=>{var j;return(j=d==null?void 0:d.find(m=>m&&m.trim().length>0))==null?void 0:j.trim()},O=d=>{var m,v,C;const j=(C=y((m=d.highlight)==null?void 0:m["page_title.suggest"]))!=null?C:y((v=d.highlight)==null?void 0:v["content_title.suggest"]);return j?_a(j):Oa(d)},R=d=>{const j=new Map;return d.forEach(m=>{const v=O(m),C=Na(m);if(!v||!C)return;const W=k(Ma(m)),Q=j.get(W),ae={id:Ne(),label:v,type:Et.STANDARD,url:C,optionType:Pe.SITEPAGE};Q?Q.push(ae):j.set(W,[ae])}),Array.from(j.entries()).map(([m,v])=>({id:Ne(),groupLabel:m,groupItems:v}))},te=d=>{d=d.trim(),d&&Da(d)},A=d=>ce(this,null,function*(){d.optionType===Pe.EQUIPMENTCLASS&&d.slug&&ao(d.slug),d.optionType===Pe.CATEGORIES&&d.slug&&Ra(d.slug),d.optionType===Pe.SITEPAGE&&d.url&&(window.location.href=d.url)}),[$,x]=i.useState(null),S=d=>ce(this,null,function*(){return d?($&&(clearTimeout($),x(null)),new Promise(j=>{const m=setTimeout(()=>ce(this,null,function*(){let v=[];try{const[C,W]=yield Promise.allSettled([Bc(d,Oc),Pa(d)]);C.status==="rejected"&&ee("error","Error fetching equipment/category suggestions",C.reason),W.status==="rejected"&&ee("error","Error fetching site suggestions",W.reason);const Q=C.status==="fulfilled"?C.value:{equipment_suggestions:[],category_suggestions:[]},ae=W.status==="fulfilled"?W.value:{suggestions:[]},re=Q.equipment_suggestions.length===0,he=Q.category_suggestions.length===0,de=ae.suggestions.length===0;if(re&&he&&de)v=[];else{const ie=[];if(!re){const ye=Q.equipment_suggestions.slice(0,Uc).map(pe=>({id:Ne(),label:pe.text,type:Et.STANDARD,slug:pe.equipment_class_slug,optionType:Pe.EQUIPMENTCLASS}));ie.push({id:Ne(),groupLabel:"equipment",groupItems:ye})}if(!he){const ye=Q.category_suggestions.slice(0,Fc).map(pe=>({id:Ne(),label:pe.text,type:Et.STANDARD,slug:pe.category_slug,optionType:Pe.CATEGORIES}));ie.push({id:Ne(),groupLabel:"categories",groupItems:ye})}const ze=R(ae.suggestions.slice(0,qc));ie.push(...ze),v=ie}}catch(C){ee("error","Error fetching search suggestions",C)}j(v),x(null)}),$c);x(m)})):[]});return e.jsx(La,X({value:null,startIcon:t,endIcon:o,selectHandler:d=>ce(this,null,function*(){d!==null&&(yield A(d))}),getOptionsHandler:S,isLoading:!1,popupPosition:a!=null?a:"absolute",placeholder:s!=null?s:"",helperText:c,onDropdownToggleFn:g,overRideOnEnterInInputField:te,onClick:()=>p==null?void 0:p.next(!0),inputFocusSubject:p,closeAutocompleteSubject:u,onInputChangeCallBack:h},w))}const zc=n(l)``,Gc=n(dt)`
  margin: 10px;
`,Yc=n(l)`
  margin: auto;
  margin-top: 108px;
  // Specifying a fixed top margin to prevent the modal from bouncing vertically
  // Refer: https://app.shortcut.com/equipmentshare/story/340832/fix-the-location-modal-that-gets-opened-up-when-the-user-clicks-on-the-select-location-to-see-prices-under-the-equipment
  width: 90vw;
  max-width: 400px;
  max-height: 90vh;
  background-color: white;
  border: none;
  box-shadow:
    0px 8px 15px 0px rgba(0, 0, 0, 0.1),
    0px -8px 15px 0px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 30px;
  :focus-visible {
    outline: 0;
  }
  overflow-y: auto;
`,Vc=n(pt)`
  border-radius: 5px;
  border: 1px solid ${r.custom.grey};
  .autocomplete-dropdown {
    padding: 0 10px 0 10px;
  }
  .autocomplete-dropdown-item {
    padding: 0;
    transition: padding 0.4s ease-in-out;
  }
  .autocomplete-dropdown-item:hover {
    padding: 0 10px 0 10px;
    transition: padding 0.4s ease-in-out;
  }
`,ko=n(ut)`
  color: #757575;
  width: 16px;
`,Wc=n(Ut)`
  width: 100%;
  border-radius: 5px;
  border: 1px solid;
  background: white;
  height: 40px;
  margin-top: 14px;
`,Qc=n(K)`
  margin-bottom: 6px;
`,Fn=n(Ve,{shouldForwardProp:t=>t!=="hasError"})`
  color: ${t=>t.hasError?r.error.main:r.custom.mediumGrey};
  margin-top: 4px;
  margin-left: 2px;
`,Jc=n(l)`
  cursor: pointer;
  position: absolute;
  top: 122px;
  right: calc(50% - 186px);
  color: ${r.primary.main};
`,Kc=n(He)`
  color: ${r.custom.grey};
  width: 21px;
  height: 21px;
  object-fit: contain;
`,Xc=n(Hc,{shouldForwardProp:t=>t!=="isActive"})`
  border-radius: 5px;
  border: ${t=>t.isActive?`1px solid ${r.primary.main}`:"1px solid #ccc"};
  &:hover {
    border-color: ${r.primary.main};
  }
  padding-left: 35px;
  height: 40px;
  width: 100%;
  .autocomplete-start-icon-container {
    width: 48px;
  }
`,Zc=n(ko)`
  color: ${r.primary.main};
  width: 17px;
  cursor: pointer;
`,el=new CustomEvent("closemobilesearchblock");function tl({id:t,showCloseButton:o,toggleWidth:a,isMobileNavSearchElement:s}){const[c,p]=i.useState(!1),[u,g]=i.useState(""),[h,w]=i.useState(Bn),_=i.useMemo(()=>new it,[]),L=i.useMemo(()=>new it,[]),k=()=>{const d=O();d&&document.addEventListener("click",j=>{y(j.target,d)})},y=(d,j)=>{let m=d,v=!1;if(m){do{if(m==j){v=!0;break}m=m.parentNode}while(m);v||p(!1)}},O=()=>document.getElementById(t),R=()=>{setTimeout(()=>{if(!document.activeElement)return;const d=O();d!==document.activeElement&&!(d!=null&&d.contains(document.activeElement))&&p(!1)},0)},te=()=>{const d=j=>{const m=document.getElementById(j);m&&m.parentNode&&m.parentNode.removeChild(m)};d("es-search-element"),d("es-mobile-search-element")},A=d=>{const j=O();j&&(d?j.style.width="100%":j.style.width="calc(50% - 5px)")},$=d=>{a&&(d.preventDefault(),d.stopPropagation(),p(j=>!j))},x=()=>{p(!0),w(Un),_.next(!0),a&&A(!0)},S=()=>{p(!1),w(Bn),L.next(!0),a&&A(!1),s&&document.dispatchEvent(el)};return i.useEffect(()=>{k(),te()},[]),i.useEffect(()=>{c?x():S()},[c]),e.jsx(Xc,{onFocus:x,onKeyDown:R,startIcon:e.jsx(Zc,{onClick:$}),placeholder:a?h:Un,isActive:c,inputFocusSubject:_,closeAutocompleteSubject:L,onInputChangeCallBack:g,endIcon:o&&u||s?e.jsx(Bo,{onClick:S,style:{color:r.custom.grey}}):void 0})}const nl=n(l)`
  width: 100%;
  height: fit-content;
  padding: 0px 20px 20px 20px;
  transition: all 2s ease-in;
  background: ${r.custom.white};
`,ol=n(J)`
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 15px;
`,al=n(pt)`
  border-radius: 5px;
  border: 1px solid ${r.custom.grey};
  .autocomplete-dropdown {
    padding: 0 10px 0 10px;
  }
  .autocomplete-dropdown-item {
    padding: 0;
    transition: padding 0.4s ease-in-out;
  }
  .autocomplete-dropdown-item:hover {
    padding: 0 10px 0 10px;
    transition: padding 0.4s ease-in-out;
  }
`,rl=n(me)`
  width: 100%;
  justify-content: center;
  align-items: center;
`,il=n(Ut)`
  border-radius: 5px;
  border: 1px solid ${r.primary.main};
  background: ${r.custom.white};
  height: 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  width: 220px;
  color: ${r.custom.darkGrey};
  text-transform: math-auto;
`,sl=n(K)`
  font-weight: ${M.bold};
  margin-bottom: 0px;
`,qn=n(Ve,{shouldForwardProp:t=>t!=="hasError"})`
  color: ${t=>t.hasError?r.error.main:r.custom.mediumGrey};
  margin-top: 4px;
  margin-left: 2px;
  margin-bottom: 10px;
`,cl=n(ut)`
  color: ${r.custom.mediumGrey};
  width: 16px;
`,ll=n(l)`
  cursor: pointer;
  color: ${r.primary.main};
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
`,dl=n(He)`
  color: ${r.custom.grey};
  width: 21px;
  height: 21px;
  object-fit: contain;
`,Hn=new it;function pl(){const[t,o]=i.useState(!1),[a,s]=i.useState(!1),c={default:{element:e.jsx(qn,{children:e.jsx(I,{id:"generic.locationHelperTexts.default"})})},invalidInput:{element:e.jsx(qn,{hasError:!0,children:e.jsx(I,{id:"generic.locationHelperTexts.invalidLocation"})})}},p=g=>{g.stopPropagation()},u=()=>{Hn.next(!1)};return i.useEffect(()=>{const g=Ye.subscribe(h=>{o(h===$e.BOTTOM_SHEET)});return()=>g.unsubscribe()},[]),e.jsx(Ot,{isOpen:t,onClose:kt,children:e.jsxs(nl,{className:"location-bottomsheet-menu",onClick:p,children:[e.jsxs(ol,{onClick:u,children:[e.jsx(sl,{children:"Where is your jobsite?"}),e.jsx(ll,{onClick:kt,children:e.jsx(dl,{})})]}),e.jsx(al,{resetCurrentLocationOnClickAway:!1,hideStartIcon:!0,endIcon:e.jsx(cl,{}),popupPosition:"relative",helperText:c,onDropdownToggleFn:s,inputFocusSubject:Hn}),!a&&e.jsxs(rl,{children:[e.jsx(Ft,{}),e.jsx(il,{})]})]})})}function ul(){const[t,o]=i.useState(!1),a={default:{element:e.jsx(Fn,{children:e.jsx(I,{id:"generic.locationHelperTexts.default"})})},invalidInput:{element:e.jsx(Fn,{hasError:!0,children:e.jsx(I,{id:"generic.locationHelperTexts.invalidLocation"})}),position:"absolute"}};return i.useEffect(()=>{const s=Ye.subscribe(c=>{o(c===$e.MODAL)});return()=>s.unsubscribe()},[]),i.useEffect(()=>function(){$t.next(Bt.NONE)},[]),e.jsx(zc,{children:e.jsx(Gc,{open:t,"aria-labelledby":"modal-modal-title","aria-describedby":"modal-modal-description",children:e.jsxs(Yc,{children:[e.jsx(Jc,{onClick:kt,children:e.jsx(Kc,{})}),e.jsx(Qc,{children:"Where is your jobsite?"}),e.jsx(Vc,{resetCurrentLocationOnClickAway:!1,hideStartIcon:!0,endIcon:e.jsx(ko,{}),popupPosition:"relative",helperText:a}),e.jsx(Ft,{}),e.jsx(Wc,{})]})})})}function ml(){return i.useEffect(()=>{const o=new URLSearchParams(window.location.search).get($a.REDIRECT_URL);Ae.login(o)},[]),e.jsx(ue,{children:e.jsx(I,{id:"loginRedirect.message"})})}const hl=n(l)``,xl=n(dt)`
  margin: 10px;
`,gl=n(l)`
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 400px;
  background-color: ${r.custom.darkGrey};
  border: none;
  box-shadow:
    0px 8px 15px 0px rgba(0, 0, 0, 0.1),
    0px -8px 15px 0px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 24px;
  :focus-visible {
    outline: 0;
  }
`,fl=n(l)`
  max-height: 95vh;
  overflow-y: auto;
`,bl=n(me)`
  margin-bottom: 30px;
`,yl=n(ue)`
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.45px;
  font-weight: ${M.bold};
  color: ${r.custom.white};
  margin-bottom: 14px;
  text-transform: capitalize;
`,zn=n(ue)`
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.375px;
  color: ${r.custom.white};
  font-weight: ${M.regular};

  &:not(:first-of-type) {
    margin-top: 12px;
  }

  p.para:not(:first-of-type) {
    margin-top: 12px;
  }

  *.bold {
    font-weight: ${M.bold};
  }
`,El=n(J)`
  justify-content: flex-end;
`,wl=n(mo)`
  cursor: pointer;
  font-size: 13.5px;
  font-weight: ${M.bold};
  color: ${r.custom.white};
  font-size: 13.5px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.675px;
`,Cl=n(mo)`
  cursor: pointer;
  font-size: 13.5px;
  font-weight: ${M.bold};
  color: ${r.custom.white};
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.675px;
  padding-right: 32px;
`,jl=n(l)`
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 16px;
  height: 14px;
  width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
`,Sl=n(Ba)`
  color: ${r.custom.grey};
  width: 14px;
  height: 14px;
  object-fit: contain;
`;function Tl(){const[t,o]=i.useState(),a=()=>{t!=null&&t.closeClickHandler&&t.closeClickHandler(),bn.next(null)};i.useEffect(()=>{const c=bn.subscribe(p=>{o(p)});return()=>c.unsubscribe()},[]);const s=()=>t!=null&&t.isDescriptionPrebuiltHtml&&(t!=null&&t.description)?e.jsx(zn,{children:e.jsx("div",{dangerouslySetInnerHTML:{__html:t.description}})}):e.jsx(zn,{children:t==null?void 0:t.description});return e.jsx(hl,{children:e.jsx(xl,{open:!!t,onClose:a,children:e.jsx(gl,{children:e.jsxs(fl,{children:[e.jsx(jl,{onClick:a,children:e.jsx(Sl,{})}),e.jsxs(bl,{children:[(t==null?void 0:t.title)&&e.jsx(yl,{children:t==null?void 0:t.title}),s()]}),e.jsxs(El,{children:[(t==null?void 0:t.cancelButtonLabel)&&e.jsx(Cl,{onClick:(t==null?void 0:t.cancelClickHandler)||a,children:t==null?void 0:t.cancelButtonLabel}),(t==null?void 0:t.confirmButtonLabel)&&e.jsx(wl,{"data-event-tracking":t.confirmButtonLabel==="1.888.80.RENTS"?Tt.MainPhone:"",onClick:t==null?void 0:t.confirmClickHandler,children:t==null?void 0:t.confirmButtonLabel})]})]})})})})}const kl=n(l)`
  width: calc(100vw - 20px);
  max-width: 335px;
  border-radius: 5px;
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: absolute;
  top: 50px;
  z-index: 901;
  background: ${r.custom.white};
`,Al=n(l)`
  padding: 20px;
`,Il=n(l)`
  position: absolute;
  top: -20px;
  left: 35px;
`,vl=n(l)`
  width: 40px;
  height: 21px;
  position: relative;
  overflow: hidden;
  :after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: ${r.custom.white};
    transform: rotate(45deg);
    top: 8px;
    left: 5px;
    border-radius: 5px 0 0 0;
    box-shadow: -1px -1px 10px -2px rgba(0, 0, 0, 0.15);
  }
`,Ll=n(pt)`
  border-radius: 5px;
  border: 1px solid ${r.custom.grey};
  .autocomplete-dropdown {
    padding: 0 10px 0 10px;
  }
  .autocomplete-dropdown-item {
    padding: 0;
    transition: padding 0.4s ease-in-out;
  }
  .autocomplete-dropdown-item:hover {
    padding: 0 10px 0 10px;
    transition: padding 0.4s ease-in-out;
  }
`,Dl=n(Ut)`
  width: 100%;
  border-radius: 5px;
  border: 1px solid;
  background: ${r.custom.white};
  height: 40px;
  margin-top: 14px;
`,Rl=n(K)`
  margin-bottom: 6px;
`,Gn=n(Ve,{shouldForwardProp:t=>t!=="hasError"})`
  color: ${t=>t.hasError?r.error.main:r.custom.mediumGrey};
  margin-top: 4px;
  margin-bottom: 8px;
  margin-left: 2px;
`,Pl=n(ut)`
  color: ${r.custom.mediumGrey};
  width: 16px;
`;function Nl({isOpen:t}){const o={default:{element:e.jsx(Gn,{children:e.jsx(I,{id:"generic.locationHelperTexts.default"})})},invalidInput:{element:e.jsx(Gn,{hasError:!0,children:e.jsx(I,{id:"generic.locationHelperTexts.invalidLocation"})})}};return i.useEffect(()=>function(){$t.next(Bt.NONE)},[]),t?e.jsxs(kl,{className:"location-navlink-menu",children:[e.jsx(Il,{children:e.jsx(vl,{})}),e.jsxs(Al,{children:[e.jsx(Rl,{children:"Where is your jobsite?"}),e.jsx(Ll,{resetCurrentLocationOnClickAway:!1,hideStartIcon:!0,endIcon:e.jsx(Pl,{}),popupPosition:"relative",helperText:o}),e.jsx(Ft,{}),e.jsx(Dl,{})]})]}):null}const Ml=n(l)`
  position: relative;
`,_l=n(st)`
  padding: 5px;
  text-transform: capitalize;
  color: ${r.custom.darkGrey};
  background: none;
  .MuiButton-startIcon {
    color: ${r.primary.main};
    margin-left: 0px;
  }
  :hover {
    background: none;
  }
`;function Ol(){const t=P(g=>g.location.userLocation),o=P(g=>g.location.status),[a,s]=i.useState(!1),c=Ua(),p=()=>{Ye.getValue()===$e.DROPDOWN&&c.close()},u=()=>{Ye.getValue()!==$e.DROPDOWN?c.open($e.DROPDOWN):c.close()};return i.useEffect(()=>{p()},[t]),i.useEffect(()=>{const g=Ye.subscribe(h=>{s(h===$e.DROPDOWN)});return()=>g.unsubscribe()},[]),e.jsx(Pt,{onClickAway:p,children:e.jsxs(Ml,{children:[e.jsx(_l,{disableRipple:!0,className:"location-navlink-button",startIcon:e.jsx(io,{}),onClick:u,children:o===Fa.IS_LOADING?e.jsx(qa,{hexColourCode:r.custom.white}):t&&(t.city&&t.state?`${t.city}, ${t.state}`:t.address?t.address:e.jsx(I,{id:"navbar.setLocation"}))||e.jsx(I,{id:"navbar.setLocation"})}),e.jsx(Nl,{isOpen:a})]})})}function $l(){const[t,o]=i.useState(!1);return i.useEffect(()=>{if(!document.querySelector("#page-loader-styles")){const a=document.createElement("style");a.id="page-loader-styles",a.textContent=`
        body.page-loader-visible {
          overflow: hidden;
        }
      `,document.head.appendChild(a)}document.body.classList.toggle("page-loader-visible",t)},[t]),i.useEffect(()=>{const a=Ha.subscribe(s=>{o(s.size>0)});return()=>a.unsubscribe()},[]),e.jsx(za,{open:t,children:e.jsx(Ga,{children:e.jsx(Ya,{})})})}const Bl=()=>{const[t,o]=i.useState(null),[a,s]=i.useState(null),c=P(u=>u.auth.authContext),p=u=>ur[u];return i.useEffect(()=>{var u,g;if(o((u=c==null?void 0:c.accessToken)!=null?u:null),s((g=c==null?void 0:c.idToken)!=null?g:null),c!=null&&c.accessToken){const h=document.createElement("script");return h.type="text/javascript",h.async=!0,h.innerHTML=`
        window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src="https://cdn.heapanalytics.com/js/heap-"+e+".js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(r,a);for(var n=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","resetIdentity","removeEventProperty","setEventProperties","track","unsetEventProperty"],o=0;o<p.length;o++)heap[p[o]]=n(p[o])};

        heap.load("${p(Be.HEAPER_ENV)}");
      `,document.head.appendChild(h),()=>{document.head.removeChild(h)}}else{const h=document.querySelector('script[src*="heap"]');h&&document.head.removeChild(h)}},[c]),e.jsxs(e.Fragment,{children:[e.jsx(Uo,{}),t&&a?e.jsx(Ul,{accessToken:t,idToken:a}):null]})},Ul=({accessToken:t,idToken:o})=>{const a=Be.HEAPER_ENV;return pr("EquipmentShare.com",a,{accessToken:t,idToken:o,heap:!1,intercom:!0,silent:!1}),null};function Fl({children:t}){const o=Fo(),a=Le(),s=()=>ce(this,null,function*(){if(Ae.setAuth0(o),!o.isAuthenticated&&!Ae.getAuthInstanceStateInitialized())try{yield o.getAccessTokenSilently()}catch(c){}finally{Ae.setAuthInstanceStateInitialized(!0)}a(Wa())});return i.useEffect(()=>{s()},[o]),i.useEffect(()=>{Va()},[]),e.jsx(e.Fragment,{children:t})}function ql(){const t=mr(),o=hr(),a=P(c=>c.auth.authContext),s=Le();return i.useEffect(()=>{const c=o==null?void 0:o.allFlags();s(Qa(c)),Ja.setFlags(t)},[t]),i.useEffect(()=>{a&&a.email&&o&&o.identify({kind:"user",key:a.userId,email:a.email,companyId:a.companyId,userId:a.userId})},[o,a]),e.jsx(e.Fragment,{})}const Hl=()=>{U.getState().app.appInitiated||(U.dispatch(to()),Ka())},Ct=(t,o,a)=>{const s=Object.assign({},...Array.from(t.attributes,({name:p,value:u})=>({[p]:u})));Mt.createRoot(t).render(e.jsx(Fe.StrictMode,{children:e.jsx(Zn,{children:e.jsx(ho,{store:U,children:e.jsx(xo,{persistor:eo,onBeforeLift:Hl,children:e.jsx(go,{locale:qt,messages:bo,children:e.jsx(fo,{children:e.jsx(Jn,{children:a===Y.AUTH?e.jsx(e.Fragment,{children:e.jsx(qo,{clientId:Be.AUTH0_CONFIG.CLIENT_ID,domain:Be.AUTH0_CONFIG.DOMAIN,audience:Be.AUTH0_CONFIG.AUDIENCE,redirectUri:window.location.origin,scope:"openid profile email",cacheLocation:"localstorage",useRefreshTokens:!0,allowUnauthorizedAccess:!0,children:e.jsxs(Fl,{children:[e.jsx(Bl,{}),e.jsx(xr,{clientSideID:Be.LD_CLIENT_SIDE_ID,options:{streaming:!1},reactOptions:{useCamelCaseFlagKeys:!1},children:e.jsx(ql,{})}),o(s)]})})}):o(s)})})})})})})}))},zl=t=>{const o=()=>{(Array.isArray(t)?t:[t]).forEach(({componentType:a,selectorType:s,selector:c,component:p})=>{if(s===B.ID){const u=document.getElementById(c);u&&Ct(u,p,a)}if(s===B.CLASS){const u=document.getElementsByClassName(c);for(let g=0;g<u.length;g++){const h=u[g];Ct(h,p,a)}}if(s===B.ATTRIBUTE){const u=document.querySelectorAll(c);for(let g=0;g<u.length;g++){const h=u[g];Ct(h,p,a)}}})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",o,{once:!0}):o()};function Gl(o){var t=Re(o,[]);return e.jsxs("svg",se(X({width:"20",height:"22",viewBox:"0 0 20 22",fill:"none"},t),{children:[e.jsx("path",{d:"M17.892 20V18C17.892 16.9391 17.4702 15.9217 16.7196 15.1716C15.9689 14.4214 14.9508 14 13.8892 14H5.88364C4.82203 14 3.80391 14.4214 3.05325 15.1716C2.30258 15.9217 1.88086 16.9391 1.88086 18V20",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M9.88657 10C12.0972 10 13.8893 8.20914 13.8893 6C13.8893 3.79086 12.0972 2 9.88657 2C7.67589 2 5.88379 3.79086 5.88379 6C5.88379 8.20914 7.67589 10 9.88657 10Z",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})]}))}const Yl=n(l)`
  display: flex;
  position: relative;
  width: 100%;
`,Vl=n(Xa)`
  height: 40px;
  min-width: unset;
  padding: 10px;
  position: relative;
  width: 40px;

  ${t=>t.theme.breakpoints.down("sm")} {
    height: 30px;
    width: 30px;
    padding: 8px;
  }
`,Wl=n(l)`
  position: absolute;
  right: 10px;
  top: -20px;
`,Ql=n(l)`
  height: 21px;
  overflow: hidden;
  position: relative;
  width: 40px;
  :after {
    background: ${r.custom.white};
    border-radius: 5px 0 0 0;
    box-shadow: -1px -1px 10px -2px rgba(0, 0, 0, 0.15);
    content: '';
    height: 30px;
    left: 5px;
    position: absolute;
    top: 8px;
    transform: rotate(45deg);
    width: 30px;
  }
`,Jl=n(l)`
  border-radius: 5px;
  box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.1);
  max-width: 402px;
  position: absolute;
  right: -10px;
  top: 68px;
  width: 95vw;
  z-index: 100;

  ${t=>t.theme.breakpoints.down("xs")} {
    border-radius: 0px 0px 5px 5px;
    box-shadow: none;
    width: 100%;
    max-width: none;
    position: relative;
    top: 0;
    right: 0;
  }
`,Kl=n(l)`
  background: ${r.custom.white};
  border-radius: 5px;
  display: grid;
  gap: 0px;
  grid-template-areas: 'AreaOne AreaOne' 'AreaThree AreaTwo' 'AreaFour AreaFour';
  grid-template-columns: minmax(auto, 256px) minmax(auto, 156px);
  grid-template-rows: auto;
  width: 100%;
  box-shadow: 0px 4px 6px 0px #0000001a;

  ${t=>t.theme.breakpoints.down("xs")} {
    grid-template-areas: 'AreaOne' 'AreaThree' 'AreaTwo' 'AreaFour';
    grid-template-columns: auto;
    max-width: unset;
    border-radius: 0px 0px 5px 5px;
  }
`,Xl=n(l)`
  grid-area: AreaOne;
  position: relative;
  width: 100%;

  ${t=>t.theme.breakpoints.down("xs")} {
    background: ${r.custom.darkGrey};
    display: flex;
    align-items: center;
    height: 71px;
  }
`,Zl=n(me)`
  grid-area: AreaTwo;
  max-width: 150px;
  position: relative;
  padding: 9px 10px 10px 17px;

  ${t=>t.theme.breakpoints.down("xs")} {
    padding: 0px 20px 10px 20px;
  }
`,ed=n(me,{shouldForwardProp:t=>t!=="bottomPadding"})`
  grid-area: AreaThree;
  position: relative;
  min-width: 190px;
  margin: 9px 0px 6px 0px;
  padding: 0px 26px 0px 26px;

  ${t=>t.theme.breakpoints.down("xs")} {
    padding: 0px 1.25rem;
  }
`,td=n(J,{shouldForwardProp:t=>t!=="whiteBackground"})`
  grid-area: AreaFour;
  align-items: center;
  position: relative;
  background: ${t=>t.whiteBackground?r.custom.white:r.custom.lightGrey};
  min-height: 34px;
  padding: 0px 26px;

  ${t=>t.theme.breakpoints.down("xs")} {
    min-height: 40px;
    border-radius: 0px 0px 5px 5px;
    padding: 0px 1.25rem;
  }
`,nd=n(l)`
  position: absolute;
  right: 0;
  top: 0;
  width: 1.5px;
  height: 100%;
  background-color: #eeeeeebf;
`,od=n(J)`
  align-items: flex-start;
  background: ${r.custom.darkGrey};
  border-radius: 6px;
  gap: 32px;
  justify-content: space-between;
  min-height: 38px;
  padding: 12px 12px 12px 12px;
  margin: 17px 26px 10px 26px;

  ${t=>t.theme.breakpoints.down("xs")} {
    background: none;
    padding: 0;
    align-items: center;
    margin: 0px 20px;
    width: 100%;
  }
`,Yn=n(J)`
  align-items: flex-start;
  gap: 10px;
  ${t=>t.theme.breakpoints.down("xs")} {
    align-items: center;
  }
`,ad=n(ue)`
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 15.1px;
  letter-spacing: 0.3px;
  margin-bottom: 0px;
  color: ${r.custom.white};
`,Vn=n(no)`
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 12.6px;
  align-self: center;
  letter-spacing: 0.25px;
  margin-bottom: 0px;
  text-transform: capitalize;
  word-break: break-word;
  color: ${r.custom.white};

  ${t=>t.theme.breakpoints.down("xs")} {
    font-size: 16px;
    font-weight: ${M.light};
    color: ${r.custom.white};
  }
`,rd=n(ue)`
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 14px;
  margin-bottom: 0px;
  white-space: nowrap;
  ${t=>t.theme.breakpoints.down("xs")} {
    font-family: trade-gothic-next-condensed, sans-serif;
    font-size: 20px;
    font-weight: ${M.heavy};
    color: ${r.custom.white};
    text-transform: uppercase;
  }
`,id=n("a")`
  align-items: center;
  color: ${r.custom.darkGrey};
  cursor: pointer;
  display: flex;
  font-size: 10px;
  font-weight: 400;
  gap: 2px;
  justify-content: space-between;
  letter-spacing: 0.025em;
  line-height: 12.6px;
  align-self: center;
  margin-bottom: 0px;
  text-decoration: none;
  text-transform: capitalize;
  white-space: nowrap;
  color: ${r.custom.lightGrey};
`,sd=n(l)`
  align-items: center;
  display: flex;
  height: 14px;
`,cd=n(Ho)`
  width: 18px;
  padding-top: 2px;
`,Wn=n(J)`
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 20px 17px 19px;

  ${t=>t.theme.breakpoints.down("xs")} {
    padding: 10px 20px;
  }
`,ld=n(zo)`
  width: 100%;
  height: 40px;
`,dd=n(mt)`
  width: 100%;
  max-width: 154px;
  height: 40px;
  font-size: 12px;
  font-weight: ${M.bold};
  line-height: 15.1px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
`,Ao=n(Za)`
  font-family: 'trade-gothic-next-condensed', 'sans-serif';
  line-height: 28px;

  ${t=>t.theme.breakpoints.down("xs")} {
    font-size: 16px;
    margin: 10px 0;
  }
`,Gt=n(l)`
  width: 100%;
`,ke=n("a")`
  color: ${r.custom.darkGrey};
  cursor: pointer;
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 24px;
  margin-bottom: 0px;
  text-decoration: none;
  width: fit-content;

  ${t=>t.theme.breakpoints.down("xs")} {
    font-size: 12px;
    margin: 8px 0px;
  }
`,pd=n(ke)`
  ${t=>t.theme.breakpoints.down("xs")} {
    font-weight: ${M.bold};
    padding: 4px 0px;
  }
`,ud=n(st)`
  width: 100%;
  margin-top: 15px;
  margin-bottom: 22px;
  height: 40.152px;
  border-radius: 5px;
  border: 1px solid ${r.primary.main};
  color: ${r.custom.darkGrey};
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;

  &:hover {
    background-color: ${r.custom.white};
  }
`,Lt=n("span")`
  margin-left: 5px;
`,Dt=n(er)`
  height: 18.5px;
  padding-top: 7px;
  width: 14px;
`,md=n("hr",{shouldForwardProp:t=>t!=="noBottomMargin"&&t!=="mt"&&t!=="mb"})`
  border-top: 2px solid #eeeeeebf;
  border-bottom: 0px;
  border-left: 0px;
  border-right: 0px;
  width: 100%;
  margin-top: ${t=>typeof t.mt=="number"?t.mt+"px":"8px"};
  margin-bottom: ${t=>typeof t.mb=="number"?t.mb+"px":"8px"};
`,hd=n(J)``,xd=n(ue)`
  font-size: 10px;
  font-weight: ${M.bold};
  margin-bottom: 0px;
  text-align: center;
  line-height: 32px;
  letter-spacing: 0.25px;
  ${t=>t.theme.breakpoints.down("xs")} {
    margin-left: 6px;
    color: ${r.custom.white};
    text-align: right;
  }
`,gd=n(ue)`
  color: ${r.collection.blue.d400};
  cursor: pointer;
  font-size: 10px;
  font-weight: ${M.bold};
  line-height: 32px;
  letter-spacing: 0.25px;
  margin-bottom: 0px;
  margin-left: 3px;
  white-space: nowrap;
  ${t=>t.theme.breakpoints.down("xs")} {
    margin-left: 6px;
  }
`,fd=n(l)`
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: ${r.primary.main};
`,bd=n(He)`
  color: ${r.custom.grey};
  width: 21px;
  height: 21px;
  object-fit: contain;
`;function yd(){return e.jsx(Zl,{children:e.jsxs(Gt,{children:[e.jsx(Ao,{children:e.jsx(I,{id:"userDropdown.subtitles.t3Tech"})}),e.jsxs(ke,{href:V(F.estrack.subPath.t3Fleet.id),target:"_blank",children:[e.jsx(I,{id:"userDropdown.links.fleetMap"}),e.jsx(Lt,{children:e.jsx(Dt,{})})]})]})})}function Ed(){const t=i.useId(),o=ct(),a=lt(o.breakpoints.down(o.breakpoints.values.xs)),s=()=>{yn(t,!0),Ae.logout()};return i.useEffect(()=>()=>{yn(t,!1)},[]),e.jsx(td,{whiteBackground:!a,children:e.jsxs(Gt,{children:[e.jsx(ne,{screen:{down:"xs"},children:e.jsx(pd,{onClick:s,children:e.jsx(I,{id:"userDropdown.links.logout"})})}),e.jsx(ne,{screen:{up:"xs"},children:e.jsx(ud,{onClick:s,children:e.jsx(I,{id:"userDropdown.links.logout"})})})]})})}function wd(){var u,g;const t=Rt(),{authState:o,isAuthenticated:a,isAuthInitialized:s}=tr(),c=!s,p=()=>{nr(t.pathname)};return e.jsx(Xl,{children:c?e.jsx(Wn,{"aria-busy":!0,"aria-label":"Loading account",children:e.jsx(ld,{variant:"rounded",animation:"wave"})}):a?e.jsxs(od,{children:[e.jsxs(ne,{screen:{up:"xs"},children:[e.jsxs(Yn,{children:[e.jsx(ad,{children:e.jsx(I,{id:"userDropdown.labels.welcome"})}),e.jsx(Vn,{children:(u=o.authContext)==null?void 0:u.fullName})]}),e.jsxs(id,{href:V(F.account.subPath.profile.id),children:[e.jsx(I,{id:"userDropdown.links.manageProfile"}),e.jsx(sd,{children:e.jsx(cd,{})})]})]}),e.jsxs(ne,{screen:{down:"xs"},children:[e.jsxs(Yn,{children:[e.jsx(rd,{children:e.jsx(I,{id:"userDropdown.labels.welcome"})}),e.jsx(Vn,{children:(g=o.authContext)==null?void 0:g.fullName})]}),e.jsx(fd,{onClick:()=>ve(N.USER_MENU),children:e.jsx(bd,{})})]})]}):e.jsxs(Wn,{children:[e.jsx(dd,{onClick:()=>Ae.login(),children:e.jsx(I,{id:"userDropdown.labels.signIn"})}),e.jsx(hd,{children:e.jsxs(xd,{children:[e.jsx(I,{id:"userDropdown.signUp.newCustomer"}),e.jsx(gd,{as:"span",onClick:p,children:e.jsx(I,{id:"userDropdown.signUp.startHere"})})]})})]})})}function Cd(){return e.jsxs(ed,{children:[e.jsxs(Gt,{children:[e.jsx(Ao,{children:e.jsx(I,{id:"userDropdown.subtitles.rentalAccount"})}),e.jsx(ke,{href:V(F.account.id),children:e.jsx(I,{id:"userDropdown.links.account"})}),e.jsx(ne,{screen:{up:"xs"},children:e.jsxs(ke,{href:V(F.estrack.subPath.billing.id),target:"_blank",children:[e.jsx(I,{id:"userDropdown.links.invoices"}),e.jsx(Lt,{children:e.jsx(Dt,{})})]})}),e.jsx(ne,{screen:{down:"xs"},children:e.jsx(ke,{href:V(F.account.subPath.profile.id),children:e.jsx(I,{id:"userDropdown.links.myProfile"})})}),e.jsx(ne,{screen:{down:"xs"},children:e.jsxs(ke,{href:V(F.estrack.subPath.billing.id),target:"_blank",children:[e.jsx(I,{id:"userDropdown.links.invoices"}),e.jsx(Lt,{children:e.jsx(Dt,{})})]})}),e.jsx(ke,{href:V(F.estrack.subPath.help.id),children:e.jsx(I,{id:"userDropdown.links.helpCenter"})}),e.jsx(ne,{screen:{down:"xs"},children:e.jsx(md,{mt:16,mb:6})})]}),e.jsx(nd,{})]})}function Io(){const t=P(o=>o.auth);return e.jsxs(Jl,{children:[e.jsx(ne,{screen:{up:"xs"},children:e.jsx(Wl,{children:e.jsx(Ql,{})})}),e.jsxs(Kl,{children:[e.jsx(wd,{}),so(t.loginStatus)&&e.jsxs(e.Fragment,{children:[e.jsx(yd,{}),e.jsx(Cd,{}),e.jsx(Ed,{})]})]})]})}function jd(){const t=Rt(),o=ct(),a=lt(o.breakpoints.down(o.breakpoints.values.xs)),[s,c]=i.useState(!1),p=()=>{zt(N.USER_MENU)},u=()=>{a||s&&ve(N.USER_MENU)};return i.useEffect(()=>{s&&ve(N.USER_MENU)},[t]),i.useEffect(()=>{const g=Ie.subscribe(h=>{c(h===N.USER_MENU)});return()=>g.unsubscribe()},[]),e.jsx(Pt,{onClickAway:u,children:e.jsxs(Yl,{children:[e.jsx(Vl,{disableRipple:!0,onClick:p,children:e.jsx(Gl,{})}),s?e.jsx(ne,{screen:{up:"xs"},children:e.jsx(Io,{})}):null]})})}const Sd={componentType:Y.AUTH,selectorType:B.ID,selector:"esr-auth-placeholder",component:()=>e.jsx(Oi,{})},Td=[{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-user-dropdown-menu",component:()=>e.jsx(jd,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-mobile-user-menu-content",component:()=>e.jsx(Io,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-mobile-cart-menu-content",component:()=>e.jsx(Ss,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-navbar-location-button",component:()=>e.jsx(Ol,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-cart-header-dropdown",component:()=>e.jsx(js,{})},{componentType:Y.GENERIC,selectorType:B.CLASS,selector:"esr-cart-modal",component:()=>e.jsxs(e.Fragment,{children:[e.jsx(tc,{}),e.jsx(Mc,{}),e.jsx(_c,{})]})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-location-modal",component:()=>e.jsx(ul,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-location-bottomsheet",component:()=>e.jsx(pl,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-page-overlay-loader",component:()=>e.jsx($l,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-message-modal",component:()=>e.jsx(Tl,{})},{componentType:Y.GENERIC,selectorType:B.CLASS,selector:"es-search-autosuggest",component:({id:t,show_close_button:o,toggle_width:a,is_mobile_nav_search_element:s})=>t&&e.jsx(tl,{id:t,showCloseButton:o,toggleWidth:a,isMobileNavSearchElement:s})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-route-view",component:()=>e.jsx(Fi,{})},{componentType:Y.GENERIC,selectorType:B.ID,selector:"esr-login-placeholder",component:()=>e.jsx(ml,{})}];function kd(){return i.useEffect(()=>{zl([Sd,...Td])},[]),null}function Ad(){return i.useEffect(()=>{Li()},[]),e.jsxs(e.Fragment,{children:[e.jsx(kd,{}),e.jsx(_i,{})]})}var Id={REACT_APP_CI_COMMIT_REF_SLUG:"main",REACT_APP_USE_MOCK_API:"true",REACT_APP_ENV_ENABLE_LOGGING:"1",REACT_APP_LOG_LEVEL:"debug",ESLINT_NO_DEV_ERRORS:"true",NODE_ENV:"production",APP_VERSION:'"5.37.6"'};const vo="rental-web-components-root",vd=document.getElementById(vo);if(!vd){const t=document.createElement("div");t.id=vo,document.body.appendChild(t),Mt.createRoot(t).render(e.jsx(Ad,{}))}const Qn=document.getElementById("esr-root");Qn&&Mt.createRoot(Qn).render(e.jsx(ki,{}));const Ld="prod",Dd=Id.APP_VERSION,Rd=window.location.href,Pd=or.some(t=>t.test(Rd));Pd&&(Go.init({applicationId:"270d6432-4a68-4719-ab95-1120185e45d4",clientToken:"pub23a21296ed86636ddb8e54422ddbec8b",site:"datadoghq.com",service:"rental-web-components",env:Ld,version:Dd,sessionSampleRate:100,sessionReplaySampleRate:0,trackUserInteractions:!1,trackResources:!1,trackLongTasks:!1,defaultPrivacyLevel:"allow",allowedTracingUrls:[],enableExperimentalFeatures:["feature_flags"]}),ar({appMountedAt:T().format("MMM DD HH:mm:ss.SSS")}));export{wo as D,zl as r};
//# sourceMappingURL=index.DNgMJCA1.js.map
