1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3242],{96245:function(e,r,t){"use strict";var n=t(59499),a=t(4730),l=t(13690),s=t(67294),c=t(3107),o=t.n(c),i=t(94184),m=t.n(i),u=t(11163),d=t(1925),f=t(32128),_=t(67862),p=t(85893),h=["mainClassName","children","className","CustomHead","CustomFooter","hideFooter","full"];function x(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}r.Z=function(e){var r=e.mainClassName,t=e.children,c=e.className,i=e.CustomHead,b=e.CustomFooter,j=e.hideFooter,y=e.full,N=void 0!==y&&y,v=(0,a.Z)(e,h),g=(0,s.useRef)(null),w=(0,l.Z)(),q=(0,u.useRouter)(),O=(0,s.useState)(!1),C=O[0],T=O[1];(0,s.useEffect)((function(){A()}),[]);var A=function(){var e=(0,d.eZ)();T(!e)},Z=i&&(0,s.isValidElement)(i)?s.cloneElement(i,function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?x(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({scroll:w,headClassName:v.headClassName,headStyle:v.headStyle},v)):i;return(0,p.jsxs)("div",{className:"overflow-y-auto flex flex-col min-h-screen",ref:g,children:[Z||"",(0,p.jsx)("main",{className:m()("flex-grow flex items-center justify-center ",r||"bg-white",["/companyInstruction","/request-demo","/request-demo/Success"].includes(q.pathname)?o().page_wrapper:""),children:N?(0,p.jsx)("div",{className:m()("w-full",c),children:t}):(0,p.jsx)("div",{className:"h-full mx-auto "+c,children:t})}),!j&&(0,p.jsx)(_.Z,{}),b||null,C&&(0,p.jsx)(f.Z,{handleIsShowCookie:function(e){T(e)}})]})}},7588:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return P},default:function(){return I}});var n=t(46513),a=t(67294),l=t(89454),s=t.n(l),c=t(25675),o=t.n(c),i=t(85893),m=function(e){var r=e.children,t=(0,a.useRef)(null),n=(0,a.useRef)(null);(0,a.useRef)(null);return(0,a.useEffect)((function(){t.current;var e,r=n.current,a=null,l=0;return e=requestAnimationFrame((function t(n){a||(a=n),l=100*((n-a)/1e3);var s=r.scrollWidth/2;l>=s&&(l=0,a=n),r.style.transform="translateX(".concat(-l,"px)"),e=requestAnimationFrame(t)})),function(){cancelAnimationFrame(e)}}),[]),(0,i.jsxs)("div",{ref:t,style:{overflow:"hidden",width:"100%"},children:[(0,i.jsxs)("div",{ref:n,style:{display:"flex"},children:[r,r]}),(0,i.jsx)("style",{children:'\n @keyframes scroll {\n 0% { transform: translateX(0); }\n 100% { transform: translateX(-100%); }\n }\n div[ref="'.concat(n.current,'"] {\n animation: scroll ').concat(100,"s linear infinite;\n }\n ")})]})},u=function(e){var r=e.prefix,t=void 0===r?"/static/images/home/logoWall":r,l=(0,n._)();return(0,a.useEffect)((function(){l.start({x:[0,-3e3],transition:{duration:25,ease:"linear",repeat:1/0,repeatType:"loop"}})}),[]),(0,i.jsx)("div",{className:"".concat(s().marquee),children:(0,i.jsx)(m,{children:Array.from({length:11}).map((function(e,r){return(0,i.jsx)(a.Fragment,{children:(0,i.jsx)("div",{className:"".concat(s().logo," flex justify-center items-center"),children:(0,i.jsx)(o(),{src:"".concat(t,"/marqueen_").concat(r+1,".png"),alt:"Picture of the author",width:300,height:320,objectFit:"contain"})})},r)}))})})},d=t(96245),f=t(59499),_=t(50029),p=t(87794),h=t.n(p),x=t(87536),b=t(34429),j=t(55819),y=t(12571),N=t(83321),v=t(67199),g=t.n(v),w=t(11163),q=t(67421),O=t(11723);function C(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function T(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?C(Object(t),!0).forEach((function(r){(0,f.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C(Object(t)).forEac
1h((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var A=function(e){var r=(0,w.useRouter)(),t=(0,q.$G)("applyDemo").t,n=(0,x.cI)({defaultValues:{companyType:"",firstName:"",lastName:"",email:"",job:"",phone:"",country:"",companyName:"",companyWebsite:""}}),l=n.control,s=n.handleSubmit,c=n.formState.errors,o=n.register,m=(0,a.useState)([]),u=m[0],d=m[1];(0,a.useEffect)((function(){f()}),[]);var f=function(){var e=(0,_.Z)(h().mark((function e(){var r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,O.rZ)();case 3:r=e.sent,1===Number(null===r||void 0===r?void 0:r.f)&&(console.log("res.d",r.d),d(r.d||[])),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("error",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();return(0,i.jsx)("form",{onSubmit:s((function(e){var t={company_type:e.companyType,first_name:e.firstName,last_name:e.lastName,email:e.email,job_title:e.job,business_tel:e.phone,country_id:e.country,company:e.companyName,website:e.companyWebsite,project_id:20};(0,O.QN)({params:t}).then((function(e){1===e.f&&r.push("/request-demo/Success")}))})),children:(0,i.jsxs)("div",{className:g().gridContainer,children:[(0,i.jsx)("div",{className:g().gridItemFull,children:(0,i.jsx)(x.Qr,{name:"companyType",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T(T({className:"w-full",id:"outlined-select-currency",select:!0,label:"".concat(t("form_label_Company_Category"),"*")},o("companyType",{required:"".concat(t("form_label_Company_Category_required_text"))})),{},{error:Boolean(c.companyType),helperText:c.companyType?c.companyType.message:""},r),{},{children:[{value:"1",label:t("select_companyType.0.label")},{value:"2",label:t("select_companyType.1.label")}].map((function(e){return(0,i.jsx)(j.Z,{value:e.value,children:e.label},e.value)}))}))}})}),(0,i.jsx)("div",{className:g().gridItem,children:(0,i.jsx)(x.Qr,{name:"firstName",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T({},o("firstName",{required:"".concat(t("form_label_First_Name_required_text")),maxLength:20})),{},{className:"w-full",label:"".concat(t("form_label_First_Name"),"*"),error:Boolean(c.firstName),helperText:c.firstName?c.firstName.message:""},r))}})}),(0,i.jsx)("div",{className:g().gridItem,children:(0,i.jsx)(x.Qr,{name:"lastName",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T({},o("lastName",{required:"".concat(t("form_label_Last_Name_required_text")),maxLength:20})),{},{className:"w-full",label:"".concat(t("form_label_Last_Name"),"*"),error:Boolean(c.lastName),helperText:c.lastName?c.lastName.message:""},r))}})}),(0,i.jsx)("div",{className:g().gridItem,children:(0,i.jsx)(x.Qr,{name:"email",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T({},o("email",{required:"".concat(t("form_label_Enterprise_Email_required_text"))})),{},{className:"w-full",label:"".concat(t("form_label_Enterprise_Email"),"*"),error:Boolean(c.email),helperText:c.email?c.email.message:""},r))}})}),(0,i.jsxs)("div",{className:g().gridItem,children:[" ",(0,i.jsx)(x.Qr,{name:"job",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T({},o("job",{required:"".concat(t("form_label_Professional_Title_required_text")),maxLength:20})),{},{className:"w-full",label:"".concat(t("form_label_Professional_Title"),"*"),error:Boolean(c.job),helperText:c.job?c.job.message:""},r))}})]}),(0,i.jsx)("div",{className:g().gridItem,children:(0,i.jsx)(x.Qr,{name:"phone",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T({},o("phone",{required:"".concat(t("form_label_Operational_Telephone_number_required_text")),maxLength:20})),{},{className:"w-full",label:"".concat(t("form_label_Operational_Telephone_number"),"*"),error:Boolean(c.phone),helperText:c.phone?c.phone.message:""},r))}})}),(0,i.jsx)("div",{className:g().gridItem,children:(0,i.jsx)(x.Qr,{name:"country",control:l,render:function(r){var n=r.field;return(0,i.jsx)(b.Z,T(T(T({className:"w-full",id:"outlined-select-currency",select:!0,label:"".concat(t("form_label_District"))},o("country",{required:"".concat(t("form_label_District_required_text"))})),{},{error:Boolean(c.country),helperText:c.country?c.country.message:""},n),{},{children:u.map((function(r){return(0,i.jsx)(j.Z,{value:r.country_id,children:(0,i.jsxs)("div",{className:"flex items-center",children:["en"===e.locale?r.name_en:r.name_cn,(0,i.jsxs)("div",{className:"ml-2",children:["(+",r.mobile_code,")"]})]})},r.country_id)}))}))}})}),(0,i.jsx)("div",{className:g().gridItemFull,children:(0,i.jsx)(x.Qr,{name:"companyName",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T({},o("companyName",{required:"".concat(t("form_label_Company_Name_required_text")),maxLength:20})),{},{className:"w-full",label:"".concat(t("form_label_Company_Name"),"*"),error:Boolean(c.companyName),helperText:c.companyName?c.companyName.message:""},r))}})}),(0,i.jsx)("div",{className:g().gridItemFull,children:(0,i.jsx)(x.Qr,{name:"companyWebsite",control:l,render:function(e){var r=e.field;return(0,i.jsx)(b.Z,T(T({},o("companyWebsite",{required:"".concat(t("form_label_Company_Website_required_text"))})),{},{className:"w-full",label:"".concat(t("form_label_Company_Website"),"*"),error:Boolean(c.companyWebsite),helperText:c.companyWebsite?c.companyWebsite.message:"",InputProps:{startAdornment:(0,i.jsx)(y.Z,{position:"start",children:"http(s)://"})}},r))}})}),(0,i.jsx)("div",{className:g().gridItemFull,children:(0,i.jsx)(N.Z,{size:"large",variant:"contained",type:"submit",className:"".concat(g().submit," w-full bg-black"),children:t("form_Submit")})})]})})},Z=t(124),k=t.n(Z),E=t(15819),P=!0,I=function(e){var r=(0,q.$G)("applyDemo").t,t=function(e){return(0,i.jsxs)("div",{className:"".concat(k().checkListItem," flex"),children:[(0,i.jsx)("div",{className:"flex h-full pt-[2px]",children:(0,i.jsx)("div",{className:k().image,children:(0,i.jsx)(o(),{src:"/static/images/home/check_true.webp",objectFit:"contain",alt:"check_true",layout:"fill"})})}),(0,i.jsx)("p",{className:k().desc,children:e.desc})]})},n=(0,E.d)();return(0,i.jsxs)(d.Z,{mainClassName:"block",className:"container text-black",children:[n?(0,i.jsx)("div",{className:"-z-10 absolute top-0 left-0 w-screen h-screen",children:(0,i.jsx)(o(),{src:"/static/images/applyDemo/hero_mobile_bg.png",alt:"",layout:"fill"})}):(0,i.jsx)("div",{className:"-z-10 absolute top-0 left-0 w-screen h-screen",children:(0,i.jsx)(o(),{src:"/static/images/applyDemo/hero_bg.png",alt:"",layout:"fill"})}),(0,i.jsxs)("div",{className:"".concat(k().mainArea," z-20 flex w-full flex-col md:flex-row items-center justify-center "),children:[(0,i.jsxs)("div",{className:"".concat(k().mainArea_form," z-20 w-full md:w-1/2 text-center md:text-left"),children:[(0,i.jsx)("h2",{children:r("form_title_Request_demo")}),(0,i.jsx)(A,{locale:e.locale})]}),(0,i.jsxs)("div",{className:"".concat(k().mainArea_info," z-20 hidden md:w-1/2 md:block"),children:[(0,i.jsx)("h1",{children:r("mainArea_info.title")}),(0,i.jsxs)("h2",{children:[r("mainArea_info.subtitle"),"\uff1a"]}),(0,i.jsx)("div",{className:"".concat(k().gridContainer," grid"),children:[{desc:"mainArea_info.info_desc_data.0"},{desc:"mainArea_info.info_desc_data.1"},{desc:"mainArea_info.info_desc_data.2"}].map((function(e,n){return(0,i.jsx)(t,{desc:"".concat(r(e.desc))},n)}))}),(0,i.jsxs)("section",{className:"flex justify-start items-center",children:[r("mainArea_info.footer_Contact_Us"),"\xa0",(0,i.jsx)("a",{className:"text-[#7529c4]",href:"mailto:[email protected]",children:"[email protected]"})]})]})]}),(0,i.jsx)("div",{className:"".concat(k().marquee," w-full"),children:(0,i.jsx)(u,{})})]})}},79497:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/request-demo",function(){return t(7588)}])},67199:function(e){e.exports={gridContainer:"Applyform_gridContainer__mZ9_K",gridItem:"Applyform_gridItem__DaEVz",gridItemFull:"Applyform_gridItemFull__ABcdW",submit:"Applyform_submit__eC7As"}},89454:function(e){e.exports={marquee:"Marqueen_marquee__Vby3p",track:"Marqueen_track__eUmXM",logo:"Marqueen_logo__Y1wPT"}},3107:function(e){e.exports={page_wrapper:"page_page_wrapper__kTfbO"}},124:function(e){e.exports={mainArea:"request-demo_mainArea__EcCyF",mainArea_form:"request-demo_mainArea_form__edEoY",mainArea_info:"request-demo_mainArea_info__FE1r_",marquee:"request-demo_marquee__XKxIf",gridContainer:"request-demo_gridContainer__Tg41M",checkListItem:"request-demo_checkListItem__E4UdJ",desc:"request-demo_desc__SqWzv",image:"request-demo_image__sXp_Y"}}},function(e){e.O(0,[5675,8385,209,1565,263,9774,2888,179],(function(){return r=79497,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
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.