PageSourceSearch

https://asapty.com/_nuxt/BG8B_tEy.js

js asapty.com collected 2026-10-04 15:29:17 UTC 3,004 bytes, 1 lines download raw bytes

1import{_ as V,a as C,r as _,d as f,e as t,u as e,n as F,m as B,g as T,f as m,t as n,w as h,F as E,al as N,k as W,b as d,o as u,h as D}from"./CEV24lwG.js";import{a as I,u as M}from"./CLDVnTZ9.js";import{u as O,e as P,r as U}from"./BscPt1DB.js";const z={class:"events-page"},G={class:"events-page__content"},Q={class:"form-notification__icon"},j={class:"form-notification__title"},A={class:"form-notification__desc"},H={class:"events-page__tag"},R={class:"app-title app-title--centered"},J={class:"events-page__desc"},K={class:"events-page__field"},L="Please enter a valid email address",X={__name:"SlidesEventForm",props:{tag:{type:String,required:!0},title:{type:String,required:!0},description:{type:String,required:!0},webhookUrl:{type:String,required:!0},seo:{type:Object,required:!0}},setup(l){const i=l;I({bodyAttrs:{class:"app-wrapper--events-bg"}}),M({title:()=>i.seo.title,ogTitle:()=>i.seo.ogTitle,description:()=>i.seo.description,ogDescription:()=>i.seo.ogDescription,ogImage:"/images/Slides-OG-1200x630.png"});const p=C({email:""}),o=O({form:{email:{required:U,email:P}}},{form:p}),c=_(!1),s=_(!1),a=_(!1),b=()=>{p.email="",o.value.$reset()},y=()=>{a.value=!1,s.value=!1},v=async()=>{if(o.value.$touch(),!(o.value.$invalid||c.value)){c.value=!0,a.value=!1,s.value=!1;try{await $fetch(i.webhookUrl,{method:"POST",body:{email:p.email.trim()}}),b(),s.value=!0}catch(g){console.error(g),a.value=!0}finally{c.value=!1}}};return(g,r)=>{const k=W,S=d("QBtn"),q=d("q-input"),w=d("q-btn"),$=d("q-form");return u(),f("div",z,[t("div",G,[e(s)||e(a)?(u(),f("div",{key:0,class:F(["form-notification",{"form-notification--success":e(s),"form-notification--error":e(a)}])},[t("div",Q,[m(k,{icon:e(s)?"check-circle":"x-circle",size:"32"},null,8,["icon"])]),t("h3",j,n(e(s)?"Thank you!":"Something went wrong"),1),t("p",A,n(e(s)?"We'll send you the slides after the conference.":"We couldn’t send your request. Please try again."),1),e(a)?(u(),B(S,{key:0,ripple:!1,color:"dark",outline:"",unelevated:"",onClick:y},{default:h(()=>r[1]||(r[1]=[D("Try again")])),_:1})):T("",!0)],2)):(u(),f(E,{key:1},[t("div",H,n(l.tag),1),t("h1",R,n(l.title),1),t("p",J,n(l.description),1),m($,{class:"events-page__form",onSubmit:N(v,["prevent"])},{default:h(()=>[t("div",K,[r[2]||(r[2]=t("label",{class:"events-page__label",for:"event-work-email"},"Work email",-1)),m(q,{id:"event-work-email",modelValue:e(o).form.email.$model,"onUpdate:modelValue":r[0]||(r[0]=x=>e(o).form.email.$model=x),error:e(o).form.email.$dirty&&e(o).form.email.$invalid,"error-message":L,"bottom-slots":"",borderless:"","hide-bottom-space":"","no-error-icon":"",placeholder:"Work email",class:"events-page__input",autocomplete:"email"},null,8,["modelValue","error"])]),m(w,{ripple:!1,color:"primary",unelevated:"",class:"events-page__submit",label:"Get the presentation",type:"button",loading:e(c),disabled:e(o).$invalid,onClick:v},null,8,["loading","disabled"])]),_:1})],64))])])}}},oe=V(X,[["__scopeId","data-v-0685490f"]]);export{oe 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.