1import{_ as J}from"./VmtjdIKf.js";import{_ as X}from"./CeX-RNOo.js";import{_ as N}from"./D1xr7FMd.js";import{_ as Y}from"./CwbVoSSz.js";import{C as Z,r as R,D as Q,d as A,o as a,f as o,a as c,v as g,t as u,w as f,g as x,e as b,F as k,y as T,c as F,E as ee,m as I,s as L,B as E,n as te,u as ne,h as ae,i as oe,j as U,G as ie,k as re,A as se,q as le,H as ce}from"./TPMmjeF8.js";import{T as w}from"./CPrgZWjc.js";import{_ as de}from"./KgKcKKoK.js";import{_ as ue}from"./BSSLcE8H.js";import{_ as me}from"./BmHwfT__.js";import{_ as _e}from"./C3ZebKOB.js";import{_ as pe}from"./cS6mr8_P.js";import{q as ge}from"./B9VpLKFW.js";import"./BzZVNwEr.js";import"./cKcXiyMP.js";import"./Ds80lcFD.js";import"./-_gES4nC.js";import"./BAu6S3d1.js";import"./BlT8FDUk.js";import"./B8kVjI8-.js";function fe(i){const{$getLocale:n}=Z();return R(()=>w.getFormattedDate(Q(i),n()))}const he={name:"event-detail-intro",setup(i){return{formattedMoment:fe(i.moment)}},props:{badge:{type:Object,default:null},showBadge:Boolean,image:{type:Object,default:null},teaserImage:{type:Object,default:null},moment:{type:String,default:null},time:{type:String,default:null},headlineText:{type:String,required:!0},headlineLevel:{type:String,default:"h1"},headlineClasses:{type:String,default:""},name:{type:Array,default:null},price:{type:String,default:null}}},ve={class:"event-detail-intro page-detail__intro-content"},ye={key:0,class:"page-detail__badge page-detail__animation-3"},be={key:1,class:"page-detail__details mb-2 page-detail__animation-3"},xe={key:0,class:"page-detail__moment font-size-1 bold"},Ce={key:1,class:"page-detail__time font-size-1"},ke={key:2,class:"event-teaser__price font-size-2 bold"},Se={key:3,class:"page-detail__img-wrapper"},qe={class:"page-detail__img page-detail__animation-3"},Te={key:0,class:"page-detail__subline page-detail__subline--overlapped font-size-1 bold"},we={class:"page-detail__subline-foreground"};function De(i,n,e,l,h,d){const m=X,_=N,r=Y;return a(),o("div",ve,[e.showBadge&&e.badge?(a(),o("div",ye,[c(m,{text:e.badge.text,icon:e.badge.icon,color:e.badge.color,"text-color":e.badge.textColor,overlapping:!0},null,8,["text","icon","color","text-color"])])):g("",!0),e.moment||e.time||e.price?(a(),o("div",be,[e.moment?(a(),o("span",xe,u(l.formattedMoment),1)):g("",!0),e.time?(a(),o("span",Ce,u(e.time),1)):g("",!0)])):g("",!0),e.price?(a(),o("div",ke,u(e.price),1)):g("",!0),c(_,{level:"h2",class:"bold"},{default:f(()=>[x(u(e.headlineText),1)]),_:1}),e.image?(a(),o("div",Se,[b("div",qe,[c(r,{img:e.image.img,alt:e.image.alt,cloudinary:e.image.cloudinary??!0,"img-src-sets":"event"},null,8,["img","alt","cloudinary"])]),e.name?(a(),o("div",Te,[n[0]||(n[0]=b("div",{class:"page-detail__subline-background"},null,-1)),b("div",we,u(i.$t("withAuthor"))+" "+u(e.name.join(" & ")),1)])):g("",!0)])):g("",!0)])}const Oe=Object.assign(A(he,[["render",De]]),{__name:"EventDetailIntro"}),Re={name:"event-detail-content",props:{headline:String,intro:String,paragraphs:Array,bulletpoints:Array,headlineLevel:{type:String,default:"h1"},headlineClasses:{type:String,default:""}}},Le={class:"event-detail-intro page-detail__intro-content"},Ee={key:0,class:"space-bottom-1"},Ne={class:"space-bottom-1"},Ae={key:0},Me={key:1};function je(i,n,e,l,h,d){const m=N,_=de;return a(),o("div",Le,[c(m,{level:"h3"},{default:f(()=>[x(u(e.headline),1)]),_:1}),b("p",null,u(e.intro),1),(a(!0),o(k,null,T(e.paragraphs,r=>(a(),o("div",null,[c(m,{level:"h3"},{default:f(()=>[x(u(r.headline),1)]),_:2},1024),r.items?(a(),o("ul",Ee,[(a(!0),o(k,null,T(r.items,s=>(a(),o("li",{key:s},u(s),1))),128))])):g("",!0)]))),256)),(a(!0),o(k,null,T(e.bulletpoints,r=>(a(),o("div",Ne,[c(_,{circleContent:r.circleContent,circleIcon:r.circleIcon,color:r.color},{default:f(()=>[x(u(r.headline),1)]),_:2},1032,["circleContent","circleIcon","color"]),r.text?(a(),o("p",Ae,u(r.text),1)):g("",!0),r.items?(a(),o("ul",Me,[(a(!0),o(k,null,T(r.items,s=>(a(),o("li",{key:s},u(s),1))),128))])):g("",!0)]))),256))])}const Be=Object.assign(A(Re,[["render",je]]),{__name:"EventDetailContent"}),Pe={tagName:"event-detail",props:{detailColor:{type:String,default:"--color-event-detail"},detailShapeColor:{type:String,default:"var(--color-event-detail-shape)"},headlineText:String,author:Array,headlineLevel:{type:String,default:"h1"},headlineClasses:{type:String,default:"bold"},form:Object,image:Object,teaserImage:Object,badge:Object,showBadge:{type:Boolean,default:!1},moment:String,time:String,lang:{type:String,default:"de"},body:Object,content:Object,bottomText:String,price:String,odooForm:{type:Boolean,default:!1}},computed:{hasContent(){return this.content||this.body},introData(){return{badge:this.badge,image:this.image,moment:this.moment,time:this.time,price:this.price,headlineText:this.headlineText,headlineClasses:this.headlineClassesComputed,name:this.author,showBadge:this.showBadge}},contentData(){return{headline:this.content.headline,intro:this.content.intro,paragraphs:this.content.paragraphs,bulletpoints:this.content.bulletpoints,headlineLevel:this.headlineLevelComputed,headlineClasses:this.headlineClassesComputed}},headlineLevelComputed(){return this.headlineLevel||"h1"},headlineClassesComputed(){return`page-detail__headline event-detail__headline ${this.headlineClasses}`},stickyOptions(){return JSON.stringify({parentSelector:".page-detail__sticky-start",breakpoint:"lg",startPoint:".page-detail__sticky-start",endPoint:".page-detail__sticky-end",stickyOffsetTop:200,stickyOffsetBottom:20})}}},ze={class:"page-detail__shape-container container"},Fe={class:"row"},Ie={class:"col-md-11 col-lg-5"},Ue={class:"page-detail__shape-spacer"},$e={key:0},Ke={key:1};function Ve(i,n,e,l,h,d){const m=Oe,_=Be,r=ue,s=N,C=me,D=_e;return a(),F(D,{style:te({"--page-detail-color":`var(${e.detailColor})`,"--color-icon-hover-color":`var(${e.detailColor})`,"--color-page-detail-shape":e.detailShapeColor}),"detail-shape-color":e.detailShapeColor,"no-content":!d.hasContent},ee({shape:f(()=>[b("div",ze,[b("div",Fe,[b("div",Ie,[b("div",Ue,[c(m,L(E(d.introData)),null,16)])])])])]),body:f(()=>[d.hasContent?(a(),o("div",$e,[e.content?(a(),F(_,I({key:0,class:"page-detail__description has-no-border richtext",tag:"main"},d.contentData),null,16)):g("",!0),c(r,{value:e.body,tag:"main",class:"page-detail__description has-no-border richtext"},null,8,["value"])])):(a(),o("div",Ke,[c(s,{level:i.h3},{default:f(()=>[...n[0]||(n[0]=[x("No Event found",-1)])]),_:1},8,["level"])]))]),intro:f(()=>[c(m,L(E(d.introData)),null,16)]),_:2},[e.form?{name:"formular",fn:f(()=>[c(s,{level:"h3"},{default:f(()=>
1[x(u(e.bottomText),1)]),_:1}),c(C,I(e.form,{"has-animation":!0,odoo:e.odooForm}),null,16,["odoo"])]),key:"0"}:void 0]),1032,["style","detail-shape-color","no-content"])}const Ge=Object.assign(A(Pe,[["render",Ve]]),{__name:"EventDetail"}),O={uncentered:!0,ctaText:"form.event.submit",cta:{skin:"primary"},method:"post",action:"/successful",fields:[{label:"form.event.firstname",type:"text",id:"firstname",required:!0,requiredMsg:"form.event.firstnameRequired"},{label:"form.event.lastname",type:"text",id:"lastname",required:!0,requiredMsg:"form.event.lastnameRequired"},{label:"form.event.function",type:"text",id:"function",required:!1,requiredMsg:"form.event.functionRequired"},{label:"form.event.company",type:"text",id:"company",required:!0,requiredMsg:"form.event.companyRequired"},{label:"form.event.email",type:"email",id:"email",required:!0,requiredMsg:"form.event.emailRequired"},{label:"form.event.participants",type:"number",id:"participants",required:!0,requiredMsg:"form.event.participantsRequired",col:5,rowStart:!0,rowEnd:!0},{label:"form.event.date",type:"text",id:"date",required:!1,requiredMsg:"form.event.dateRequired"},{label:"form.event.message",type:"textarea",id:"message",required:!1,requiredMsg:"form.event.messageRequired"},{label:"form.event.dataprotection",type:"checkbox",id:"dataprotection",required:!1,requiredMsg:"form.event.dataprotectionRequired"},{type:"hidden",id:"_to",value:"[email protected]"},{type:"hidden",id:"_gotcha"}]},We="|",He=new Set(["a demanda","auf anfrage","bajo demanda","bajo petición","bajo peticion","community event","conference","conferencia","conferencias","congreso","congreso y expo","congress","congress & expo","event","evento","expo","fair","feria","karriere-event","kongres & expo","kongress","konferenz","messe","on demand","on request","on-site workshop","onsite workshop","summit","theater","training","workshop"]),$=/online|webinar|webcast|teams|virtual|remote|livestream/i,Je=/^\d{1,2}([:.]\d{2})?\s*(?:[-ââ]\s*\d{1,2}([:.]\d{2})?)?\s*(uhr|am|pm|h)?\s*(cet|cest|mez)?$/i,Xe=/\b(uhr|am|pm|cet|cest|mez)\b/i,Ye=/(\d{1,2})\s*(?:st|nd|rd|th)?\s*\.?\s*[-ââ/]\s*(\d{1,2})\s*(?:st|nd|rd|th)?\s*\.?/,Ze=/^(?:dr|prof)\.?\s+/i,Qe={ä:"ae",ö:"oe",ü:"ue",Ã:"ss"},K=i=>String(i??"").split(We).map(n=>n.trim()).filter(Boolean),et=i=>He.has(i.toLowerCase()),tt=i=>Je.test(i)||Xe.test(i);function nt(i){const n=K(i),e=n.slice(1).filter(l=>!et(l)&&!tt(l)&&!$.test(l));return{online:n.some(l=>$.test(l)),place:e.length?e[e.length-1]:null}}function at(i,n){const[e]=K(i);if(!e||!n)return null;const l=e.match(Ye);if(!l)return null;const h=new Date(`${n}T00:00:00Z`);if(Number.isNaN(h.getTime()))return null;const d=Number(l[1]),m=Number(l[2]);if(d!==h.getUTCDate()||m<=d||m-d>13)return null;const _=new Date(h);return _.setUTCDate(m),_.getUTCMonth()!==h.getUTCMonth()?null:_.toISOString().slice(0,10)}function ot(i){return String(i??"").replace(Ze,"").toLowerCase().replace(/[äöüÃ]/g,n=>Qe[n]).normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}const it="/send",wt={__name:"[...slug]",async setup(i){var M,j;let n,e;const l=ne(),h=ae(),d=h.$getLocale(),m=oe(),_=l.path.replace(/^\/[a-z]{2}\//,"/"),r=w.getDataKey("event",null,d,_),{data:s}=([n,e]=U(()=>le(r,()=>{const t="content_"+d;return ge(t).path(_).first()},"$6C1U7mzLeR")),n=await n,e(),n),{sharedComponents:C}=ie().public,D=R(()=>{var t,p,y;return((t=s.value)==null?void 0:t.detailPage)??((y=(p=s.value)==null?void 0:p.meta)==null?void 0:y.detailPage)??!1});C!=null&&C.requireEventDetailPage&&s.value&&!D.value&&([n,e]=U(()=>ce(h.$localePath("/"),{replace:!0})),await n,e());const V=O.action,G=t=>{const p=[{type:"hidden",id:"_next",value:V},{type:"hidden",id:"eventid",value:"#form-field-replace-value#"}],y=(t==null?void 0:t.eventid)||"no-event-id";return t!=null&&t.form?{form:{...t.form,fields:[...t.form.fields,...p]},replaceValue:y}:{form:{...O,action:it,fields:[...O.fields,...p]},replaceValue:y,useTranslation:!0}},v=R(()=>{if(!s.value)return null;const t=w.normalizeMarkdownItem(s.value),p=t!=null&&t.hideForm?null:G(t);return{...t,form:p,body:{...t.body,value:w.applyKramdownAttrs(t.body.value)}}});
1if(m.value={footer:((j=(M=s.value)==null?void 0:M.meta)==null?void 0:j.footer)??{noMargin:!0}},s.value&&v.value){const t=v.value.socialimg,p=t!=null&&t.startsWith("/")?t.slice(1):t,y=p?`https://res.cloudinary.com/c4a8/image/upload/${p}`:null;re({title:v.value.title,description:v.value.customExcerpt??null,keywords:v.value.keywords??null,image:y});const{time:S,youtubeUrl:q,organizer:rt}=v.value,W=v.value.date;at(S,W);const{online:H,place:B}=nt(S);(H||s.value.webcast===!0&&!!q&&!B)&&(q||`${se().origin}${l.path}`),(v.value.author||[]).filter(Boolean).map(P=>{const z=ot(P);return{"@type":"Person",...z?{"@id":`#/schema/person/${z}`}:{},name:P}})}return(t,p)=>{const y=J,S=Ge,q=pe;return a(),o(k,null,[c(y),c(q,null,{default:f(()=>[c(S,L(E(v.value)),null,16)]),_:1})],64)}}};export{wt 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.