1import{c as e,M as N,t as r,i as l,F as m,S as u,n as _,d as C,m as y,j as I,s as S,u as w}from"./index-BIsalLhq.js";import{F as j,I as o,c as z,S as D,R as G}from"./Form-CyQlrNsy.js";import{W as U}from"./WOW-BbJAkGQu.js";/* empty css */import"https://unpkg.com/@lottiefiles/[email protected]/dist/lottie-player.js";var H=r("<option disabled selected>Your Gender"),L=r("<option>Male"),Q=r("<option>Female"),V=r('<div class=box><div><h4 class="h4 wowload fadeInUp">Name</h4></div><div><h4 class="h4 wowload fadeInUp">Gender'),v=r("<option selected disabled>Please Select"),W=r("<option>Malaysia (+60)"),B=r('<div class=box><div><h4 class="h4 wowload fadeInUp">Age</h4></div><div><h4 class="h4 wowload fadeInUp">Country'),J=r('<div class=box><div><h4 class="h4 wowload fadeInUp">Phone Number</h4></div><div><h4 class="h4 wowload fadeInUp">Email Address'),M=r("<option disabled selected>Please Select"),P=r("<option>Others"),K=r('<div class=box><div><h4 class="h4 wowload fadeInUp">I am a</h4></div><div><h4 class="h4 wowload fadeInUp">I am interested in'),X=r('<h4 class="h4 wowload fadeInUp">I found the academy from'),Z=r("<option>Search Engine"),ee=r("<option>Facebook"),te=r("<option>Magazine"),re=r("<option>Friends / Colleagues"),ne=r('<h4 class="h4 wowload fadeInUp">Other Information'),ie=r('<p class="p text-center black mt-5">Please ensure you have given us the right email address and phone number. <br>Your email address is: '),ae=r('<div id=page-enquiry><section class="py-0 inner-banner"><div class=container><div class=text-box><h1 class="wowload fadeInUp text-center"></h1><h2 class="wowload fadeInUp"style="font-size:18px !important;font-weight:400 !important;"></h2></div></div></section><section id=enquiry1><div class=container><h2 class="text-center wowload fadeInUp">Enquiry Form</h2><p class="text-center mt-3 wowload fadeInUp">Your first step to achieve a successful career in Aesthetics'),p=r("<option>"),le=r("<div>");const[E]=y(()=>w("class=Registration/Main&method=getProfessions")),[F,se]=_(),[R]=y(()=>w("class=Registration/Main&method=getCourses")),[oe,k]=_(),[de,ue]=_(),[g]=y(de,s=>w(`class=Registration/Main&method=getRelevantPrograms&profession=${s.profession}&nationality=${s.nationality}`));$("html").on("input",'#page-enquiry input[name="profession"], #page-enquiry input[name="country"]',function(){const s=$("html").find('#page-enquiry input[name="profession"]').val(),c=$("html").find('#page-enquiry input[name="country"]').val();k(s==="Others"),$("html").find('#page-enquiry input[name="interested"]').val(""),$("html").find('#page-enquiry input[name="interested"]').trigger("input"),s&&c&&ue({profession:s,nationality:c})});function fe(s){return e(N,{get data(){return s.meta}}),e(U,{}),(()=>{var c=ae(),f=c.firstChild,Y=f.firstChild,O=Y.firstChild,b=O.firstChild,A=b.nextSibling,q=f.nextSibling,x=q.firstChild,T=x.firstChild;return T.nextSibling,l(x,e(u,{get when(){return I()},get children(){return[e(U,{target:"#enquiryform .wowload"}),e(j,{id:"enquiryform",action:"public?class=Enquiry/Main&method=sendEnquiry",get redirect(){return I().EnquiryThankYou},class:"mt-3",get children(){return[(()=>{var t=V(),n=t.firstChild;n.firstChild;var a=n.nextSibling;return a.firstChild,l(n,e(o,{type:"text",name:"name",placeholder:"Your name",required:!0}),null),l(a,e(o,{type:"select",name:"gender",required:!0,get children(){return[H(),L(),Q()]}}),null),t})(),(()=>{var t=B(),n=t.firstChild;n.firstChild;var a=n.nextSibling;return a.firstChild,l(n,e(o,{type:"number",name:"age",placeholder:"Your age",required:!0}),null),l(a,e(o,{type:"select",name:"country",required:!0,get children(){return[v(),W(),e(m,{each:z,children:(i,h)=>e(u,{when:i!="Malaysia (+60)",get children(){var d=p();return l(d,i),d}})})]}}),null),t})(),(()=>{var t=J(),n=t.firstChild;n.firstChild;var a=n.nextSibling;return a.firstChild,l(n,e(o,{type:"tel",name:"contact",placeholder:"Your phone number",required:!0}),null),l(a,e(o,{type:"email",name:"email",placeholder:"Email",onInput:i=>se(i.target.value),required:!0}),null),t})(),(()=>{var t=K(),n=t.firstChild;n.firstChild;var a=n.nextSibling;return a.firstChild,l(n,e(o,{type:"select",name:"profession",required:!0,get children(){return[M(),e(u,{get when(){return E()},get children(){return e(m,{get each(){return E()},children:(i,h)=>(()=>{var d=p();return l(d,()=>i[1]),C(()=>d.value=i[0]),d})()})}}),P()]}}),null),l(a,e(u,{get when(){return g()},get fallback(){return e(o,{type:"text",placeholder:"Please select your Country and Profession",readonly:!0})},get children(){return[e(u,{get when(){return g().err},get children(){return e(u,{get when(){return oe()},get fallback(){return(()=>{var i=le();return l(i,e(o,{type:"text",placeholder:"No programs found that fits your criteria",required:!0,readonly:!0})),i})()},get children(){return e(o,{type:"select",name:"interested",required:!0,get children(){return[v(),e(u,{get when(){return R()},get children(){return e(m,{get each(){return R()},children:(i,h)=>(()=>{var d=p();return l(d,()=>i.post_title),d})()})}})]}})}})}}),e(u,{get when(){return!g().err},get children(){return e(o,{type:"select",name:"interested",required:!0,get children(){return[v(),e(m,{get each(){return g()},children:(i,h)=>(()=>{var d=p();return l(d,()=>i[1]),d})()})]}})}})]}}),null),t})(),X(),e(o,{type:"select",name:"found",required:!0,get children(){return[M(),Z(),ee(),te(),re(),P()]}}
1),ne(),e(o,{type:"textarea",name:"others",placeholder:"Type your message here"}),(()=>{var t=ie(),n=t.firstChild,a=n.nextSibling;return a.nextSibling,l(t,e(u,{get when(){return F()},get children(){return F()}}),null),t})(),e(D,{class:"btn mt-4 mx-auto d-flex justify-content-center",children:"Submit"}),e(G,{})]}})]}}),null),C(t=>{var n=`--bg:url(${s.page_banners.desktop_image.url}); --mbg:url(${s.page_banners.mobile_image.url});`,a=s.page_banners.title,i=s.page_banners.description,h=`--bg:url(${s.page_background_image.image.url})`;return t.e=S(f,n,t.e),a!==t.t&&(b.innerHTML=t.t=a),i!==t.a&&(A.innerHTML=t.a=i),t.o=S(q,h,t.o),t},{e:void 0,t:void 0,a:void 0,o:void 0}),c})()}export{fe 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.