PageSourceSearch

https://www.eltonjohn.com/_nuxt/DmeaVZhZ.js

js eltonjohn.com collected 2026-10-01 10:33:58 UTC 5,260 bytes, 1 lines download raw bytes

1import{_ as V}from"./BebxN0bC.js";import{f as j,W as L,X as O,Y,Z as J,E as k,$ as G,a0 as M,r as S,a1 as I,i as U,a2 as q,c as v,o as f,q as A,Q as D,R as H,J as Q,e as p,_ as W,b as X,a3 as Z,B as K,a4 as ee,d as x,v as n,j as z,m as te,A as R,O as se,C as oe,S as ae,a5 as ne,a6 as re,a as ie,a7 as le}from"./CcnIdBSx.js";import{_ as ue}from"./CvBdjI3z.js";import{t as ce}from"./BkBlAi77.js";const me=["type","sizes","srcset"],pe=["src","sizes","srcset"],de=j({__name:"NuxtPicture",props:L,emits:["load","error"],setup(E,{emit:y}){const t=E,b=O(),o=y,_=!1,h=Y(),{attrs:d,options:C,modifiers:c}=J(t),s=k(()=>G(t.src)),a=k(()=>["png","webp","gif","svg"].includes(s.value)),r=k(()=>t.legacyFormat?t.legacyFormat:a.value?"png":"jpeg"),m=k(()=>{var w,g;const e=((w=t.format)==null?void 0:w.split(","))||(s.value==="svg"?["svg"]:(g=h.options.format)!=null&&g.length?[...h.options.format]:["webp"]);return e[0]==="svg"?[{src:t.src}]:(e.includes(r.value)&&e.splice(e.indexOf(r.value),1),e.push(r.value),e.map(N=>{const{srcset:T,sizes:$,src:P}=h.getSizes(t.src,{...C.value,sizes:t.sizes||h.options.screens,densities:t.densities,modifiers:{...c.value,format:N}});return{src:P,type:`image/${N}`,sizes:$,srcset:T}}))}),i=k(()=>m.value[m.value.length-1]),l={...t.imgAttrs,"data-nuxt-pic":""};for(const e in b)e in M&&!(e in l)&&(l[e]=b[e]);const u=S(),F=I().isHydrating;return U(()=>{u.value&&(u.value.complete&&F&&(u.value.getAttribute("data-error")?o("error",new Event("error")):o("load",new Event("load"))),u.value.onload=e=>{o("load",e)},u.value.onerror=e=>{o("error",e)},q("nuxt-picture"))}),(e,w)=>(f(),v("picture",null,[(f(!0),v(D,null,H(m.value.slice(0,-1),g=>(f(),v("source",{key:g.src,type:g.type,sizes:g.sizes,srcset:g.srcset},null,8,me))),128)),i.value?(f(),v("img",Q({key:0,ref_key:"imgEl",ref:u},{...p(d),...p(_)?{onerror:"this.setAttribute('data-error', 1)"}:{},...l},{src:i.value.src,sizes:i.value.sizes,srcset:i.value.srcset}),null,16,pe)):A("",!0)]))}}),ge=async E=>{const y={method:"PUT",body:{token:E}};return await $fetch("/api/recaptcha",y)},ve={class:"fybr-splash"},fe={class:"content"},be={class:"fybr-inner"},_e={key:0},he={key:1},ye={__name:"index",setup(E){X(ce({title:"Rocket Club login | Elton John",description:"Login to the Elton John Rocket Club to view exclusive content",og_type:"website",og_site_name:"Elton John"}));const y=Z("ej_mc_user");K();const t=ee.useReCaptcha(),b=S(!1),o=S(null),_=S(null),h=async()=>(await(t==null?void 0:t.recaptchaLoaded()),await(t==null?void 0:t.executeRecaptcha("submitForm"))),d={title:"Rocket Club Exclusive: Live Gallery",introduction:"Sign in below to access photo galleries from each show on Elton’s Farewell Yellow Brick Road tour. View Elton and the band, the FYBR stage, the incredible outfits and try and spot yourself in the crowd!",disclaimer:"If you’re not yet a Rocket Club member, join now for free. As well as the Live Gallery, you’ll get access to exclusive news and competitions, and be the first to know when new tickets go on sale.",notSubscribed:{title:"You don't seem to be subscribed to our newsletter",content:"Please use the link below to sign up and gain access to this area."}},C=async()=>{var m,i,l,u,B,F,e;let c,s;try{c=await h(),s=await ge(c)}catch(w){console.log("ERROR",w)}const{data:a,error:r}=await ie("/api/rocket-club/get",{method:"POST",body:JSON.stringify({id:_.value})},"$iD3hgkqQy3");if(!(s!=null&&s.success))return o.value={title:"Validation Error",content:"There has been a problem submitting the form, please try again later."},!1;if(((m=a.value)==null?void 0:m.message)==="Resource Not Found"){o.value={title:d.notSubscribed.title,content:d.notSubscribed.content};return}if(!((i=a.value)!=null&&i.id)&&((l=a.value)==null?void 0:l.message)!=="Resource Not Found"){o.value={title:(u=a==null?void 0:a.value)==null?void 0:u.statusCode,content:(B=a==null?void 0:a.value)==null?void 0:B.message};return}if(r!=null&&r.value){b.value=!1,o.value=r.value;return}(F=a.value)!=null&&F.id&&(le("login",{rocket_login:"yes"}),o.value=null,b.value=!0,o.value=null,b.value=!0,y.value=(e=a.value)==null?void 0:e.id,z("/tour-gallery"))};return(c,s)=>{const a=V,r=de,m=ue,i=re;return f(),v("div",null,[x(a,{yellow:"",onLogo:s[0]||(s[0]=l=>("navigateTo"in c?c.navigateTo:p(z))("/"))}),n("div",ve,[n("div",fe,[x(m,null,{default:te(()=>[n("div",be,[x(r,{format:"webp",class:"logo",src:"/images/fybr_logo.png",alt:"FYBR"}),p(o)?(f(),v("div",_e,[n("h2",null,R(p(o).title),1),n("p",null,R(p(o).content),1)])):A("",!0),p(o)?A("",!0):(f(),v("div",he,[n("h2",null,R(d.title),1),n("p",null,R(d.introduction),1),n("form",{class:"fybr-login",onSubmit:se(C,["prevent"])},[oe(n("input",{"onUpdate:modelValue":s[1]||(s[1]=l=>
1ae(_)?_.value=l:null),class:"email-input",name:"email",placeholder:"email"},null,512),[[ne,p(_)]]),s[2]||(s[2]=n("button",{class:"button"},"Sign In",-1))],32),n("p",null,R(d.disclaimer),1)])),s[3]||(s[3]=n("div",{class:"join"},[n("a",{class:"button",href:"/rocket-club"}," Join Now ")],-1))])]),_:1})]),x(i,{format:"webp",class:"mobile-bg",src:"/images/fybr_background_small.jpg",alt:"FYBR BG"}),x(i,{format:"webp",class:"desktop-bg",src:"/images/fybr_background_desktop.jpg",alt:"FYBR BG"})])])}}},Ee=W(ye,[["__scopeId","data-v-017a36cf"]]);export{Ee 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.