PageSourceSearch

https://joinworkhorse.com/_next/static/chunks/3ys_008rithfy.js?dpl=dpl_3xu9tXfu6HvyThUzBSQjKQFAPQG2

js joinworkhorse.com collected 2026-10-04 13:19:18 UTC 29,677 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,235792,e=>{"use strict";e.s(["BALANCE_GALLERY",0,!1,"HERO_LEADS_SCROLL",0,!1,"REVIEW_SHEET",0,!0,"SHOW_EYEBROWS",0,!0])},183124,e=>{"use strict";var t=e.i(843476),r=e.i(532181),s=e.i(861904),n=e.i(30747);e.s(["PhotoReveal",0,function({children:e,delay:o=0,className:l,flow:a=!1}){return(0,t.jsx)(r.motion.div,{className:(0,s.cx)("relative overflow-hidden",l),initial:{opacity:0},whileInView:{opacity:1},viewport:n.revealViewport,transition:{duration:.9,ease:n.settle,delay:o},children:(0,t.jsx)("div",{className:a?void 0:"absolute inset-0",children:e})})}])},647207,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(657688),n=e.i(522016),o=e.i(235792),l=e.i(183124),a=e.i(174080),i=e.i(782645);function c({photos:e,index:n,onClose:o,onNavigate:l,footer:u}){let d=null!==n,f=(0,r.useRef)(null),m=(0,r.useRef)(null),h=(0,r.useCallback)(t=>{null!==n&&l((n+t+e.length)%e.length)},[n,e.length,l]);if((0,r.useEffect)(()=>{if(!d)return;let e=document.activeElement;m.current=e;let t=document.body.style.overflow;return document.body.style.overflow="hidden",f.current?.querySelector("button:not([disabled])")?.focus(),()=>{document.body.style.overflow=t,m.current=null,e?.focus?.()}},[d]),(0,r.useEffect)(()=>{if(!d)return;let e=e=>{if("Escape"===e.key){e.preventDefault(),o();return}if("ArrowRight"===e.key){e.preventDefault(),h(1);return}if("ArrowLeft"===e.key){e.preventDefault(),h(-1);return}if("Tab"!==e.key)return;let t=Array.from(f.current?.querySelectorAll("button:not([disabled])")??[]);if(!t.length)return;let r=t[0],s=t[t.length-1];e.shiftKey&&document.activeElement===r?(e.preventDefault(),s.focus()):e.shiftKey||document.activeElement!==s||(e.preventDefault(),r.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[d,h,o]),null===n||"u"<typeof document)return null;let p=e[n];return(0,a.createPortal)((0,t.jsxs)("div",{ref:f,role:"dialog","aria-modal":"true","aria-label":`Photo ${n+1} of ${e.length}`,className:"fixed inset-0 z-100 flex flex-col bg-charcoal/97",onClick:e=>{e.target===e.currentTarget&&o()},children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-10 flex items-center justify-between pt-[max(1rem,env(safe-area-inset-top))] pr-[max(1.25rem,env(safe-area-inset-right))] pb-4 pl-[max(1.25rem,env(safe-area-inset-left))] text-bone md:pr-[max(2rem,env(safe-area-inset-right))] md:pl-[max(2rem,env(safe-area-inset-left))]",children:[(0,t.jsxs)("p",{role:"status","aria-live":"polite","aria-atomic":"true",className:"font-sans text-sm text-bone/60 tabular-nums",children:[(0,t.jsx)("span",{className:"sr-only",children:"Photo "}),n+1," / ",e.length]}),(0,t.jsxs)("button",{type:"button",onClick:o,className:"pointer-events-auto -mr-2 rounded-md p-2 text-bone/80 transition-colors hover:text-bone",children:[(0,t.jsx)("span",{className:"sr-only",children:"Close photo viewer"}),(0,t.jsx)(i.IconX,{className:"size-6"})]})]}),(0,t.jsx)("div",{className:"flex min-h-0 flex-1 items-center justify-center px-4 py-14 md:px-16 md:py-12",onClick:e=>{e.target===e.currentTarget&&o()},children:(0,t.jsx)(s.default,{src:p.src,alt:p.alt,width:p.width,height:p.height,sizes:"92vw",className:"h-full max-h-full w-auto max-w-full object-contain",priority:!0},p.src)}),(0,t.jsxs)("button",{type:"button",onClick:()=>h(-1),className:"absolute top-1/2 left-[max(0.25rem,env(safe-area-inset-left))] -translate-y-1/2 rounded-md p-3 text-bone/60 transition-colors hover:text-bone md:left-[max(1rem,env(safe-area-inset-left))]",children:[(0,t.jsx)("span",{className:"sr-only",children:"Previous photo"}),(0,t.jsx)(i.IconArrowRight,{className:"size-7 rotate-180"})]}),(0,t.jsxs)("button",{type:"button",onClick:()=>h(1),className:"absolute top-1/2 right-[max(0.25rem,env(safe-area-inset-right))] -translate-y-1/2 rounded-md p-3 text-bone/60 transition-colors hover:text-bone md:right-[max(1rem,env(safe-area-inset-right))]",children:[(0,t.jsx)("span",{className:"sr-only",children:"Next photo"}),(0,t.jsx)(i.IconArrowRight,{className:"size-7"})]}),u?(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 flex justify-center pb-[max(1rem,env(safe-area-inset-bottom))]",children:u(p)}):null]}),document.body)}var u=e.i(770703),d=e.i(813023);let f=(0,u.default)(()=>e.A(223639).then(e=>
1e.PhotoControlsLive),{loadableGenerated:{modules:[55268]},ssr:!1}),m=()=>()=>{},h=()=>document.cookie.split("; ").some(e=>e.startsWith(`${d.REVIEW_HINT_COOKIE}=`));function p({src:e}){return(0,r.useSyncExternalStore)(m,h,()=>!1)?(0,t.jsx)(f,{src:e}):null}e.s(["GalleryWall",0,function({label:e,photos:a,showGalleryLink:u=!0}){let d=a.map(e=>({src:e.url??"",alt:e.alt,width:e.width??1,height:e.height??1})),f=o.BALANCE_GALLERY?function(e,t=3,r=.03){let s=[...e.map((e,t)=>({image:e,index:t,h:e.height/e.width+r}))].sort((e,t)=>t.h-e.h),n=Array.from({length:t},()=>({total:0,items:[]}));for(let e of s){let t=n.reduce((e,t)=>t.total<e.total?t:e);t.items.push(e),t.total+=e.h}let o=n.map(e=>e.items.sort((e,t)=>e.index-t.index).map(e=>e.image)),l=n.map(e=>e.total),a=Math.max(...l)-Math.min(...l);return{order:o.flat(),columns:o,spread:a}}(d,3).order:d,[m,h]=(0,r.useState)(null);return(0,t.jsxs)("section",{"aria-label":e,className:"wash-dusk grain-dark bg-charcoal",children:[(0,t.jsx)("div",{className:"columns-2 gap-2 md:columns-3 md:gap-3",children:f.map((e,r)=>(0,t.jsx)(l.PhotoReveal,{flow:!0,delay:r%3*.06,className:"group mb-2 block md:mb-3",children:(0,t.jsxs)("button",{type:"button",onClick:()=>h(r),className:"block w-full cursor-zoom-in",children:[(0,t.jsxs)("span",{className:"sr-only",children:["View larger: ",e.alt]}),(0,t.jsx)(s.default,{src:e.src,alt:"",width:e.width,height:e.height,sizes:"(min-width: 768px) 33vw, 50vw",className:"w-full transition-transform duration-700 ease-(--ease-settle) group-hover:scale-[1.04]"})]})},e.src))}),u?(0,t.jsx)("div",{className:"shell py-10 text-center md:py-12",children:(0,t.jsxs)(n.default,{href:"/photo-gallery",className:"inline-flex items-center gap-2 font-semibold text-bone underline-offset-4 hover:underline hover:decoration-bone",children:["See the whole gallery",(0,t.jsx)(i.IconArrowRight,{className:"size-4"})]})}):null,(0,t.jsx)(c,{footer:e=>(0,t.jsx)(p,{src:e.src}),photos:f,index:m,onClose:()=>h(null),onNavigate:h})]})}],647207)},794909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return u},getImageProps:function(){return c}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let o=e.r(555682),l=e.r(908927),a=e.r(605500),i=o._(e.r(1948));function c(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=a.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},958866,e=>{"use strict";var t=e.i(344230);e.s(["transform",0,function(...e){let r=!Array.isArray(e[0]),s=r?0:-1,n=e[0+s],o=e[1+s],l=e[2+s],a=e[3+s],i=(0,t.interpolate)(o,l,a);return r?i(n):i}])},887652,e=>{"use strict";var t=e.i(486427),r=e.i(271645),s=e.i(737806),n=e.i(947414);e.s(["useMotionValue",0,function(e){let o=(0,n.useConstant)(()=>(0,t.motionValue)(e)),{isStatic:l}=(0,r.useContext)(s.MotionConfigContext);if(l){let[,t]=(0,r.useState)(e);(0,r.useEffect)(()=>o.on("change",t),[])}return o}])},895420,e=>{"use strict";var t=e.i(958866),r=e.i(947414),s=e.i(287022),n=e.i(674008),o=e.i(887652);function l(e,t){let r=(0,o.useMotionValue)(t()),l=()=>r.set(t());return l(),(0,n.useIsomorphicLayoutEffect)(()=>{let t=()=>s.frame.preRender(l,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),(0,s.cancelFrame)(l)}}),r}var a=e.i(486427);function i(e,t){let s=(0,r.useConstant)(()=>[]);return l(e,()=>{s.length=0;let r=e.length;for(let t=0;t<r;t++)s[t]=e[t].get();return t(s)})}e.s(["useTransform",0,function e(s,n,o,c){if("function"==typeof s){let e;return a.collectMotionValues.current=[],s(),e=l(a.collectMotionValues.current,s),a.collectMotionValues.current=void 0,e}if(void 0!==o&&!Array.isArray(o)&&"function"!=typeof n){var u=s,d=n,f=o,m=c;let t=(0,r.useConstant)(()=>Object.keys(f)),l=(0,r.useConstant)(()=>({}));for(let r of t)l[r]=e(u,d,f[r],m);return l}let h="function"==typeof n?n:(0,t.transform)(n,o,c),p=Array.isArray(s)?i(s,h):i([s],([e])=>h(e)),g=Array.isArray(s)?void 0:s.accelerate;return g&&!g.isTransformed&&"function"!=typeof n&&Array.isArray(o)&&c?.clamp!==!1&&(p.accelerate={...g,times:n,keyframes:o,isTransformed:!0,...c?.ease?{ease:c.ease}:{}}),p}],895420)},310542,e=>{"use strict";var t=e.i(560140),r=e.i(930551),s=e.i(486427),n=e.i(965566),o=e.i(271645),l=e.i(260830),a=e.i(287022);function i(e,t){let r,s=()=>{let{currentTime:s}=t,n=(null===s?0:s.value)/100;r!==n&&e(n),r=n};return a.frame.preUpdate(s,!0),()=>(0,a.cancelFrame)(s)}function c(e){return!("u"<typeof window)&&(e?(0,r.supportsViewTimeline)():(0,r.supportsScrollTimeline)())}var u=e.i(661327),d=e.i(783920),f=e.i(325791);let m=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),h={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function p(e,t,r,s){let n=r[t],{length:o,position:l}=h[t],a=n.current,i=r.time;n.current=Math.abs(e[`scroll${l}`]),n.scrollLength=e[`scroll${o}`]-e[`client${o}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=(0,d.progress)(0,n.scrollLength,n.current);let c=s-i;
1n.velocity=c>50?0:(0,f.velocityPerSecond)(n.current-a,c)}e.i(247167);var g=e.i(344230),x=e.i(515923),b=e.i(476959),v=e.i(772846);let y={start:0,center:.5,end:1};function w(e,t,r=0){let s=0;if(e in y&&(e=y[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?s=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?s=t/100*document.documentElement.clientWidth:e.endsWith("vh")?s=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(s=t*e),r+s}let j=[0,0],N=[[0,0],[1,1]],k={x:0,y:0},S=new WeakMap,E=new WeakMap,C=new WeakMap,A=new WeakMap,L=new WeakMap,P=e=>e===document.scrollingElement?window:e;function R(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...s}={}){if(!t)return l.noop;let n=C.get(t);n||(n=new Set,C.set(t,n));let o=function(e,t,r,s={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let s=t;for(;s&&s!==e;)r.x.targetOffset+=s.offsetLeft,r.y.targetOffset+=s.offsetTop,s=s.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,s.target,r),p(e,"x",r,t),p(e,"y",r,t),r.time=t,(s.offset||s.target)&&function(e,t,r){let{offset:s=N}=r,{target:n=e,axis:o="y"}=r,l="y"===o?"height":"width",a=n!==e?function(e,t){let r={x:0,y:0},s=e;for(;s&&s!==t;)if((0,v.isHTMLElement)(s))r.x+=s.offsetLeft,r.y+=s.offsetTop,s=s.offsetParent;else if("svg"===s.tagName){let e=s.getBoundingClientRect(),t=(s=s.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(s instanceof SVGGraphicsElement){let{x:e,y:t}=s.getBBox();r.x+=e,r.y+=t;let n=null,o=s.parentNode;for(;!n;)"svg"===o.tagName&&(n=o),o=s.parentNode;s=n}else break;return r}(n,e):k,i=n===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in n&&"svg"!==n.tagName?n.getBBox():{width:n.clientWidth,height:n.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let u=!t[o].interpolate,d=s.length;for(let e=0;e<d;e++){let r=function(e,t,r,s){let n=Array.isArray(e)?e:j,o=0;return"number"==typeof e?n=[e,e]:"string"==typeof e&&(n=(e=e.trim()).includes(" ")?e.split(" "):[e,y[e]?e:"0"]),(o=w(n[0],r,s))-w(n[1],t)}(s[e],c[l],i[l],a[o]);u||r===t[o].interpolatorOffsets[e]||(u=!0),t[o].offset[e]=r}u&&(t[o].interpolate=(0,g.interpolate)(t[o].offset,(0,x.defaultOffset)(s),{clamp:!1}),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=(0,b.clamp)(0,1,t[o].interpolate(t[o].current))}(e,r,s)},notify:()=>t(r)}}(t,e,{time:0,x:m(),y:m()},s);if(n.add(o),!S.has(t)){let e=()=>{for(let e of n)e.measure(a.frameData.timestamp);a.frame.preUpdate(r)},r=()=>{for(let e of n)e.notify()},s=()=>a.frame.read(e);S.set(t,s);let o=P(t);window.addEventListener("resize",s),t!==document.documentElement&&E.set(t,(0,u.resize)(t,s)),o.addEventListener("scroll",s),s()}if(r&&!L.has(t)){let e=S.get(t),r={width:t.scrollWidth,height:t.scrollHeight};A.set(t,r);let s=a.frame.read(()=>{let s=t.scrollWidth,n=t.scrollHeight;(r.width!==s||r.height!==n)&&(e(),r.width=s,r.height=n)},!0);L.set(t,s)}let i=S.get(t);return a.frame.read(i,!1,!0),()=>{(0,a.cancelFrame)(i);let e=C.get(t);if(!e||(e.delete(o),e.size))return;let r=S.get(t);S.delete(t),r&&(P(t).removeEventListener("scroll",r),E.get(t)?.(),window.removeEventListener("resize",r));let s=L.get(t);s&&((0,a.cancelFrame)(s),L.delete(t)),A.delete(t)}}let T=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[N,"contain"]],W={start:0,end:1};function M(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of T)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=W[t[0]],s=W[t[1]];if(void 0!==r&&void 0!==s)return[r,s]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let s=r[e],n=t[e];if(s[0]!==n[0]||s[1]!==n[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let O=new Map;function z(e){let t={value:0},r=R(r=>
1{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function I({source:e,container:t,...r}){let{axis:s}=r;e&&(t=e);let n=O.get(t);n||(n=new Map,O.set(t,n));let o=r.target??"self",l=n.get(o);l||(l={},n.set(o,l));let a=s+(r.offset??[]).join(",");return l[a]||(r.target&&c(r.target)?M(r.offset)?l[a]=new ViewTimeline({subject:r.target,axis:s}):l[a]=z({container:t,...r}):c()?l[a]=new ScrollTimeline({source:t,axis:s}):l[a]=z({container:t,...r})),l[a]}function V(e,{axis:t="y",container:r=document.scrollingElement,...s}={}){let n,o,a;if(!r)return l.noop;let u={axis:t,container:r,...s};return"function"==typeof e?function(e,t){return 2===e.length||t&&(t.target||t.offset)?R(r=>{e(r[t.axis].progress,r)},t):i(e,I(t))}(e,u):(n=I(u),o=u.target?M(u.offset):void 0,a=u.target?c(u.target)&&!!o:c(),e.attachTimeline({timeline:a?n:void 0,...o&&a&&{rangeStart:o.rangeStart,rangeEnd:o.rangeEnd},observe:e=>(e.pause(),i(t=>{e.time=e.iterationDuration*t},n))}))}var H=e.i(947414),B=e.i(674008);let $=()=>({scrollX:(0,s.motionValue)(0),scrollY:(0,s.motionValue)(0),scrollXProgress:(0,s.motionValue)(0),scrollYProgress:(0,s.motionValue)(0)}),D=e=>!!e&&!e.current;function _(e,r,s,n){return{factory:o=>{let l,a=()=>{D(s)||D(n)?t.microtask.read(a):l=V(o,{...r,axis:e,container:s?.current||void 0,target:n?.current||void 0})};return t.microtask.read(a),()=>{(0,t.cancelMicrotask)(a),l?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}e.s(["useScroll",0,function({container:e,target:s,...l}={}){var a;let i=(0,H.useConstant)($);a=l.offset,!("u"<typeof window)&&(s?(0,r.supportsViewTimeline)()&&!!M(a):(0,r.supportsScrollTimeline)())&&(i.scrollXProgress.accelerate=_("x",l,e,s),i.scrollYProgress.accelerate=_("y",l,e,s));let c=(0,o.useRef)(null),u=(0,o.useRef)(!1),d=(0,o.useCallback)(()=>(c.current=V((e,{x:t,y:r})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(r.current),i.scrollYProgress.set(r.progress)},{...l,container:e?.current||void 0,target:s?.current||void 0}),()=>{c.current?.()}),[e,s,JSON.stringify(l.offset)]);return(0,B.useIsomorphicLayoutEffect)(()=>{if(u.current=!1,!(D(e)||D(s)))return d();u.current=!0},[d]),(0,o.useEffect)(()=>{let r;if(!u.current)return;let o=()=>{let t=D(e),o=D(s);(0,n.invariant)(!t,"Container ref is defined but not hydrated","use-scroll-ref"),(0,n.invariant)(!o,"Target ref is defined but not hydrated","use-scroll-ref"),t||o||(r=d())};return t.microtask.read(o),()=>{(0,t.cancelMicrotask)(o),r?.()}},[d]),i}],310542)},831453,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(861904);e.s(["RevealPanel",0,function({className:e,children:n,open:o=!1}){let l=(0,r.useRef)(null),[a,i]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=l.current;if(!e)return;let t=()=>i(e.scrollHeight);t();let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[]),(0,t.jsx)("div",{ref:l,style:{"--panel-h":null===a?"14rem":`${a}px`},className:(0,s.cx)("overflow-hidden",o?"max-h-(--panel-h) opacity-100":(0,s.cx)("max-h-0 opacity-0","transition-[max-height,opacity] duration-[800ms] ease-(--ease-settle)","group-hover:max-h-(--panel-h) group-hover:opacity-100","group-focus-within:max-h-(--panel-h) group-focus-within:opacity-100","pointer-coarse:max-h-(--panel-h) pointer-coarse:opacity-100"),e),children:n})}])},731861,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(532181),n=e.i(772328),o=e.i(310542),l=e.i(895420);e.s(["Drift",0,function({children:e,range:a=24,className:i}){let c=(0,r.useRef)(null),u=(0,n.useReducedMotion)(),{scrollYProgress:d}=(0,o.useScroll)({target:c,offset:["start end","end start"]}),f=(0,l.useTransform)(d,[0,1],[a,-a]);return(0,t.jsx)(s.motion.div,{ref:c,className:i,style:u?void 0:{y:f},children:e})}])},39295,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(657688),n=e.i(522016),o=e.i(772328),l=e.i(183124),a=e.i(861904);e.s(["SpaceSlideshow",0,function({photos:e}){let[i,c]=(0,r.useState)(0),[u,d]=(0,r.useState)(!1),f=(0,o.useReducedMotion)();(0,r.useEffect)(()=>{if(f||u||e.length<2)return;let t=window.setInterval(()=>c(t=>(t+1)%e.length),4e3);return()=>window.clearInterval(t)},[f,u,e.length]);let m=e[i];return(0,t.jsxs)("div",{onPointerEnter:()=>d(!0),onPointerLeave:()=>d(!1),onFocusCapture:()=>d(!0),onBlurCapture:()=>d(!1),children:[(0,t.jsx)(n.default,{href:"/photo-gallery","aria-label":"See the photo gallery.",className:(0,a.cx)("relative z-0 block aspect-[6
1/5] transition-[scale,box-shadow] duration-[600ms] ease-(--ease-glide)","hover:z-10 hover:scale-[1.01] hover:shadow-lift-dark","focus-visible:z-10 focus-visible:scale-[1.01] focus-visible:outline-bone"),children:(0,t.jsx)(l.PhotoReveal,{className:"h-full",children:e.map((e,r)=>(0,t.jsx)("div",{className:"absolute inset-0 transition-opacity duration-700 ease-(--ease-glide)",style:{opacity:+(r===i)},"aria-hidden":!0,children:(0,t.jsx)(s.default,{src:e.src,alt:"",fill:!0,sizes:"(min-width: 1024px) 56vw, 92vw",className:"object-cover"})},e.src))})}),(0,t.jsx)("div",{role:"group","aria-label":"Choose a photograph",className:"mt-4 flex items-center justify-center gap-0",children:e.map((r,s)=>(0,t.jsx)("button",{type:"button",onClick:()=>c(s),"aria-current":s===i||void 0,"aria-label":`Show photo ${s+1} of ${e.length}: ${r.alt}`,className:"group flex h-11 w-8 items-center justify-center",children:(0,t.jsx)("span",{"aria-hidden":!0,className:(0,a.cx)("size-2 rounded-full transition-[background-color,scale] duration-300","group-hover:scale-125 group-focus-visible:outline group-focus-visible:outline-offset-2 group-focus-visible:outline-bone",s===i?"bg-bone":"bg-bone/45")})},r.src))}),(0,t.jsxs)("p",{role:"status","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:["Photo ",i+1," of ",e.length,": ",m?.alt]})]})}])},991547,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(532181),n=e.i(772328),o=e.i(310542),l=e.i(895420),a=e.i(861904);e.s(["Parallax",0,function({children:e,strength:i=.12,className:c}){let u=(0,r.useRef)(null),d=(0,n.useReducedMotion)(),{scrollYProgress:f}=(0,o.useScroll)({target:u,offset:["start end","end start"]}),m=(0,l.useTransform)(f,[0,1],[`-${100*i}%`,`${100*i}%`]),h=100*i+2;return(0,t.jsx)("div",{ref:u,className:(0,a.cx)("relative overflow-hidden",c),children:(0,t.jsx)(s.motion.div,{style:d?void 0:{y:m,top:`-${h}%`,bottom:`-${h}%`},className:d?"absolute inset-0":"absolute inset-x-0",children:e})})}])},654905,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(713003),n=e.i(659544);e.s(["NewsletterSignup",0,function(){let[e,o]=(0,r.useState)(!1);return(0,t.jsxs)("div",{className:"grain border border-charcoal/10 bg-bone p-7 shadow-card",children:[(0,t.jsx)("h3",{className:"text-2xl font-semibold text-charcoal",children:"Hear what's happening at Workhorse."}),(0,t.jsx)("p",{className:"mt-2 leading-relaxed text-soil",children:"Only need-to-know info—events, promos, and member spotlights. Unsubscribe anytime."}),(0,t.jsxs)("form",{className:"mt-6",onSubmit:e=>{e.preventDefault(),o(!0)},children:[(0,t.jsx)("label",{htmlFor:"newsletter-email",className:"mb-1.5 block text-sm font-semibold text-charcoal",children:"Email address"}),(0,t.jsx)("input",{id:"newsletter-email",type:"email",name:"email",required:!0,autoComplete:"email",placeholder:"[email protected]",className:"w-full rounded-md border border-charcoal/25 bg-bone px-4 py-2.5 text-charcoal placeholder:text-soil"}),(0,t.jsx)(n.Button,{type:"submit",variant:"solid-dark",className:"mt-3 w-full",children:"Sign me up"})]}),(0,t.jsx)("p",{role:"status","aria-live":"polite",className:"mt-3 min-h-5 text-sm text-soil",children:e?`Almost — this form isn't wired up yet. Until it is, email ${s.site.email} and we'll add you the old-fashioned way.`:""})]})}])},370699,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(713003),n=e.i(62821);e.s(["ShowMoreEvents",0,function({limit:e,className:o,children:l}){let a=r.Children.toArray(l),[i,c]=(0,r.useState)(!1),u=(0,r.useRef)(null),d=a.length-e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Stagger,{className:o,children:a.map((s,n)=>(0,t.jsx)("div",{ref:n===e?u:void 0,tabIndex:n===e?-1:void 0,hidden:!i&&n>=e,className:"outline-none",children:s},(0,r.isValidElement)(s)&&null!=s.key?s.key:n))}),d>0&&!i?(0,t.jsx)("button",{type:"button","aria-expanded":!1,onClick:()=>{c(!0),window.setTimeout(()=>u.current?.focus({preventScroll:!0}),0)},className:"mt-4 text-sm font-semibold text-charcoal underline underline-offset-4 hover:decoration-forge",children:(0,s.eventsShowMore)(d)}):null]})}])},242616,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(937801),n=e.i(713003),o=e.i(864865),l=e.i(659544),a=e.i(782645);let i="day-pass";e.s(["DAY_PASS_HASH",0,i,"TourForm",0,function(){let[e,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)(!1),[f,m]=(0,r.useState)(""),[h,p]=(0,r.useState)({state:"idle"}),g=(0,r.useRef)(null);async function x(t){t.preventDefault();let r=t.currentTarget,s=new FormData(r),n=String(s.get("email")??"").trim(),l=String(s.get("phone")??"").trim(),a=""!==n||""!==l;
1if(d(!a),!a)return void document.getElementById("tour-contact")?.scrollIntoView({block:"center"});p({state:"submitting"});try{let t=await fetch("/api/lead/",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({kind:"contact",sourcePath:window.location.pathname,fields:{name:String(s.get("name")??""),email:n,phone:l,message:String(s.get("when")??""),dayPass:e},company:String(s.get("company")??""),elapsedMs:null===g.current?0:Date.now()-g.current})}),a=await t.json().catch(()=>null);if(!t.ok||!a?.ok)return void p({state:"error",message:a?.errors&&Object.values(a.errors)[0]||"We couldn't send that just now."});for(let e of a.events??[])(0,o.pushDataLayer)({event:e,form_kind:"contact"});p({state:"success"}),r.reset(),c(!1),m("")}catch{p({state:"error",message:"We couldn't reach the server."})}}return(0,r.useEffect)(()=>{g.current=Date.now()},[]),(0,r.useEffect)(()=>{let e=()=>{window.location.hash===`#${i}`&&c(!0)};e();let t=!1,r=(e=0)=>{if(t)return;let s=window.location.hash.slice(1);if("book-a-tour"!==s&&s!==i)return;let n=document.getElementById(s);if(!n){e<8&&setTimeout(()=>r(e+1),50);return}t=!0,Math.abs(n.getBoundingClientRect().top)>4&&n.scrollIntoView({behavior:"instant",block:"start"})},s=setTimeout(r,0);return window.addEventListener("hashchange",e),()=>{t=!0,clearTimeout(s),window.removeEventListener("hashchange",e)}},[]),(0,t.jsxs)("section",{"aria-labelledby":"tour-form-title",id:"book-a-tour",tabIndex:-1,className:"grain scroll-mt-20 border-t border-charcoal/10 bg-bone outline-none",children:[(0,t.jsx)("span",{id:i,"aria-hidden":!0,className:"block scroll-mt-20"}),(0,t.jsx)("div",{className:"shell py-20 md:py-28",children:(0,t.jsxs)("div",{className:"grid gap-12 lg:grid-cols-[1fr_1.1fr] lg:gap-16",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{id:"tour-form-title",className:"type-wonk max-w-[14ch] text-[clamp(2rem,4vw,3rem)] leading-[1.05] font-semibold text-charcoal",children:"Book a Tour"}),(0,t.jsxs)("p",{className:"mt-6 text-sm text-soil",children:["Prefer to talk?"," ",(0,t.jsxs)("a",{href:n.site.phoneHref,className:"inline-flex items-center gap-1.5 font-semibold text-charcoal underline underline-offset-4 hover:decoration-forge",children:[(0,t.jsx)(a.IconPhone,{className:"size-4"}),n.site.phone]})]})]}),(0,t.jsx)("div",{children:"success"===h.state?(0,t.jsxs)("div",{role:"status",className:"grain max-w-xl border-l-2 border-forge bg-bone py-2 pl-4",tabIndex:-1,ref:e=>e?.focus(),children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-charcoal",children:"Request received."}),(0,t.jsx)("p",{className:"mt-2 leading-relaxed text-soil",children:"We have your details and will confirm a time by email or phone, usually within one business day."})]}):(0,t.jsx)("form",{className:"max-w-xl",onSubmit:x,children:(0,t.jsxs)("fieldset",{className:"space-y-5",disabled:"submitting"===h.state,children:[(0,t.jsx)("legend",{className:"sr-only",children:"Your details"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"tour-name",className:"block text-sm font-semibold text-charcoal",children:"Your name"}),(0,t.jsx)("input",{id:"tour-name",name:"name",type:"text",autoComplete:"name",className:"mt-1.5 w-full border border-charcoal/25 bg-paper px-3 py-2.5 text-charcoal outline-none focus-visible:border-forge focus-visible:ring-2 focus-visible:ring-forge/40 disabled:cursor-not-allowed disabled:opacity-60"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"tour-when",className:"block text-sm font-semibold text-charcoal",children:"When works for you?"}),(0,t.jsx)("textarea",{id:"tour-when",name:"when",rows:3,placeholder:"Weekday mornings are easiest…",className:"mt-1.5 w-full border border-charcoal/25 bg-paper px-3 py-2.5 text-charcoal outline-none focus-visible:border-forge focus-visible:ring-2 focus-visible:ring-forge/40 disabled:cursor-not-allowed disabled:opacity-60"})]}),(0,t.jsxs)("label",{htmlFor:"tour-day-pass",className:"flex cursor-pointer items-start gap-3 border border-charcoal/20 bg-paper p-4",children:[(0,t.jsx)("input",{id:"tour-day-pass",name:"dayPass",type:"checkbox",checked:e,onChange:e=>c(e.target.checked),className:"mt-0.5 size-4 shrink-0 accent-forge-deep"}),(0,t.jsxs)("span",{className:"text-sm text-charcoal",children:[(0,t.jsx)("span",{className:"font-semibold",children:"I’m interested in the free day pass"}),(0,t.jsx)("span",{className:"mt-0.5 block text-soil",children:"A full day in the space, on us — no card, no commitment."})]})]}),(0,t.jsxs)("div",{id:"tour-contact",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-charcoal",children:"How should we reach you?"}),(0,t.jsx)("p",{className:"mt-0.5 text-sm text-soil",children:"One is enough — phone or email."}),(0,t.jsxs)("div",{className:"mt-3 space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"tour-phone",className:"block text-sm font-semibold text-charcoal",children:"Phone"}),(0,t.jsx)("input",{id:"tour-phone",name:"phone",type:"tel",inputMode:"tel",autoComplete:"tel",placeholder:"(425) 222-2113",value:f,onChange:e=>m((0,s.formatUsPhone)(e.target.value)),"aria-describedby":u?"tour-contact-error":void 0,className:"mt-1.5 w-full border border-charcoal/25 bg-paper px-3 py-2.5 text-charcoal outline-none focus-visible:border-forge focus-visible:ring-2 focus-visible:ring-forge/40 disabled:cursor-not-allowed disabled:opacity-60"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"tour-email",className:"block text-sm font-semibold text-charcoal",children:"Email"}),(0,t.jsx)("input",{id:"tour-email",name:"email",type:"email",autoComplete:"email","aria-describedby":u?"tour-contact-error":void 0,className:"mt-1.5 w-full border border-charcoal/25 bg-paper px-3 py-2.5 text-charcoal outline-none focus-visible:border-forge focus-visible:ring-2 focus-visible:ring-forge/40 disabled:cursor-not-allowed disabled:opacity-60"})]})]}),u?(0,t.jsxs)("p",{id:"tour-contact-error",role:"alert",className:"mt-3 border-l-2 border-forge pl-4 text-sm text-soil",children:[(0,t.jsx)("strong",{className:"font-semibold text-charcoal",children:"We need one way to reach you"})," ","— a phone number or an email, whichever you prefer."]}):null]}),(0,t.jsx)("input",{type:"text",name:"company",tabIndex:-1,autoComplete:"off",hidden:!0,"aria-hidden":"true"}),(0,t.jsx)(l.Button,{variant:"tour",size:"lg",className:"w-full",type:"submit",disabled:"submitting"===h.state,children:"submitting"===h.state?"Sending…":"Book a Tour"}),"error"===h.state?(0,t.jsxs)("p",{role:"alert",className:"border-l-2 border-forge pl-4 text-sm text-soil",children:[(0,t.jsx)("strong",{className:"font-semibold text-charcoal",children:h.message})," ","Please try again, or call"," ",(0,t.jsx)("a",{href:n.site.phoneHref,className:"font-semibold text-charcoal underline underline-offset-4 hover:
1decoration-forge",children:n.site.phone}),"."]}):null]})})})]})})]})}])}]);

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.