1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63606,e=>{"use strict";var t=e.i(43476),r=e.i(17279),a=e.i(51532);let i=["#ffb600","#ff7424","#173945","#4e97b2","#2c3e50","#f7f6f1"];function n({items:e,colors:n=i,tallFooter:s=!1,compactTop:l=!1,tallMobile:o=!1,topPaddingClassName:c}){let p=(0,a.useUserStore)(e=>e.isAuthenticated);return Array.isArray(e)&&0!==e.length?(0,t.jsx)("section",{"aria-label":"Explore Alabama","data-snap":!0,className:`px-[20px] min-[1024px]:px-[80px] min-[1600px]:px-[15%] ${c??(l?o?"max-[991px]:pt-[30px] min-[992px]:pt-[60px]":"pt-[60px]":o?"max-[991px]:pt-[50px] min-[992px]:pt-[100px]":"pt-[100px]")} pb-0`,children:(0,t.jsx)(r.Reveal,{children:(0,t.jsx)("div",{className:"flex flex-col min-[992px]:flex-row gap-[20px] justify-center items-center min-[992px]:items-stretch",children:e.map((e,r)=>{var a;let i="Create Your Trip"===e.explore_title?p?"/my-trip":"/profile":e.explore_title?.trim().toLowerCase()==="shopping"?"/places-to-go/map/shopping":"/road-trips"===(a=e.explore_link??"#")?"/plan-your-trip/road-trips":a.startsWith("/road-trips/")?a.replace(/^\/road-trips\//,"/plan-your-trip/road-trips/"):a,l=s?`${o?"h-[calc(30%+20px)]":"h-[calc(40%+20px)]"} min-[769px]:h-[calc(33%+20px)]`:`${o?"h-[30%]":"h-[40%]"} min-[769px]:h-[33%]`,c=s?`${o?"h-[calc(70%-20px)]":"h-[calc(60%-20px)]"} min-[769px]:h-[calc(67%-20px)]`:`${o?"h-[70%]":"h-[60%]"} min-[769px]:h-[67%]`,d=s?`${o?"bottom-[calc(30%+20px)]":"bottom-[calc(40%+20px)]"} min-[769px]:bottom-[calc(33%+20px)]`:`${o?"bottom-[30%]":"bottom-[40%]"} min-[769px]:bottom-[33%]`;return(0,t.jsxs)("a",{href:i,style:{backgroundColor:n[r%n.length]},className:`relative flex-1 w-full max-w-[530px] overflow-hidden rounded-[20px] aspect-[1.35/1] ${o?"max-[991px]:aspect-[0.9/1]":""} flex flex-col items-center justify-end cursor-pointer group`,children:[e.explore_background&&(0,t.jsx)("div",{className:`absolute top-0 left-0 w-full ${c} overflow-hidden`,children:(0,t.jsx)("img",{loading:"lazy",src:e.explore_background,alt:"",role:"presentation",className:"w-full h-full object-cover transition-transform duration-700 ease-out group-hover:scale-[1.08]"})}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-col items-center justify-end pb-4 px-2 w-full h-full",children:[e.explore_icon&&(0,t.jsx)("img",{loading:"lazy",src:e.explore_icon,alt:"",role:"presentation",className:`absolute ${d} translate-y-1/2 left-[20px] w-[80px] h-[80px] object-contain`}),(0,t.jsxs)("div",{className:`absolute bottom-0 left-[32px] right-[20px] ${l} flex items-start gap-[12px] ${o?"max-[991px]:pt-[45px]":"pt-[65px]"} min-[992px]:pt-[60px] max-[412px]:pt-[45px] ${o?"max-[991px]:pb-[15px]":""}`,children:[e.explore_title&&(0,t.jsx)("h3",{className:"flex-1 min-w-0 text-left text-[#003b49] m-0 text-[28px] leading-[1] max-[768px]:text-[24px]",children:e.explore_title}),(0,t.jsx)("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none","aria-hidden":"true",className:"shrink-0 mt-[5px] min-[769px]:mt-[7px]",children:(0,t.jsx)("path",{d:"M9 1L15 7M15 7L9 13M15 7H1",stroke:"#003b49",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]},r)})})})}):null}e.s(["ExploreCards",()=>n])},97856,e=>{"use strict";var t=e.i(71645);function r(e){let r=(0,t.useRef)(e);(0,t.useEffect)(()=>{r.current=e}),(0,t.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=0,t=!1,a=window.scrollY,i=performance.now(),n=()=>{t=!1;let e=performance.now(),n=window.scrollY,s=e-i,l=s>0?(n-a)/s:0;a=n,i=e,r.current({scroll:n,velocity:l})},s=()=>{t||(t=!0,e=requestAnimationFrame(n))};return s(),window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s),()=>{window.removeEventListener("scroll",s),window.removeEventListener("resize",s),cancelAnimationFrame(e)}},[])}e.s(["useScrollFrame",()=>r])},75437,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(97856);function i(e){return"vertical"===e?"to bottom":"vertical-reverse"===e?"to top":"to right"}let n=[{sel:'[data-bg="hero"]',bg:"#05C3DD",svg:1,line:"#FFDC86"},{sel:'[data-bg="things"]',bg:"#05C3DD",svg:1,line:"#FFDC86"},{sel:'[data-bg="plan"]',bg:"#05C3DD",svg:0,line:"#FFDC86"},{sel:'[data-bg="inspired"]',bg:"#FFFFFF",svg:0,line:"#F6C9AB"},{sel:'[data-bg="map"]',bg:"#F2F2EC",svg:1,line:"#FFBE9F",fadeTop:1},{sel:'[data-bg="cta"]',bg:"#05C3DD",svg:1,line:"#FFDC86",fade:1},{sel:'[data-bg="igfeed"]',bg:"#FFFFFF",svg:0,line:"#FFBE9F",offsetVh:55,svgOffsetVh:-40}];function s(e){let t=e.replace("#",""),r=3===t.length?t.split("").map(e=>e+e).join(""):t;return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function l(e,t,r){let[a,i,n]=s(e),[l,o,c]=s(t);return`rgb(${Math.round(a+(l-a)*r)}, ${Math.round(i+(o-i)*r)}, ${Math.round(n+(c-n)*r)})`}function o({stops:e=n,adaptToMissingSections:s=!1}
1){let o=(0,r.useRef)(null),c=(0,r.useRef)([]);(0,r.useEffect)(()=>{c.current=e.map(e=>document.querySelector(e.sel))},[e]),(0,a.useScrollFrame)(({scroll:t})=>{let r,a,n,p,d,x,u,f,m,h,g,v,b,y=o.current;if(!y)return;let w=window.innerHeight,j=e.map((e,r)=>{let a=c.current[r]??(c.current[r]=document.querySelector(e.sel));if(!a)return null;let i=a.getBoundingClientRect().top+t;return{top:i+(e.offsetVh??0)*w/100,svgTop:i+(e.svgOffsetVh??e.offsetVh??0)*w/100}});if(s){let t=[];for(let r=0;r<e.length;r++){let a=j[r];if(a){for(;t.length>0&&a.top<=t[t.length-1].at.top;)t.pop();t.push({stop:e[r],at:a})}}if(0===t.length)return;r=t.map(e=>e.stop),a=t.map(e=>e.at)}else r=e,a=j;let E=(e,r)=>{if(null==e||null==r||r<=e)return 0;let a=Math.min(r-e,w);return Math.max(0,Math.min(1,(t-(r-a))/a))},L=0;for(let e=0;e<r.length;e++){let r=a[e];r&&t>=r.top&&(L=e)}if(L>=r.length-1){let e=r[r.length-1];n=e.bg,p=e.svg,d=e.line,x=e.fade??0,u=e.fadeTop??0,f=e.fadeLeftStart??10,m=e.fadeLeftEnd??55,h=e.fadeLeftStartMobile??f,g=e.fadeLeftEndMobile??m,v=e.fadeDirection??"horizontal",b=e.fadeDirectionMobile??v}else{let e=r[L],t=r[L+1],i=E(a[L]?.top,a[L+1]?.top),s=E(a[L]?.svgTop,a[L+1]?.svgTop);n=l(e.bg,t.bg,i),d=l(e.line,t.line,i),p=e.svg+(t.svg-e.svg)*s,x=(e.fade??0)+((t.fade??0)-(e.fade??0))*i,u=(e.fadeTop??0)+((t.fadeTop??0)-(e.fadeTop??0))*i,f=(e.fadeLeftStart??10)+((t.fadeLeftStart??10)-(e.fadeLeftStart??10))*i,m=(e.fadeLeftEnd??55)+((t.fadeLeftEnd??55)-(e.fadeLeftEnd??55))*i,h=(e.fadeLeftStartMobile??e.fadeLeftStart??10)+((t.fadeLeftStartMobile??t.fadeLeftStart??10)-(e.fadeLeftStartMobile??e.fadeLeftStart??10))*i,g=(e.fadeLeftEndMobile??e.fadeLeftEnd??55)+((t.fadeLeftEndMobile??t.fadeLeftEnd??55)-(e.fadeLeftEndMobile??e.fadeLeftEnd??55))*i,v=(i<.5?e.fadeDirection:t.fadeDirection)??"horizontal",b=(i<.5?e.fadeDirectionMobile??e.fadeDirection:t.fadeDirectionMobile??t.fadeDirection)??"horizontal"}let N=e=>e>=0&&e<r.length-1&&((r[e].svg??0)>.01||(r[e+1].svg??0)>.01),k=L,S=L;for(;k>0&&N(k-1);)k--;for(;S<r.length-2&&N(S+1);)S++;let _=a[k]?.top??0,R=a[S+1]?.top??_+w,$=(.5-Math.max(0,Math.min(1,R>_?(t-_)/(R-_):0)))*300;y.style.setProperty("--bg-color",n),y.style.setProperty("--svg-opacity",String(p)),y.style.setProperty("--topo-color",d),y.style.setProperty("--topo-y",`${$}px`),y.style.setProperty("--fade-opacity",String(x)),y.style.setProperty("--fade-top-opacity",String(u)),y.style.setProperty("--fade-left-start",`${f}%`),y.style.setProperty("--fade-left-end",`${m}%`),y.style.setProperty("--fade-left-start-mobile",`${h}%`),y.style.setProperty("--fade-left-end-mobile",`${g}%`),y.style.setProperty("--fade-left-gradient-direction",i(v)),y.style.setProperty("--fade-left-gradient-direction-mobile",i(b))});let p=e[0];return(0,t.jsxs)("div",{ref:o,"aria-hidden":!0,className:"fixed inset-0 -z-10 pointer-events-none",style:{"--bg-color":p.bg,"--svg-opacity":String(p.svg),"--topo-color":p.line,"--topo-y":"0px","--fade-opacity":"0","--fade-top-opacity":"0","--fade-left-start":`${p.fadeLeftStart??10}%`,"--fade-left-end":`${p.fadeLeftEnd??55}%`,"--fade-left-start-mobile":`${p.fadeLeftStartMobile??p.fadeLeftStart??10}%`,"--fade-left-end-mobile":`${p.fadeLeftEndMobile??p.fadeLeftEnd??55}%`,"--fade-left-gradient-direction":i(p.fadeDirection??"horizontal"),"--fade-left-gradient-direction-mobile":i(p.fadeDirectionMobile??p.fadeDirection??"horizontal")},children:[(0,t.jsx)("div",{className:"absolute left-0 right-0",style:{to
1p:"-200px",height:"calc(100% + 400px)",backgroundColor:"var(--bg-color)"}}),(0,t.jsx)("div",{className:"absolute left-0 right-0 [mask-image:url(/images/topo-desktop-vector-new.svg)] [mask-size:cover] [mask-position:center] [mask-repeat:no-repeat] [-webkit-mask-image:url(/images/topo-desktop-vector-new.svg)] [-webkit-mask-size:cover] [-webkit-mask-position:center] [-webkit-mask-repeat:no-repeat]",style:{top:"-170px",height:"calc(100% + 340px)",backgroundColor:"var(--topo-color)",opacity:"var(--svg-opacity)",transform:"translateY(var(--topo-y))",willChange:"transform"}}),(0,t.jsx)("div",{className:"absolute left-0 right-0 hidden min-[1024px]:block",style:{top:"-170px",height:"calc(100% + 340px)",background:"linear-gradient(var(--fade-left-gradient-direction), var(--bg-color) 0%, var(--bg-color) var(--fade-left-start), transparent var(--fade-left-end), transparent 100%)"}}),(0,t.jsx)("div",{className:"absolute left-0 right-0 min-[1024px]:hidden",style:{top:"-170px",height:"calc(100% + 340px)",background:"linear-gradient(var(--fade-left-gradient-direction-mobile), var(--bg-color) 0%, var(--bg-color) var(--fade-left-start-mobile), transparent var(--fade-left-end-mobile), transparent 100%)"}}),(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to bottom, transparent 45%, var(--bg-color) 75%)",opacity:"var(--fade-opacity)"}}),(0,t.jsx)("div",{className:"absolute inset-0 min-[1024px]:hidden",style:{background:"linear-gradient(to bottom, var(--bg-color) 10%, transparent 30%)",opacity:"var(--fade-top-opacity)"}})]})}e.s(["HOMEPAGE_STOPS",0,n,"ScrollBackground",()=>o])},92924,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function a({videoUrl:e,poster:a}){let i=(0,r.useRef)(null),[n,s]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let e=i.current;if(!e)return;window.matchMedia("(prefers-reduced-motion: reduce)").matches&&e.pause();let t=()=>s(!e.paused);return e.addEventListener("play",t),e.addEventListener("pause",t),()=>{e.removeEventListener("play",t),e.removeEventListener("pause",t)}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("video",{ref:i,className:"absolute inset-0 h-full w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,poster:a,"aria-hidden":"true",tabIndex:-1,children:(0,t.jsx)("source",{src:e})}),(0,t.jsx)("button",{type:"button",onClick:()=>{let e=i.current;e&&(e.paused?e.play():e.pause())},"aria-label":n?"Pause background video":"Play background video",className:"absolute bottom-[12px] right-[12px] z-[3] flex h-[40px] w-[40px] items-center justify-center rounded-full bg-white/90 text-[#003b49] shadow-md opacity-0 transition-[opacity,background-color] duration-200 group-hover:opacity-100 focus-visible:opacity-100 [@media(hover:none)]:opacity-100 hover:bg-white",children:n?(0,t.jsxs)("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"currentColor","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"1",y:"1",width:"4",height:"14",rx:"1"}),(0,t.jsx)("rect",{x:"9",y:"1",width:"4",height:"14",rx:"1"})]}):(0,t.jsx)("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M2 1.5v13l11-6.5L2 1.5Z"})})})]})}e.s(["HeroBackgroundVideo",()=>a])},62364,e=>{"use strict";e.i(47167);var t={d:(e,r)=>{for(var a in r)t.o(r,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};t.d(r,{A:()=>c});let a="2.0.0",i={author:"authors",category:"categories",content:"content",feed:"feeds",page:"pages",post:"posts",tag:"tags"};function n(e,t){let{onError:r,onRequest:a,onResponse:i,...n}=t.config,{auth_token:s,test:l,preview:o,...c}=t.params;r&&r(e,{options:n,params:c,type:t.type})}function s(e,t,r){let a={auth_token:t};return r.testMode&&(a.test=1,a.preview=1),{...e,...a}}function l(e,t){let r=`https://api.buttercms.com/v2/${i[e]}/`,{abortOnTimeout:l,applyRequestUrlForErrorMessages:o,cancelRequest:c,cleanup:p,determineFetchError:d,signal:x}=function(e){let t=new AbortController,r="";function a(e){return`${r}: ${e}`}function i(){t=null}return{abortOnTimeout:function(e){t.abort(a(`Request timed out after ${e}ms.`))},applyRequestUrlForErrorMessages:function(t){r=`${e} (${t})`},cancelRequest:function(){t.abort(a("Request cancelled"))},cleanup:i,controller:t,determineFetchError:function(e,r){let n=t&&t.signal.reason&&t.signal.aborted,s="TimeoutError"===e.name;return n?t.signal.reason:s?a(`Request timed out after ${r}ms.`):(i(),e)},signal:t.signal}}(e.replace(e[0],e[0].toUpperCase()));async function u(i=r,f={}){let{apiToken:m,...h}=t,g=new Headers({"Content-Type":"application/json","X-Butter-Client":`JS/${a}`});"u"<typeof window&&g.append("Accept-Encoding","gzip"),o(i);
1let{config:v,headers:b,params:y}=await async function(e,t,r){let{onError:a,onRequest:i,onResponse:n,...l}=r.config;if(i){let{headers:o,options:c,params:p}=await i(e,{cancelRequest:r.cancelRequest,headers:r.headers,options:l,params:r.params,type:r.type});return{config:{...c,onError:a,onRequest:i,onResponse:n},headers:o,params:s(p,t,c)}}return{...r,params:s(r.params,t,l)}}(i,m,{cancelRequest:c,config:h,headers:g,params:f,type:e});try{let t,r=AbortSignal.timeout?AbortSignal.timeout(v.timeout):t=setTimeout(()=>l(v.timeout),v.timeout),a=await fetch(`${i}?${new URLSearchParams(y)}`,{cache:v.cache,method:"GET",headers:b,signal:AbortSignal.timeout?AbortSignal.any([x,r]):x});if(!AbortSignal.timeout&&t&&clearTimeout(t),p(),200!==a.status)throw{response:a,config:v,params:y};return await async function(e,t){let{onError:r,onRequest:a,onResponse:i,...n}=t.config,{auth_token:s,test:l,preview:o,...c}=t.params;if(i){let r=e.clone();await i(r,{options:n,params:c,type:t.type})}return{data:await e.json(),headers:Object.fromEntries(e.headers.entries()),status:e.status,statusText:e.statusText,config:{url:e.url,method:"get",headers:Object.fromEntries(t.requestHeaders.entries()),transformRequest:a?[a]:[],transformResponse:i?[i]:[],timeout:t.config.timeout}}}(a,{config:v,params:y,type:e,requestHeaders:g})}catch(t){if(t.response){let r,a=await t.response.json(),i=Object.fromEntries(Object.entries(t.params).filter(([e])=>"auth_token"!==e)),s=new URL(t.response.url);s.searchParams.delete("auth_token");let l={data:a,headers:t.response.headers,status:t.response.status,statusText:t.response.statusText,config:t.config,params:i,type:e,url:s};return n(a,l),Promise.reject(Error(`${(r=Object.keys(a)).length>1?`Errors caught in [${r.join(", ")}]: see cause for details`:`[${r[0]}]: ${a[r[0]]}`} (${t.response.status})`,{cause:l}))}{let r=d(t,v.timeout);return n(r,{config:v,params:y,type:e}),p(),Promise.reject(Error(r))}}}return{cancelRequest:c,list:async function(e={}){return await u(r,e)},retrieve:async function(e,t){return await u(`${r}${e}/`,t)},search:async function(e="",t={}){return t.query=e,await u(`${r}search/`,t)}}}let o={Author:function(e={}){let{cancelRequest:t,list:r,retrieve:a}=l("author",e);return{cancelRequest:t,list:r,retrieve:a}},Category:function(e={}){let{cancelRequest:t,list:r,retrieve:a}=l("category",e);return{cancelRequest:t,list:r,retrieve:a}},Content:function(e={}){let{cancelRequest:t,retrieve:r}=l("content",e);return{cancelRequest:t,retrieve:r}},Feed:function(e={}){let{cancelRequest:t,retrieve:r}=l("feed",e);return{cancelRequest:t,retrieve:r}},Page:function(e={}){let{cancelRequest:t,retrieve:r,search:a}=l("page",e);return{cancelRequest:t,list:async(e,t)=>await r(e,t),retrieve:async(e,t,a)=>await r(`${e}/${t}`,a),search:a}},Post:function(e={}){let{cancelRequest:t,list:r,retrieve:a,search:i}=l("post",e);return{cancelRequest:t,list:r,retrieve:a,search:i}},Tag:function(e={}){let{cancelRequest:t,list:r,retrieve:a}=l("tag",e);return{cancelRequest:t,list:r,retrieve:a}}};function c(e,t={}){if(!e)throw"ButterCMS API token not set";return new p(e,t)}function p(e,t){var r,i;let{cache:n="default",onError:s=null,onRequest:l=null,onResponse:c=null,testMode:p=!1,timeout:d=3e3}=t;return{version:a,...(r=o,i={apiToken:e,cache:n,onError:s,onRequest:l,onResponse:c,testMode:p,timeout:d},Object.keys(r).reduce((e,t)=>({...e,[t.toLocaleLowerCase()]:r[t](i)}),{}))}}let d=(0,r.A)("0ee6181bd5791e097189d5b48de320fe69584aeb");e.s(["butterClient",0,d],62364)},36763,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(22016),i=e.i(57688),n=e.i(62364),s=e.i(61238),l=e.i(46696),o=e.i(19455);function c(e){return e.toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]+/g," ").trim()}let p=new Map(e.i(30181).NAV_ITEMS.map(e=>[c(e.label),e.href]));function d({className:e="",topMarginClassName:d="mt-[155px] max-[666px]:mt-[185px]"}){let[x,u]=(0,r.useState)({fields:{}}),[f,m]=(0,r.useState)(""),[h,g]=(0,r.useState)(""),[v,b]=(0,r.useState)(!1);async function y(){if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(f))return void g("Your email address is required.");g(""),b(!0);try{await (0,s.signupNewsletter)({email:f}
1),m(""),l.toast.success("Thank you for signing up!")}catch{l.toast.error("Sorry, we couldn't sign you up. Please try again.")}finally{b(!1)}}(0,r.useEffect)(()=>{n.butterClient.page.retrieve("*","main-footer-menu-widget-redesigned",{preview:Number("0")}).then(e=>{u({fields:e.data.data.fields})}).catch(console.error)},[]);let w=[{title:x.fields.title_1,links:x.fields.column_1},{title:x.fields.title_2,links:x.fields.column_2},{title:x.fields.title_3,links:x.fields.column_3},{title:x.fields.title_4,links:x.fields.column_4},{title:x.fields.title_5,links:x.fields.column_5}];return(0,t.jsxs)("footer",{"aria-label":"site footer",id:"site-footer",className:`${d} relative ${e}`,children:[(0,t.jsxs)("div",{className:"min-[1024px]:shadow-[rgba(0,0,0,0.15)_1px_-1px_10px_6px] flex flex-col min-[1024px]:flex-row",children:[(0,t.jsxs)("div",{className:"bg-[#05c3dd] overflow-visible min-[1024px]:w-7/12 flex flex-col gap-[60px] min-[667px]:gap-[40px] min-[1024px]:gap-[40px] min-[667px]:flex-row h-[520px] min-[440px]:h-[595px] min-[560px]:h-[670px] min-[667px]:h-[240px] min-[820px]:h-[260px] min-[1024px]:h-auto min-[1024px]:min-h-[310px] min-[667px]:px-[80px] min-[1024px]:px-[100px]",children:[(0,t.jsx)("div",{className:"flex-none max-[667px]:pl-[80px] w-[65%] min-[667px]:w-[165px] min-[820px]:w-[190px] min-[1024px]:w-[200px] min-[1440px]:w-[210px] flex items-end justify-center min-[667px]:justify-start overflow-visible",children:(0,t.jsx)("div",{className:"relative z-10 -rotate-[9deg]",children:(0,t.jsx)("img",{src:"https://alabama-travel.s3.us-east-1.amazonaws.com/assets/FC-avg2026_3198557096673735808.jpg",alt:"",className:"w-full mt-[-45px] min-[667px]:mb-[35%] min-[820px]:mb-[35%] min-[1024px]:mb-[45%] min-[1440px]:mb-[40%] shadow-[5px_5px_8px_0px_rgba(0,0,0,0.62)]",loading:"lazy"})})}),(0,t.jsx)("div",{className:"px-[20px] min-[667px]:px-0 min-[1024px]:px-[24px] flex flex-col justify-center max-[666px]:pb-[30px] min-[667px]:py-[30px] text-left",children:(0,t.jsxs)("div",{className:"flex flex-col gap-[16px] max-w-[450px]",children:[(0,t.jsx)("div",{className:"text-[#003b49] font-[MrEavesXLSanOT] font-[800] text-[38px] min-[1024px]:text-[40px] leading-[0.95]",children:"Get Your FREE Guide"}),(0,t.jsxs)("div",{className:"text-[#003b49] font-[MrEavesXLSanOT] font-medium text-[22px] leading-[1.2]",children:["Everything Alabama has to offer â",(0,t.jsx)("br",{}),"all in one easy place!"]}),(0,t.jsxs)("div",{className:"flex items-center gap-[40px] mt-[10px] max-[666px]:mt-[30px]",children:[(0,t.jsx)(o.Button,{variant:"navy",size:"pill",href:"/resources/travel-guides",id:"footer-order-guide",children:"Order now"}),(0,t.jsxs)(a.default,{href:"/online-vacation-guide",target:"_blank",rel:"noopener noreferrer",id:"footer-view-guide",className:"text-[#003b49] font-[MrEavesXLSanOT] font-bold text-[18px] leading-[1.3] no-underline flex items-center gap-[6px] hover:text-black whitespace-nowrap",children:["View online",(0,t.jsx)("span",{"aria-hidden":"true",className:"font-[MrEavesXLSanOT] font-medium text-[26px] leading-[22px]",children:"âº"})]})]})]})})]}),(0,t.jsx)("div",{className:"bg-[#003b49] min-[1024px]:w-5/12 px-[20px] min-[667px]:px-[60px] flex flex-col justify-center py-[40px] text-left",children:(0,t.jsxs)("form",{className:"flex flex-col",onSubmit:e=>{e.preventDefault(),y()},children:[(0,t.jsxs)("p",{className:"text-white font-[MrEavesXLSanOT] font-medium text-[24px] leading-[1.1] mb-[12px]",children:["Want trip ideas and inspiration for your Alabama vacation?"," ",(0,t.jsx)("br",{}),(0,t.jsx)("strong",{className:"block pt-[16px] max-[1023px]:mt-[24px] text-white font-[MrEavesXLSanOT] text-[20px] font-[700] leading-[120%]",children:"Sign up for our newsletter."})]}),(0,t.jsxs)("div",{className:"mb-[24px]",children:[(0,t.jsx)("label",{htmlFor:"footer-email",className:"sr-only",children:"Email Address"}),(0,t.jsx)("input",{id:"footer-email",name:"email",type:"email",placeholder:"Email address",suppressHydrationWarning:!0,value:f,onChange:e=>{m(e.target.value),g("")},className:"w-full bg-white/60 rounded-[9px] px-[18px] py-[10px] text-[18px] text-[#003b49] font-[MrEavesXLSanOT] font-medium outline-none placeholder:text-[#003b49] focus:bg-white/80","aria-label":"Email Address","aria-invalid":!!h,"aria-describedby":h?"footer-email-error":void 0}),(0,t.jsx)("div",{id:"footer-email-error",role:"alert","aria-live":"polite",className:`text-red-300 font-[MrEavesXLSanOT] text-[12px] ${h?"mt-[6px]":""}`,children:h})]}),(0,t.jsx)(o.Button,{type:"submit",variant:"white",size:"pill",id:"footer-email-sign-up",disabled:v,className:"self-start max-[666px]:mt-[20px]",children:v?"Signing upâ¦":"Sign up"})]})})]}),(0,t.jsxs)("div",{className:"bg-[#f2f2ec] px-[20px] min-[1024px]:px-[80px]",children:[(0,t.jsxs)("div",{className:"pt-[34px] pb-[50px] flex flex-col min-[667px]:flex-row min-[667px]:items-center gap-x-[40px] gap-y-[12px]",children:[(0,t.jsx)(i.default,{src:"/images/newsletter/SHA_25_LOGO_Dark Blue_RGB.png",alt:"Sweet Home Alabama",width:285,height:100,className:"w-[180px] min-[1366px]:w-[205px] h-auto"}),x.fields.social&&(0,t.jsx)("ul",{className:"list-none m-0 p-0 flex flex-wrap items-center gap-[12px] self-stretch min-[667px]:items-center max-[666px]:pt-[40px]!",children:x.fields.social.map(e=>(0,t.jsx)("li",{className:"flex",children:(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group relative inline-block focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#003b49] focus-visible:rounded-full","aria-label":e.name,children:(0,t.jsx)("div",{className:"w-[45px] h-[45px] min-[667px]:w-[35px] min-[667px]:h-[35px] bg-[#003b49] rounded-full bg-no-repeat bg-center bg-[length:24px_24px] min-[667px]:bg-[length:18px_18px] transition-[background-color] duration-[350ms] ease-in-out hover:bg-[#003b4999] group-focus-visible:bg-[#003b4999]",style:{backgroundImage:`url('${e.image}')`}})})},e.url))})]}),(0,t.jsx)("nav",{"aria-label":"Footer navigation",children:(0,t.jsx)("div",{className:"pb-[40px] min-[1024px]:pb-[30px] flex flex-col min-[667px]:flex-row min-[667px]:flex-wrap min-[1024px]:flex-nowrap min-[667px]:gap-x-[30px] min-[1024px]:gap-x-[70px]",children:w.map((e,r)=>{let i,n;return e.title&&(0,t.jsxs)("div",{className:"flex flex-col flex-nowrap text-left min-[667px]:min-w-[130px]",children:[(i=p.get(c(e.title)),n="text-[#003b49] font-[MrEavesXLSanOT] font-[800] text-[24px] leading-none mt-[32px] min-[1024px]:mt-0 block",i?(0,t.jsx)(a.default,{href:i,role:"heading","aria-level":3,className:`${n} hover:underline`,children:e.title}):(0,t.jsx)("span",{role:"heading","aria-level":3,className:n,children:e.title})),e.links?.map((e,r)=>
1(0,t.jsx)("a",{href:e.url_link,className:"block mt-[8px] text-[#003b49] font-[MrEavesXLSanOT] font-medium text-[22px] leading-[1.2] cursor-pointer text-left hover:underline",children:e.url_title},r))]},r)})})}),(0,t.jsxs)("div",{className:"flex flex-col min-[667px]:flex-row min-[667px]:items-start gap-x-[40px] gap-y-[20px] pt-[20px] min-[1024px]:pt-[20px] pb-[20px] text-left",children:[(0,t.jsx)("div",{className:"order-first p-0",children:(0,t.jsx)("a",{href:x.fields.visit_usa_link||"https://www.visittheusa.com/state/alabama",rel:"external noopener noreferrer",target:"_blank",children:(0,t.jsx)(i.default,{src:x.fields.visit_usa_logo||"/images/logos/visit-the-usa.png",alt:x.fields.visit_usa_alt||"Visit The USA, opens in a new window",width:560,height:340,className:"w-[150px] h-auto"})})}),(0,t.jsxs)("div",{className:"order-last min-[667px]:w-[280px]",children:[(0,t.jsx)("a",{href:"https://tourism.alabama.gov/",target:"_blank",rel:"noopener noreferrer",title:"Economic Impact Reports, Industry News and Resources",className:"text-[#003b49] font-[MrEavesXLSanOT] font-bold text-[18px] block underline",children:"Alabama Tourism Department"}),(0,t.jsx)("div",{className:"text-[#003b49] font-[MrEavesXLSanOT] font-medium text-[18px] leading-[1.5]",children:"The Official Travel Site of Alabama"}),(0,t.jsxs)("div",{className:"text-[#003b49] font-[MrEavesXLSanOT] font-medium text-[18px] leading-[1.5]",children:[(0,t.jsx)("a",{href:"tel:+18002522262",className:"text-[#003b49] hover:underline",children:"800-ALABAMA"})," or ",(0,t.jsx)("a",{href:"tel:+13342424169",className:"text-[#003b49] hover:underline",children:"334-242-4169"})]}),(0,t.jsx)("a",{href:"https://partners.alabama.travel/",target:"_blank",rel:"noopener noreferrer",className:"text-[#003b49] font-[MrEavesXLSanOT] font-bold text-[18px] block underline mt-[16px]",children:"Submit Your Location or Event"})]})]}),(0,t.jsx)("div",{className:"pt-[8px] pb-[40px] text-left",children:(0,t.jsxs)("p",{className:"text-[#003b49] font-[MrEavesXLSanOT] font-medium text-[14px] leading-[1.5]",suppressHydrationWarning:!0,children:[(0,t.jsxs)("span",{children:["©2001-",new Date().getFullYear()," Alabama Tourism Department"]}),(0,t.jsx)("br",{className:"block min-[667px]:hidden"}),(0,t.jsx)(a.default,{href:"/sitemap",className:"text-[#003b49] hover:underline focus:underline focus-visible:underline mr-[10px] min-[667px]:ml-[10px]",children:"Sitemap"}),(0,t.jsx)(a.default,{href:"/accessibility",className:"text-[#003b49] hover:underline focus:underline focus-visible:underline mr-[10px]",children:"Accessibility Statement"}),(0,t.jsx)("a",{href:"mailto:[email protected]",className:"text-[#003b49] hover:underline focus:underline focus-visible:underline mr-[10px]",children:"Contact Us"}),(0,t.jsx)(a.default,{href:"/privacy-policy",className:"text-[#003b49] hover:underline focus:underline focus-visible:underline",children:"Privacy Policy"})]})})]})]})}e.s(["Footer",()=>d])},30747,e=>{"use strict";e.s(["EASE_OUT",0,"cubic-bezier(0.075, 0.82, 0.165, 1)","PARALLAX_TRAVEL",0,160,"PARALLAX_VELOCITY_SCALE",0,.035,"REVEAL_DISTANCE",0,100,"REVEAL_DISTANCE_SHORT",0,40,"REVEAL_DURATION",0,3600,"REVEAL_DURATION_SHORT",0,900,"STAGGER_STEP",0,80])},17279,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(30747);let i=(0,r.createContext)({trigger:"scroll",baseDelay:0});function n({delay:e=500,children:a}){let n=(0,r.useMemo)(()=>({trigger:"load",baseDelay:e}),[e]);return(0,t.jsx)(i.Provider,{value:n,children:a})}function s({children:e,className:n,style:s,direction:l="up",distance:o=a.REVEAL_DISTANCE,duration:c=a.REVEAL_DURATION,delay:p=0,threshold:d=.25,rootMargin:x="0px 0px -14% 0px",trigger:u}){let f=(0,r.useRef)(null),m=(0,r.useContext)(i),h=u??m.trigger,g="load"===h?m.baseDelay+p:p;return(0,r.useEffect)(()=>{let e=f.current;if(!e||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let t=function(e,t){switch(e){case"up":return`translateY(${t}px)`;case"down":return`translateY(${-t}px)`;case"left":return`translateX(${t}px)`;case"right":return`translateX(${-t}px)`;case"none":return""}}(l,o);function r(){if(!e)return;e.style.willChange="opacity, transform",e.style.transition=`opacity ${c}ms ${a.EASE_OUT} ${g}ms`+(t?`, transform ${c}ms ${a.EASE_OUT} ${g}ms`:""),e.style.opacity="1",t&&(e.style.transform="translate(0, 0)");let r=t=>{"opacity"===t.propertyName&&(e.style.transform="",e.style.transition="",e.style.willChange="",e.removeEventListener("transitionend",r))};e.addEventListener("transitionend",r)}if(e.style.opacity="0",t&&(e.style.transform=t),"load"===h){let e=0,t=requestAnimationFrame(()=>{e=requestAnimationFrame(r)});return()=>{cancelAnimationFrame(t),cancelAnimationFrame(e)}}let i=new IntersectionObserver(([e])=>{e.isIntersecting&&(r(),i.disconnect())},{threshold:d,rootMargin:x});return i.observe(e),()=>i.disconnect()},[l,o,c,g,d,x,h]),(0,t.jsx)("div",{ref:f,className:n,style:s,children:e})}e.s(["Reveal",()=>s,"RevealOnLoad",()=>n])},35737,e=>{"use strict";var t=e.i(43476);function r({icon:e,onClick:r,"aria-label":a,className:i="",style:n,bgColor:s="white",iconColor:l="#003b49",disabled:o=!1}){return(0,t.jsxs)("button",{onClick:r,disabled:o,"aria-label":a,className:`rounded-full flex items-center justify-center cursor-pointer disabled:cursor-default disabled:opacity-40 ${i}`,style:{backgroundColor:s,...n},children:["plus"===e&&(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 17 17",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M9.48077 0.980769V7.51923H16.0192C16.5505 7.51923 17 7.96875 17 8.5C17 9.07212 16.5505 9.48077 16.0192 9.48077H9.48077V16.0192C9.48077 16.5913 9.03125 17 8.5 17C7.92789 17 7.51923 16.5913 7.51923 16.0192V9.48077H0.980769C0.408654 9.48077 0 9.07212 0 8.5C0 7.96875 0.408654 7.51923 0.980769 7.51923H7.51923V0.980769C7.51923 0.449519 7.92789 0 8.5 0C9.03125 0 9.48077 0.449519 9.48077 0.980769Z",fill:l})}),"close"===e&&(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 1L13 13M13 1L1 13",stroke:l,strokeWidth:"2",strokeLinecap:"round"})}
1),"chevron-left"===e&&(0,t.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M7 1L1 7L7 13",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"chevron-right"===e&&(0,t.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 1L7 7L1 13",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})}e.s(["CircleIconButton",()=>r])},75318,e=>{"use strict";var t=e.i(71645),r=e.i(97856),a=e.i(30747);function i(e,i){let n=(0,t.useRef)(null),s=i?.travel??a.PARALLAX_TRAVEL,l=i?.reverse??!1,o=i?.velocityScale??a.PARALLAX_VELOCITY_SCALE;return(0,r.useScrollFrame)(t=>{let r=e.current,a=n.current;if(!r||!a)return;let i=r.offsetHeight-window.innerHeight;if(i<=0)return;let c=Math.max(0,Math.min(1,-r.getBoundingClientRect().top/i)),p=l?.5-c:c-.5;if(o>0){let e=Math.min(Math.abs(t.velocity)/40,1);a.style.transform=`translateY(${p*s}px) scale(${1+e*o})`}else a.style.transform=`translateY(${p*s}px)`}),n}e.s(["useParallax",()=>i])},9501,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(19455),i=e.i(75318),n=e.i(97856);let s=[0,1];function l({cta_background:e,cta_header:l,cta_text:o,cta_button:c,cta_link:p,cta_image:d,bareBackgroun
1d:x=!1,bgColor:u="#1bc88a",topo:f=!1,topoColor:m="#7CE0D3",desktopWrapperHeight:h="160vh",tabletWrapperHeight:g="135vh",desktopPanelHeightVh:v=100,textColor:b="#003b49",externalArrow:y=!1}){let[w,j]=(0,r.useState)(!1),[E,L]=(0,r.useState)("30%"),[N,k]=(0,r.useState)(0),[S,_]=(0,r.useState)(0),[R,$]=(0,r.useState)(0),[M,A]=(0,r.useState)(null),[T,C]=(0,r.useState)(null),F=(0,r.useRef)(null),O=(0,r.useRef)(null),P=(0,i.useParallax)(F,{travel:160,reverse:!0,velocityScale:0}),q=(0,r.useRef)(null),z=(0,r.useRef)(null),D=(0,r.useRef)({top:72,right:0,bottom:72,left:400,radius:12});(0,r.useEffect)(()=>{let e=()=>{let e=document.getElementById("site-header");$(e?.offsetHeight??0)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,r.useEffect)(()=>{let e=window.matchMedia("(min-width: 1025px)");j(e.matches);let t=e=>j(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,r.useEffect)(()=>{let e=()=>{let e=window.innerWidth,t=window.innerHeight,r=O.current?.offsetHeight??(w?t*v/100:t),a=r-R;if(w){let t=e>=1600,r=t?40:30,i=r/100*e,n=(t?15:5.5)/100*e,s=Math.max(0,(a-(e-i-n)/1.66)/2);D.current={top:s+R,right:n,bottom:s,left:i,radius:12},L(`${r}%`),k(s+R),_(s)}else if(e<768){let t=e<667?520:580,a=.48*t,i=Math.max(20,(r-t)/2);D.current={top:i,right:20,bottom:r-i-a,left:20,radius:20},A(i+a+20),C(t-a-20)}else D.current={top:20,right:20,bottom:.52*r,left:20,radius:20},A(null),C(null)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[R,w,v]),function({wrapperRef:e,panelRef:t,onProgress:a}){let i=(0,r.useRef)(a);(0,r.useEffect)(()=>{i.current=a}),(0,r.useEffect)(()=>{window.matchMedia("(prefers-reduced-motion: reduce)").matches&&i.current(1)}),(0,n.useScrollFrame)(()=>{let r=e.current;if(!r)return;let a=t?.current?.offsetHeight??window.innerHeight,n=r.offsetHeight-a;if(n<=0)return;let s=Math.max(0,Math.min(1,-r.getBoundingClientRect().top/n));i.current(s)})}({wrapperRef:F,panelRef:O,onProgress:e=>{let t=q.current,r=F.current;if(t&&r){let e=window.innerHeight,a=r.getBoundingClientRect().top;t.style.opacity=String(Math.max(0,Math.min(1,(e-a)/(.5*e))))}let a=z.current;if(a&&d){let t=function(e,t,r){return r===t?+(e>=r):Math.max(0,Math.min(1,(e-t)/(r-t)))}(e,...s),r=D.current;a.style.top=`${0+(r.top-0)*t}px`,a.style.right=`${0+(r.right-0)*t}px`,a.style.bottom=`${0+(r.bottom-0)*t}px`,a.style.left=`${0+(r.left-0)*t}px`,a.style.borderRadius=`${0+(r.radius-0)*t}px`}}});let B=(0,t.jsxs)("div",{className:"flex flex-col items-start gap-[20px] min-[1025px]:gap-[32px]",children:[l&&(0,t.jsx)("h2",{className:"font-[MrEavesXLSanOT] font-[800] text-left text-[36px] min-[1025px]:text-[46px] leading-[1.05] m-0",style:{color:b},children:l}),o&&(0,t.jsx)("p",{className:"body-100 text-left m-0",style:{color:b},children:o}),c&&(0,t.jsxs)(a.Button,{href:p??"#",variant:"navy",target:y?"_blank":void 0,rel:y?"noopener noreferrer":void 0,className:`font-[400] text-[18px] py-[10px] px-[24px] ${y?"gap-[8px]":""}`,children:[c,y&&(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"size-[18px]",children:[(0,t.jsx)("path",{d:"M7 17L17 7"}),(0,t.jsx)("path",{d:"M7 7h10v10"})]})]})]});return(0,t.jsx)("section",{"aria-label":l??"Explore Alabama","data-snap":!0,children:(0,t.jsx)("div",{ref:F,className:"relative",style:{height:w?h:g},children:(0,t.jsxs)("div",{ref:O,className:"sticky overflow-hidden",style:{top:0,height:w?`${v}vh`:"min(1040px, 100dvh)"},children:[(0,t.jsxs)("div",{className:"absolute inset-0 z-[1] overflow-hidden",style:x?void 0:{backgroundColor:u},children:[!x&&f&&(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 pointer-events-none [mask-image:url(/images/topo-desktop-vector-new.svg)] [mask-size:cover] [mask-position:center] [mask-repeat:no-repeat] [-webkit-mask-image:url(/images/topo-desktop-vector-new.svg)] [-webkit-mask-size:cover] [-webkit-mask-position:center] [-webkit-mask-repeat:no-repeat]",style:{background:`linear-gradient(to right, transparent 0%, ${m} 100%)`,opacity:.5}}),!x&&e&&(0,t.jsxs)("div",{ref:P,className:"absolute inset-0",children:[(0,t.jsx)("img",{loading:"lazy",src:e,alt:"","aria-hidden":"true",className:"min-[1025px]:hidden absolute object-cover",style:{to
1p:"50%",left:"50%",width:"100vmax",height:"100vmax",transform:"translate(-50%, -50%) rotate(-90deg)"}}),(0,t.jsx)("img",{loading:"lazy",src:e,alt:"","aria-hidden":"true",className:"hidden min-[1025px]:block absolute left-0 w-full object-cover object-right",style:{top:"-15%",height:"130%"}})]})]}),w&&(0,t.jsx)("div",{className:"flex absolute left-0 z-[2] items-center pl-[80px] min-[1600px]:pl-[15%] pr-[24px]",style:{top:N,bottom:S,width:E},children:B}),!w&&(0,t.jsx)("div",{className:`absolute left-0 right-0 z-[2] flex ${null!==M?"items-start px-[20px]":"items-center bottom-0 px-[40px]"}`,style:null!==M?{top:`${M}px`,height:`${T}px`}:{height:"48%"},children:B}),d&&(0,t.jsx)("div",{ref:z,className:"absolute z-[3] overflow-hidden",style:{inset:0,borderRadius:0},children:(0,t.jsx)("img",{loading:"lazy",ref:q,src:d,alt:l??"",className:"w-full h-full object-cover object-top",style:{opacity:1}})})]})})})}e.s(["ScrollingBackgroundCta",()=>l],9501)},48101,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(57688),i=e.i(19455),n=e.i(17279);
1function s({cards:e,bareBackground:s=!1,buttonTextClassName:l="text-[16px] min-[667px]:text-[18px]",topPaddingClassName:o="pt-[40px] min-[1024px]:pt-[60px]",bottomPaddingClassName:c="pb-[40px] min-[1024px]:pb-[60px]"}){let p=(e??[]).filter(e=>e&&(e.title||e.text||e.image||e.button_text)),d=(0,r.useRef)(null),[x,u]=(0,r.useState)(0);function f(){let e=d.current;if(!e)return;let t=e.scrollLeft+e.clientWidth/2,r=e.children,a=0,i=1/0;for(let e=0;e<r.length;e++){let n=r[e],s=Math.abs(n.offsetLeft+n.offsetWidth/2-t);s<i&&(i=s,a=e)}u(a)}if((0,r.useEffect)(()=>{let e=d.current;if(!e)return;e.addEventListener("scroll",f,{passive:!0});let t=new ResizeObserver(f);return t.observe(e),()=>{e.removeEventListener("scroll",f),t.disconnect()}},[p]),0===p.length)return null;let m=p.length>1;return(0,t.jsxs)("section",{"aria-label":"Promotions","data-snap":!0,className:`${s?"":"bg-white"} overflow-hidden ${o} ${c}`,children:[(0,t.jsx)(n.Reveal,{children:(0,t.jsx)("div",{ref:d,className:"flex gap-[24px] overflow-x-auto scroll-smooth items-stretch pl-[20px] min-[1024px]:pl-[80px] min-[1600px]:pl-[15%] pr-[20px] min-[1024px]:pr-[80px] min-[1600px]:pr-[15%]",style:{scrollbarWidth:"none"},children:p.map((e,r)=>(0,t.jsx)("div",{className:"flex-none w-full",children:(0,t.jsxs)("div",{className:"h-full rounded-[24px] overflow-hidden flex flex-col min-[1024px]:flex-row min-[1024px]:items-center gap-[24px] min-[1024px]:gap-[40px] p-[30px_30px_70px_30px] min-[1024px]:p-[80px]",style:{backgroundColor:e.background_color||"#FF7424"},children:[(0,t.jsx)("div",{className:"order-1 min-[1024px]:order-2 min-[1024px]:flex-[5] w-full",children:(0,t.jsx)("div",{className:"relative w-full aspect-[16/9] rounded-[16px] overflow-hidden bg-[#8a8a8a]",children:e.image&&(0,t.jsx)(a.default,{src:e.image,alt:e.title??"",fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"object-cover"})})}),(0,t.jsxs)("div",{className:"order-2 min-[1024px]:order-1 min-[1024px]:flex-[3] flex flex-col items-start gap-[16px] min-[1024px]:gap-[20px]",children:[e.title&&(0,t.jsx)("h3",{className:"font-[MrEavesXLSanOT] text-[#003B49] text-left m-0 min-[1024px]:text-[36px] min-[1024px]:font-[800] min-[1024px]:leading-[97%]",children:e.title}),e.text&&(0,t.jsx)("div",{className:"font-[MrEavesXLSanOT] text-[#003B49] text-left font-[500] text-[18px] min-[1024px]:text-[20px] leading-[1.2] py-[12px] min-[1024px]:py-[20px] [&_p]:m-0 [&_p+p]:mt-[1em] [&_a]:underline [&_strong]:font-[700] [&_em]:italic [&_ul]:list-disc [&_ul]:pl-[1.25em] [&_ul]:my-[0.5em] [&_ol]:list-decimal [&_ol]:pl-[1.25em] [&_ol]:my-[0.5em]",dangerouslySetInnerHTML:{__html:e.text}}),e.button_text&&(0,t.jsx)(i.Button,{href:e.button_link||"#",variant:"navy",className:`${l} py-[10px] px-[20px] min-[667px]:px-[24px] mt-[4px]`,children:e.button_text})]})]})},r))})}),m&&(0,t.jsx)("ol",{className:"flex justify-center list-none p-0 mt-[24px] mb-0","aria-label":"Select a promotion to display",children:p.map((e,r)=>(0,t.jsx)("li",{className:"mx-[6px]",children:(0,t.jsx)("button",{type:"button",onClick:()=>(function(e){let t=d.current;if(!t)return;let r=t.children.length-1,a=0===e?0:e===r?t.scrollWidth-t.clientWidth:t.children[e].offsetLeft;t.scrollTo({left:a,behavior:"smooth"})})(r),"aria-label":`Show promotion ${r+1}`,"aria-current":r===x,className:`w-[14px] h-[14px] rounded-full bg-[#173945] cursor-pointer transition-opacity ${r===x?"opacity-100":"opacity-30"}`})},r))})]})}e.s(["PromotionalCtaCards",()=>s])}]);
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.