PageSourceSearch

https://gnomebrewshop.com/_nuxt/CjugmU3r.js

js gnomebrewshop.com collected 2026-09-24 13:26:35 UTC 3,244 bytes, 1 lines download raw bytes

1import{J as N,M as P,O as u,a8 as o,u as T,af as p,a5 as x,a9 as b,r as m,e as D,a3 as a}from"./B-T9DAfz.js";import{q as I,r as E,$ as R,N as B,k as S,z as w}from"./BVZtMBUF.js";import{i as A}from"./BKsqHuL_.js";import{R as F}from"./B7Sp_f31.js";import"./a4Vgqf7U.js";import{g as L}from"./l6zExPio.js";import{g as U}from"./CAtgln8i.js";import{a as z}from"./BEEAafET.js";import"./c5isEfUU.js";import"./C2g_QCx2.js";import"./B6jS68so.js";import"./DrH5C0DV.js";import"./D7Yw0-d9.js";import"./C_oz4PnU.js";import"./CIyJ1zi4.js";const V={key:0,class:"billboard"},W={key:1,class:"billboard"},$={key:2,class:"billboard"},q={key:3,class:"billboard"},M={class:"billboard-imagebox"},O=["src"],J={class:"billboard-textbox"},le=N({__name:"confirmation-[customerID]-[receiptNumber]-[eventToken]",setup(Z){I("Class & Event Registration Confirmation");const d=w(),g=E("registration"),i=m("loading"),s=m(null),l=m(null),n=m(),f=()=>{s.value=null,l.value=null,n.value=void 0},v=t=>{const e=Array.isArray(t)?t[0]:t;if(typeof e!="string"||e.length===0)return null;const r=Number(e);return!Number.isInteger(r)||r<=0?null:r},h=t=>{const e=Array.isArray(t)?t[0]:t;return A(e)?e:null},y=async()=>{i.value="loading",f();const t=v(d.params.customerID),e=v(d.params.receiptNumber),r=h(d.params.eventToken);if(t===null||e===null||r===null){i.value="missing-resource";return}try{const[c,k,C]=await Promise.all([L(t),U(e),z(r)]);s.value=c,l.value=k,n.value=C,i.value="ready"}catch(c){if(f(),c instanceof B){g.info({event:"registration.confirmation.not_found",message:"Event registration confirmation loaded without a required record",other:{eventToken:r,customerID:t,receiptNumber:e}}),i.value="missing-resource";return}g.error({event:"registration.confirmation.load_failed",message:"Event registration confirmation failed to load",...S(c,{eventToken:r,customerID:t,receiptNumber:e})}),i.value="generic-failure"}};P(()=>{y()});const _=D(()=>n.value?Temporal.Instant.from(n.value.dateTime).toZonedDateTimeISO("America/Chicago").toLocaleString("en-US",{month:"long",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit"}):"");return(t,e)=>(a(),u("main",null,[i.value==="loading"?(a(),u("article",V,[...e[0]||(e[0]=[o("div",{class:"billboard-textbox"},[o("h1",null,"Preparing your registration confirmation")],-1)])])):i.value==="missing-resource"?(a(),u("article",W,[...e[1]||(e[1]=[o("div",{class:"billboard-textbox"},[o("h1",null,"Registration Confirmation Not Found"),o("p",null,"We could not find this registration confirmation.")],-1)])])):i.value==="generic-failure"?(a(),u("article",$,[...e[2]||(e[2]=[o("div",{class:"billboard-textbox"},[o("h1",null,"Registration Confirmation Unavailable"),o("p",null,"We could not load this registration confirmation right now. Please try again later.")],-1)])])):s.value&&l.value&&n.value?(a(),u("article",q,[o("div",M,[o("img",{src:`${T(R)}/images/web-content/brewing-beer-in-1-hour/brewing-beer-in-1-hour-class.png`},null,8,O)]),o("div",J,[e[3]||(e[3]=o("h2",null,"Thanks For Registering for:",-1)),o("h1",null,p(n.value?.name),1),o("h2",null,p(_.value),1),s.value&&l.value?(a(),x(F,{key:0,customerProfile:s.value,receipt:l.value},null,8,["customerProfile","receipt"])):b("",!0)])])):b("",!0)]))}});export{le 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.