PageSourceSearch

https://c-johnberger-production.web.app/_nuxt/TNuhDB9w.js

js c-johnberger-production.web.app collected 2026-10-03 12:21:12 UTC 11,464 bytes, 1 lines download raw bytes

1import{l as X,k as M,m as Y}from"./B1ed6sjo.js";import{z as L,A as T,B as H,aa as P,ab as j,k as n,m as c,F as I,j as e,t as y,x as l,V as O,O as S,v as b,l as t,f as v,P as p,n as f,U as $,ag as Z,R as x,y as A,r as w,af as E,a7 as ee,a as te,w as ae,E as oe,e as N}from"./DXADahwW.js";import{_ as G}from"./CzFoFwZD.js";import{_ as J}from"./B_0WsTBq.js";import{a as se,b as re}from"./BG6hguoN.js";import"./BI8I5D9h.js";import"./DPvFSt4c.js";import"./Cbp8rmw2.js";import"./C1BjCpv6.js";import"./Cgd839PX.js";import"./MjVdrsBI.js";import"./ftIu6NwC.js";import"./ZhWAdK_X.js";import"./Ru1P_5TD.js";import"./BsGEOuMd.js";import"./DJ70hkU8.js";import"./DG-E3Lor.js";import"./CwbWl2lh.js";import"./CMQQhME9.js";import"./BS3QwMw7.js";import"./BPPrUZIa.js";import"./BA3Rr3NK.js";import"./DJjYOYnI.js";import"./xtoT8-OP.js";import"./C7u55QtZ.js";import"./MjV6lATv.js";import"./BCfQEYRE.js";import"./DnqZrDpg.js";import"./CIK5isgc.js";import"./4atYtMqj.js";import"./ad715qpo.js";import"./0VBJElwJ.js";import"./Cy8T-BbY.js";import"./CyKkOMu7.js";import"./B4X2ojue.js";import"./ChREVvNC.js";import"./CPpUH-jE.js";import"./DHfNMP5U.js";import"./BvMDZJZt.js";import"./CrYARvoY.js";import"./CLvvGF89.js";import"./m5LVTByb.js";import"./CrTH1jFJ.js";import"./BuUcDrrG.js";import"./gcIuOSL9.js";import"./8mWSG_My.js";import"./BORMUP0n.js";import"./D6Me0GsF.js";import"./bQCzVlXr.js";import"./iGFFii-8.js";const ne={key:0},ie={key:0,class:"alert alert-success"},le={key:1,class:"alert alert-danger"},de={key:2,class:"alert alert-info"},me={key:1},ue={class:"form-group"},ce={key:0,class:"form-group"},_e={class:"form-group"},pe={class:"form-group"},ve={class:"form-group"},fe={class:"form-group"},$e={class:"form-group"},ye={class:"form-group"},ge={key:1,class:"form-group"},he={class:"col-form-label p-0"},be={class:"form-check"},ze={for:"customer-marketing",class:"form-check-label os-form-label"},we=["value"],ke={class:"mt-3"},Ve=L({__name:"accountForm",setup(C){const g=T(H,null),U=A(()=>g?.value?.customer_name_2_visible??!1),D=A(()=>g?.value?.allow_newsletter_subscriptions??!1),{required:h,businessId:k,email:V,phone:d}=P(),{verifyHuman:R}=X(),o=w(!1),F=w(!1),u=w(!1),_=w(!0),r=E({customer_name_1:"",customer_name_2:"",customer_vatnumber:"",customer_address_1:"",customer_address_2:"",customer_address_3:"",customer_country:"",customer_contact:"",customer_email:"",customer_phone:"",marketing:!1,customer_free_text:""}),a=j({customer_name_1:{required:h,$autoDirty:!0,$dirty:!1,$lazy:!0},customer_name_2:{$autoDirty:!0,$dirty:!1,$lazy:!0},customer_vatnumber:{required:h,businessId:k,$autoDirty:!0,$dirty:!1,$lazy:!0},customer_address_1:{$autoDirty:!0,$dirty:!1,$lazy:!0},customer_address_3:{$autoDirty:!0,$dirty:!1,$lazy:!0},customer_contact:{$autoDirty:!0,$dirty:!1,$lazy:!0},customer_email:{required:h,email:V,$autoDirty:!0,$dirty:!1,$lazy:!0},customer_phone:{phone:d,$autoDirty:!0,$dirty:!1,$lazy:!0}},r,{$scope:!1}),q=async()=>{if(await a.value.$validate()&&await R("register"))try{u.value=!0,await se(r),o.value=!0,F.value=!0,_.value=!1}catch{F.value=!1,_.value=!0}finally{u.value=!1}};return(s,i)=>{const K=O,Q=G,W=M,z=J;return n(),c(I,null,[e(o)?(n(),c("div",ne,[e(F)?(n(),c("div",ie,y(s.$t("thanks_content")),1)):(n(),c("div",le,[l(K,{icon:"fa-solid fa-circle-exclamation"}),S(" "+y(s.$t("could_not_send_message")),1)])),e(u)?(n(),c("div",de,[l(Q),S(" "+y(s.$t("loading"))+"... ",1)])):b("",!0)])):b("",!0),e(_)?(n(),c("div",me,[t("p",null,y(s.$t("request_credentials_with_contact_info_text")),1),t("form",{onSubmit:x(q,["prevent"])},[l(W),t("div",ue,[l(z,{label:s.$t("company_name"),"validation-handler":e(a).customer_name_1},{default:v(()=>[p(t("input",{id:"user-name-1","onUpdate:modelValue":i[0]||(i[0]=m=>e(r).customer_name_1=m),type:"text",class:f(["form-control",{"is-invalid":e(a).customer_name_1.$invalid&&e(a).customer_name_1.$dirty}]),name:"customer_name_1",size:"30",autocomplete:"organization"},null,2),[[$,e(r).customer_name_1]])]),_:1},8,["label","validation-handler"])]),e(U)?(n(),c("div",ce,[l(z,{label:s.$t("customer_name_2"),"validation-handler":e(a).customer_name_2},{default:v(()=>[p(t("input",{id:"user-name-2","onUpdate:modelValue":i[1]||(i[1]=m=>e(r).customer_name_2=m),class:f(["form-control",{"is-invalid":e(a).customer_name_2.$invali
1d&&e(a).customer_name_2.$dirty}]),name:"customer_name_2",size:"30"},null,2),[[$,e(r).customer_name_2]])]),_:1},8,["label","validation-handler"])])):b("",!0),t("div",_e,[l(z,{label:s.$t("business_id"),"validation-handler":e(a).customer_vatnumber},{default:v(()=>[p(t("input",{id:"user-vatnumber","onUpdate:modelValue":i[2]||(i[2]=m=>e(r).customer_vatnumber=m),type:"text",class:f(["form-control",{"is-invalid":e(a).customer_vatnumber.$invalid&&e(a).customer_vatnumber.$dirty}]),name:"customer_vatnumber",size:"30"},null,2),[[$,e(r).customer_vatnumber]])]),_:1},8,["label","validation-handler"])]),t("div",pe,[l(z,{label:s.$t("street_address"),"validation-handler":e(a).customer_address_1},{default:v(()=>[p(t("input",{id:"user-address-1","onUpdate:modelValue":i[3]||(i[3]=m=>e(r).customer_address_1=m),class:f(["form-control",{"is-invalid":e(a).customer_address_1.$invalid&&e(a).customer_address_1.$dirty}]),type:"text",name:"customer_address_1",size:"30",autocomplete:"street-address"},null,2),[[$,e(r).customer_address_1]])]),_:1},8,["label","validation-handler"])]),t("div",ve,[l(z,{label:s.$t("zip_code_and_city"),"validation-handler":e(a).customer_address_3},{default:v(()=>[p(t("input",{id:"user-address-3","onUpdate:modelValue":i[4]||(i[4]=m=>e(r).customer_address_3=m),class:f(["form-control",{"is-invalid":e(a).customer_address_3.$invalid&&e(a).customer_address_3.$dirty}]),type:"text",name:"customer_address_3",size:"30"},null,2),[[$,e(r).customer_address_3]])]),_:1},8,["label","validation-handler"])]),t("div",fe,[l(z,{label:s.$t("contact_person"),"validation-handler":e(a).customer_contact},{default:v(()=>[p(t("input",{id:"user-contact","onUpdate:modelValue":i[5]||(i[5]=m=>e(r).customer_contact=m),class:f(["form-control",{"is-invalid":e(a).customer_contact.$invalid&&e(a).customer_contact.$dirty}]),type:"text",name:"customer_contact",size:"30",autocomplete:"name"},null,2),[[$,e(r).customer_contact]])]),_:1},8,["label","validation-handler"])]),t("div",$e,[l(z,{label:s.$t("email_address"),"validation-handler":e(a).customer_email},{default:v(()=>[p(t("input",{id:"user-email","onUpdate:modelValue":i[6]||(i[6]=m=>e(r).customer_email=m),class:f(["form-control",{"is-invalid":e(a).customer_email.$invalid&&e(a).customer_email.$dirty}]),type:"text",name:"customer_email",size:"40",autocomplete:"email"},null,2),[[$,e(r).customer_email]])]),_:1},8,["label","validation-handler"])]),t("div",ye,[l(z,{label:s.$t("phone_number"),"validation-handler":e(a).customer_phone},{default:v(()=>[p(t("input",{id:"user-phone","onUpdate:modelValue":i[7]||(i[7]=m=>e(r).customer_phone=m),class:f(["form-control",{"is-invalid":e(a).customer_phone.$invalid&&e(a).customer_phone.$dirty}]),type:"tel",name:"customer_phone",size:"40",autocomplete:"tel"},null,2),[[$,e(r).customer_phone]])]),_:1},8,["label","validation-handler"])]),e(D)?(n(),c("fieldset",ge,[t("legend",he,y(s.$t("newsletter")),1),t("div",be,[t("label",ze,[p(t("input",{id:"customer-marketing","onUpdate:modelValue":i[8]||(i[8]=m=>e(r).marketing=m),type:"checkbox",class:"form-check-input",name:"marketing"},null,512),[[Z,e(r).marketing]]),S(" "+y(s.$t("yes")),1)])])])):b("",!0),t("input",{type:"submit",name:"submit",value:s.$t("send"),class:"btn btn-primary"},null,8,we)],32),t("p",ke,y(s.$t("registration_data_store_info")),1)])):b("",!0)],64)}}}),Ue={key:0},De={key:0,class:"alert alert-success"},Re={key:1,class:"alert alert-danger"},Fe={key:2,class:"alert alert-info"},qe={key:1},Se={class:"form-group"},Ae={class:"form-group"},Ce={class:"form-group"},Ne={class:"form-group"},Le=["value"],Ie={class:"mt-3"},Be=L({__name:"requestAccountForm",setup(C){const{required:g,minLength:U}=P(),D=w(!1),h=w(!1),k=w(!1),V=w(!0),d=E({name:"",organization:"",contact:"",freeword:""}),R={name:{required:g,$autoDirty:!0,$dirty:!1,$lazy:!0},organization:{$autoDirty:!0,$dirty:!1,$lazy:!0},contact:{required:g,minLengthValue:U(5),$autoDirty:!0,$dirty:!1,$lazy:!0},freeword:{$autoDirty:!0,$dirty:!1,$lazy:!0}},o=j(R,d,{$scope:!1}),F=async()=>{if(await o.value.$validate())try{k.value=!0,await re(d),D.value=!0,h.value=!0,V.value=!1}catch{h.value=!1,V.value=!0}finally{k.value=!1}};return(u,_)=>{const r=O,B=G,a=M,q=J;return n(),c(I,null,[e(D)?(n(),c("div",Ue,[e(h)?(n(),c("div",De,y(u.$t("thanks_content")),1)):(n(),c("div",Re,[l(r,{icon:"fa-solid fa-circle-exclamation"}),S(" "+y(u.$t("could_not_send_message")),1)])),e(k)?(n(),c("div",Fe,[l(B),S(" "+y(u.$t("loading"))+"... ",1)])):b("",!0)])):b("",!0),e(V)?(n(),c("div",qe,[t("form",{onSubmit:x(F,["prevent"])},[l(a),t("div",Se,[l(q,{label:u.$t("name"),"validation-handler":e(o).name},{default:v(()=>[p(t("input",{id:"user-name","onUpdate:modelValue":_[0]||(_[0]=s=>e(d).name=s),type:"text",class:f(["form-control",{"is-valid":!e(o).name.$invali
1d&&e(o).name.$dirty,"is-invalid":e(o).name.$invalid&&e(o).name.$dirty}]),name:"name",size:"30",autocomplete:"name"},null,2),[[$,e(d).name]])]),_:1},8,["label","validation-handler"])]),t("div",Ae,[l(q,{label:u.$t("organization"),"validation-handler":e(o).organization},{default:v(()=>[p(t("input",{id:"user-organization","onUpdate:modelValue":_[1]||(_[1]=s=>e(d).organization=s),type:"text",class:f(["form-control",{"is-valid":!e(o).organization.$invalid&&e(o).organization.$dirty,"is-invalid":e(o).organization.$invalid&&e(o).organization.$dirty}]),name:"organization",size:"30",autocomplete:"organization"},null,2),[[$,e(d).organization]])]),_:1},8,["label","validation-handler"])]),t("div",Ce,[l(q,{label:u.$t("contact_email_or_phone"),"validation-handler":e(o).contact},{default:v(()=>[p(t("input",{id:"user-contact","onUpdate:modelValue":_[2]||(_[2]=s=>e(d).contact=s),type:"text",class:f(["form-control",{"is-valid":!e(o).contact.$invalid&&e(o).contact.$dirty,"is-invalid":e(o).contact.$invalid&&e(o).contact.$dirty}]),name:"email","data-ftype":"email",size:"30"},null,2),[[$,e(d).contact]])]),_:1},8,["label","validation-handler"])]),t("div",Ne,[l(q,{label:u.$t("details"),"validation-handler":e(o).freeword},{default:v(()=>[p(t("textarea",{id:"reg-freeword","onUpdate:modelValue":_[3]||(_[3]=s=>e(d).freeword=s),cols:"40",rows:"4",class:f(["form-control",{"is-valid":!e(o).freeword.$invalid&&e(o).freeword.$dirty,"is-invalid":e(o).freeword.$invalid&&e(o).freeword.$dirty}]),name:"freeword"},null,2),[[$,e(d).freeword]])]),_:1},8,["label","validation-handler"]),t("input",{type:"submit",name:"submit",value:u.$t("send"),class:"btn btn-primary"},null,8,Le)])],32),t("p",Ie,y(u.$t("registration_data_store_info")),1)])):b("",!0)],64)}}});function Me(C){return ee("/pages/search/",{method:"POST",body:JSON.stringify(C)})}const Te=["innerHTML"],It=L({__name:"registration",async setup(C){let g,U;const{locale:D}=te(),h=T(H,null),k=A(()=>h?.value?.allow_registration),{data:V}=([g,U]=ae(()=>oe(()=>Me({type:11,limit:1}),"$q9dj0nQcoD")),g=await g,U(),g),d=A(()=>V.value?.pages[0]??null),R=A(()=>d.value?.content?.[D.value]??"");return(o,F)=>{const u=Y,_=Ve,r=Be;return n(),c(I,null,[e(R).length>0?(n(),c("div",{key:0,ref:"contentContainer",innerHTML:e(R)},null,8,Te)):b("",!0),e(d)?.pageForm?(n(),N(u,{key:1,"form-data":e(d).pageForm,"page-id":e(d).id},null,8,["form-data","page-id"])):e(k)?(n(),N(_,{key:2})):(n(),N(r,{key:3}))],64)}}});export{It 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.