1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8341,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return a},requestIdleCallback:function(){return i}};for(var s in r)Object.defineProperty(n,s,{enumerable:!0,get:r[s]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},a="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},79520,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return y},handleClientScriptLoad:function(){return p},initScriptLoader:function(){return b}};for(var s in r)Object.defineProperty(n,s,{enumerable:!0,get:r[s]});let i=e.r(55682),a=e.r(90809),l=e.r(43476),o=i._(e.r(74080)),c=a._(e.r(71645)),d=e.r(42732),u=e.r(22737),f=e.r(8341),h=new Map,m=new Set,x=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:s=null,dangerouslySetInnerHTML:i,children:a="",strategy:l="afterInteractive",onError:c,stylesheets:d}=e,f=n||t;if(f&&m.has(f))return;if(h.has(t)){m.add(f),h.get(t).then(r,c);return}let x=()=>{s&&s(),m.add(f)},p=document.createElement("script"),b=new Promise((e,t)=>{p.addEventListener("load",function(t){e(),r&&r.call(this,t),x()}),p.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});i?(p.innerHTML=i.__html||"",x()):a?(p.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",x()):t&&(p.src=t,h.set(t,b)),(0,u.setAttributesFromProps)(p,e),"worker"===l&&p.setAttribute("type","text/partytown"),p.setAttribute("data-nscript",l),d&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(d),document.body.appendChild(p)};function p(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>x(e))}):x(e)}function b(e){e.forEach(p),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function g(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:s=null,strategy:i="afterInteractive",onError:a,stylesheets:u,...h}=e,{updateScripts:p,scripts:b,getIsSsr:g,appDir:y,nonce:v}=(0,c.useContext)(d.HeadManagerContext);v=h.nonce||v;let w=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||n;w.current||(s&&e&&m.has(e)&&s(),w.current=!0)},[s,t,n]);let j=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!j.current){if("afterInteractive"===i)x(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>x(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>x(e))}));j.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(p?(b[i]=(b[i]||[]).concat([{id:t,src:n,onLoad:r,onReady:s,onError:a,...h,nonce:v}]),p(b)):g&&g()?m.add(t||n):g&&!g()&&x({...e,nonce:v})),y){if(u&&u.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!n)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...h,id:t}])})`}});else return o.default.preload(n,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin}),(0,l.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([n,{...h,id:t}])})`}});"afterInteractive"===i&&n&&o.default.preload(n,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},22315,(e,t,n)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",s="week",i="month",a="quarter",l="year",o="date",c="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},h="en",m={};m[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var x="$isDayjsObject",p=function(e){return e instanceof v||!(!e||!e[x])},b=function e(t,n,r){var s;if(!t)return h;if("string"==typeof t){var i=t.toLowerCase();m[i]&&(s=i),n&&(m[i]=n,s=i);var a=t.split("-");if(!s&&a.length>1)return e(a[0])}else{var l=t.name;m[l]=t,s=l}return!r&&s&&(h=s),s||!r&&h},g=function(e,t){if(p(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new v(n)},y={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),s=t.clone().add(r,i),a=n-s<0,l=t.clone().add(r+(a?-1:1),i);return+(-(r+(n-s)/(a?s-l:l-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:i,y:l,w:s,d:"day",D:o,h:r,m:n,s:t,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=b,y.i=p,y.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var v=function(){function f(e){this.$L=b(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var s=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return y},h.isValid=function(){return this.$d.toString()!==c},h.isSame=function(e,t){var n=g(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return g(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<g(e)},h.$g=function(e,t,n){return y.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var c=this,d=!!y.u(a)||a,u=y.p(e),f=function(e,t){var n=y.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return d?n:n.endOf("day")},h=function(e,t){return y.w(c.toDate()[e].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},m=this.$W,x=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case l:return d?f(1,0):f(31,11);case i:return d?f(1,x):f(0,x+1);case s:var g=this.$locale().weekStart||0,v=(m<g?m+7:m)-g;return f(d?p-v:p+(6-v),x);case"day":case o:return h(b+"Hours",0);case r:return h(b+"Minutes",1);case n:return h(b+"Seconds",2);case t:return h(b+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(s,a){var c,d=y.p(s),u="set"+(this.$u?"UTC":""),f=((c={}).day=u+"Date",c[o]=u+"Date",c[i]=u+"Month",c[l]=u+"FullYear",c[r]=u+"Hours",c[n]=u+"Minutes",c[t]=u+"Seconds",c[e]=u+"Milliseconds",c)[d],h="day"===d?this.$D+(a-this.$W):a;if(d===i||d===l){var m=this.clone().set(o,1);m.$d[f](h),m.init(),this.$d=m.set(o,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[y.p(e)]()},h.add=function(e,a){var o,c=this;e=Number(e);var d=y.p(a),u=function(t){var n=g(c);return y.w(n.date(n.date()+Math.round(t*e)),c)};if(d===i)return this.set(i,this.$M+e);if(d===l)return this.set(l,this.$y+e);if("day"===d)return u(1);if(d===s)return u(7);var f=((o={})[n]=6e4,o[r]=36e5,o[t]=1e3,o)[d]||1,h=this.$d.getTime()+e*f;return y.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",s=y.z(this),i=this.$H,a=this.$m,l=this.$M,o=n.weekdays,d=n.months,f=n.meridiem,h=function(e,n,s,i){return e&&(e[
1n]||e(t,r))||s[n].slice(0,i)},m=function(e){return y.s(i%12||12,e,"0")},x=f||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(u,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return l+1;case"MM":return y.s(l+1,2,"0");case"MMM":return h(n.monthsShort,l,d,3);case"MMMM":return h(d,l);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(n.weekdaysMin,t.$W,o,2);case"ddd":return h(n.weekdaysShort,t.$W,o,3);case"dddd":return o[t.$W];case"H":return String(i);case"HH":return y.s(i,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return x(i,a,!0);case"A":return x(i,a,!1);case"m":return String(a);case"mm":return y.s(a,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,o,c){var d,u=this,f=y.p(o),h=g(e),m=(h.utcOffset()-this.utcOffset())*6e4,x=this-h,p=function(){return y.m(u,h)};switch(f){case l:d=p()/12;break;case i:d=p();break;case a:d=p()/3;break;case s:d=(x-m)/6048e5;break;case"day":d=(x-m)/864e5;break;case r:d=x/36e5;break;case n:d=x/6e4;break;case t:d=x/1e3;break;default:d=x}return c?d:y.a(d)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return m[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=b(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return y.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),w=v.prototype;return g.prototype=w,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",i],["$y",l],["$D",o]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,v,g),e.$i=!0),g},g.locale=b,g.isDayjs=p,g.unix=function(e){return g(1e3*e)},g.en=m[h],g.Ls=m,g.p={},g}()},72063,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(70703),s=e.i(18566),i=e.i(22016),a=e.i(57688),l=e.i(46116);function o({icon:e}){switch(e){case"fa-facebook-f":return(0,t.jsx)(l.FacebookIcon,{});case"fa-youtube":return(0,t.jsx)(l.YoutubeIcon,{});case"fa-linkedin":return(0,t.jsx)(l.LinkedinIcon,{});case"fa-instagram":return(0,t.jsx)(l.InstagramIcon,{});case"fa-x":return(0,t.jsx)(l.XIcon,{});default:return null}}let c=({data:e})=>(0,t.jsx)("div",{className:"py-2 text-sm",style:{background:"#555",color:"#fff"},children:(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsxs)("div",{className:"flex lg:flex-row flex-col justify-between items-center",children:[(0,t.jsx)("div",{className:"flex items-center space-x-6",children:(0,t.jsx)("div",{className:"hidden md:block text-base leading-7 font-bold text-white",children:(0,t.jsx)("span",{children:e?.welcome})})}),(0,t.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,t.jsx)("div",{className:"text-base leading-7 font-bold",children:(0,t.jsxs)("a",{href:`tel:${e?.phoneLink}`,className:"flex items-center border-r border-white/20 pr-4 hover:text-primary transition-colors focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--steel)] rounded",children:[(0,t.jsx)(l.PhoneIcon,{cls:"w-5 h-5 mr-1"})," ",e?.phone]})}),(0,t.jsx)("div",{className:"flex space-x-2",children:e.social?.map((e,n)=>(0,t.jsx)("a",{href:e.url,className:"hover:text-primary transition-colors",target:"_blank",rel:"noopener noreferrer","aria-label":"Follow on social",children:(0,t.jsx)(o,{icon:e.icon})},n))})]})]})})});var d=e.i(93012),u=e.i(4829);let f=({text:e,linkType:n,link:r,cls:s,onClick:a=()=>{}})=>"internal"===n?(0,t.jsx)(i.default,{href:(0,u.slug)(r),onClick:a,className:s,children:e}):"external"===n?(0,t.jsx)("a",{href:r,target:"_blank",onClick:a,className:s,children:e}):null;function h({topBanner:e,header:r}){let s=((e=50)=>
1{let[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=()=>{r(window.scrollY>e)};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[e]),t})(50),[o,h]=(0,n.useState)(!1),[m,x]=(0,n.useState)(null),[p,b]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=e=>{if(o){let t=e.target,n=!t.closest(".mobile-menu-container"),r=t.closest(".mobile-menu-toggle");n&&!r&&h(!1)}};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[o]),(0,n.useEffect)(()=>(o?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[o]),(0,t.jsxs)(t.Fragment,{children:[e?.enable&&(0,t.jsx)(c,{data:e}),(0,t.jsxs)("header",{className:`transition-all duration-300 ${s?"sticky top-0 z-40 shadow-lg":"relative"}`,style:{background:"black",borderBottom:"3px solid var(--primary)"},children:[(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-between py-3",children:[(0,t.jsx)("div",{className:"shrink-0",children:(0,t.jsx)(i.default,{href:"/",className:"inline-flex items-center justify-center px-4 py-2 transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--navy)]",children:r?.logo?.asset?.url&&(0,t.jsx)(a.default,{src:r.logo.asset.url,alt:r.logo.alt||"Five Star Equipment",width:200,height:60,className:"h-auto w-[160px] md:w-[180px] object-contain",priority:!0})})}),(0,t.jsxs)("div",{className:"hidden xl:flex items-center space-x-8 justify-between w-full ml-10",children:[(0,t.jsx)("nav",{className:"flex items-center space-x-6",children:r?.menu?.map((e,n)=>(0,t.jsx)("div",{className:"relative group",onMouseEnter:()=>b(n.toString()),onMouseLeave:()=>b(null),children:e.childMenu?.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{className:`flex items-center space-x-1 transition-colors font-black text-sm uppercase tracking-wider ${p===n.toString()||m===n.toString()?"text-primary":"text-white hover:text-primary"}`,style:{fontFamily:"var(--font-syne), sans-serif",letterSpacing:"0.1em",fontSize:"0.9rem"},children:[(0,t.jsx)("span",{children:e.parent.label}),(0,t.jsx)(l.ChevronDownIcon,{cls:`w-4 h-4 transition-transform ${p===n.toString()||m===n.toString()?"rotate-180":""}`})]}),(0,t.jsx)("div",{className:`absolute top-full left-0 mt-0 w-64 bg-white shadow-2xl overflow-hidden z-50 transition-all duration-200 ease-in-out ${p===n.toString()||m===n.toString()?"opacity-100 visible translate-y-0":"opacity-0 invisible -translate-y-2"}`,style:{background:"black",borderTop:"3px solid var(--primary)"},children:e.childMenu.map((e,n)=>(0,t.jsx)(f,{text:e.label,linkType:e.type,link:e.link,cls:"block px-5 py-3 text-white hover:bg-primary hover:text-black transition-all duration-200 font-black text-sm uppercase tracking-wide border-b border-white/10 last:border-0"},n))})]}):(0,t.jsx)(f,{text:e.parent.label,linkType:e.parent.type,link:e.parent.link,cls:"text-white hover:text-primary transition-colors font-black text-sm uppercase tracking-wider"})},n))}),(0,t.jsx)("div",{children:r?.button&&(0,t.jsx)(d.default,{title:r.button.title,btnType:r.button?.btnType||"primary",link:r.button.link||"",linkType:r.button.linkType||"internal",disabled:!1})})]}),(0,t.jsx)("button",{type:"button",className:"mobile-menu-toggle xl:hidden p-2 text-white hover:text-primary transition-colors relative z-50 focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--navy)] rounded min-w-[44px] min-h-[44px] flex items-center justify-center",onClick:()=>{h(!o)},"aria-label":o?"Close menu":"Open menu","aria-expanded":o,children:(0,t.jsxs)("div",{className:"relative w-6 h-6",children:[(0,t.jsx)(l.MenuIcon,{cls:`absolute inset-0 w-6 h-6 transition-all duration-300 ${o?"opacity-0 rotate-180":"opacity-100 rotate-0"}`}),(0,t.jsx)(l.XIcon,{cls:`absolute inset-0 w-6 h-6 transition-all duration-300 ${o?"opacity-100 rotate-0":"opacity-0 -rotate-180"}`})]})})]})}),o&&(0,t.jsx)("div",{className:"fixed inset-0 bg-black/50 backdrop-blur-sm z-50 xl:hidden transition-opacity duration-300",onClick:()=>h(!1),"aria-hidden":"true"}),(0,t.jsx)("div",{className:`fixed top-0 left-0 h-full w-80 max-w-[85vw] shadow-2xl z-[60] xl
1:hidden mobile-menu-container transition-transform duration-300 ease-in-out overflow-y-auto ${o?"translate-x-0":"-translate-x-full"}`,style:{background:"black",overscrollBehavior:"contain"},role:"dialog","aria-modal":"true","aria-label":"Mobile navigation menu","aria-hidden":!o,children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("div",{className:"flex items-center justify-between p-6 border-b border-white/10",children:(0,t.jsx)(i.default,{href:"/",className:"inline-flex items-center justify-center px-4 py-2.5 rounded-sm transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--navy)]",style:{background:"var(--off-white)",boxShadow:"0 1px 3px rgba(0,0,0,0.2)"},onClick:()=>h(!1),children:r?.logo?.asset?.url&&(0,t.jsx)(a.default,{src:r.logo.asset.url,alt:r.logo.alt||"Five Star Equipment",width:200,height:50,className:"h-auto w-[180px] object-contain"})})}),(0,t.jsx)("nav",{className:"flex-1 overflow-y-auto py-6",children:(0,t.jsx)("div",{className:"space-y-2 px-6",children:r?.menu?.map((e,n)=>(0,t.jsx)("div",{className:"border-b border-white/10 pb-2 last:border-b-0",children:e.childMenu?.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",className:"flex items-center justify-between w-full py-3 text-left text-white hover:text-primary transition-colors font-extrabold focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--navy)]",onClick:()=>{x(m===n.toString()?null:n.toString())},"aria-expanded":m===n.toString(),"aria-label":`Toggle ${e.parent.label} menu`,children:[(0,t.jsx)("span",{className:"text-lg",children:e.parent.label}),(0,t.jsx)(l.ChevronDownIcon,{cls:`w-5 h-5 transition-transform duration-200 ${m===n.toString()?"rotate-180":""}`})]}),(0,t.jsx)("div",{className:`overflow-hidden transition-all duration-300 ease-in-out ${m===n.toString()?"max-h-96 opacity-100":"max-h-0 opacity-0"}`,children:(0,t.jsx)("div",{className:"pl-4 space-y-1 pt-2",children:e.childMenu.map((e,n)=>(0,t.jsxs)(i.default,{href:(0,u.slug)(e.link),className:"flex items-center justify-between py-2 px-3 text-gray-300 hover:bg-primary/20 hover:text-primary rounded-md transition-colors duration-200 group",onClick:()=>h(!1),children:[(0,t.jsx)("span",{children:e.label}),(0,t.jsx)(l.ArrowRightIcon,{cls:"w-4 h-4 opacity-0 group-hover:opacity-100 transition-opacity"})]},n))})})]}):(0,t.jsxs)(i.default,{href:(0,u.slug)(e.parent.link),className:"flex items-center justify-between py-3 text-white hover:text-primary transition-colors font-extrabold group",onClick:()=>h(!1),children:[(0,t.jsx)("span",{className:"text-lg",children:e.parent.label}),(0,t.jsx)(l.ArrowRightIcon,{cls:"w-5 h-5 opacity-0 group-hover:opacity-100 transition-opacity"})]})},n))})}),r?.button&&(0,t.jsx)("div",{className:"p-6 border-t border-white/10",children:(0,t.jsx)(d.default,{title:r.button.title,btnType:r.button?.btnType||"primary",link:r.button.link||"",linkType:r.button.linkType||"internal",disabled:!1})})]})})]})]})}var m=e.i(22315),x=e.i(5766),p=e.i(91961);function b({data:e}){let[r,s]=(0,n.useState)(""),[i,a]=(0,n.useState)(""),[l,o]=(0,n.useState)(!1),c=async t=>{t.preventDefault(),o(!0);let n=x.toast.loading("Submitting..."),l=(0,p.readAppDeviceId)("newsletter-form")||(0,p.getAppDeviceId)("newsletter-form");try{let t={name:r,email:i,source_url:window.location.href,status:"completed",data:{date:new Date().toUTCString(),website:window.location.origin,source:"newsletter"},formId:e?.formId||"690a1b79"},c=await fetch("/api/forms-api",{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8",...l?{"Idempotency-Key":l}:{}},body:JSON.stringify(t)});console.log(c);let d=await c.text();if(!c.ok)throw Error(d||`HTTP ${c.status}: Submission failed`);window.dataLayer&&window.dataLayer.push({event:"generate_lead",form_type:"newsletter"}),x.toast.dismiss(n),x.toast.success("Request has been submitted successfully"),(0,p.deleteAppDeviceId)("newsletter-form"),s(""),a(""),o(!1)}catch(t){console.error("Newsletter submission error:",t);let e=t instanceof Error?t.message:"Something went wrong! Please try again";x.toast.dismiss(n),x.toast.error(e),o(!1)}};return(0,t.jsxs)("div",{className:"mt-5",children:[(0,t.jsx)("p",{className:"h4-type mb-4",children:e?.heading}),(0,t.jsx)("form",{onSubmit:c,children:(0,t.jsxs)("div",{className:"flex md:flex-row flex-col gap-4",children:[(0,t.jsx)("div",{className:"flex flex-row flex-1",children:(0,t.jsx)("input",{type:"text",className:"input-field",placeholder:"Name",name:"name",value:r,required:!0,onChange:e=>s(e.target.value)})}),(0,t.jsx)("div",{className:"flex flex-row flex-1",children:(0,t.jsx)("input",{type:"email",placeholder:"Email Address",className:"input-field",name:"email",value:i,required:!0,onChange:e=>a(e.target.value)})}),(0,t.jsx)("div",{className:"",children:e?.button?.title&&(0,t.jsx)(d.default,{title:e?.button?.title,btnType:e?.button?.btnType||"primary",link:e?.button.link||"",linkType:e?.button.linkType||"internal",disabled:l,cls:"w-full"})})]})})]})}var g=e.i(27020);function y({item:e}
1){let[r,s]=(0,n.useState)(!1),i=e?.parent,a=e?.childMenu||[],o=a.length>0;return(0,t.jsxs)("li",{className:"pb-3 last:pb-0",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[(0,t.jsx)(l.ChevronRightIcon,{cls:"h-4 w-4 shrink-0"}),o?(0,t.jsxs)("button",{type:"button",onClick:()=>s(!r),className:"flex items-center justify-between font-semibold text-base hover:text-primary transition-colors text-left flex-1 min-w-0",children:[(0,t.jsx)("span",{children:i?.label}),(0,t.jsx)(l.ChevronDownIcon,{cls:`h-4 w-4 shrink-0 transition-transform ${r?"rotate-180":""}`})]}):(0,t.jsx)(f,{text:i?.label,linkType:i?.type||"internal",link:i?.link,cls:"font-semibold text-base hover:text-primary transition-colors"})]}),o&&r&&(0,t.jsx)("ul",{className:"mt-2 ml-6 space-y-2",children:a.map((e,n)=>(0,t.jsxs)("li",{className:"flex items-center gap-2",children:[(0,t.jsx)(l.ChevronRightIcon,{cls:"h-3 w-3 shrink-0 text-gray-500"}),(0,t.jsx)(f,{text:e.label,linkType:e?.type||"internal",link:e?.link,cls:"text-gray-300 hover:text-primary transition-colors text-sm"})]},n))})]})}function v({footer:e,posts:n}){return(0,t.jsx)("footer",{className:"py-8",style:{background:"var(--steel)",color:"var(--primary-gray)"},children:(0,t.jsxs)("div",{className:"tp-container",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 border-b border-white/10 border-l border-r",children:[(0,t.jsx)("div",{className:"w-full p-16 flex justify-start lg:justify-center items-center",children:e?.logo?.asset?.url&&(0,t.jsx)(a.default,{src:e?.logo?.asset?.url,alt:e.logo.alt||"Five Star Equipment",width:200,height:60,className:"h-16 w-auto mb-4 object-contain"})}),(0,t.jsxs)("div",{className:"flex gap-3 p-16 lg:p-0 items-center lg:border-r border-white/10 pr-10 border-b lg:border-b-0 border-t lg:border-t-0 lg:border-l w-full justify-start lg:justify-center",children:[(0,t.jsx)("div",{className:"rounded-full flex justify-center items-center h-14 w-14 bg-primary p-2 text-black",children:(0,t.jsx)(l.MapPinIcon,{cls:"h-8 w-8 text-black"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-black mb-1 text-white",children:"Locations"}),e?.location&&e.location.length>0&&(0,t.jsx)("div",{children:e.location.map((e,n)=>(0,t.jsx)("p",{className:"font-semibold text-base mb-1 text-gray-300",children:e.label},n))})]})]}),(0,t.jsxs)("div",{className:"flex gap-3 items-center w-full justify-start lg:justify-center p-16 lg:p-0",children:[(0,t.jsx)("div",{className:"rounded-full flex justify-center items-center h-14 w-14 bg-primary p-2 text-black",children:(0,t.jsx)(l.MailIcon,{cls:"h-8 w-8 text-black"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-black mb-1 text-white",children:"Email Us"}),e?.email&&(0,t.jsx)("a",{href:`mailto:${e.email}`,className:"font-semibold text-base mb-1 text-gray-300 hover:text-primary transition-colors",children:e.email})]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mt-16",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"h4-type mb-5 text-white",children:e?.aboutSection?.heading}),(0,t.jsx)("p",{className:"text-gray-300 mb-4 leading-relaxed text-base",children:e?.aboutSection?.about}),e?.businessAddressSection&&(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("h4",{className:"h4-type mb-3",children:e?.businessAddressSection?.heading}),(0,t.jsx)("p",{className:"text-gray-300 leading-relaxed text-base whitespace-pre",children:e?.businessAddressSection?.address})]}),e?.businessHoursSection&&(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("h4",{className:"h4-type mb-3",children:e?.businessHoursSection?.heading}),(0,t.jsx)("p",{className:"text-gray-300 text-base whitespace-pre",children:e?.businessHoursSection?.hours})]}),e?.social&&e.social.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"h4-type mb-3",children:"Follow On"}),(0,t.jsx)("div",{className:"flex space-x-3",children:e.social.map((e,n)=>(0,t.jsx)("a",{href:e.url,className:"text-gray-400 hover:text-primary transition-colors",target:"_blank",rel:"noopener noreferrer","aria-label":"Follow on social",children:(0,t.jsx)("span",{className:"text-lg",children:(0,t.jsx)(o,{icon:e.icon})})},n))})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"h4-type mb-5 text-white",children:e?.menuHeading||"Rental Category"}),(0,t.jsxs)("div",{className:"flex flex-row gap-5",children:[(0,t.jsx)("ul",{className:"space-y-3 text-gray-300 mb-3",children:e?.menu&&e.menu.length>0&&e.menu.slice(0,7).map((e,n)=>(0,t.jsxs)("li",{className:"flex items-center gap-2",children:[(0,t.jsx)(l.ChevronRightIcon,{cls:"h-4 w-4"}),(0,t.jsx)(f,{text:e.label,linkType:e?.linkType||"internal",link:e?.link,cls:"hover:text-primary transition-colors block text-base"})]},n))}),(0,t.jsx)("ul",{className:"space-y-3 text-gray-300",children:e?.menu&&e.menu.length>7&&e.menu.slice(7).map((e,n)=>(0,t.jsxs)("li",{className:"flex items-center gap-x-2",children:[(0,t.jsx)(l.ChevronRightIcon,{cls:"h-4 w-4"}),(0,t.jsx)(f,{text:e.label,linkType:e?.linkType||"internal",link:e?.link,cls:"hover:text-primary transition-colors block text-base"})]},n))})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"h4-type mb-5 text-white",children:e?.recentNewsHeading||"Recent News"}),e?.toggleMenu&&e?.locationMenu?.length>0?(0,t.jsx)("ul",{className:"space-y-3 text-gray-300",children:e.locationMenu.map((e,n)=>(0,t.jsx)(y,{item:e},n))}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex flex-row gap-5 mb-8",children:(0,t.jsx)("ul",{className:"space-y-3 text-gray-300 mb-3",children:n&&n.length>0&&n.map((e,n)=>(0,t.jsxs)("li",{className:"flex flex-row gap-x-2",children:[e.featuredImage&&(0,t.jsx)(g.default,{image:e.featuredImage,width:200,height:200,className:"rounded-lg h-[100px] w-[100px] object-cover",alt:e.title}),(0,t.jsxs)("div",{className:"ml-4",children:[(0,t.jsx)("h3",{className:"font-bold text-sm sm:text-lg mb-2 text-primary-gray",children:(0,t.jsx)(f,{text:e.title||"",linkType:"internal",link:`/blog/${e?.slug?.current}`,cls:"hover:text-primary transition-colors block text-base"})}),(0,t.jsxs)("span",{className:"flex items-center gap-x-2 text-white",children:[(0,t.jsx)(l.CalendarIcon,{cls:"h-4 w-4"}),(0,t.jsx)("span",{className:"font-bold text-sm sm:text-base",children:(0,m.default)(e?.publishedAt||"").format("DD MMMM YYYY")})]})]})]},n))})}),(0,t.jsxs)(i.default,{href:"/blog",className:"text-primary text-lg mt-5 md:mt-8 flex items-center gap-2 underline underline-offset-4 ml-1",children:[(0,t.jsx)("span",{children:"View More News"})," ",(0,t.jsx)(l.CircleArrowRightIcon,{cls:"h-5 w-5"})]})]})]})]}),e?.newsletter&&e?.newsletter.enable&&(0,t.jsx)(b,{data:e.newsletter}),(0,t.jsx)("div",{className:"border-t border-white/10 mt-12 pt-8",children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-3 text-gray-400 sm:flex-row sm:gap-4",children:[(0,t.jsxs)("p",{children:["© ",new Date().getFullYear()," Five Star Equipment. All Rights Reserved"]}),(0,t.jsx)("span",{className:"hidden text-white/20 sm:inline","aria-hidden":"true",children:"|"}),(0,t.jsx)(i.default,{href:"/privacy-policy",className:"text-gray-300 underline underline-offset-4 transition-colors hover:text-primary",children:"Privacy Policy"}),(0,t.jsx)("span",{className:"hidden text-white/20 sm:inline","aria-hidden":"true",children:"|"}),(0,t.jsx)("a",{href:"https://civsav.com",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 underline underline-offset-4 transition-colors hover:text-primary",children:"Website by Civilized Savage"})]})})]})})}let w=({data:e})=>(0,t.jsx)("header",{children:(0,t.jsx)("div",{className:"relative bg-white mt-10",children:(0,t.jsx)("div",{className:"relative px-4 mx-auto
1sm:px-6 lg:px-8",children:(0,t.jsx)("nav",{className:"flex items-center pb-[6px]",children:(0,t.jsxs)("a",{href:"/",title:"Five Star Equipment",className:"inline-flex items-center gap-4 md:gap-6",children:[e?.logo?.asset?.url&&(0,t.jsx)("span",{className:"relative h-14 w-[160px] md:h-16 md:w-[180px] shrink-0",children:(0,t.jsx)(a.default,{src:e.logo.asset.url,alt:e?.logo?.alt||"Five Star Equipment",fill:!0,className:"object-contain object-center",sizes:"180px",priority:!0})}),e?.logo2?.asset?.url&&(0,t.jsx)("span",{className:"relative h-14 w-[160px] mb-1 shrink-0",children:(0,t.jsx)(a.default,{src:e.logo2.asset.url,alt:e?.logo2?.alt||"Partner logo",fill:!0,className:"object-contain object-center",sizes:"160px",priority:!0})})]})})})})}),j=[],N={enable:!0,heading:"Don't Miss Out on Demo Days!",description:"Register for Demo Days at Five Star Equipment and get behind the controls of the latest John Deere equipment.",button:{title:"Registration",link:"/events",linkType:"internal",btnType:"primary"}},k=(0,r.default)(()=>e.A(68080),{loadableGenerated:{modules:[46929]},ssr:!1}),S=(0,r.default)(()=>e.A(63845),{loadableGenerated:{modules:[54372]},ssr:!1}),$=(0,r.default)(()=>e.A(27068),{loadableGenerated:{modules:[43693]},ssr:!1});e.s(["default",0,({children:e,siteSettings:r,recentBlogs:i,landingPages:a})=>{let l=(0,s.usePathname)(),o=function(e){if(0===j.length)return!1;let t=e.replace(/\/$/,"")||"/";return j.some(e=>t===e||t===`${e}/`)}(l)||!!a.find(e=>e?.slug===l.split("/")[1]),c=/^\/events\/[^/]+/.test(l.replace(/\/$/,"")||"/"),d={...N,...r?.demoDaysExitIntentPopup,button:{...N.button,...r?.demoDaysExitIntentPopup?.button}};return(0,n.useEffect)(()=>{r?.simplePopup&&localStorage.setItem("simplePopup",JSON.stringify(r.simplePopup)),r?.servicePopup&&localStorage.setItem("servicePopup",JSON.stringify(r.servicePopup))},[]),(0,t.jsxs)("div",{className:"min-h-screen flex flex-col",children:[(0,t.jsx)("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-[100] focus:px-4 focus:py-2 focus:bg-primary focus:text-black focus:font-bold focus:rounded focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2",children:"Skip to main content"}),o?(0,t.jsx)(w,{data:r?.header}):(0,t.jsx)(h,{header:r?.header??null,topBanner:r?.topBanner??null}),(0,t.jsx)("main",{id:"main-content",tabIndex:-1,children:e}),!o&&!c&&(0,t.jsx)(k,{config:r?.exitIntentPopup??null}),!o&&!1!==d.enable&&(0,t.jsx)(S,{config:d,sessionStorageKey:"hasSeenExitPopupDemoDays"}),!o&&(0,t.jsx)(v,{posts:i,footer:r?.footer??void 0}),!o&&r?.slideoutPopup?.enable&&r?.slideoutPopup&&(0,t.jsx)($,{data:r.slideoutPopup})]})}],72063)},94173,e=>{"use strict";var t=e.i(43476);let n=(0,e.i(70703).default)(()=>e.A(63880),{loadableGenerated:{modules:[42144]},ssr:!1});function r(){return(0,t.jsx)(n,{})}e.s(["default",()=>r])},3303,(e,t,n)=>{t.exports=e.r(79520)},68382,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(3303),s=e.i(18566);let i="G-ESW1V2Q27H",a=new Set(["/equipment-rentals-pa-ny"]),l=["click","touchstart","keydown"];function o(){let e=(0,s.usePathname)(),o=a.has(e),c=function(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{window.dataLayer=window.dataLayer??[],window.gtag||(window.gtag=function(){window.dataLayer?.push(arguments)});let e=!1,n=()=>{e||(e=!0,t(!0))},r=()=>{window.scrollY>=150&&n()};l.forEach(e=>{window.addEventListener(e,n,{once:!0,passive:!0,capture:!0})}),window.addEventListener("scroll",r,{passive:!0});let s="requestIdleCallback"in window,i=s?window.requestIdleCallback(n,{timeout:5e3}):window.setTimeout(n,5e3);return()=>{l.forEach(e=>{window.removeEventListener(e,n,!0)}),window.removeEventListener("scroll",r),s?window.cancelIdleCallback(i):window.clearTimeout(i)}},[]),e}(),d=function(e){let[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!e)return;let t=window.setTimeout(()=>r(!0),1e4);return()=>window.clearTimeout(t)},[e]),t}(c&&!o);return c||d?(0,t.jsxs)(t.Fragment,{children:[c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{id:"ga4-gtag",src:`https://www.googletagmanager.com/gtag/js?i
1d=${i}`,strategy:"lazyOnload",onLoad:()=>{window.gtag?.("js",new Date),window.gtag?.("config",i)}}),(0,t.jsx)(r.default,{id:"365operation-tracking",src:"https://www.365operation.com/js/807267.js",strategy:"lazyOnload"})]}):null,d&&!o?(0,t.jsx)(r.default,{id:"chasi-chat",src:"https://chat.chasi.co/embed.js",strategy:"lazyOnload","data-org-id":"17","data-assistant-id":"16"}):null]}):null}e.s(["DeferredThirdPartyScripts",()=>o])}]);
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.