PageSourceSearch

https://www.voicenter.com/_nuxt/BZ_HRJLL.js

js voicenter.com collected 2026-09-25 04:48:18 UTC 5,752 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cs4F_RLD.js","./DYXMjpAO.js","./DPY2NhqJ.js","./entry.CX8nMGms.css","./BaseSelect.Bkd5af9V.css","./BAZa_dQB.js","./BaseInput.Bm1W9HUV.css","./asFcrT9j.js"])))=>i.map(i=>d[i]);
2import{d as F,dv as U,m as $,dh as R,o as N,c as C,a as i,n as w,t as d,dr as j,e as l,w as m,b as e,f as z,dD as I,db as T,g as b,_ as g,k as J,dn as Y,dt as Z,l as G,du as h,dg as H,h as K}from"./DPY2NhqJ.js";import{_ as Q}from"./jvnjHXUc.js";import{s as W}from"./Si5gmdzB.js";import{f as X}from"./Dl6GJQpA.js";const ee={id:"landing-form",class:"landing-form"},te={class:"landing-form__form-wrap w-full text-dark-grey"},ne={class:"landing-form__form"},oe={class:"grid md:grid-cols-2 items-center gap-x-4"},ae={class:"grid md:grid-cols-2 items-center gap-x-4 mb-6 md:mb-12"},le={key:0,id:"phone-call-text-landing-form"},re={key:0,class:"text-center text-light-soft body-text-2 pb-6"},me=F({__name:"LandingForm",props:{blockData:{default:()=>({})},blockId:{default:""},formContent:{default:()=>({})},inModal:{type:Boolean,default:!1},miniSiteId:{default:""}},setup(o){const A=b(()=>g(()=>import("./Cs4F_RLD.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),u=b(()=>g(()=>import("./BAZa_dQB.js"),__vite__mapDeps([5,2,3,6]),import.meta.url)),s=b(()=>g(()=>import("./asFcrT9j.js"),__vite__mapDeps([7,2,3]),import.meta.url)),E=b(()=>g(()=>import("./DPY2NhqJ.js").then(r=>r.eZ),__vite__mapDeps([2,3]),import.meta.url)),S=o,_={required:" ",minLength:" ",phone:" ",fullNameStyle:h?"רשום בבקשה את שמך בעברית או באנגלית בלבד":"Please enter your full name in English only",numeric:h?"הזן בבקשה רק מספרים":"Please enter digits only",emailStyle:h?'בבקשה הזן כתובת דוא"ל תקינה המכילה כרוכית  @':"Please enter a valid Email with @ sign."},{getError:f,clearError:c,validate:k}=X(_),x=U(),{setState:V,getState:P}=H(),p=J(!1),n=Y({CompanyName:"",Telephone:"",fullName:"",ExtensionsAmount:"",Email:""}),L={Telephone:{required:!0,minLength:2,numeric:!0},fullName:{required:!0,fullNameStyle:h?"rtl":"ltr"},Email:{required:!0,email:!0},CompanyName:{required:!0}},B=()=>{Object.keys(n).forEach(r=>{n[r]=""})},M=r=>r?r.map(t=>t?.textItem):[],D=async()=>{if(p.value||!k(L,n))return;p.value=!0;const[t,v]=n.fullName?.split(" "),a=n.ExtensionsAmount?.includes("-")?n.ExtensionsAmount.split("-")[1]:n.ExtensionsAmount,y={...Z(n),FirstName:t,LastName:v,ExtensionsAmount:a,minisite_customer_id:S.miniSiteId,RefUrl:window.location.href,query:await x.$leadTracker.getLeadInfo()};JSON.stringify(y.query)==="{}"&&delete y.query;try{await W(y),window.localStorage.removeItem("params")}catch(O){console.log(O)}p.value=!1,B(),defineEmits()("close-modal",!1),V.setClientsModal(!1),V.setClientsFormSuccessMessage(!0)},q=G(()=>P.value.isMobile);return $(()=>{R(()=>{x.$leadTracker.actionsProceed()})}),(r,t)=>{const v=Q;return N(),C("div",ee,[i("div",te,[i("div",ne,[i("div",{class:w(["title-2 text-light-soft",{"text-primary text-center mb-2 md:mb-8":o.inModal,"mb-12":!o.inModal}])},d(o.formContent.title),3),i("form",{action:"#",onSubmit:j(D,["prevent"])},[i("div",oe,[l(e(u),{modelValue:e(n).fullName,"onUpdate:modelValue":t[0]||(t[0]=a=>e(n).fullName=a),label:o.formContent.fullNameLabel||"Your Full Name","data-test":"input-full-name-client",error:e(f)("fullName"),onInput:t[1]||(t[1]=a=>e(c)("fullName"))},{"prev-icon":m(()=>[l(e(s),{name:"person",height:"24",width:"24"})]),_:1},8,["modelValue","label","error"]),l(e(u),{modelValue:e(n).Telephone,"onUpdate:modelValue":t[2]||(t[2]=a=>e(n).Telephone=a),label:o.formContent.phoneNumber||"Phone Number","data-test":"input-phone-client",error:e(f)("Telephone"),onInput:t[3]||(t[3]=a=>e(c)("Telephone"))},{"prev-icon":m(()=>[l(e(s),{name:"form-phone",height:"24",width:"24"})]),_:1},8,["modelValue","label","error"])]),l(e(u),{modelValue:e(n).Email,"onUpdate:modelValue":t[4]||(t[4]=a=>e(n).Email=a),label:o.formContent.emailLabel||"Email","data-test":"input-email-client",error:e(f)("Email"),onInput:t[5]||(t[5]=a=>e(c)("Email"))},{"prev-icon":m(()=>[l(e(s),{name:"email",height:"24",width:"24"})]),_:1},8,["modelValue","label","error"]),i("div",ae,[l(e(u),{modelValue:e(n).CompanyName,"onUpdate:modelValue":t[6]||(t[6]=a=>e(n).CompanyName=a),label:o.formContent.companyLabel||"Company Name","data-test":"input-company-name-client",error:e(f)("CompanyName"),onInput:t[7]||(t[7]=a=>e(c)("CompanyName"))},{"prev-icon":m(()=>[l(e(s),{name:"company-input",height:"24",width:"24"})]),_:1},8,["modelValue","label","error"]),l(e(A),{modelValue:e(n).ExtensionsAmount,"onUpdate:modelValue":t[8]||(t[8]=a=>e(n).ExtensionsAmount=a),options:M(o.formContent.userAmount),label:o.formContent.userAmountLabel,"data-test":"amount-autocomplete-client",class:"mt-1"},{"prev-icon":m(()=>[l(e(s),{name:"business-center",height:"24",width:"24"})]),_:1},8,["modelValue","options","label"])]),i("div",{class:w({"mx-auto modal-form-btn":o.inModal})},[l(e(E),{loading:e(p),outlined:"",block:"",class:"mb-4"},{default:m(()=>[z(d(o.formContent.buttonText),1)]),_:1},8,["loading"]),l(v,null,{default:m(()=>[l(e(E),{id:"phone-call-button-landing-form","type-tag":"link",to:`tel:${"formattedPhoneNumber"in r?r.formattedPhoneNumber:e(I)}`,outlined:"",block:""},{"left-icon":m(()=>[l(e(s),{name:o.formContent?.formCallButtonIcon||"phone",class:"w-5 h-5"},null,8,["name"])]),default:m(()=>[i("span",null,d(o.formContent?.formCaButtonText||"Call Us"),1),e(q)?T("",!0):(N(),C("span",le,d("formattedPhoneNumber"in r?r.formattedPhoneNumber:e(I)),1))]),_:1},8,["to"])]),_:1})],2),o.formContent?.underButtonText?(N(),C("div",re,d(o.formContent?.underButtonText),1)):T("",!0)],32)])])])}}}),ce=K(me,[["__scopeId","data-v-2d73abcb"]]);export{ce 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.