PageSourceSearch

https://dicarwash-2zzjboe5.manus.space/assets/LaborDay-D_kXC2f1.js

js dicarwash-2zzjboe5.manus.space collected 2026-10-03 05:01:33 UTC 17,413 bytes, 6 lines download raw bytes

1import{c as E,r as l,t as u,j as e}from"./index-DzCAOE9_.js";import{S as F}from"./SEOHead-B6UTVk1D.js";import{S as O,c as M}from"./smsConsent-jL5zc1Mp.js";import{S as R}from"./sparkles-DdVn4BHD.js";import{S as w}from"./star-CtXgilwj.js";import{S as P}from"./shield-check-B2Pi7Bep.js";import{C as T}from"./check-HxE1GHrL.js";import{P as I}from"./phone-Dwnc5py4.js";import{P as W}from"./play-SRZGQbup.js";import"./vendor-react-BN0qJr-I.js";/**
2 * @license lucide-react v0.453.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const G=E("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]),L="labor-day-special",Z="labor-day",v="15-percent-off-one-time-service",V="https://services.leadconnectorhq.com/hooks/I83zei5HlkvyTD7oH4mP/webhook-trigger/9a246509-b407-4256-ada5-ef98f78af53a",z=[{value:"asap",label:"ASAP / next available"},{value:"within-7-days",label:"Within 7 days"},{value:"within-2-weeks",label:"Within 2 weeks"},{value:"researching",label:"Just researching"}];function j(s){const c=new URLSearchParams(s),r=o=>c.get(o)||void 0;return{utmSource:r("utm_source"),utmMedium:r("utm_medium"),utmCampaign:r("utm_campaign"),utmTerm:r("utm_term"),gclid:r("gclid")}}async function H(s,c){let r=!1,o=!1;try{r=await s()}catch{r=!1}try{await c(r),o=!0}catch{o=!1}return{webhookSuccess:r,databaseSuccess:o,success:r&&o}}const q="https://d2xsxph8kpxj0f.cloudfront.net/310519663505349332/2zZJBoE5s7pZPtvQpZBhe5/logo_79610177.png",N="843-588-7433",J="tel:+18435887433",Y="https://www.google.com/maps/place/Daniel+Island+Mobile+Car+Wash/@32.8468,-79.9253,15z/data=!4m8!3m7!1s0x88fe7a5a33b6bfb7:0x9f8e2a5c7e3d4b1a!8m2!3d32.8468!4d-79.9253!9m1!1b1!16s%2Fg%2F11t5_9h8gy",Q="https://reputationhub.site/reputation/widgets/review_widget/I83zei5HlkvyTD7oH4mP?widgetId=6a2029a97f2173f17676d122",U=[{src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663505349332/2zZJBoE5s7pZPtvQpZBhe5/review-video-compressed_31fda9fa.mp4",poster:"https://d2xsxph8kpxj0f.cloudfront.net/310519663505349332/2zZJBoE5s7pZPtvQpZBhe5/thumb-0506_c9f0690a.webp"},{src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663505349332/2zZJBoE5s7pZPtvQpZBhe5/review-video-0519_7e3fe67c.mp4",poster:"https://d2xsxph8kpxj0f.cloudfront.net/310519663505349332/2zZJBoE5s7pZPtvQpZBhe5/thumb-0519_50916e2a.webp"}];function ne(){const[s,c]=l.useState({firstName:"",phone:"",timeframe:""}),[r,o]=l.useState({marketing:!1,transactional:!1}),[n,d]=l.useState(!1),[A,C]=l.useState(!1),[b,g]=l.useState(""),f=l.useRef(null),h=l.useRef(!1),m=l.useRef(null),y=l.useRef(Date.now()),S=u.leads.submit.useMutation(),k=u.pageViews.track.useMutation({onSuccess:a=>{a?.id&&(m.current=a.id)}}),_=u.pageViews.updateDuration.useMutation();l.useEffect(()=>{if(h.current)return;h.current=!0,y.current=Date.now();const a=j(window.location.search);k.mutate({code:Z,referrer:document.referrer||void 0,userAgent:navigator.userAgent,utmSource:a.utmSource,utmMedium:a.utmMedium,utmCampaign:a.utmCampaign})},[]),l.useEffect(()=>{const a=()=>{if(!m.current)return;const i=Math.round((Date.now()-y.current)/1e3);if(i<1||i>7200)return;const x=JSON.stringify([{id:m.current,durationSeconds:i}]);navigator.sendBeacon?.("/api/trpc/pageViews.updateDuration?batch=1",new Blob([x],{type:"application/json"})),_.mutate({id:m.current,durationSeconds:i})},t=()=>{document.visibilityState==="hidden"&&a()};return document.addEventListener("visibilitychange",t),window.addEventListener("beforeunload",a),()=>{document.removeEventListener("visibilitychange",t),window.removeEventListener("beforeunload",a)}},[]);const p=()=>f.current?.scrollIntoView({behavior:"smooth",block:"center"}),B=async a=>{a.preventDefault(),d(!0),g("");const t=j(window.location.search),i=window.location.href,x=M(r);try{if(!(await H(async()=>(await fetch(V,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({first_name:s.firstName,firstName:s.firstName,name:s.firstName,phone:s.phone,booking_timeframe:s.timeframe,how_soon:s.timeframe,source:L,offer:v,page_url:i,referrer:document.referrer||"direct",utm_source:t.utmSource||"",utm_medium:t.utmMedium||"",utm_campaign:t.utmCampaign||"",utm_term:t.utmTerm||"",gclid:t.gclid||"",...x})})).ok,D=>S.mutateAsync({name:s.firstName,phone:s.phone,source:L,webhookSuccess:D,utmSource:t.utmSource,utmMedium:t.utmMedium,utmCampaign:t.utmCampaign,metadata:JSON.stringify({offer:v,bookingTimeframe:s.timeframe,page:"/labor-day",pageUrl:i,referrer:document.referrer||"direct",utmTerm:t.utmTerm,gclid:t.gclid,...x})}))).success)throw new Error("Dual submission failed");C(!0)}catch{g(`Something went wrong. Please call us directly at ${N}.`)}finally{d(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(F,{"data-loc":"client/src/pages/LaborDay.tsx:166",title:"Labor Day Special — 15% Off Mobile Detailing",description:"Save 15% on any one-time mobile detailing service during our Labor Day Special. Request your appointment with Daniel Island Mobile Car Wash.",path:"/labor-day",robots:"noindex, follow"}),e.jsxs("main",{"data-loc":"client/src/pages/LaborDay.tsx:173",className:"min-h-screen bg-[#F5F0E8] text-[#0B1D3A]",children:[e.jsxs("section",{"data-loc":"client/src/pages/LaborDay.tsx:174",className:"relative bg-[#0B1D3A] px-4 pt-7 pb-16 text-white sm:pt-10 sm:pb-20",children:[e.jsx("div",{"data-loc":"client/src/pages/LaborDay.tsx:175",className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_83%_14%,rgba(196,163,90,0.22),transparent_34%)]"}),e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:176",className:"relative z-10 mx-auto max-w-6xl",children:[e.jsx("img",{"data-loc":"client/src/pages/LaborDay.tsx:177",src:q,alt:"Daniel Island Mobile Car Wash",className:"mb-8 h-16 w-auto invert brightness-200 sm:h-20"}),e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:179",className:"grid items-start gap-10 lg:grid-cols-[1.08fr_0.92fr] lg:gap-16",children:[e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:180",className:"pt-2",children:[e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:181",className:"mb-5 inline-flex items-center gap-2 border border-[#C4A35A]/65 bg-[#C4A35A]/10 px-4 py-2 text-xs font-bold uppercase tracking-[0.18em] text-[#E2C878]",children:[e.jsx(R,{"data-loc":"client/src/pages/LaborDay.tsx:182",className:"h-4 w-4"})," Limited Labor Day Special"]}),e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:184",className:"text-6xl font-black leading-none text-[#C4A35A] sm:text-7xl",children:"15% OFF"}),e.jsx("h1",{"data-loc":"client/src/pages/LaborDay.tsx:185",className:"mt-4 max-w-3xl text-4xl font-bold leading-[1.06] sm:text-5xl lg:text-6xl",style:{fontFamily:"Georgia, serif"},children:"Any One-Time Mobile Detailing Service"}),e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:188",className:"mt-5 max-w-2xl text-lg leading-relaxed text-white/75 sm:text-xl",children:"Reclaim your day while we restore your vehicle at home. Choose any one-time detail and save 15% during this limited holiday offer."}),e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:192",className:"mt-7 grid gap-3 text-sm text-white/80 sm:grid-cols-3",children:[e.jsxs("span",{"data-loc":"client/src/pages/LaborDay.tsx:193",className:"flex items-center gap-2",children:[e.jsx(w,{"data-loc":"client/src/pages/LaborDay.tsx:193",className:"h-4 w-4 fill-[#C4A35A] text-[#C4A35A]"})," 500+ five-star reviews"]}),e.jsxs("span",{"data-loc":"client/src/pages/LaborDay.tsx:194",className:"flex items-center gap-2",children:[e.jsx(G,{"data-loc":"client/src/pages/LaborDay.tsx:194",className:"h-4 w-4 text-[#C4A35A]"})," Done in under 3 hours"]}),e.jsxs("span",{"data-loc":"client/src/pages/LaborDay.tsx:195",className:"flex items-center gap-2",children:[e.jsx(P,{"data-loc":"client/src/pages/LaborDay.tsx:195",className:"h-4 w-4 text-[#C4A35A]"})," We come fully equipped"]})]}),e.jsx("button",{"data-loc":"client/src/pages/LaborDay.tsx:198",type:"button",onClick:p,className:"mt-8 w-full bg-[#C4A35A] px-7 py-4 text-lg font-black text-[#0B1D3A] transition-transform duration-150 active:scale-[0.97] sm:w-auto",children:"Claim My 15% Off"})]}),e.jsx("div",{"data-loc":"client/src/pages/LaborDay.tsx:207",ref:f,className:"border border-white/15 bg-white p-6 text-[#0B1D3A] shadow-2xl sm:p-8",children:A?e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:209",className:"py-9 text-center",children:[e.jsx("div",{"data-loc":"client/src/pages/LaborDay.tsx:210",className:"mx-auto mb-5 flex h-14 w-14 items-center justify-center rounded-full bg-emerald-100",children:e.jsx(T,{"data-loc":"client/src/pages/LaborDay.tsx:211",className:"h-7 w-7 text-emerald-600"})}),e.jsx("h2",{"data-loc":"client/src/pages/LaborDay.tsx:213",className:"text-3xl font-bold",style:{fontFamily:"Georgia, serif"},children:"Got it."}),e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:214",className:"mt-3 text-[#0B1D3A]/65",children:"We’ll contact you shortly to schedule your detail and apply the Labor Day savings."})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:218",className:"text-xs font-bold uppercase tracking-[0.18em] text-[#C4A35A]",children:"Qu
6ick request"}),e.jsx("h2",{"data-loc":"client/src/pages/LaborDay.tsx:219",className:"mt-2 text-3xl font-bold",style:{fontFamily:"Georgia, serif"},children:"Claim Your 15% Off"}),e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:220",className:"mt-2 text-sm leading-relaxed text-[#0B1D3A]/60",children:"Tell us when you want to get booked. We’ll call to confirm the right service and appointment."}),e.jsxs("form",{"data-loc":"client/src/pages/LaborDay.tsx:222",onSubmit:B,className:"mt-6 space-y-4",children:[e.jsxs("label",{"data-loc":"client/src/pages/LaborDay.tsx:223",className:"block",children:[e.jsx("span",{"data-loc":"client/src/pages/LaborDay.tsx:224",className:"mb-1.5 block text-sm font-semibold",children:"First name"}),e.jsx("input",{"data-loc":"client/src/pages/LaborDay.tsx:225",type:"text",name:"first_name",autoComplete:"given-name",required:!0,value:s.firstName,onChange:a=>c(t=>({...t,firstName:a.target.value})),className:"w-full border border-[#0B1D3A]/20 bg-[#F9F6F0] px-4 py-3.5 outline-none focus:border-[#C4A35A]",placeholder:"Your first name"})]}),e.jsxs("label",{"data-loc":"client/src/pages/LaborDay.tsx:237",className:"block",children:[e.jsx("span",{"data-loc":"client/src/pages/LaborDay.tsx:238",className:"mb-1.5 block text-sm font-semibold",children:"Phone number"}),e.jsx("input",{"data-loc":"client/src/pages/LaborDay.tsx:239",type:"tel",name:"phone",autoComplete:"tel",inputMode:"tel",required:!0,value:s.phone,onChange:a=>c(t=>({...t,phone:a.target.value})),className:"w-full border border-[#0B1D3A]/20 bg-[#F9F6F0] px-4 py-3.5 outline-none focus:border-[#C4A35A]",placeholder:"(843) 555-1234"})]}),e.jsxs("label",{"data-loc":"client/src/pages/LaborDay.tsx:252",className:"block",children:[e.jsx("span",{"data-loc":"client/src/pages/LaborDay.tsx:253",className:"mb-1.5 block text-sm font-semibold",children:"How soon do you want to get booked?"}),e.jsxs("select",{"data-loc":"client/src/pages/LaborDay.tsx:254",name:"booking_timeframe",required:!0,value:s.timeframe,onChange:a=>c(t=>({...t,timeframe:a.target.value})),className:"w-full border border-[#0B1D3A]/20 bg-[#F9F6F0] px-4 py-3.5 outline-none focus:border-[#C4A35A]",children:[e.jsx("option",{"data-loc":"client/src/pages/LaborDay.tsx:261",value:"",disabled:!0,children:"Select a timeframe"}),z.map(a=>e.jsx("option",{"data-loc":"client/src/pages/LaborDay.tsx:263",value:a.value,children:a.label},a.value))]})]}),e.jsx(O,{"data-loc":"client/src/pages/LaborDay.tsx:268",idPrefix:"labor-day",value:r,onChange:o}),b&&e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:274",className:"text-sm font-semibold text-red-600",children:b}),e.jsx("button",{"data-loc":"client/src/pages/LaborDay.tsx:276",type:"submit",disabled:n,className:"w-full bg-[#0B1D3A] px-6 py-4 text-base font-black text-white transition-transform duration-150 active:scale-[0.97] disabled:opacity-60",children:n?"Sending...":"Claim My Labor Day Savings"}),e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:283",className:"text-center text-xs text-[#0B1D3A]/45",children:"No spam. We’ll only contact you about your detail request."})]})]})})]})]})]}),e.jsx("section",{"data-loc":"client/src/pages/LaborDay.tsx:292",className:"bg-white px-4 py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:293",className:"mx-auto max-w-4xl",children:[e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:294",className:"text-center",children:[e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:295",className:"text-xs font-bold uppercase tracking-[0.2em] text-[#C4A35A]",children:"Real customer results"}),e.jsx("h2",{"data-loc":"client/src/pages/LaborDay.tsx:296",className:"mt-3 text-3xl font-bold sm:text-4xl",style:{fontFamily:"Georgia, serif"},children:"See Why Charleston Drivers Trust Us"}),e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:297",className:"mx-auto mt-3 max-w-2xl text-[#0B1D3A]/60",children:"Watch two verified customer testimonial videos already featured on our main reviews page."})]}),e.jsx("div",{"data-loc":"client/src/pages/LaborDay.tsx:300",className:"mx-auto mt-10 grid max-w-xl grid-cols-2 gap-4 sm:gap-6",children:U.map(a=>e.jsx(K,{"data-loc":"client/src/pages/LaborDay.tsx:302",src:a.src,poster:a.poster},a.src))})]})}),e.jsx("section",{"data-loc":"client/src/pages/LaborDay.tsx:308",className:"bg-[#F5F0E8] px-4 py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:309",className:"mx-auto max-w-5xl",children:[e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:310",className:"text-center",children:[e.jsx("div",{"data-loc":"client/src/pages/LaborDay.tsx:311",className:"flex justify-center gap-1","aria-label":"Five-star rating",children:Array.from({length:5}).map((a,t)=>e.jsx(w,{"data-loc":"client/src/pages/LaborDay.tsx:313",className:"h-5 w-5 fill-[#C4A35A] text-[#C4A35A]"},t))}),e.jsx("h2",{"data-loc":"client/src/pages/LaborDay.tsx:316",className:"mt-3 text-3xl font-bold sm:text-4xl",style:{fontFamily:"Georgia, serif"},children:"Read Our Google Reviews"}),e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:317",className:"mt-3 text-[#0B1D3A]/60",children:"Live review proof from Daniel Island Mobile Car Wash customers."}),e.jsx("a",{"data-loc":"client/src/pages/LaborDay.tsx:318",href:Y,target:"_blank",rel:"noopener noreferrer",className:"mt-5 inline-flex items-center gap-2 border border-[#C4A35A] bg-white px-5 py-3 text-sm font-bold text-[#0B1D3A]",children:"View All Reviews on Google"})]}),e.jsx("iframe",{"data-loc":"client/src/pages/LaborDay.tsx:328",className:"lc_reviews_widget mt-8 bg-white",src:Q,frameBorder:"0",scrolling:"no",style:{minWidth:"100%",width:"100%",minHeight:"520px"},title:"Daniel Island Mobile Car Wash Google Reviews"})]})}),e.jsxs("section",{"data-loc":"client/src/pages/LaborDay.tsx:339",className:"bg-[#0B1D3A] px-4 py-12 text-center text-white",children:[e.jsx("p",{"data-loc":"client/src/pages/LaborDay.tsx:340",className:"text-sm font-bold uppercase tracking-[0.18em] text-[#C4A35A]",children:"Limited holiday availability"}),e.jsx("h2",{"data-loc":"client/src/pages/LaborDay.tsx:341",className:"mt-3 text-3xl font-bold",style:{fontFamily:"Georgia, serif"},children:"Save 15% Before Appointments Fill"}),e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:342",className:"mt-6 flex flex-col items-center justify-center gap-3 sm:flex-row",children:[e.jsx("button",{"data-loc":"client/src/pages/LaborDay.tsx:343",type:"button",onClick:p,className:"w-full bg-[#C4A35A] px-7 py-4 font-black text-[#0B1D3A] sm:w-auto",children:"Claim My Offer"}),e.jsxs("a",{"data-loc":"client/src/pages/LaborDay.tsx:344",href:J,className:"inline-flex w-full items-center justify-center gap-2 border border-white/30 px-7 py-4 font-bold text-white sm:w-auto",children:[e.jsx(I,{"data-loc":"client/src/pages/LaborDay.tsx:345",className:"h-5 w-5"})," Call ",N]})]})]}),e.jsx("div",{"data-loc":"client/src/pages/LaborDay.tsx:350",className:"fixed inset-x-0 bottom-0 z-50 border-t border-[#C4A35A]/30 bg-[#0B1D3A] p-3 sm:hidden",children:e.jsx("button",{"data-loc":"client/src/pages/LaborDay.tsx:351",type:"button",onClick:p,className:"w-full bg-[#C4A35A] px-5 py-3.5 font-black text-[#0B1D3A]",children:"Claim 15% Off"})})]})]})}function K({src:s,poster:c}){const[r,o]=l.useState(!1),n=l.useRef(null),d=()=>{n.current?.play(),o(!0)};return e.jsxs("div",{"data-loc":"client/src/pages/LaborDay.tsx:370",className:"group relative aspect-[9/16] bg-[#0B1D3A] shadow-xl",children:[e.jsx("video",{"data-loc":"client/src/pages/LaborDay.tsx:371",ref:n,src:s,poster:c,controls:r,playsInl
6ine:!0,preload:"metadata",onEnded:()=>o(!1),className:"h-full w-full object-cover"}),!r&&e.jsx("button",{"data-loc":"client/src/pages/LaborDay.tsx:382",type:"button",onClick:d,"aria-label":"Play customer testimonial",className:"absolute inset-0 flex items-center justify-center bg-black/25 transition-colors group-hover:bg-black/35",children:e.jsx("span",{"data-loc":"client/src/pages/LaborDay.tsx:388",className:"flex h-14 w-14 items-center justify-center rounded-full bg-[#C4A35A] shadow-lg",children:e.jsx(W,{"data-loc":"client/src/pages/LaborDay.tsx:389",className:"ml-1 h-6 w-6 fill-[#0B1D3A] text-[#0B1D3A]"})})})]})}export{ne as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.