1import{L as N,d as O,A as U,u as j,O as $,M as F,c as _,a as e,t as r,h as t,g as c,w as M,K as G,m as b,C as y,D as k,n as W,F as z,r as J,b as w,j as K,i as u,B as Q,o as f,H as X,l as Y,_ as Z}from"./CMTK-EzZ.js";import{S as ee}from"./y346sYN6.js";import{i as te,a as se,b as oe}from"./BkZvYnpD.js";import{T as ae,b as ie,t as re}from"./C8uJfK5G.js";import{c as ne}from"./DTkrUInA.js";import{C as le}from"./ejol_9KM.js";import{S as B}from"./CmLL0WVR.js";import{I as ce}from"./teUQ9qls.js";import{v as de,e as me}from"./Dli_KD8M.js";import{u as ue}from"./Dkh4X5Ug.js";import"./CaHNetti.js";import"./CjKygGTZ.js";const fe=N("/images/events/ibc-booking.jpg"),pe={class:"event-hero"},_e={class:"container event-hero-inner"},be={class:"event-hero-text"},ve={class:"breadcrumb","aria-label":"Breadcrumb"},he=["innerHTML"],ge={class:"event-hero-description"},ye={id:"ibc-booking-form",class:"section"},ke={class:"form-container"},we={class:"video-container"},Ce={id:"trust-form-title",class:"form-title"},Le={class:"trust-strip-wrapper"},Se={class:"form-container"},Te={class:"form-header"},Ie=["innerHTML"],Me={class:"form-panel"},Be={key:0,class:"form-body"},qe={class:"form-field"},xe={class:"form-label"},Ee={class:"form-field"},Ve={class:"form-label"},De={class:"form-field"},Re={class:"form-label"},Ae={class:"form-field"},Pe={class:"form-label"},He={class:"dropdown-value"},Ne={key:0,class:"dropdown-list"},Oe=["onClick"],Ue={class:"form-field form-message"},je={class:"form-label"},$e=["placeholder"],Fe=["challengeurl"],Ge={key:0,class:"form-error"},We={class:"form-footer"},ze={class:"section"},Je={class:"container"},Ke=O({__name:"ibc-booking",setup(Qe){U(()=>import("./BuTX4bDW.js"),[],import.meta.url);const T=X(),o=te;j({title:o.seoTitle+ne.seo.title,meta:[{name:"description",content:o.seoDescription}]});const{utmSource:q,utmMedium:x,utmCampaign:E,referrerUrl:V}=ue(),a=Y({firstname:"",company:"",email:"",industry:"",message:""}),d=u(!1),C=u(null),p=u(!1),L=u(!1),D=u(null),v=u(""),h=u("");function R(i){a.industry=i,d.value=!1}function l(i){h.value=i}function A(){return h.value="",a.firstname.trim()?a.email.trim()?me.test(a.email.trim())?a.company.trim()?a.industry?v.value?!0:(l(o.errAltchaRequired),!1):(l(o.errIndustryRequired),!1):(l(o.errCompanyRequired),!1):(l(o.errEmailInvalid),!1):(l(o.errEmailRequired),!1):(l(o.errNameRequired),!1)}function P(i){const s=i.detail;v.value=s?.payload||""}function H(i){const s=i.detail;s&&s.state!=="verified"&&(v.value="")}async function I(){if(p.value||!A())return;p.value=!0;const i=[a.industry&&`Industry: ${a.industry}`,a.message&&`Message: ${a.message}`].filter(Boolean).join(" | "),s={firstname:a.firstname,email:a.email,company:a.company,altcha:v.value,message:i,acquisition_source:q.value,acquisition_medium:x.value,acquisition_campaign:E.value,referrer_url:V.value,form_sub_type:"ibc-booking"};try{const m=await fetch(`${T.public.contactAPI}events`,{method:"POST",headers:{Authorization:"Basic Og==",Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(s)}),g=await m.json();if(m.status!==200){g.errors?de(g.errors,oe,l):l(o.errGeneric),p.value=!1;return}else p.value=!1}catch{l(o.errGeneric),p.value=!1;return}L.value=!0}function S(i){const s=i.target;C.value&&!C.value.contains(s)&&(d.value=!1)}return $([d],([i])=>{i?document.addEventListener("click",S):document.removeEventListener("click",S)}),F(()=>{document.removeEventListener("click",S)}),(i,s)=>{const m=ee,g=Q;return f(),_("div",null,[e("header",pe,[e("div",_e,[e("div",be,[e("nav",ve,[e("span",null,r(t(o).breadcrumbLocation),1),s[5]||(s[5]=e("span",null,"-",-1)),e("span",null,r(t(o).breadcrumbDates),1)]),e("h1",{class:"event-hero-title",innerHTML:t(o).heroTitle},null,8,he),e("blockquote",ge,r(t(o).heroDescription),1)]),s[6]||(s[6]=e("img",{src:fe,alt:"IBC Booking Hero Image"},null,-1))])]),c(m),e("section",ye,[e("div",ke,[e("div",we,[e("h2",Ce,r(t(o).recapSectionTitle),1),s[7]||(s[7]=e("iframe",{class:"event-hero-video",src:"https://marketing.medialab.app/share/embed/lrvmG/29e18bce46abae1b0b2492418eef5ef48737939c414ff8e244bc9ef7fcd0ea27?player_nolabels=1",scrolling:"no",frameborder:"0",width:"600",height:"400",allowFullScreen:""},null,-1))])]),e("div",Le,[c(ae,{logos:t(re),label:t(ie).trustStripLabel},null,8,["logos","label"])]),e("div",Se,[e("div",Te,[c(B,{label:t(o).formLabel},{title:M(()=>[e("span",{class:"form-title-html",innerHTML:t(o).formTitleHtml},null,8,Ie)]),_:1},8,["label"])]),e("div",Me,[t(L)?w("",!0):(f(),_("div",Be,[e("form",{class:"form-grid",onSubmit:G(I,["prevent"])}
1,[e("div",qe,[e("label",xe,[b(r(t(o).formContactNameLabel),1),s[8]||(s[8]=e("span",{class:"required-asterisk"},"*",-1))]),y(e("input",{"onUpdate:modelValue":s[0]||(s[0]=n=>t(a).firstname=n),class:"form-input",type:"text",autocomplete:"name"},null,512),[[k,t(a).firstname]])]),e("div",Ee,[e("label",Ve,[b(r(t(o).formCompanyNameLabel),1),s[9]||(s[9]=e("span",{class:"required-asterisk"},"*",-1))]),y(e("input",{"onUpdate:modelValue":s[1]||(s[1]=n=>t(a).company=n),class:"form-input",type:"text",autocomplete:"organization"},null,512),[[k,t(a).company]])]),e("div",De,[e("label",Re,[b(r(t(o).formWorkEmailLabel),1),s[10]||(s[10]=e("span",{class:"required-asterisk"},"*",-1))]),y(e("input",{"onUpdate:modelValue":s[2]||(s[2]=n=>t(a).email=n),class:"form-input",type:"email",autocomplete:"email"},null,512),[[k,t(a).email]])]),e("div",Ae,[e("label",Pe,[b(r(t(o).formIndustryLabel),1),s[11]||(s[11]=e("span",{class:"required-asterisk"},"*",-1))]),e("div",{ref_key:"dropdownIndustryRef",ref:C,class:W(["dropdown",{"dropdown--open":t(d)}])},[e("button",{type:"button",class:"dropdown-trigger",onClick:s[3]||(s[3]=n=>d.value=!t(d))},[e("span",He,r(t(a).industry),1),s[12]||(s[12]=e("span",{class:"dropdown-arrow","aria-hidden":"true"},"â²",-1))]),t(d)?(f(),_("ul",Ne,[(f(!0),_(z,null,J(t(o).industryOptions,n=>(f(),_("li",{key:n,class:"dropdown-item",onClick:Xe=>R(n)},r(n),9,Oe))),128))])):w("",!0)],2)]),e("div",Ue,[e("label",je,r(t(o).formMessageLabel),
11),y(e("textarea",{"onUpdate:modelValue":s[4]||(s[4]=n=>t(a).message=n),class:"form-input",placeholder:t(o).formMessagePlaceholder},null,8,$e),[[k,t(a).message,void 0,{trim:!0}]])]),e("altcha-widget",{ref_key:"altchaWidget",ref:D,"data-allow-mismatch":"",class:"form-altcha",style:{"--altcha-max-width":"100%",width:"100%"},challengeurl:t(T).public.altchaChallenge,hidelogo:"true",onVerified:P,onStatechange:H},null,40,Fe),t(h)?(f(),_("p",Ge,r(t(h)),1)):w("",!0)],32)])),e("div",We,[t(L)?w("",!0):(f(),K(g,{key:0,variant:"primary",class:"form-submit-btn","is-loading":t(p),onClick:I},{default:M(()=>[b(r(t(o).submitLabel),1)]),_:1},8,["is-loading"]))])])])]),c(m),e("section",ze,[e("div",Je,[c(B,{label:t(o).whyMeetLabel,title:t(o).whyMeetTitle,description:t(o).whyMeetDescription},null,8,["label","title","description"]),c(ce,{items:t(se)},null,8,["items"])])]),c(m),c(le,{title:t(o).ctaTitle,description:t(o).ctaDescription,"primary-cta":{label:t(o).ctaPrimaryLabel,to:"#ibc-booking-form"}},null,8,["title","description","primary-cta"])])}}}),dt=Z(Ke,[["__scopeId","data-v-5def9333"]]);export{dt 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.