PageSourceSearch

https://www.univers.ph/_nuxt/C9mjAbuN.js

js univers.ph collected 2026-09-24 13:31:11 UTC 5,521 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dq2Hkpct.js","./DMzx58iQ.js","./yOJj5uNE.js","./DlAUqK2U.js","./Toast.Bz0p02vp.css","./BQThLRt4.js"])))=>i.map(i=>d[i]);
2import{f as ne,q as re,A as ie,r as h,ao as ue,m as me,h as ce,o as x,c as U,a as o,t as v,j as n,x as de,b as a,w as m,F as B,d as P,l as _e,k as pe,C as R,_ as D}from"./yOJj5uNE.js";import{_ as fe}from"./CPuWFeW3.js";import{_ as be}from"./CU1OwxUW.js";import{_ as he}from"./DwHmOvlT.js";import{_ as xe}from"./D6Y0ded2.js";import ve from"./DMzx58iQ.js";import ge from"./Y7zkWUCV.js";import{_ as ye}from"./DN5B0QRB.js";import{u as we}from"./VSNg6JR7.js";import{u as Ve}from"./B-8RAeSf.js";import{g as Ee}from"./DJIia-oI.js";import"./BV650Hjl.js";import"./DlAUqK2U.js";const je=R(()=>D(()=>import("./Dq2Hkpct.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(c=>c.default||c)),Ae={class:"lg:px-8 lg:py-16 py-10 px-3"},Se={class:"mb-6"},ke={class:"lg:text-h3 text-mbl-h3 font-medium"},Ce={class:"lg:max-w-[800px] m-auto lg:pt-16 pt-14"},Te={class:"mb-8"},qe={class:"lg:text-h3 text-mbl-h3 font-medium text-center mb-8"},Ie={class:"col-span-full text-center"},$e={class:"w-fit m-auto mb-6"},Me={class:"bg-white px-9 py-[60px] rounded-none border"},Ne={class:"flex flex-col items-center text-center space-y-3 mb-6"},Ue={class:"w-[48px] h-[48px] flex justify-center items-center bg-gray-600 bg-opacity-10 rounded-full text-center"},Be=o("p",{class:"text-xl font-bold text-gray-600"},"Inquiry Submitted!",-1),Pe=o("p",{class:""},"Inquiry has been successfully submitted",-1),Re={class:"w-fit m-auto"},Ze=ne({__name:"index",async setup(c){var w,V,E;let i,g;const{addToast:L,removeToast:O,visibleToasts:F}=we(),z=R({loader:()=>D(()=>import("./BQThLRt4.js"),__vite__mapDeps([5,2]),import.meta.url).then(r=>r.VueRecaptcha),loadingComponent:()=>"<div>Loading...</div>",delay:4e3}),{$api:d}=re(),{data:_}=([i,g]=ie(()=>d.cms.getInquiryPage()),i=await i,g(),i),{profile:p}=Ve(),f=h(!1),u=h(!1),l=h({}),e=ue({name:((w=p.value)==null?void 0:w.fullName)??"",email:((V=p.value)==null?void 0:V.email)??"",mobile_number:((E=p.value)==null?void 0:E.mobileNumber)??"",subject:null,message:null,recaptcha_response:!1}),y=me(()=>f.value||!e.name||!e.email||!e.mobile_number||!e.subject||!e.message),{data:K,execute:G}=d.inquiry.getSubjects({immediate:!1}),J=()=>{e.recaptcha_response=!0},W=()=>{e.recaptcha_response=!1},Y=async()=>{if(!y.value){f.value=!0;try{if(await d.inquiry.createInquiry(e))u.value=!0;else throw new Error("No data received from API");H()}catch(r){l.value=Ee(r);const s=Object.keys(l.value).join(", ");L({title:`Field/s required: ${s}`,status:"error",duration:5e3})}finally{f.value=!1}}},H=()=>{l.value={}},Q=()=>{u.value=!1,window.location.reload()};return ce(G),(r,s)=>{var A,S,k,C,T,q,I,$,M,N;const b=fe,X=be,Z=he,j=xe,ee=ve,te=ge,oe=je,se=ye;return x(),U(B,null,[o("section",Ae,[o("div",Se,[o("h3",ke,v((k=(S=(A=n(_))==null?void 0:A.data)==null?void 0:S.content)==null?void 0:k.section1_title),1)]),o("div",Ce,[o("p",Te,v((q=(T=(C=n(_))==null?void 0:C.data)==null?void 0:T.content)==null?void 0:q.section1_subtitle),1),o("div",null,[o("h3",qe,v((M=($=(I=n(_))==null?void 0:I.data)==null?void 0:$.content)==null?void 0:M.section1_form_header),1),o("form",{onSubmit:de(Y,["prevent"]),class:"max-w-[648px] w-full m-auto grid grid-cols-2 gap-x-2 gap-y-6"},[a(b,{label:"Full Name",id:"full_name",name:"full_name",placeholder:"Enter your full name",modelValue:e.name,"onUpdate:modelValue":s[0]||(s[0]=t=>e.name=t),class:"col-span-full",error:l.value.name},null,8,["modelValue","error"]),a(b,{label:"EMAIL",placeholder:"Enter email here",id:"email",name:"email",required:"",modelValue:e.email,"onUpdate:modelValue":s[1]||(s[1]=t=>e.email=t),class:"col-span-full",error:l.value.email},null,8,["modelValue","error"]),a(X,{label:"Mobile Number",placeholder:"Enter number here",id:"mobile_number",name:"mobile_number",modelValue:e.mobile_number,"onUpdate:modelValue":s[2]||(s[2]=t=>e.mobile_number=t),required:"",class:"col-span-full",error:l.value.mobile_number},null,8,["modelValue","error"]),a(Z,{label:"SUBJECT",placeholder:"Select subject here",id:"subject",name:"subject",required:"",class:"col-span-full",modelValue:e.subject,"onUpdate:modelValue":s[3]||(s[3]=t=>e.subject=t),options:(N=n(K))==null?void 0:N.options,error:l.value.subject},null,8,["modelValue","options","error"]),a(b,{label:"MESSAGE",id:"message",name:"message",placeholder:"Enter your message here",textarea:"","text-area-rows":4,class:"col-span-full",modelValue:e.message,"onUpdate:modelValue":s[4]||(s[4]=t=>e.message=t),error:l.value.message},null,8,["modelValue","error"]),o("div",Ie,[o("div",$e,[a(n(z),{sitekey:r.$config.public.siteKey,onVerify:J,onExpired:W,ref:"grecaptcha"},null,8,["sitekey"])]),a(j,{class:"uppercase m-auto",type:"submit",disabled:n(y)},{default:m(()=>[P(" SUBMIT ")]),_:1},8,["disabled"])])],32)])])]),a(te,{show:u.value,"max-width":"lg",onClose:s[5]||(s[5]=t=>u.value=!1)},{default:m(()=>[o("div",Me,[o("div",Ne,[o("div",Ue,[a(ee,{name:"heroicons:check",class:"h-5 w-5 stroke-5 stroke-gray-600 text-gray-600"})]),Be,Pe]),o("div",Re,[a(j,{class:"uppercase m-auto",onClick:Q},{default:m(()=>[P(" OKAY ")]),_:1})])])]),_:1},8,["show"]),a(se,null,{default:m(()=>[(x(!0),U(B,null,_e(n(F),(t,ae)=>(x(),pe(oe,{key:ae,title:t.title,actionText:t.actionText,duration:t.duration,onClose:le=>n(O)(t),onAction:le=>t.onAction&&t.onAction()},null,8,["title","actionText","duration","onClose","onAction"]))),128))]),_:1})],64)}}});
2export{Ze 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.