1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/VisaLoginModal-CdqNIcsZ.js","assets/index-CkBriP6M.js","assets/index-nlMn1iSs.css","assets/useForceMarketLanguage-BAV3owYk.js","assets/VisaMarkOnRule-DmK3jNxw.js","assets/VisaMarkV-UWQW4fDf.js","assets/VisaRule-Bg9VpzEa.js","assets/DisabledCtaHint-fdj9mFlV.js","assets/visa-phone-input-DAhIjcvF.js","assets/visa-phone-input-BeWhaWOu.css","assets/sparkles-cgoaH5jM.js"])))=>i.map(i=>d[i]); 2import{z as g,j as e,aH as E,s as W,t as B,q as F,aI as K,r as n,aJ as U,aK as q,aL as G,E as J,N as k,P as Y,aM as Q,B as c,R as S,aN as X,aO as Z,aP as ee,ac as te}from"./index-CkBriP6M.js";import{S as se}from"./SEO-xkYHg9bo.js";import{N as ae,P as M}from"./Navbar-DFoaCLPU.js";import{F as ie}from"./Footer-DVpGh4qJ.js";import{u as I,a as R,V as re,b as oe}from"./useScrollAnimation-D5TubIxV.js";import{u as ne}from"./useForceMarketLanguage-BAV3owYk.js";import{u as L}from"./content-D9c2Oy28.js";import{V as O}from"./VisaMarkOnRule-DmK3jNxw.js";import{V as _}from"./VisaRule-Bg9VpzEa.js";import{C as le}from"./ConciergeFloatingWidget-DjMoPJ_5.js";import{V as de}from"./heroScrim-O9mqT4MS.js";import{V as ce}from"./VisaMarketSwitcher-CGIubFVy.js";import{u as me}from"./useLookAttribute-8WvOzay3.js";import"./LanguageSelector-0A6ejSsH.js";import"./index-DWifewZb.js";import"./index-7FjDdHmU.js";import"./circle-DcbhssMl.js";import"./globe-CPYqrRFH.js";import"./RegionSelector-b2pNfhVh.js";import"./select-BCnS9a7E.js";import"./chevron-down-DSYh9Az9.js";import"./history-CsequJ6h.js";import"./infinitePrivateFlag-BThhhBQf.js";import"./circle-check-Dp_4bUx4.js";import"./types-BP_40Kad.js";import"./visaProgramTerms-BWFYciFG.js";import"./visa-dining-wordmark-Cp3Vajim.js";import"./VisaMarkV-UWQW4fDf.js";import"./VisaFlag-8XQwAtW6.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"1cb6524"}}catch{}})();try{(function(){var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="b2790fb0-d4f7-42bd-a9b1-9e78a48a2b64",s._sentryDebugIdIdentifier="sentry-dbid-b2790fb0-d4f7-42bd-a9b1-9e78a48a2b64")})()}catch{}const pe=["group relative overflow-hidden text-left","aspect-[4/5] md:aspect-auto","px-8 md:px-10 lg:px-12","flex flex-col justify-end","md:supports-[grid-template-rows:subgrid]:grid","md:supports-[grid-template-rows:subgrid]:grid-rows-subgrid","md:supports-[grid-template-rows:subgrid]:row-span-full","md:supports-[grid-template-rows:subgrid]:justify-normal"].join(" "),m="relative z-10",xe=()=>{const s=L(),a=I(s.length),{ornament:i,look:r}=g();return e.jsx("section",{className:"relative bg-visa-blue","data-testid":"benefits-gallery",children:e.jsx("div",{ref:a,className:"grid grid-cols-1 md:grid-cols-3 md:grid-rows-[1fr_auto_auto_auto] md:min-h-[82vh]",children:s.map(t=>e.jsxs("article",{className:pe,children:[e.jsx("img",{src:t.imageSrc,alt:t.imageAlt,loading:"lazy",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-[1500ms] ease-out group-hover:scale-[1.06]"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-visa-blue via-visa-blue/60 to-visa-blue/10 transition-opacity duration-700 group-hover:opacity-85"}),e.jsx("div",{className:`${m} md:supports-[grid-template-rows:subgrid]:self-end`,children:E(r)&&e.jsx("div",{className:"flex items-center gap-3 mb-5",children:i.showVMark?e.jsx(O,{className:"text-xl w-16 transition-[width] duration-500 group-hover:w-24"}):e.jsx(_,{markSize:"text-xl",className:"w-10 transition-[width] duration-500 group-hover:w-16"})})}),e.jsx("p",{className:`${m} text-[10px] font-visa-dialect tracking-[0.32em] uppercase ${i.eyebrowOnDark} mb-3`,children:t.subtitle}),e.jsx("h3",{className:`${m} text-2xl lg:text-3xl font-visa-dialect ${i.headingWeight} tracking-wide text-visa-ceramic leading-tight mb-4`,children:t.title}),e.jsx("p",{className:`${m} text-[14px] md:text-[15px] leading-[1.6] text-visa-ceramic/80 max-w-[340px] pb-8 md:pb-10 lg:pb-12`,children:t.description})]},t.title))})})},ue=()=>{const s=L(),a=I(s.length),{ornament:i}=g();return e.jsx("section",{className:"bg-white","data-testid":"benefits-cards",children:e.jsx("div",{ref:a,className:"grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-8 px-6 py-16 md:px-12 md:py-24 max-w-[1500px] mx-auto",children:s.map(r=>e.jsxs("article",{className:"group flex flex-col bg-visa-blue p-5 md:p-7",children:[e.jsx("div",{className:"overflow-hidden aspect-[4/3] mb-6",children:e.jsx("img",{src:r.imageSrc,alt:r.imageAlt,loading:"lazy",className:"w-full h-full object-cover transition-transform duration-[1500ms] ease-out group-hover:scale-[1.05]"})}),e.jsx("p",{className:`text-[11px] font-visa-dialect tracking-[0.32em] uppercase leading-[1.4] min-h-[2.8em] md:min-
2h-[5.6em] lg:min-h-[2.8em] ${i.eyebrowOnDark} mb-2.5`,children:r.subtitle}),e.jsx("h3",{className:`text-2xl md:text-3xl font-visa-dialect ${i.headingWeight} tracking-wide text-white leading-tight mb-3`,children:r.title}),e.jsx("p",{className:"text-[14px] md:text-[15px] leading-[1.6] text-white/75",children:r.description})]},r.title))})})},ge=()=>{const s=R(),{ornament:a,copy:i,look:r}=g();return e.jsx("section",{className:"bg-visa-ceramic",children:e.jsxs("div",{ref:s,className:"max-w-3xl mx-auto px-6 py-20 md:py-28 lg:py-32 text-center opacity-0",children:[E(r)&&e.jsx("div",{className:"flex items-center justify-center gap-5 mb-10",children:a.showVMark?e.jsx(O,{align:"center",className:"text-2xl md:text-3xl w-40 md:w-56"}):e.jsx(_,{markSize:"text-2xl md:text-3xl",className:"w-40 md:w-56"})}),e.jsx("p",{className:`font-visa-dialect text-[10px] md:text-[11px] tracking-[0.36em] uppercase ${a.eyebrowOnLight} mb-6`,children:i.interlude.eyebrowLead}),e.jsx("h2",{className:`font-visa-dialect text-3xl md:text-4xl lg:text-5xl ${a.headingWeight} text-visa-blue tracking-wide leading-[1.15] mb-6`,children:i.ui.landing.interludeHeading}),e.jsx("p",{className:`${a.bodyFontClass} text-base md:text-lg text-visa-blue/70 leading-relaxed max-w-xl mx-auto`,children:i.interlude.subhead})]})})},he=S.lazy(()=>ee(()=>import("./VisaLoginModal-CdqNIcsZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]))),p=s=>te.storage.from("media").getPublicUrl(`visa/${s}`).data.publicUrl,fe=p("hero-poster.jpg"),be=p("hero-1080.webm"),ve=p("hero-1080.mp4"),we=p("hero-720.mp4"),T="(max-width: 768px)",je=()=>typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,ye=()=>typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia(T).matches,Xe=()=>{const{market:s}=W(),a=B();F();const i=X(),r=K(),t=n.useMemo(()=>U(s)?q(G(Z[s],i),r):null,[s,i,r]),[h,f]=n.useState(!1),[V,P]=n.useState(je),[b,A]=n.useState(ye),[$,x]=n.useState(!1),{user:v,initialized:C,signOut:z}=J();ne(t==null?void 0:t.code),n.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const l=window.matchMedia("(prefers-reduced-motion: reduce)"),d=window.matchMedia(T),y=u=>{P(u.matches),x(!1)},N=u=>{A(u.matches),x(!1)};return l.addEventListener("change",y),d.addEventListener("change",N),()=>{l.removeEventListener("change",y),d.removeEventListener("change",N)}},[]);const D=R(),w=()=>{f(!0)},H=()=>{f(!1)};if(me(t==null?void 0:t.look),!t)return e.jsx(k,{to:"/visa/welcome",replace:!0});const j=()=>a(`/visa/invitation-onboarding?market=${t.code}`),{landing:o}=t.copy.ui;return C?v&&!h?e.jsx(k,{to:`/visa/welcome/auth?market=${t.code}`,replace:!0}):e.jsxs(e.Fragment,{children:[e.jsx(se,{title:o.seoTitle,description:o.seoDescription,canonicalPath:`/visa/welcome/${t.code}`}),e.jsxs(Q,{config:t,children:[e.jsxs("div",{className:"min-h-screen bg-background","data-look":t.look,children:[e.jsx(ae,{currentType:M.RESTAURANTS,regions:[],showLogout:!0,rightSlot:e.jsx(ce,{current:t.code}),user:v,onLogout:z}),e.jsxs("main",{className:"pt-16",children:[e.jsxs("section",{className:"relative min-h-[85vh] md:min-h-[90vh] flex items-end overflow-hidden bg-visa-blue",children:[e.jsx("img",{src:fe,alt:o.heroImageAlt,fetchPriority:"high",decoding:"async",className:"pointer-events-none absolute inset-0 w-full h-full object-cover"}),!V&&e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata","aria-hidden":"true",tabIndex:-1,onCanPlay:()=>x(!0),className:`pointer-events-none absolute inset-0 w-full h-full object-cover transition-opacity duration-700 ease-out ${$?"opacity-100":"opacity-0"}`,children:b?e.jsx("source",{src:we,type:"video/mp4"}):e.jsxs(e.Fragment,{children:[e.jsx("source",{src:be,type:"video/webm"}),e.jsx("source",{src:ve,type:"video/mp4"})]})},b?"visa-hero-video-mobile":"visa-hero-video-desktop"),e.jsx("div",{"aria-hidden":"true",className:de}),e.jsxs("div",{className:"relative z-10 max-w-6xl mx-auto w-full px-6 pb-16 md:pb-24",children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-visa-dialect font-bold tracking-[0.3em] text-white m-0 mb-4",children:"VISA DINING COLLECTION"}),e.jsx("p",{className:"text-lg md:text-xl text-white/90 mb-2 leading-relaxed max-w-lg",children:t.copy.hero.tagline}),e.jsx("p",{className:"text-base text-white/60 mb-6",children:o.heroKicker}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mb-6",children:[e.jsx(c,{size:"lg",onClick:j,className:"bg-white text-visa-blue hover:bg-white/90 px-6 py-2",children:o.createAccount}),e.jsx(c,{size:"lg",variant:"outline",onClick:w,className:"border-white/30 bg-transparent text-white hover:bg-white/10 px-6 py-2",children:o.signIn})]}),e.jsx(re,{markHeight:"2.4rem",className:"mt-4"})]})]}),e.jsx(ge,{}),t.benefitsLayout==="cards"?e.jsx(ue,{}):e.jsx(xe,{}),e.jsx("section",{className:"py-16 md:py-24 px-6 md:px-4",children:e.jsxs("div",{ref:D,className:"max-w-2xl mx-auto opacity-0",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[e.jsx("span",{"aria-hidden":"true",className:`h-px flex-1 ${t.ornament.accentBarClass}`}),e.jsx("h2",{className:`font-visa-dialect text-[10px] md:text-[11px] font-semibold tracking-[0.36em] uppercase leading-none whitespace-nowrap ${t.ornament.eyebrowOnLight}`,children:o.howItWorksHeading})]}),e.jsx("ol",{className:"space-y-6",children:t.copy.howItWorks.steps.map((l,d)=>e.jsxs("li",{className:"flex items-start gap-4",children:[e.jsx("span",{className:`shrink-0 w-10 md:w-14 text-right font-visa-dialect ${t.ornament.headingWeight} ${t.ornament.leadAccentColor} text-[26px] md:text-[32px] leading-none tabular-nums`,children:String(d+1).padStart(2,"0")}),e.jsx("span",{className:"pt-1.5 text-[15px] leading-[1.6] text-visa-blue/70",children:l})]},l))}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mt-12",children:[e.jsx(c,{size:"lg",onClick:j,className:"bg-visa-blue text-white hover:bg-visa-blue-hover px-6 py-2",children:o.createAccount}),e.jsx(c,{size:"lg",variant:"outline",onClick:w,className:"border-visa-blue/40 bg-transparent text-visa-blue hover:bg-visa-blue/5 px-6 py-2",children:o.signIn})]})]})})]}),e.jsx(oe,{}),e.jsx(ie,{pageType:M.RESTAURANTS,hideExploreNav:!0}),e.jsx(le,{})]}),e.jsx(S.Suspense,{fallback:null,children:e.jsx(he,{enforceMembership:!0,isOpen:h,onClose:H,variant:"light",partner:"visa"})})]})]}):e.jsx(Y,{})};export{Xe as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.