1import{p as ie,d as ue,v as de,r,l as Y,W as ce,C as H,z as pe,E as me,n as ve,c as a,g as I,a as t,e as d,h as J,w as fe,H as A,f as u,I as i,J as m,t as p,P as ye,ah as C,F as w,i as z,G as K,O as Q,_ as be,o as l,q as he,s as ge,j as we}from"./GsSstu13.js";import{u as ke}from"./C6y77gQe.js";import"./CO9aG9eu.js";/* empty css */import"./1eNvs-OF.js";const xe=ie("/img/services/1.webp"),Oe={style:{"background-color":"#0d0f11",overflow:"hidden"}},_e={class:"container"},Se={class:"hero-banner updated-hero"},qe={class:"hero-content"},Pe={class:"hero-text"},Ce={class:"breadcrumbs"},ze={class:"centered-form"},Me={key:0,class:"step-card"},je={class:"field-group"},Te={class:"field-group"},Ae={class:"field-group"},Be={key:0,class:"check-mark"},Ve=["disabled"],Fe={key:0,class:"spinner"},Re={key:1},Ee={key:0,class:"alert-msg error"},Ue={key:1,class:"step-card"},We={class:"q-row"},Ne={class:"q-content"},De={class:"select-wrap"},Ie=["value"],Qe={class:"q-row"},Ge={class:"q-content"},Le={class:"select-wrap"},$e=["value"],Ye={class:"q-row"},He={class:"q-content"},Je={class:"select-wrap"},Ke=["value"],Xe={class:"q-row"},Ze={class:"q-content"},et={class:"select-wrap"},tt=["value"],st={class:"q-row"},ot={class:"q-content"},at={class:"select-wrap"},lt=["value"],nt={class:"optional-section"},rt={class:"step2-buttons"},it=["disabled"],ut=["disabled"],dt={key:0,class:"spinner"},ct={key:2},pt={class:"modal-container"},mt={class:"modal-body"},vt={class:"modal-container error-modal"},ft={class:"modal-body"},yt={style:{"font-size":"38px","margin-bottom":"10px",display:"flex","align-items":"center"}},bt={style:{color:"black","font-weight":"600","font-size":"16px","margin-bottom":"0px"}},ht=ue({__name:"ps5",setup(gt){const{$api:B}=de(),c=r(1),y=r(""),M=r(!1),V=r(!1),F=r(!1),b=r(!1),h=r(null),G=r(null),g=r(null),k=r(!1),j=r(!1),R=r("");let E=!1,v=null;Y(()=>V.value?"Validating emailâ¦":F.value?g.value?"Updatingâ¦":"Savingâ¦":"Next: Quick Questions â");const X=Y(()=>"Submittingâ¦"),s=ce({name:"",company:"",email:"",jobsPerMonth:"",jobsPerMonthOther:"",role:"",roleOther:"",frustration:"",frustrationOther:"",currentSystem:"",currentSystemOther:"",improvementGoal:"",improvementOther:"",note:"",consent:!1}),Z=["0â50","51â200","201â500","501â1,000","1,000+","Other"],ee=["Owner / Director","Operations / Contracts","Helpdesk / Scheduling","FM / Maintenance Manager","Other"],te=[{value:"Too much admin",label:"Too much admin"},{value:"Scheduling takes too long",label:"Scheduling takes too long"},{value:"Poor visibility of jobs or engineers",label:"Poor visibility of jobs or engineers"},{value:"Invoicing / proof of work issues",label:"Invoicing / proof of work issues"},{value:"Compliance tracking",label:"Compliance tracking"},{value:"Reporting",label:"Reporting"},{value:"We do not use a proper system",label:"We do not use a proper system"},{value:"Other",label:"Other"}],se=["No CAFM / spreadsheets","Legacy CAFM","In-house system","Another cloud system","Not sure","Other"],oe=["Faster scheduling","Less admin","Better proof of work","Fewer invoice disputes","Better reporting","Stronger compliance control","Other"],ae=async()=>{var e;if(!s.name||!s.company||!s.email){y.value="Please fill in your name, company, and email address.";return}if(!s.consent){y.value="You must agree to be contacted before proceeding.";return}M.value=!0,V.value=!0,y.value="",F.value=!0;const n={name:s.name,company_name:s.company,email:s.email,consent:s.consent,questions:[]};try{if(g.value)await B.patch(`/api/ps5-leads/${g.value}/`,n);else{const f=await B.post("/api/ps5-leads/",n);if((e=f.data)!=null&&e.id)g.value=f.data.id;else throw new Error("No lead ID returned")}c.value=2,Q(()=>q())}catch(f){console.error("Failed to save step 1:",f),y.value="Could not save your details. Please try again."}finally{F.value=!1,M.value=!1,V.value=!1}},x=r(null),T=r({top:"0px",height:"0px",left:"0px",display:"none"});let S=null;const q=()=>{Q(()=>{if(!x.value||c.value!==2)return;const n=x.value.querySelectorAll(".q-number");if(n.length<2){T.value.display="none";return}const e=n[0],f=n[n.length-1],P=x.value.getBoundingClientRect(),_=e.getBoundingClientRect(),o=f.getBoundingClientRect(),D=_.top-P.top+_.height/2,$=o.top-P.top+o.height/2,re=_.left-P.left+_.width/2;if($<=D){T.value.display="none";return}T.value={top:`${D}px`,height:`${$-D}px`,left:`${re}px`,display:"block"}})},O=()=>q();H(()=>[s.jobsPerMonth,s.role,s.currentSystem,s.frustration,s.improvementGoal],O),pe(()=>{window.addEventListener("resize",q),x.value&&(S=new ResizeObserver(q),S.observe(x.value))}),me(()=>{window.removeEventListener("resize",q),S==null||S.disconnect(),v&&clearTimeout(v)});const U=n=>{const e=n.target;e.style.borderColor="rgba(0,229,160,0.5)",e.style.boxShadow="0 0 0 3px rgba(0,229,160,0.15)",e.style.outline="none"},W=n=>{const e=n.target;
1e.style.borderColor="rgba(255,255,255,0.07)",e.style.boxShadow="none"},le=async()=>{if(k.value||j.value)return;if(!g.value){ne("error","Session expired. Please start over."),c.value=1;return}b.value=!0;const n={note:s.note,questions:[{question_id:"Q1",question_text:"Roughly how many jobs do you handle each month?",type:"single_select",selected_option:s.jobsPerMonth,other_text:s.jobsPerMonth==="Other"?s.jobsPerMonthOther:null},{question_id:"Q2",question_text:"Which best describes you?",type:"single_select",selected_option:s.role,other_text:s.role==="Other"?s.roleOther:null},{question_id:"Q3",question_text:"What frustrates you most about your current CAFM?",type:"single_select",selected_option:s.frustration,other_text:s.frustration==="Other"?s.frustrationOther:null},{question_id:"Q4",question_text:"What are you using today?",type:"single_select",selected_option:s.currentSystem,other_text:s.currentSystem==="Other"?s.currentSystemOther:null},{question_id:"Q5",question_text:"What would you most like to improve in the next 90 days?",type:"single_select",selected_option:s.improvementGoal,other_text:s.improvementGoal==="Other"?s.improvementOther:null}]};try{await B.patch(`/api/ps5-leads/${g.value}/`,n),b.value=!1,k.value=!0,E=!0,h.value=null,v&&clearTimeout(v),v=setTimeout(()=>{k.value&&N()},5e3)}catch(e){console.error(e),b.value=!1,R.value="Failed to submit your answers. The network might be unstable. Please retry.",j.value=!0}},N=()=>{v&&(clearTimeout(v),v=null),k.value=!1,E&&(Object.assign(s,{name:"",company:"",email:"",jobsPerMonth:"",jobsPerMonthOther:"",role:"",roleOther:"",frustration:"",frustrationOther:"",currentSystem:"",currentSystemOther:"",improvementGoal:"",improvementOther:"",note:"",consent:!1}),g.value=null,c.value=1,E=!1,y.value="")},L=()=>{j.value=!1,R.value=""},ne=(n,e)=>{h.value={type:n,message:e},setTimeout(()=>h.value=null,6e3)};return H(h,async n=>{var e;n&&(await Q(),(e=G.value)==null||e.scrollIntoView({behavior:"smooth",block:"center"}))}),ke({charset:"UTF-8",title:"Book an Arez Demo | Workplace Event 2026",description:"The PS5 prize draw has now closed. Book a demo with Arez.io to see how Facilities Management and Security businesses reduce admin, improve compliance, manage jobs, sites, and teams, and gain greater operational control.",robots:"index, follow",ogSiteName:"Arez.io",ogLocale:"en_GB",ogType:"website",ogTitle:"Book an Arez Demo | Arez.io",ogDescription:"Request a demo with Arez.io and discover how Facilities Management and Security businesses streamline operations, improve compliance, and gain better control of jobs, sites, and teams.",ogImage:"https://arez-website-cms.s3.eu-west-2.amazonaws.com/public/Social+Posts.jpg",ogImageType:"image/jpeg",ogImageWidth:"1200",ogImageHeight:"630",twitterCard:"summary_large_image",twitterSite:"@arez_io",twitterCreator:"@arez_io",twitterTitle:"Book an Arez Demo | Arez.io",twitterDescription:"Request a demo with Arez.io and see how FM and Security businesses improve compliance, reduce admin, and streamline operations.",twitterImage:"https://arez-website-cms.s3.eu-west-2.amazonaws.com/public/Social+Posts.jpg"}),ve({}),(n,e)=>{const f=he,P=be,_=ge;return l(),a(w,null,[I(f),t("section",Oe,[t("div",_e,[t("div",Se,[t("div",qe,[e[18]||(e[18]=t("div",{class:"status-icon"},[t("i",{class:"fa-solid fa-check"})],-1)),t("div",Pe,[e[17]||(e[17]=J('<h1 class="hero-title" data-v-39f7f156> The PS5 ballot has now <span class="gradient-text" data-v-39f7f156>closed</span></h1><p class="hero-description" data-v-39f7f156> The prize draw from The Workplace Event 2026 has now finished. </p><p class="hero-description" data-v-39f7f156> You can still complete the form below to book a demo of Arez.io and see how <span class="green" data-v-39f7f156>Facilities Management</span> and <span class="green" data-v-39f7f156>Security</span> firms use Arez to reduce admin, improve compliance, manage jobs, sites and team
1s, and gain better operational control. </p>',3)),I(P,{to:"/book-a-demo",class:"hero-demo-btn"},{default:fe(()=>e[16]||(e[16]=[u(" Book Your Arez Demo "),t("i",{class:"fa-solid fa-arrow-right"},null,-1)])),_:1,__:[16]})])]),e[19]||(e[19]=J('<div class="hero-visual" data-v-39f7f156><img src="'+xe+'" alt="PlayStation 5 gaming prize" class="ps5-img" data-v-39f7f156><div class="prize-badge" data-v-39f7f156><div class="trophy" data-v-39f7f156>ð</div><div class="badge-label" data-v-39f7f156>PS5</div><div class="badge-sub" data-v-39f7f156>TO BE WON</div></div></div>',1))]),e[48]||(e[48]=t("div",{class:"subheader"},[t("span",{class:"sub-icon"},[t("i",{class:"fa-solid fa-clipboard-list fs-4 text-white"})]),t("p",{class:"mb-0"}," Fill in your details below to request a demo with the Arez team. ")],-1)),t("div",Ce,[t("div",{class:A(["breadcrumb-step",{active:c.value===1,completed:c.value>1}])},e[20]||(e[20]=[t("span",{class:"step-number"},"1",-1),t("span",{class:"step-label"},"Your Details",-1)]),2),e[22]||(e[22]=t("div",{class:"breadcrumb-line"},null,-1)),t("div",{class:A(["breadcrumb-step",{active:c.value===2,completed:c.value>2}])},e[21]||(e[21]=[t("span",{class:"step-number"},"2",-1),t("span",{class:"step-label"},"Quick Questions",-1)]),2)]),t("div",ze,[c.value===1?(l(),a("div",Me,[e[27]||(e[27]=t("div",{class:"panel-label"},[t("span",{class:"q-number"},"1"),u(" Your Details ")],-1)),t("div",je,[e[23]||(e[23]=t("label",{class:"field-label"},[u("Your name "),t("span",{class:"req"},"*")],-1)),i(t("input",{"onUpdate:modelValue":e[0]||(e[0]=o=>s.name=o),class:"form-input",type:"text",placeholder:"Ex: Emma",required:"",onFocus:U,onBlur:W},null,544),[[m,s.name]])]),t("div",Te,[e[24]||(e[24]=t("label",{class:"field-label"},[u("Company name "),t("span",{class:"req"},"*")],-1)),i(t("input",{"onUpdate:modelValue":e[1]||(e[1]=o=>s.company=o),class:"form-input",type:"text",placeholder:"Ex: Acme Corp",required:"",onFocus:U,onBlur:W},null,544),[[m,s.company]])]),t("div",Ae,[e[25]||(e[25]=t("label",{class:"field-label"},[u("Email address "),t("span",{class:"req"},"*")],-1)),i(t("input",{"onUpdate:modelValue":e[2]||(e[2]=o=>s.email=o),class:"form-input",type:"email",placeholder:"Ex: [email protected]",required:"",onFocus:U,onBlur:W},null,544),[[m,s.email]])]),t("div",{class:"consent-row",onClick:e[3]||(e[3]=o=>s.consent=!s.consent)},[t("span",{class:A(["custom-checkbox",{checked:s.consent}])},[s.consent?(l(),a("span",Be,"â")):d("",!0)],2),e[26]||(e[26]=t("p",{class:"consent-text"},[u(" I agree to be contacted by Arez about booking a demo, product updates, and relevant follow-up communication. You can unsubscribe at any time. "),t("a",{href:"https://arez.io/privacy-policy",target:"_blank",class:"consent-link gradient-text"},"View our Privacy Policy.")],-1))]),t("button",{class:"next-btn",disabled:M.value,onClick:ae},[M.value?(l(),a("span",Fe)):(l(),a("span",Re,"Next: Quick Questions â"))],8,Ve),y.value?(l(),a("div",Ee,p(y.value),1)):d("",!0)])):(l(),a("div",Ue,[e[47]||(e[47]=t("div",{class:"panel-label"},[t("span",{class:"dot"}),u(" A Few Quick Questions "),t("span",{style:{"font-size":"11px",color:"#aaa"}},"(optional)")],-1)),t("div",{ref_key:"timelineContainer",ref:x,class:"timeline-questions-wrapper"},[t("div",{class:"timeline-vline",style:ye(T.value)},null,4),t("div",We,[e[30]||(e[30]=t("span",{class:"q-number"},"2",-1)),t("div",Ne,[e[29]||(e[29]=t("p",{class:"q-text"},"Roughly how many jobs do you handle each month?",-1)),t("div",De,[i(t("select",{"onUpdate:modelValue":e[4]||(e[4]=o=>s.jobsPerMonth=o),class:"form-select",onChange:O},[e[28]||(e[28]=t("option",{value:""},"Please select (optional)",-1)),(l(),a(w,null,z(Z,o=>t("option",{key:o,value:o},p(o),9,Ie)),64))],544),[[C,s.jobsPerMonth]])]),s.jobsPerMonth==="Other"?i((l(),a("textarea",{key:0,"onUpdate:modelValue":e[5]||(e[5]=o=>s.jobsPerMonthOther=o),class:"form-textarea",placeholder:"Please specify how many jobs you handle each month..."},null,512)),[[m,s.jobsPerMonthOther]]):d("",!0)])]),t("div",Qe,[e[33]||(e[33]=t("span",{class:"q-number"},"3",-1)),t("div",Ge,[e[32]||(e[32]=t("p",{class:"q-text"},"Which best describes you?",-1)),t("div",Le,[i(t("select",{"onUpdate:modelValue":e[6]||(e[6]=o=>s.role=o),class:"form-select",onChange:O},[e[31]||(e[31]=t("option",{value:""},"Please select (optional)",-1)),(l(),a(w,null,z(ee,o=>t("option",{key:o,value:o},p(o),9,$e)),64))],544),[[C,s.role]])]),s.role==="Other"?i((l(),a("textarea",{key:0,"onUpdate:modelValue":e[7]||
1(e[7]=o=>s.roleOther=o),class:"form-textarea",placeholder:"Please describe your role..."},null,512)),[[m,s.roleOther]]):d("",!0)])]),t("div",Ye,[e[36]||(e[36]=t("span",{class:"q-number"},"4",-1)),t("div",He,[e[35]||(e[35]=t("p",{class:"q-text"},"What are you using today?",-1)),t("div",Je,[i(t("select",{"onUpdate:modelValue":e[8]||(e[8]=o=>s.currentSystem=o),class:"form-select",onChange:O},[e[34]||(e[34]=t("option",{value:""},"Please select (optional)",-1)),(l(),a(w,null,z(se,o=>t("option",{key:o,value:o},p(o),9,Ke)),64))],544),[[C,s.currentSystem]])]),s.currentSystem==="Other"?i((l(),a("textarea",{key:0,"onUpdate:modelValue":e[9]||(e[9]=o=>s.currentSystemOther=o),class:"form-textarea",placeholder:"Please specify your current system..."},null,512)),[[m,s.currentSystemOther]]):d("",!0)])]),t("div",Xe,[e[39]||(e[39]=t("span",{class:"q-number"},"5",-1)),t("div",Ze,[e[38]||(e[38]=t("p",{class:"q-text"},"What frustrates you most about your current setup?",-1)),t("div",et,[i(t("select",{"onUpdate:modelValue":e[10]||(e[10]=o=>s.frustration=o),class:"form-select",onChange:O},[e[37]||(e[37]=t("option",{value:""},"Please select (optional)",-1)),(l(),a(w,null,z(te,o=>t("option",{key:o.value,value:o.value},p(o.label),9,tt)),64))],544),[[C,s.frustration]])]),s.frustration==="Other"?i((l(),a("textarea",{key:0,"onUpdate:modelValue":e[11]||(e[11]=o=>s.frustrationOther=o),class:"form-textarea",placeholder:"Please describe the challenge..."},null,512)),[[m,s.frustrationOther]]):d("",!0)])]),t("div",st,[e[42]||(e[42]=t("span",{class:"q-number"},"6",-1)),t("div",ot,[e[41]||(e[41]=t("p",{class:"q-text"},"What would you most like to improve in the next 90 days?",-1)),t("div",at,[i(t("select",{"onUpdate:modelValue":e[12]||(e[12]=o=>s.improvementGoal=o),class:"form-select",onChange:O},[e[40]||(e[40]=t("option",{value:""},"Please select (optional)",-1)),(l(),a(w,null,z(oe,o=>t("option",{key:o,value:o},p(o),9,lt)),64))],544),[[C,s.improvementGoal]])]),s.improvementGoal==="Other"?i((l(),a("textarea",{key:0,"onUpdate:modelValue":e[13]||(e[13]=o=>s.improvementOther=o),class:"form-textarea",placeholder:"What would you like to improve?..."},null,512)),[[m,s.improvementOther]]):d("",!0)])])],512),t("div",nt,[e[43]||(e[43]=t("div",{class:"optional-label"},[t("span",{class:"optional-dot"}),u(" More Details "),t("span",{style:{color:"#524d4d !important"}},"(Optional)")],-1)),e[44]||(e[44]=t("p",{class:"optional-hint"},"Anything you want us to know before we follow up?",-1)),i(t("textarea",{"onUpdate:modelValue":e[14]||(e[14]=o=>s.note=o),class:"form-textarea",placeholder:"Type your message here (optional)",maxlength:"250"},null,512),[[m,s.note]])]),t("div",rt,[t("button",{class:"back-btn",disabled:b.value,onClick:e[15]||(e[15]=o=>c.value=1)},"â Back",8,it),t("button",{class:"submit-btn",disabled:b.value||k.value,onClick:le},[b.value?(l(),a("span",dt)):(l(),a(w,{key:1},[e[45]||(e[45]=t("span",{class:"gift-icon"},null,-1)),e[46]||(e[46]=u(" Request a Demo â"))],64)),b.value?(l(),a("span",ct,p(X.value),1)):d("",!0)],8,ut)]),h.value?(l(),a("div",{key:0,ref_key:"alertRef",ref:G,class:A(["alert-msg",h.value.type])},p(h.value.message),3)):d("",!0)]))])]),I(_),k.value?(l(),a("div",{key:0,class:"modal-overlay",onClick:K(N,["self"])},[t("div",pt,[t("div",{class:"modal-header"},[e[49]||(e[49]=t("h3",{class:"modal-title gradient-text"},"Entry Saved Successfully!",-1)),t("button",{class:"modal-close-btn",onClick:N},"Ã")]),t("div",mt,[t("p",null,[e[50]||(e[50]=u("Thank you, ")),t("strong",null,p(s.name),1),e[51]||(e[51]=u("! Your Request Has Been Received."))]),e[52]||(e[52]=t("p",{class:"modal-highlight"},"we will connect with you to arrange a demo and exploratory call.",-1))])])])):d("",!0),j.value?(l(),a("div",{key:1,class:"modal-overlay",onClick:K(L,["self"])},[t("div",vt,[t("div",{class:"modal-header"},[e[53]||(e[53]=t("h3",{class:"modal-title"},null,-1)),t("button",{class:"modal-close-btn",onClick:L},"Ã")]),t("div",ft,[t("div",yt,[e[54]||(e[54]=t("span",{style:{"font-size":"20px"}},"â ï¸ ",-1)),e[55]||(e[55]=u()),t("p",bt,p(R.value||"Something went wrong we couldn't save your data."),1)]),e[56]||
1(e[56]=t("p",{style:{color:"gray","font-size":"13px"}}," Please check your internet connection and try again. ",-1))])])])):d("",!0)])],64)}}}),St=we(ht,[["__scopeId","data-v-39f7f156"]]);export{St 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.