PageSourceSearch

https://vue-website-int-placeholder.firebaseapp.com/_nuxt/DrMloIQK.js

js vue-website-int-placeholder.firebaseapp.com collected 2026-10-03 14:08:25 UTC 11,599 bytes, 1 lines download raw bytes

1import{d as it,u as z,r as v,$ as Y,ab as ct,a as rt,ac as ut,bP as dt,Y as mt,b as pt,o as ft,aG as kt,e as A,f as n,w as s,z as j,V as D,h as p,g as i,t as c,k as t,i as bt,j as ht,Q as H,a3 as M,a5 as vt,s as G,v as O,n as L,_ as yt,ad as gt,a9 as _t,B as y,bQ as Ct,A as I,m as Vt,bR as xt,q as Lt}from"./CZhR5Udp.js";import{u as Ft}from"./C5F5ktj6.js";import{httpsCallable as wt}from"./DkiSjqKk.js";import{u as Tt}from"./CtjSBiNS.js";import{V as $t}from"./BzhK5V92.js";import{V as S}from"./BtV4WkDc.js";import{V as St}from"./B3hIiba1.js";import{V as Et}from"./BafNvu-c.js";const qt=Object.freeze({seo:{title:"kontakt.seo.title",description:"kontakt.seo.description"},salesContact:{email:"[email protected]",phone:"+49 7474 3199681",phoneHref:"+4974743199681"},sections:{pageTitle:"kontakt.sections.pageTitle",backButton:"kontakt.sections.backButton",intro:{question:"kontakt.sections.intro.question",answer:"kontakt.sections.intro.answer"},sales:{heading:"kontakt.sections.sales.heading",subheading:"kontakt.sections.sales.subheading",intro:"kontakt.sections.sales.intro",hoursValue:"kontakt.sections.sales.hoursValue"},accounting:{heading:"kontakt.sections.accounting.heading",subheading:"kontakt.sections.accounting.subheading",intro:"kontakt.sections.accounting.intro",hoursValue:"kontakt.sections.accounting.hoursValue"},technical:{heading:"kontakt.sections.technical.heading",subheading:"kontakt.sections.technical.subheading",intro:"kontakt.sections.technical.intro",hoursValue:"kontakt.sections.technical.hoursValue"},form:{heading:"kontakt.sections.form.heading",intro:"kontakt.sections.form.intro",privacyPrefix:"kontakt.sections.form.privacyPrefix",privacyLink:"kontakt.sections.form.privacyLink",privacySuffix:"kontakt.sections.form.privacySuffix",recaptchaNotice:"kontakt.sections.form.recaptchaNotice",recaptchaPrivacy:"kontakt.sections.form.recaptchaPrivacy",recaptchaAnd:"kontakt.sections.form.recaptchaAnd",recaptchaTerms:"kontakt.sections.form.recaptchaTerms",recaptchaGoogle:"kontakt.sections.form.recaptchaGoogle"}},shared:{hoursLabel:"kontakt.shared.hoursLabel",emailLabel:"kontakt.shared.emailLabel",phoneLabel:"kontakt.shared.phoneLabel",formLinkLabel:"kontakt.shared.formLinkLabel",formLinkText:"kontakt.shared.formLinkText"}}),Q=()=>({name:"",email:"",phone:"",company:"",message:""}),Rt={"functions/resource-exhausted":"storeErrors.contactForm.rateLimited","functions/permission-denied":"storeErrors.contactForm.recaptchaRejected","functions/invalid-argument":"storeErrors.contactForm.invalidInput","functions/unavailable":"storeErrors.contactForm.serverBusy","functions/deadline-exceeded":"storeErrors.contactForm.serverBusy"},Bt=it("contactForm",()=>{const{$i18n:F}=z(),{trackFormSubmit:r}=Y(),g=v(Q()),k=v(!1),d=v({show:!1,text:"",color:"success"});function w(){g.value=Q()}async function E(b){k.value=!0;try{const{$functions:f}=z(),h=(await wt(f,"submitContactForm")({...g.value,recaptchaToken:b})).data;return h!=null&&h.success?(r("contact",!0),w(),{success:!0}):(r("contact",!1),d.value={show:!0,text:(h==null?void 0:h.message)||F.t("storeErrors.contactForm.sendFailed"),color:"error"},{success:!1})}catch(f){r("contact",!1);const l=Rt[f==null?void 0:f.code]||"storeErrors.contactForm.sendError";return d.value={show:!0,text:F.t(l),color:"error"},{success:!1}}finally{k.value=!1}}return{formData:g,isLoading:k,snackbar:d,resetForm:w,submit:E}}),Pt={class:"text-h3 font-weight-bold mb-8 text-center section-title"},At={class:"text-body-1 text-center mb-12 fade-in-up contact-subtitle",style:{"animation-delay":"0.2s"}},It=["aria-label"],Kt={class:"contact-intent-label"},Ut=["aria-pressed","onClick"],Nt={class:"contact-intent-title"},zt={class:"contact-intent-subtitle"},jt={class:"text-body-2"},Dt={class:"text-caption text-medium-emphasis mb-4"},Ht={href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener",class:"text-primary"},Mt={href:"https://policies.google.com/terms",target:"_blank",rel:"noopener",class:"text-primary"},Gt={class:"submit-microcopy mb-1"},Ot={class:"submit-microcopy mb-0"},Qt=["href"],Yt=["href"],Jt={__name:"TicketContact",props:{title:{type:String,default:void 0},subtitle:{type:String,default:void 0},buttonText:{type:String,default:void 0},recaptchaAction:{type:String,default:"contact_form"},intents:{type:Array,default:()=>["consultation","callback","demo"]}},setup(F){var N;const{t:r}=rt(),g=ut(),{salesContact:k}=qt,d=F,w=y(()=>d.title??r("ticketContact.defaults.title")),E=y(()=>d.subtitle??r("ticketContact.defaults.subtitle")),b=Ft(),f=Bt(),{formData:l,snackbar:C,isLoading:h}=dt(f),{executeRecaptcha:J}=Tt(),{trackFormSubmit:W}=Y(),T=v(null),q=v(!1),$=v(!1),K=[{value:"offer",icon:"mdi-file-document-outline",titleKey:"ticketContact.
1intent.offer.title",subtitleKey:"ticketContact.intent.offer.subtitle"},{value:"consultation",icon:"mdi-handshake-outline",titleKey:"ticketContact.intent.consultation.title",subtitleKey:"ticketContact.intent.consultation.subtitle"},{value:"callback",icon:"mdi-phone-in-talk-outline",titleKey:"ticketContact.intent.callback.title",subtitleKey:"ticketContact.intent.callback.subtitle"},{value:"demo",icon:"mdi-flask-outline",titleKey:"ticketContact.intent.demo.title",subtitleKey:"ticketContact.intent.demo.subtitle"}],V=y(()=>K.filter(e=>d.intents.includes(e.value))),u=v(((N=V.value[0])==null?void 0:N.value)??"consultation"),R=v(!1),_=y(()=>u.value==="callback"),x=(e,a)=>r(e)+(a?" *":` (${r("ticketContact.labels.optional")})`);mt(()=>l.value.message,(e,a)=>{a!==void 0&&e!==B(u.value)&&(R.value=!0)});const B=e=>e==="consultation"?"":r(`ticketContact.intent.messageTemplate.${e}`)+" ",X=e=>!e||!e.trim()?!0:K.some(a=>{const m=B(a.value).trim();return m!==""&&e.trim()===m}),P=e=>{u.value=e,(!R.value||!l.value.message)&&X(l.value.message)&&(l.value.message=B(e),R.value=!1)},Z=y(()=>u.value==="consultation"?r("ticketContact.intent.consultationPlaceholder"):void 0),U=e=>{const a=e==null?void 0:e.detail;a&&V.value.some(m=>m.value===a)&&P(a)},tt=pt(),et=()=>{const e=tt.query.anliegen;return typeof e=="string"&&V.value.some(a=>a.value===e)?e:null};ft(()=>{const e=et();P(e??u.value),window.addEventListener("contact-form:set-intent",U)}),kt(()=>{window.removeEventListener("contact-form:set-intent",U)});const at=y(()=>d.buttonText?d.buttonText:r(`ticketContact.intent.buttonText.${u.value}`)),nt=y(()=>u.value==="offer"?"mdi-file-document-outline":u.value==="callback"?"mdi-phone-in-talk-outline":u.value==="demo"?"mdi-flask-outline":"mdi-send"),ot=async()=>{if(!T.value)return;const{valid:e}=await T.value.validate();if(e)try{const a=await J(d.recaptchaAction),m=await f.submit(a);m!=null&&m.success&&(T.value.reset(),$.value=!1,xt("kontaktDankeAccess").value=!0,await Lt(g("/kontakt/danke")))}catch{W("contact",!1,{reason:"recaptcha_unavailable"}),f.snackbar={show:!0,text:r("ticketContact.recaptchaError"),color:"error"}}};return(e,a)=>{const m=yt,st=Ct("i18n-t"),lt=gt;return I(),A(M,null,[n(j,{fluid:"",class:"contact-section py-16",id:"contact"},{default:s(()=>[n(j,null,{default:s(()=>[n(D,{justify:"center"},{default:s(()=>[n(p,{cols:"12",md:"10",lg:"8"},{default:s(()=>[i("h2",Pt,c(t(w)),1),i("p",At,c(t(E)),1),n(bt,{class:"contact-form-card",elevation:"0"},{default:s(()=>[n(ht,{class:"pa-8 pa-md-12"},{default:s(()=>[i("div",{class:"contact-intent",role:"group","aria-label":e.$t("ticketContact.intent.label")},[i("p",Kt,c(e.$t("ticketContact.intent.label")),1),i("div",{class:H(["contact-intent-options",{"intent-cols-2":t(V).length===2}])},[(I(!0),A(M,null,vt(t(V),o=>(I(),A("button",{key:o.value,type:"button","aria-pressed":t(u)===o.value,class:H(["contact-intent-card",{"is-active":t(u)===o.value}]),onClick:Wt=>P(o.value)},[n(Vt,{icon:o.icon,size:"22",class:"contact-intent-icon"},null,8,["icon"]),i("span",Nt,c(e.$t(o.titleKey)),1),i("span",zt,c(e.$t(o.subtitleKey)),1)],10,Ut))),128))],2)],8,It),n($t,{ref_key:"formRef",ref:T,modelValue:t(q),"onUpdate:modelValue":a[7]||(a[7]=o=>O(q)?q.value=o:null),onSubmit:G(ot,["prevent"])},{default:s(()=>[n(D,null,{default:s(()=>[n(p,{cols:"12",md:"6"},{default:s(()=>[n(S,{modelValue:t(l).company,"onUpdate:modelValue":a[0]||(a[0]=o=>t(l).company=o),label:x("ticketContact.labels.company",!0),rules:t(b).company,variant:"outlined",color:"primary",density:"comfortable",required:"","prepend-inner-icon":"mdi-office-building",class:"form-input"},null,8,["modelValue","label","rules"])]),_:1}),n(p,{cols:"12",md:"6"},{default:s(()=>[n(S,{modelValue:t(l).name,"onUpdate:modelValue":a[1]||(a[1]=o=>t(l).name=o),label:x("ticketContact.labels.name",!0),rules:t(b).name,variant:"outlined",color:"primary",density:"comfortable",required:"","prepend-inner-icon":"mdi-account",class:"form-input"},null,8,["modelValue","label","rules"])]),_:1}),n(p,{cols:"12",md:"6"},{default:s(()=>[n(S,{modelValue:t(l).email,"onUpdate:modelValue":a[2]||(a[2]=o=>t(l).email=o),label:x("ticketContact.labels.email",!0),rules:t(b).email,variant:"outlined",color:"primary",density:"comfortable",type:"email",required:"","prepend-inner-icon":"mdi-email",class:"form-input"},null,8,["modelValue","label","rules"])]),_:1}),n(p,{cols:"12",md:"6"},{default:s(()=>[n(S,{modelValue:t(l).phone,"onUpdate:modelValue":a[3]||(a[3]=o=>t(l).phone=o),label:x("ticketContact.labels.phone",t(_)),rules:t(_)?[t(b).phone]:[],variant:"outlined",color:"primary",density:"comfortable",required:t(_),"prepend-inner-icon":"mdi-phone",class:"form-input"},null,8,["modelValue","label","rules","required"])]),_:1}),n(p,{cols:"12"},{default:s(()=>[n(St,{modelValue:t(l).message,"onUpdate:modelValue":a[4]||(a[4]=o=>
1t(l).message=o),label:x("ticketContact.labels.message",!t(_)),placeholder:t(Z),rules:t(_)?[]:t(b).message,variant:"outlined",color:"primary",rows:"6",required:!t(_),"persistent-placeholder":"","prepend-inner-icon":"mdi-message-text",class:"form-input"},null,8,["modelValue","label","placeholder","rules","required"])]),_:1}),n(p,{cols:"12"},{default:s(()=>[n(Et,{modelValue:t($),"onUpdate:modelValue":a[6]||(a[6]=o=>O($)?$.value=o:null),rules:[t(b).secureRequired],color:"primary","hide-details":"auto"},{label:s(()=>[i("span",jt,[L(c(e.$t("ticketContact.privacyPrefix"))+" ",1),n(m,{to:t(g)("/datenschutz"),class:"legal-link",target:"_blank",onClick:a[5]||(a[5]=G(()=>{},["stop"]))},{default:s(()=>[L(c(e.$t("ticketContact.privacyLink")),1)]),_:1},8,["to"]),L(" "+c(e.$t("ticketContact.privacySuffix")),1)])]),_:1},8,["modelValue","rules"])]),_:1}),n(p,{cols:"12",class:"text-center"},{default:s(()=>[i("p",Dt,[n(st,{keypath:"ticketContact.recaptcha",tag:"span"},{privacy:s(()=>[i("a",Ht,c(e.$t("ticketContact.recaptchaPrivacy")),1)]),terms:s(()=>[i("a",Mt,c(e.$t("ticketContact.recaptchaTerms")),1)]),_:1})])]),_:1}),n(p,{cols:"12",class:"d-flex justify-center"},{default:s(()=>[n(lt,{type:"submit",size:"lg",class:"submit-button","prepend-icon":t(nt),loading:t(h),label:t(at)},null,8,["prepend-icon","loading","label"])]),_:1}),n(p,{cols:"12",class:"text-center pt-0"},{default:s(()=>[i("p",Gt,c(e.$t("home.closingCta.ctaMicro")),1),i("p",Ot,[L(c(e.$t("ticketContact.directContact"))+" ",1),i("a",{class:"direct-link",href:`tel:${t(k).phoneHref}`},c(t(k).phone),9,Qt),a[9]||(a[9]=i("span",{class:"mx-1"},"·",-1)),i("a",{class:"direct-link",href:`mailto:${t(k).email}`},c(t(k).email),9,Yt)])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),n(_t,{modelValue:t(C).show,"onUpdate:modelValue":a[8]||(a[8]=o=>t(C).show=o),color:t(C).color,timeout:4e3,location:"top"},{default:s(()=>[L(c(t(C).text),1)]),_:1},8,["modelValue","color"])],64)}}},le=ct(Jt,[["__scopeId","data-v-86b21503"]]);export{le as _,qt as k};

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.