PageSourceSearch

https://www.gebaermutterkrebs-info.de/static/ContactByEmailOrPhone-5sPifGyz.js

js gebaermutterkrebs-info.de collected 2026-10-07 03:53:19 UTC 2,817 bytes, 1 lines download raw bytes

1import{t as v,a9 as g,N as i,C as b,_ as D,z as O,p as u,q as h,G as a,V as P,x as n,cw as y,u as m,cu as B,v as C}from"./main-COT2wBhy.js";var E=Object.defineProperty,V=Object.getOwnPropertyDescriptor,r=(e,o,d,p)=>{for(var s=p>1?void 0:p?V(o,d):o,c=e.length-1,l;c>=0;c--)(l=e[c])&&(s=(p?l(o,d,s):l(s))||s);return p&&s&&E(o,d,s),s};let t=class extends g{get validationClasses(){return{"is-invalid":this.isSubmitted&&!this.isValid,"is-valid":this.isSubmitted&&this.isValid}}formConfigType(){return this.formData.contactByEmailOrPhone.model==="phone"?this.formConfig.phone:this.formConfig.email}};r([i()],t.prototype,"isValid",2);r([i()],t.prototype,"isSubmitted",2);r([i()],t.prototype,"formData",2);r([i()],t.prototype,"formConfig",2);r([i()],t.prototype,"field",2);r([i()],t.prototype,"inputClass",2);r([i({default:""})],t.prototype,"errorMessage",2);t=r([b],t);const T=v(t),w={class:"form-group simple-contact__label-group"},_={class:"form-check",for:"emailConsent"},k={class:"form-check-label u-text-small",for:"contactConsent"},M={class:"form-check",for:"phoneConsent"},N={class:"form-check-label u-text-small",for:"contactConsent"},$=["type","placeholder"],q={key:0,class:"invalid-feedback"};function S(e,o,d,p,s,c){const l=O("html-fragment");return e.field&&e.formData[e.field].visible?(u(),h("div",{key:0,class:m(["form-group w-100",e.formData.cssClass])},[o[3]||(o[3]=a("p",{class:"col-12 mb-6 simple-contact__title"},[P(" Wie dürfen wir Kontakt mit Ihnen aufnehmen?"),a("sup",null,"*")],-1)),a("div",w,[a("label",_,[n(a("input",{id:"emailConsent","onUpdate:modelValue":o[0]||(o[0]=f=>e.formData.contactByEmailOrPhone.model=f),type:"radio",value:"email",class:m(["form-group mb-4",e.validationClasses])},null,2),[[y,e.formData.contactByEmailOrPhone.model]]),n(a("span",k,null,512),[[l,e.formData.contactByEmailOrPhone.itemLabels.email]])]),a("label",M,[n(a("input",{id:"phoneConsent","onUpdate:modelValue":o[1]||(o[1]=f=>e.formData.contactByEmailOrPhone.model=f),type:"radio",value:"phone",class:m(["form-group mb-4",e.validationClasses])},null,2),[[y,e.formData.contactByEmailOrPhone.model]]),n(a("span",N,null,512),[[l,e.formData.contactByEmailOrPhone.itemLabels.phone]])])]),a("div",{class:m(["form-group",e.formConfigType().cssClass])},[n(a("label",{class:m(["form-label",{required:e.formConfigType().required}]),for:"email"},null,2),[[l,e.formConfigType().label]]),n(a("input",{id:"email","onUpdate:modelValue":o[2]||(o[2]=f=>e.formConfigType().model=f),type:e.formConfigType().type||"text",class:m(["form-control",e.inputClass]),name:"email",placeholder:e.formConfigType().placeholder||""},null,10,$),[[B,e.formConfigType().model]]),e.errorMessage?n((u(),h("div",q,null,512)),[[l,e.errorMessage]]):C("",!0)],2)],2)):C("",!0)}const z=D(T,[["render",S]]);export{t as ContactByEmailOrPhone,z 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.