1import{j as e,r as h}from"./vendor-react-B-kF5cAy.js";import{ad as oe,aY as re,aZ as le,bz as ce,bP as de,s as u,bQ as ue,z as $,J as Y,m as X,aa as me,aw as fe,aE as p,ab as he,r as pe,aF as v,a0 as ge,a1 as xe,a2 as be,b3 as ve,S as G,am as J,bo as we,b0 as ye,bx as je,G as Ne,ax as Ce,aG as Z,bR as ke}from"./index-CzHRsatk.js";import{A as K}from"./workspace-core-DG8pee_8.js";import{L as _e}from"./landing-container-cs2n-PWZ.js";import{a as F}from"./profile-context-N6M3GFSR.js";import{u as R,a as Le}from"./app-i18n-DUL5iWur.js";import{a as Ae}from"./auth-client-CgOwfI-a.js";import{a as Pe}from"./team-display-DNPHnpu8.js";const Ee={en:"EN",es:"ES"},q={en:"English",es:"Español"};function M(t){const s=oe(),i=re({select:a=>a.location}),n=le(i.pathname),c=t.display??"code",o=c==="flags"||c==="text"?"code":c,r=t.showIcon??o==="code",l=o==="name",d=Object.fromEntries(K.map(a=>[a,ce({pathname:n,search:i.search})]));function f(a){const x=d[a];ue(a);const m=window.location.hash;window.location.assign(m?`${x}${m}`:x)}return e.jsxs("div",{className:u("inline-flex h-9 items-center gap-1 rounded-full border p-1",t.tone==="light"?"border-primary-foreground/20":"border-border/70",t.className),"aria-label":"Language switcher",children:[r?e.jsx("span",{"aria-hidden":"true",className:u("inline-flex h-5 w-5 items-center justify-center",l?"ml-1":"ml-0.5",t.tone==="light"?"text-primary-foreground/80":"text-muted-foreground"),children:e.jsx(de,{className:"h-3.5 w-3.5"})}):null,e.jsx("div",{className:u("inline-grid grid-cols-2 gap-0.5",l?"min-w-36":"w-20"),children:K.map(a=>e.jsx("button",{type:"button","aria-pressed":a===s,"aria-label":o==="name"?void 0:q[a],className:u("inline-flex h-7 items-center justify-center rounded-full px-2 font-semibold text-xs leading-none transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60",l?"min-w-16":"min-w-9",a===s?t.tone==="light"?"bg-primary-foreground text-primary":"bg-foreground text-background":t.tone==="light"?"text-primary-foreground/85 hover:bg-primary-foreground/10 hover:text-primary-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground"),onClick:()=>{a!==s&&f(a)},children:o==="name"?q[a]:Ee[a]},a))})]})}const rt="inline-flex h-12 items-center justify-center overflow-hidden rounded-[3.5625rem] bg-primary px-6 text-center font-bold text-sm leading-10 tracking-normal text-white transition-opacity hover:bg-primary hover:text-white hover:opacity-92 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70",lt="inline-flex h-12 items-center justify-center overflow-hidden rounded-[3.5625rem] bg-[linear-gradient(180deg,rgb(255_255_255_/_38%)_0%,rgb(153_153_153_/_30%)_48.558%)] px-6 text-center font-bold text-sm leading-10 tracking-normal text-white transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70";function g(t){return t.toLocaleUpperCase()}const Se="/images/landing/nav/cc-fwc-lockup-white-nav.webp",Te={sm:{lockupHeight:"h-7",cokeHeight:"h-5",fifaHeight:"h-6",gap:"gap-2",divider:"h-3 w-px mx-0.5"},md:{lockupHeight:"h-9",cokeHeight:"h-[28px]",fifaHeight:"h-9",gap:"gap-3",divider:"h-4 w-px mx-0.5"},lg:{lockupHeight:"h-[4.875rem]",cokeHeight:"h-[38px]",fifaHeight:"h-12",gap:"gap-4",divider:"h-5 w-px mx-1"}};function ee({variant:t="light",size:s="md",className:i,decorative:n=!1}){const c=Te[s],o=t==="dark",r="/coca-cola-logo-mono.svg",l="/2026_FIFA_World_Cup_Logo.png";return o?e.jsx("img",{src:Se,width:266,height:144,alt:n?"":"Coca-Cola x FIFA World Cup 2026","aria-hidden":n?"true":void 0,className:u(c.lockupHeight,"w-auto object-contain",i)}):e.jsxs("div",{className:u("flex items-center",c.gap,i),children:[e.jsx("img",{src:r,alt:n?"":"Coca-Cola","aria-hidden":n?"true":void 0,className:u(c.cokeHeight,"w-auto object-contain")}),e.jsx("img",{src:l,alt:n?"":"FIFA World Cup 2026","aria-hidden":n?"true":void 0,className:u(c.fifaHeight,"w-auto object-contain")})]})}const te=h.createContext(null);function ct({children:t}){const[s,i]=h.useState({open:!1}),n=h.useMemo(()=>({state:s,openNotifications:()=>i({open:!0}),closeNotifications:()=>i({open:!1})}),[s]);return e.jsx(te.Provider,{value:n,children:t})}function ze(){const t=h.useContext(te);if(!t)throw new Error("useNotificationDialog must be used within NotificationDialogProvider");return t}function Ie(t,s){const i=new Date(s),n=new Date,c=new Date(n.getFullYear(),n.getMonth(),n.getDate()),o=new Date(i.getFullYear(),i.getMonth(),i.getDate()),r=Math.round((c.getTime()-o.getTime())/(1440*60*1e3));return r===0?V(t).today:r===1?V(t).yesterday:new Intl.DateTimeFormat(t,{month:"short",day:"numeric"}).format(i)}function V(t){return t.startsWith("es")?{today:"Hoy",yesterday:"Ayer"}:{today:"Today",yesterday:"Yesterday"}}function ae(){const t=$(),{hasSession:s}=F(),[i,n]=h.useReducer((o,r)=>r,!1);return h.useEffect(()=>{if(!s){n(!1);return}const o=()=>n(!0);if("requestIdleCallback"in window){const l=window.requestIdleCallback(o,{timeout:2e3});return()=>window.cancelIdleCallback(l)}const r=setTimeout(o,1e3);return()=>clearTimeout(r)},[s]),Y({...t.notification.unreadCount.queryOptions(void 0,{staleTime:3e4,refetchOnWindowFocus:!1,retry:!1}),enabled:i}).data??0}const He=4;function Me({open:t,onClose:s}){const i=X(),n=i.programUiKey==="every-throw",c=$(),o=me(),r=fe(),{messages:l}=R(),{profile:d}=F(),{openNotifications:f}=ze(),a=ae(),x=p("/"),m=p("/profile"),w=p("/settings"),C=p("/about"),{data:_,isError:k,isLoading:N}=Y({...c.notification.list.queryOptions({limit:20}),enabled:t}),j=he(c.notification.markAllRead.mutationOptions({onSuccess:async()=>{await Promise.all([o.invalidateQueries({queryKey:c.notification.list.queryKey()}),o.invalidateQueries({queryKey:c.notification.unreadCount.queryKey()})])}})),b=()=>{a>0&&j.mutate(),s()};if(h.useEffect(()=>{if(!t)return;const S=ie=>{ie.key==="Escape"&&(a>0&&j.mutate(),s())};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[t,a,j.mutate,s]),!t)return null;const y=d?.profile?.username??l.app.userMenu.member,E=d?.team??null,D=E?.imageKey?pe(E.imageKey):null,L=E?Pe(E):y.slice(0,2).toUpperCase(),T=(_?.items??[]).slice(0,He),z=()=>{b(),f()},A=()=>{b(),Ae.signOut({fetchOptions:{onSuccess:async()=>{await we(),r({to:x})}}})},P=e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs(v,{to:m,preload:"intent",className:Oe,onClick:b,children:[e.jsxs(ge,{size:"lg",className:"shrink-0 after:border-white/30",children:[e.jsx(xe,{src:D??void 0,alt:""}),e.jsx(be,{className:"bg-white/15 font-bold text-white text-xs",children:L})]}),e.jsx("span",{className:"min-w-0 flex-1 truncate text-left font-bold text-sm",children:g(y)}),e.jsxs("span",{className:"flex shrink-0 items-center gap-1 text-white/70",children:[e.jsx("span",{className:"font-medium text-xs",children:l.app.accountPanel.viewProfile}),e.jsx(ve,{className:"size-4","aria-hidden":"true"})]})]}),e.jsxs("div",{className:"mt-2 flex items-center justify-between px-1",children:[e.jsx("span",{className:"font-medium text-white/80 text-xs",children:l.app.notifications.title}),a>0?e.jsx("span",{className:"min-w-5 rounded-full bg-white px-1.5 text-center font-bold text-primary text-xs leading-5",children:Math.min(a,99)}):null]}),N?e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx(G,{className:"h-12 w-full rounded-full bg-white/15"}),e.jsx(G,{className:"h-12 w-full rounded-full bg-white/15"})]}):k?e.jsx("p",{className:B,children:l.app.notifications.failed}):T.length===0?e.jsx("p",{className:B,children:l.app.notifications.empty}):e.jsx("ul",{className:"flex flex-col gap-2",children:T.map(S=>e.jsx("li",{children:e.jsx(De,{item:S,onOpen:z})},S.id))}),e.jsx("button",{type:"button",className:Fe,onClick:z,children:g(l.app.accountPanel.seeAll)}),e.jsxs("div",{className:"mt-2 flex items-center justify-center gap-6",children:[e.jsx(v,{to:w,preload:"intent",className:O,onClick:b,children:l.app.userMenu.settings}),e.jsx(v,{to:C,preload:"intent",className:O,onClick:b,children:l.app.nav.about}),e.jsx("button",{type:"button",className:O,onClick:A,children:l.app.userMenu.signOut})]}),e.jsx("div",{className:"flex justify-center pt-1",children:e.jsx(M,{tone:"light",persistPreference:!0,display:"name"})})]});return e.jsxs("div",{className:"fixed inset-0 z-[60] overflow-hidden",role:"dialog","aria-modal":"true","aria-label":l.app.notifications.title,children:[e.jsx("button",{type:"button",tabIndex:-1,
1className:"absolute inset-0 cursor-default bg-black/35 backdrop-blur-sm",onClick:b,"aria-label":l.app.notifications.close}),e.jsxs("div",{"data-app-mobile-navbar-dropdown-mask":"","data-app-navbar-menu-panel":"",className:"absolute inset-x-0 top-0 max-h-full overflow-y-auto bg-primary px-[1.3125rem] pt-[calc(env(safe-area-inset-top)+1.125rem)] pb-16 text-white md:hidden",children:[e.jsxs("div",{className:"relative flex h-9 items-start justify-between",children:[e.jsx("div",{className:"h-9 w-[6.6rem]",children:n?e.jsx(ee,{variant:"dark",size:"md",decorative:!0,className:"h-9 w-auto"}):e.jsx("img",{src:i.assetReferences.logoPath,alt:"","aria-hidden":"true",className:"h-9 max-w-full object-contain"})}),n?e.jsx("img",{src:i.assetReferences.logoPath,alt:"","aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-0 h-9 w-[6.6rem] -translate-x-1/2 object-contain"}):null,e.jsx("button",{type:"button",className:"flex size-8 items-center justify-center text-white",onClick:b,"aria-label":l.app.notifications.close,children:e.jsx(J,{className:"size-4.5","aria-hidden":"true"})})]}),e.jsx("div",{className:"mt-[3.5625rem]",children:P})]}),e.jsx("div",{className:"absolute top-[4.5rem] right-6 hidden w-96 max-w-[calc(100vw-3rem)] rounded-[2rem] bg-primary p-5 text-white shadow-2xl md:block",children:P})]})}function De({item:t,onOpen:s}){const{locale:i,messages:n}=R(),c=t.type==="SUBMISSION_REJECTED",o=t.type==="SUBMISSION_REINSTATED",r=c?n.app.notifications.rejectionTitle:o?n.app.notifications.reinstatementTitle:t.title;return e.jsxs("button",{type:"button",onClick:s,className:"flex h-12 w-full items-center gap-2.5 rounded-full bg-white px-4 text-left outline-none transition-colors hover:bg-white/90 focus-visible:ring-2 focus-visible:ring-white/75",children:[t.isRead?null:e.jsx("span",{className:"size-2 shrink-0 rounded-full bg-primary","aria-hidden":"true"}),e.jsx("span",{className:"min-w-0 flex-1 truncate font-medium text-foreground text-sm",children:r}),e.jsx("time",{dateTime:new Date(t.createdAt).toISOString(),className:"shrink-0 text-foreground-soft text-xs",children:Ie(i,t.createdAt)})]})}const ne="border border-white/25 bg-[linear-gradient(180deg,rgb(255_255_255_/_10%)_0%,rgb(255_255_255_/_20%)_100%)] shadow-[inset_0_1px_0_rgb(255_255_255_/_18%)]",Oe=u(ne,"flex h-14 w-full items-center gap-3 rounded-full px-2 pr-4 text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/75"),Fe=u(ne,"flex h-12 w-full items-center justify-center rounded-full px-4 text-center font-bold text-sm text-white leading-10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/75"),O="rounded-full px-1 py-1 font-medium text-white/70 text-xs transition-colors hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/75",B="rounded-full border border-white/25 px-4 py-3 text-center font-medium text-sm text-white/80",Re="/images/play-challenges/soccer-ball.avif",Ue=96,Ge=24,Ke=8;function qe({isOpen:t,onClick:s,label:i}){return e.jsx("button",{type:"button",className:"inline-flex size-10 items-center justify-center rounded-full text-primary-foreground transition-colors hover:bg-primary-foreground/10",onClick:s,"aria-expanded":t,"aria-label":i,children:t?e.jsx(J,{className:"size-5","aria-hidden":"true"}):e.jsx("img",{src:"/images/landing/nav/burger.svg",alt:"","aria-hidden":"true",className:"h-2 w-[1.3125rem]"})})}const Q="relative flex h-[1.875rem] shrink-0 cursor-pointer items-center justify-center gap-1 rounded-full border border-white/50 px-2 text-white transition-colors hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/75";function Ve({dataEnabled:t=!0,href:s,isAccountOpen:i,onToggleAccount:n,showGoalBall:c=!0}){const{formatNumber:o,messages:r}=R(),l=Ne(),{profile:d,hasSession:f}=F(),a=ae(),[x,m]=h.useState(!1),w=h.useRef(a),C=t?d?.stats.points??0:0,_=o(C),k=Ce(l.score,C),N=`${_} ${c?r.app.leaderboard.goals.toLowerCase():k}`;h.useEffect(()=>{const b=w.current;if(w.current=a,a<=b)return;m(!0);const y=setTimeout(()=>m(!1),1800);return()=>clearTimeout(y)},[a]);const j=e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"min-w-0 font-black text-xs leading-6 tabular-nums",children:_}),c?e.jsx("span",{className:"relative size-3.5 shrink-0 overflow-hidden","aria-hidden":"true",children:e.jsx("img",{src:Re,alt:"",className:"absolute left-1/2 top-1/2 size-[1.375rem] max-w-none -translate-x-1/2 -translate-y-1/2 object-contain"})}):e.jsx("span",{className:"font-semibold text-[0.625rem]","aria-hidden":"true",children:k}),a>0?e.jsxs("span",{className:"-top-1 -right-1 absolute flex size-2.5","aria-hidden":"true",children:[x?e.jsx("span",{className:"absolute inset-0 rounded-full bg-white opacity-75 motion-safe:animate-ping"}):null,e.jsx("span",{className:"relative size-2.5 rounded-full bg-white ring-2 ring-primary"})]}):null]});return!t||!f?e.jsx(v,{to:s,preload:"intent",className:Q,"aria-label":N,children:j}):e.jsx("button",{type:"button",className:u(Q,i&&"bg-white/10"),onClick:n,"aria-expanded":i,"aria-haspopup":"dialog","aria-label":a>0?`${N}, ${a} ${r.app.accountPanel.unread}`:N,children:j})}function W(){return window.scrollY||document.documentElement.scrollTop||0}function Be({disabled:t}){const[s,i]=h.useState(!0),[n,c]=h.useState(t);return n!==t&&(c(t),t&&!s&&i(!0)),h.useEffect(()=>{if(t)return;let o=W(),r=0;const l=m=>{const w=m-o;Math.abs(w)<Ke||(m<=Ge||w<0?i(!0):m>Ue&&i(!1),o=m)},d=m=>{r&&window.cancelAnimationFrame(r),r=window.requestAnimationFrame(()=>{l(m),r=0})},f=()=>{d(W())},a=document.querySelector("main"),x=()=>{d(a?.scrollTop??0)};return window.addEventListener("scroll",f,{passive:!0}),a?.addEventListener("scroll",x,{passive:!0}),()=>{r&&window.cancelAnimationFrame(r),window.removeEventListener("scroll",f),a?.removeEventListener("scroll",x)}},[t]),s}function dt(t){const s=X(),i=ye(),[n,c]=h.useState(!1),[o,r]=h.useState(!1),l=Be({disabled:n||o}),d=Le(),f=p("/"),a=p("/play"),x=p("/profile"),m=p("/about"),w=p("/#prizes"),C=p("/#actions"),_=t.mode==="landing"?t.primaryCtaTo??"/signup?redirect=%2Fplay":"/play",k=t.mode==="landing"?t.primaryCtaDisabled??!1:!1,N=t.mode==="landing"?t.primaryCtaLabel??d.landing.ctaEnter:"",j=p(_),b=t.mode==="app"?t.dataEnabled??!0:!1,y=s.programUiKey==="every-throw",D=je({...i,programUiKey:s.programUiKey}).campaignMark?.src??s.assetReferences.logoPath,L=()=>c(!1),T=()=>r(!1),z=()=>{c(!1),r(P=>!P)};h.useEffect(()=>{if(!(n||o)||t.mode==="landing")return;const P=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=P}},[n,o,t.mode]);const A=e.jsx("div",{className:"bg-primary text-primary-foreground",children:e.jsx(_e,{className:u(t.mode==="landing"?"h-[4.625rem] px-[1.125rem] py-0":"h-16 px-[1.125rem] py-0 sm:px-6",t.mode==="app"&&"md:max-w-none"),children:e.jsxs("div",{className:"relative flex h-full items-center justify-between gap-4",children:[e.jsx(v,{to:t.mode==="app"?a:f,preload:t.mode==="app"?"intent":!1,"aria-label":y?d.landing.nav.tagline:s.headMetadata.title,className:"flex items-center gap-3",onClick:L,children:y?e.jsx(ee,{variant:"dark",size:"md",className:"h-9 w-auto"}):e.jsx("img",{src:D,alt:"","aria-hidden":"true",className:"h-9 max-w-40 object-contain"})}),y&&t.mode==="app"?e.jsx(v,{to:a,preload:"intent","aria-label":d.app.nav.play,className:"absolute left-1/2 flex h-9 -translate-x-1/2 cursor-pointer items-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/75",onClick:L,children:e.jsx("img",{src:s.assetReferences.logoPath,alt:"","aria-hidden":"true",className:"h-9 w-auto select-none"})}):y?e.jsx("img",{src:s.assetReferences.logoPath,alt:"","aria-hidden":"true",className:u("pointer-events-none absolute left-1/2 h-9 w-auto -translate-x-1/2 select-none")}):null,t.mode==="landing"?e.jsx("div",{className:"hidden flex-1 md:block"}):e.jsx("div",{className:"hidden flex-1 md:block"}),e.jsx("div",{className:"flex items-center gap-2",children:t.mode==="landing"?e.jsx(e.Fragment,{children:e.jsx(qe,{isOpen:n,onClick:()=>c(!n),label:d.landing.nav.toggleMenu})}):e.jsxs(e.Fragment,{children:[e.jsx(Ve,{dataEnabled:b,href:x,isAccountOpen:o,onToggleAccount:z,showGoalBall:y}),e.jsx("div",{className:"hidden items-center md:flex",children:e.jsx(M,{tone:"light",persistPreference:!0,display:"code"})})]})})]})})});return t.mode==="app"?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"md:hidden",children:[e.jsx("div",{className:"h-[calc(env(safe-area-inset-top)+64px)]","aria-hidden":"true"}),e.jsx("div",{className:u("fixed inset-x-0 top-0 z-50 pt-[env(safe-area-inset-top)] backdrop-blur-xl transition-transform duration-300 ease-out will-change-transform motion-reduce:transition-none",l?"translate-y-0":"-translate-y-full"),children:A})]}),e.jsx("header",{className:"fixed inset-x-0 top-0 z-50 hidden backdrop-blur-xl md:block",children:A}),e.jsx("div",{className:"hidden h-16 md:block","aria-hidden":"true"}),e.jsx(Me,{open:o,onClose:T})]}):e.jsxs(e.Fragment,{children:[e.jsx("header",{className:u("sticky top-0 z-50 backdrop-blur-xl transition-transform duration-300 ease-out will-change-transform motion-reduce:transition-none md:hidden",l?"translate-y-0":"-translate-y-full"),children:A}),e.jsx("header",{className:"fixed inset-x-0 top-0 z-50 hidden backdrop-blur-xl md:block",children:A}),e.jsx("div",{className:"hidden h-[4.625rem] md:block","aria-hidden":"true"}),n?e.jsxs(e.Fragment,{children:[e.jsx(Qe,{aboutHref:m,aboutLabel:d.landing.nav.about,actionsHref:C,actionsLabel:d.landing.nav.seeActions,ctaDisabled:k,ctaHref:j,ctaLabel:N,navLabel:d.landing.nav.mobileNavigation,onClose:L,prizesHref:w,prizesLabel:d.landing.nav.seePrizes}),e.jsx(We,{aboutHref:m,aboutLabel:d.landing.nav.about,actionsHref:C,actionsLabel:d.landing.nav.seeActions,ctaDisabled:k,ctaHref:j,ctaLabel:N,navLabel:d.landing.nav.primaryNavigation,onClose:L,prizesHref:w,prizesLabel:d.landing.nav.seePrizes})]}):null]})}function Qe({aboutHref:t,aboutLabel:s,actionsHref:i,actionsLabel:n,ctaDisabled:c,
1ctaHref:o,ctaLabel:r,navLabel:l,onClose:d,prizesHref:f,prizesLabel:a}){return e.jsx("div",{className:"fixed inset-x-0 top-[4.625rem] z-40 overflow-hidden overscroll-contain md:hidden",role:"dialog","aria-label":l,children:e.jsx("div",{"data-app-mobile-navbar-dropdown-mask":"","data-app-navbar-menu-panel":"",className:Ye,children:e.jsxs("nav",{"data-app-navbar-menu-nav":"",className:"flex flex-col gap-2","aria-label":l,children:[e.jsx(M,{tone:"light",persistPreference:!0,display:"name",className:"mx-auto mb-2"}),e.jsx(I,{href:f,onClick:d,children:g(a)}),e.jsx(I,{href:i,onClick:d,children:g(n)}),e.jsx(v,{to:t,className:U,onClick:d,children:g(s)}),c?e.jsx("span",{"aria-disabled":"true",className:H,children:g(r)}):e.jsx(v,{to:o,preload:"intent",className:H,onClick:()=>{Z({placement:"nav_mobile",destination:o}),d()},children:g(r)})]})})})}function We({aboutHref:t,aboutLabel:s,actionsHref:i,actionsLabel:n,ctaDisabled:c,ctaHref:o,ctaLabel:r,navLabel:l,onClose:d,prizesHref:f,prizesLabel:a}){return e.jsx("div",{className:"fixed inset-x-0 top-[4.625rem] z-40 hidden overflow-hidden overscroll-contain text-white md:block",role:"dialog","aria-label":l,children:e.jsx("div",{"data-app-mobile-navbar-dropdown-mask":"","data-app-navbar-menu-panel":"",className:Xe,children:e.jsxs("nav",{"data-app-navbar-menu-nav":"",className:"mx-auto flex w-full max-w-[28rem] flex-col gap-3","aria-label":l,children:[e.jsx(M,{tone:"light",persistPreference:!0,display:"name",className:"mx-auto mb-1"}),e.jsx(I,{href:f,onClick:d,children:g(a)}),e.jsx(I,{href:i,onClick:d,children:g(n)}),e.jsx(v,{to:t,className:U,onClick:d,children:g(s)}),c?e.jsx("span",{"aria-disabled":"true",className:H,children:g(r)}):e.jsx(v,{to:o,preload:"intent",className:H,onClick:()=>{Z({placement:"nav_desktop",destination:o}),d()},children:g(r)})]})})})}function I({children:t,href:s,onClick:i}){return e.jsx("a",{href:s,className:U,onClick:i,children:t})}const se="flex h-12 w-full items-center justify-center rounded-full px-4 text-center font-bold text-sm leading-10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/75",$e="border border-white/25 bg-[linear-gradient(180deg,rgb(255_255_255_/_10%)_0%,rgb(255_255_255_/_20%)_100%)] shadow-[inset_0_1px_0_rgb(255_255_255_/_18%)]",Ye="bg-primary px-[1.3125rem] pt-8 pb-16 text-white",Xe="bg-primary px-6 pt-5 pb-16 text-white",U=u(se,$e,"text-white"),H=u(se,"bg-white text-primary"),ut="©2026 The Coca-Cola Company",Je=[{label:"Terms",to:"/terms"},{label:"Privacy",to:"/privacy"},{label:"Prize Draw Terms",to:"/tournament"}];function mt({className:t,linkClassName:s}){const i=ke(),[n,c,o]=Je,r=p(n.to),l=p(c.to),d=p(o.to),f=i?[{label:n.label,to:r},{label:c.label,to:l}]:[{label:n.label,to:r},{label:c.label,to:l},{label:o.label,to:d}];return e.jsx("div",{className:u("flex flex-wrap items-center justify-center gap-x-6 gap-y-2 text-center text-[0.625rem] leading-6",t,i&&"justify-center gap-x-6"),children:f.map(a=>e.jsx(v,{to:a.to,className:s,children:a.label},a.label))})}export{ut as F,mt as L,ct as N,dt as S,g as a,lt as b,Ie as f,rt as l,ze as u};
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.