PageSourceSearch

https://cravetacoweek.app/assets/QrLandingPage.4cdf664c.js

js cravetacoweek.app collected 2026-09-24 14:31:03 UTC 3,819 bytes, 1 lines download raw bytes

1import{_ as L,b4 as N,bo as P,bj as G,ci as x,aO as B,bP as I,au as o,o as e,c as s,a as n,eG as z,bc as y,bb as r,ba as d,bd as D,b as Q,b5 as S,bg as V,b6 as H,b9 as O,bO as q,bA as R,b7 as $,b8 as E}from"./index.62cc3d9c.js";import{f as F}from"./eventDates.32f7aeea.js";function j(v){const{fetch:c,iosUrl:a,androidUrl:k,isIos:g,isAndroid:b}=v,t=g?"ios":b?"android":"unknown",l=!!a&&(t==="ios"||t==="unknown"),u=!!k&&(t==="android"||t==="unknown");return l||u?{state:"store",showApple:l,showGoogle:u}:{state:c==="ready"||c==="error"?"web-only":"loading",showApple:!1,showGoogle:!1}}function M(v){return[`Browse the full lineup of ${(v.foodNamePlural||"dishes").toLowerCase()}`,"Collect a stamp at every stop","Rate and save your favorites"]}const T=["aria-busy"],J={class:"qr-inner"},K={key:0,class:"qr-skeleton"},W={key:0,class:"mark fw-logo-mount"},X=["src"],Y={key:1,class:"fw-kicker"},Z={class:"fw-title title"},ee={key:2,class:"dates"},ae={key:3,class:"tagline"},te={class:"benefits"},se={key:4,class:"badges","data-testid":"qr-badges"},oe=["href"],ne=["href"],re=N({__name:"QrLandingPage",setup(v){const c=P(),a=G(),k=x();B(()=>{I()&&c.replace({name:"Home"})});const g=o(()=>a.app.iosAppStoreUrl??""),b=o(()=>a.app.androidAppStoreUrl??""),t=o(()=>j({fetch:k.dataFetch,iosUrl:g.value,androidUrl:b.value,isIos:q.is.ios===!0,isAndroid:q.is.android===!0})),l=o(()=>t.value.state==="web-only"),u=o(()=>{const p=a.app.appIcon||a.app.imageUrl||"";return p?/^(?:[a-z][a-z0-9+.-]*:|\/)/i.test(p)?p:`https://cdn.foodweek.app/${p}`:""}),_=o(()=>a.organization.name||""),A=o(()=>a.app.weekName||a.app.name||"Get the app"),f=o(()=>F(a.event.startDate,a.event.endDate)),m=o(()=>a.app.tagline||""),C=o(()=>M({foodNamePlural:a.app.foodNamePlural??""})),h=o(()=>l.value?"Open in your browser":"Continue in your browser");return(p,i)=>{const U=R("router-link");return e(),s("main",{class:"qr-landing","data-testid":"qr-landing","aria-busy":t.value.state==="loading"},[n("div",J,[t.value.state==="loading"?(e(),s("div",K,[...i[0]||(i[0]=[n("p",{class:"sr-only",role:"status"},"Loading\u2026",-1),z('<div class="sk sk-mark" aria-hidden="true" data-v-6f9d7987></div><div class="sk sk-kicker" data-v-6f9d7987></div><div class="sk sk-title" data-v-6f9d7987></div><div class="sk sk-line" data-v-6f9d7987></div><div class="sk sk-cta" data-v-6f9d7987></div>',5)])])):(e(),s(y,{key:1},[u.value?(e(),s("div",W,[n("img",{src:u.value,alt:"","aria-hidden":"true"},null,8,X)])):r("",!0),_.value?(e(),s("p",Y,d(_.value),1)):r("",!0),n("h1",Z,d(A.value),1),f.value?(e(),s("p",ee,d(f.value),1)):r("",!0),m.value?(e(),s("p",ae,d(m.value),1)):r("",!0),n("ul",te,[(e(!0),s(y,null,D(C.value,w=>(e(),s("li",{key:w},[$(E,{name:"check",size:"18px","aria-hidden":"true"}),n("span",null,d(w),1)]))),128))]),t.value.showApple||t.value.showGoogle?(e(),s("div",se,[t.value.showApple?(e(),s("a",{key:0,class:"badge","data-testid":"qr-badge-apple",target:"_blank",rel:"noopener",href:g.value},[...i[1]||(i[1]=[n("img",{class:"badge-apple",src:"/store-badges/app-store-badge.svg",alt:"Download on the App Store"},null,-1)])],8,oe)):r("",!0),t.value.showGoogle?(e(),s("a",{key:1,class:"badge","data-testid":"qr-badge-google",target:"_blank",rel:"noopener",href:b.value},[...i[2]||(i[2]=[n("img",{class:"badge-google",src:"/store-badges/google-play-badge.png",alt:"Get it on Google Play"},null,-1)])],8,ne)):r("",!0)])):r("",!0),n("div",{class:Q(["continue",{"continue--primary":l.value}])},[l.value?(e(),S(V,{key:0,class:"web-cta",unelevated:"",color:"primary",to:{name:"Home"},label:h.value,"data-testid":"qr-web-cta"},null,8,["label"])):(e(),S(U,{key:1,class:"web-link",to:{name:"Home"},"data-testid":"qr-web-link"},{default:H(()=>[O(d(h.value)+" \u2192 ",1)]),_:1}))],2)],64))])],8,T)}}});var de=L(re,[["__scopeId","data-v-6f9d7987"]]);export{de 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.