"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1017],{39069:function(e,a,t){t.d(a,{GD:function(){return o},GV:function(){return i},Jf:function(){return l},Jk:function(){return r},PB:function(){return n},Tk:function(){return d},uE:function(){return c}}),t(74590);var s=t(58064),i=(0,s.$)("db0cc266c3edb317ad2702a2991e0373bf8b227c");(0,s.$)("c520bf55e14af2aa059dddad8385f6e6c75aaac4"),(0,s.$)("750f6bd11f7bb477fcbb37e2f349400d479d8aea"),(0,s.$)("683e750c3be35720ccf53535d2f2807c3b88f13c");var r=(0,s.$)("9e71b3dbb200d6c57655628afcdfa92cb05aecf7");(0,s.$)("c4d0e4320745046311b1119bcf9d9c727744c15b"),(0,s.$)("bb07118d157656dc802a3ddff32432e9850e2c79"),(0,s.$)("7761973e6ee0923d01b517d36f66ad4638f61e6c"),(0,s.$)("d4ac4edea076843f182124f8ffc73a4befb3abbf");var n=(0,s.$)("3bbddf11332227421b8ae4217e44666674fab9c5"),l=(0,s.$)("b0cc29ad2669bbb24abf67e3093fcbe97f99512c");(0,s.$)("e3af14be5d7a7f0b1cf4f17ccbfb77f1a45ef9cb"),(0,s.$)("485438c9a71668796cd60fc6055a5de4b41cc0c3");var c=(0,s.$)("638c99e6d0ea4114638a7320f7034870df3659d7");(0,s.$)("f3210cad048536e72bbde247db78009477c8bc06");var d=(0,s.$)("4dcd17755f7a28902f03ac49670523bea3a71638");(0,s.$)("c184b945937c9de86375b7184d8219b6eaf4e89b"),(0,s.$)("42f6673edf7541cfb20cc3098d968608bb88ab3d"),(0,s.$)("935990e3a7d2dbb987798cd6a1facace13b4a95c");var o=(0,s.$)("e23ed1390d046f4fa86a98c430e47aae1e1af653")},11017:function(e,a,t){t.d(a,{SubscribeButton:function(){return C}});var s=t(57437),i=t(66858),r=t(14595),n=t(25620),l=t(87138),c=t(2265),d=t(71830),o=t(97642),f=t(12373),p=t(66870),h=t(96954),u=t(39069);function C(){let[e,a]=(0,c.useState)(""),{toast:t}=(0,h.pm)(),r=async()=>{if(!e){t({title:"Email is empty",description:"Please enter your email to subscribe",iconType:"failed"});return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)){t({title:"Invalid email",description:"Please enter a valid email to subscribe",iconType:"failed"});return}if((await (0,u.uE)({email:e})).success){t({title:"Success",description:"You have successfully subscribed to our newsletter",iconType:"success"}),a(""),(0,d.L9)("Newsletter Subscribed",{email:e});return}};return(0,s.jsxs)("div",{className:"flex relative items-center max-w-[375px]",children:[(0,s.jsx)(i.Z,{InputProps:{sx:{borderRadius:"99px",paddingLeft:"8px"}},className:"max-w-[80%] sm:w-full",variant:"outlined",placeholder:"Email here",onChange:e=>a(e.target.value)}),(0,s.jsxs)(p.z,{size:"small",className:"absolute top-[3px] right-[3rem]",onClick:r,children:["Subscribe",(0,s.jsx)(n.Z,{size:36,className:"bg-neutral-white rounded-[99px] p-[0.5rem] stroke-primary-mystartr-blue"})]})]})}let b=()=>(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"40",height:"40",rx:"6",fill:"#8A8A7B",fillOpacity:"0.1"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.792 13.4533C28.6521 13.7005 29.3325 14.4286 29.5635 15.3489C29.9872 17.0247 30 20.5 30 20.5C30 20.5 30 23.989 29.5764 25.6511C29.3453 26.5714 28.665 27.2994 27.8049 27.5467C26.2516 28 20 28 20 28C20 28 13.7484 28 12.1951 27.5467C11.335 27.2994 10.6547 26.5714 10.4236 25.6511C10 23.9753 10 20.5 10 20.5C10 20.5 10 17.0247 10.4108 15.3626C10.6418 14.4423 11.3222 13.7143 12.1823 13.467C13.7356 13.0137 19.9872 13 19.9872 13C19.9872 13 26.2388 13 27.792 13.4533ZM23.1836 20.5L17.9974 23.7143V17.2857L23.1836 20.5Z",fill:"#25272B"})]}),m=()=>(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"40",height:"40",rx:"6",fill:"#8A8A7B",fillOpacity:"0.1"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 13.8823C12 12.8428 12.8442 12 13.8857 12C14.3858 12 14.8654 12.1983 15.219 12.5513C15.5726 12.9043 15.7713 13.3831 15.7713 13.8823C15.7713 14.9219 14.9271 15.7647 13.8857 15.7647C12.8442 15.7647 12 14.9219 12 13.8823ZM28.4961 21.798C28.5286 19.7602 27.136 17.9746 25.149 17.5062C23.8175 17.22 22.4296 17.5953 21.4249 18.5133V18.118C21.4249 17.8581 21.2138 17.6474 20.9535 17.6474H18.5964C18.3361 17.6474 18.125 17.8581 18.125 18.118V27.5298C18.125 27.7896 18.3361 28.0003 18.5964 28.0003H20.9535C21.2138 28.0003 21.4249 27.7896 21.4249 27.5298V22.2215C21.4016 21.2763 22.0615 20.4509 22.99 20.2639C23.5428 20.1686 24.1094 20.324 24.5359 20.6879C24.9623 21.0517 25.2044 21.5863 25.1962 22.1462V27.5298C25.1962 27.7896 25.4072 28.0003 25.6676 28.0003H28.0247C28.285 28.0003 28.4961 27.7896 28.4961 27.5298V21.798ZM15.7686 18.119V27.5308C15.7686 27.7907 15.5576 28.0014 15.2972 28.0014H12.9402C12.6798 28.0014 12.4688 27.7907 12.4688 27.5308V18.119C12.4688 17.8591 12.6798 17.6484 12.9402 17.6484H15.2972C15.5576 17.6484 15.7686 17.8591 15.7686 18.119Z",fill:"#25272B"})]}),x=()=>(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"40",height:"40",rx:"6",fill:"#8A8A7B",fillOpacity:"0.1"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.25 9C17.1945 9 16.812 9.01275 15.612 9.0675C14.4142 9.12225 13.596 9.31275 12.8805 9.591C12.1305 9.873 11.4502 10.3155 10.8877 10.8885C10.3157 11.4504 9.87289 12.1301 9.59025 12.8805C9.3135 13.596 9.12225 14.415 9.0675 15.6128C9.0135 16.812 9 17.1938 9 20.25C9 23.3062 9.01275 23.688 9.0675 24.888C9.12225 26.0858 9.31275 26.904 9.591 27.6195C9.873 28.3695 10.3155 29.0497 10.8885 29.6122C11.4504 30.1843 12.1301 30.6271 12.8805 30.9097C13.596 31.1873 14.4142 31.3778 15.612 31.4325C16.812 31.4872 17.1945 31.5 20.25 31.5C23.3055 31.5 23.688 31.4872 24.888 31.4325C26.0858 31.3778 26.904 31.1873 27.6195 30.909C28.3695 30.627 29.0497 30.1845 29.6122 29.6115C30.1843 29.0497 30.6271 28.3699 30.9097 27.6195C31.1873 26.904 31.3778 26.0858 31.4325 24.888C31.4872 23.688 31.5 23.3055 31.5 20.25C31.5 17.1945 31.4872 16.812 31.4325 15.612C31.3778 14.4142 31.1873 13.596 30.909 12.8805C30.6266 12.1298 30.1838 11.4497 29.6115 10.8877C29.0497 10.3157 28.3699 9.87289 27.6195 9.59025C26.904 9.3135 26.085 9.12225 24.8873 9.0675C23.688 9.0135 23.3062 9 20.25 9ZM20.25 11.0273C23.2537 11.0273 23.61 11.0385 24.7965 11.0925C25.893 11.1428 26.4885 11.325 26.8853 11.4802C27.4102 11.6835 27.7852 11.928 28.179 12.321C28.5728 12.7148 28.8165 13.0897 29.0198 13.6147C29.1742 14.0115 29.3573 14.607 29.4075 15.7035C29.4615 16.89 29.4728 17.2463 29.4728 20.25C29.4728 23.2537 29.4615 23.61 29.4075 24.7965C29.3573 25.893 29.175 26.4885 29.0198 26.8853C28.8397 27.3739 28.5524 27.816 28.179 28.179C27.8161 28.5525 27.374 28.8398 26.8853 29.0198C26.4885 29.1742 25.893 29.3573 24.7965 29.4075C23.61 29.4615 23.2545 29.4728 20.25 29.4728C17.2455 29.4728 16.89 29.4615 15.7035 29.4075C14.607 29.3573 14.0115 29.175 13.6147 29.0198C13.1261 28.8397 12.684 28.5524 12.321 28.179C11.9476 27.816 11.6603 27.3739 11.4802 26.8853C11.3257 26.4885 11.1428 25.893 11.0925 24.7965C11.0385 23.61 11.0273 23.2537 11.0273 20.25C11.0273 17.2463 11.0385 16.89 11.0925 15.7035C11.1428 14.607 11.325 14.0115 11.4802 13.6147C11.6835 13.0897 11.928 12.7148 12.321 12.321C12.684 11.9475 13.1261 11.6602 13.6147 11.4802C14.0115 11.3257 14.607 11.1428 15.7035 11.0925C16.89 11.0385 17.2463 11.0273 20.25 11.0273Z",fill:"#25272B"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.2503 24.0042C19.7573 24.0042 19.2692 23.9071 18.8138 23.7185C18.3583 23.5298 17.9445 23.2533 17.596 22.9048C17.2474 22.5562 16.9709 22.1424 16.7823 21.687C16.5936 21.2315 16.4965 20.7434 16.4965 20.2505C16.4965 19.7575 16.5936 19.2694 16.7823 18.814C16.9709 18.3585 17.2474 17.9447 17.596 17.5962C17.9445 17.2476 18.3583 16.9711 18.8138 16.7825C19.2692 16.5938 19.7573 16.4967 20.2503 16.4967C21.2458 16.4967 22.2006 16.8922 22.9046 17.5962C23.6085 18.3001 24.004 19.2549 24.004 20.2505C24.004 21.246 23.6085 22.2008 22.9046 22.9048C22.2006 23.6087 21.2458 24.0042 20.2503 24.0042ZM20.2503 14.468C18.7167 14.468 17.2459 15.0772 16.1614 16.1616C15.077 17.2461 14.4678 18.7169 14.4678 20.2505C14.4678 21.7841 15.077 23.2549 16.1614 24.3393C17.2459 25.4237 18.7167 26.033 20.2503 26.033C21.7839 26.033 23.2547 25.4237 24.3391 24.3393C25.4235 23.2549 26.0328 21.7841 26.0328 20.2505C26.0328 18.7169 25.4235 17.2461 24.3391 16.1616C23.2547 15.0772 21.7839 14.468 20.2503 14.468ZM27.715 14.363C27.715 14.7255 27.571 15.0732 27.3147 15.3295C27.0583 15.5858 26.7107 15.7298 26.3481 15.7298C25.9856 15.7298 25.638 15.5858 25.3816 15.3295C25.1253 15.0732 24.9813 14.7255 24.9813 14.363C24.9813 14.0005 25.1253 13.6528 25.3816 13.3964C25.638 13.1401 25.9856 12.9961 26.3481 12.9961C26.7107 12.9961 27.0583 13.1401 27.3147 13.3964C27.571 13.6528 27.715 14.0005 27.715 14.363Z",fill:"#25272B"})]}),y=()=>(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{width:"40",height:"40",rx:"6",fill:"#8A8A7B",fillOpacity:"0.1"}),(0,s.jsx)("path",{d:"M18.0742 28H21.5371V21.2548H24.6573L25 17.903H21.5371V16.2105C21.5371 15.7454 21.9247 15.3684 22.4028 15.3684H25V12H22.4028C20.0122 12 18.0742 13.8851 18.0742 16.2105V17.903H16.3427L16 21.2548H18.0742V28Z",fill:"#25272B"})]}),v=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.default,{href:"https://www.facebook.com/MyStartr",target:"_blank",children:(0,s.jsx)(y,{})}),(0,s.jsx)(l.default,{href:"https://www.instagram.com/mystartr/?fbclid=IwAR2tL-KvN3PVjl3TVn6iWyY2vs-aa00_GkCU9-kdnSJ1_AHpvmk1hIeqzaw",target:"_blank",children:(0,s.jsx)(x,{})}),(0,s.jsx)(l.default,{href:"https://my.linkedin.com/company/mystartr",target:"_blank",children:(0,s.jsx)(m,{})}),(0,s.jsx)(l.default,{href:"https://www.youtube.com/MyStratr",target:"_blank",children:(0,s.jsx)(b,{})})]}),g=[{key:"terms-and-conditions",url:"/terms-conditions",label:"Terms and Condition"},{key:"risk-disclaimer",url:"/risk-warning",label:"Risk Warning"},{key:"privacy-policy",url:"/privacy-policy",label:"Privacy Policy"},{key:"disclaimer",url:"/disclaimer",label:"Disclaimer"}],j=()=>(0,s.jsx)(s.Fragment,{children:g.map((e,a)=>{let t=e.url?l.default:"div";return(0,s.jsx)(t,{href:e.url,children:(0,s.jsx)(f.AppTypography,{variant:"paragraph-16-500-static",className:"text-neutral-grey",children:e.label})},a)})}),w=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.AppTypography,{variant:"paragraph-14-700-static",className:"text-neutral-grey",children:"Risk Warning:"}),(0,s.jsxs)(f.AppTypography,{variant:"paragraph-14-400-static",className:"text-neutral-grey",children:["By investing in equity crowdfunding, it means that you are investing in early-stage of companies. It carries a high risk, includes uncertainty of returns, lack of control and liquidity. Hence, these types of investments should only be made as part of a diversified portfolio. Spread your risks and only invest money that you can afford to lose. MyStartr wishes all investors to understand these risks and make careful investment decisions. You are also encouraged to seek independent advice."," ",(0,s.jsx)(l.default,{className:"text-primary-mystartr-blue underline",href:"https://mystartr-static.s3.ap-southeast-1.amazonaws.com/docs/Risk_Warning.pdf",target:"_blank",children:"Please read our full risk warning"})]}),(0,s.jsx)(f.AppTypography,{variant:"paragraph-14-500-static",className:"text-neutral-grey mt-[1rem]",children:"Licensed Crowdfunding Recognized Market Operators by Securities Commission Malaysia"}),(0,s.jsx)(f.AppTypography,{variant:"paragraph-14-500-static",className:"text-neutral-grey mt-[1rem]",children:"MyStartr Sdn Bhd (984100-U) Copyright \xa9 2024 Mystartr"})]}),k=()=>(0,s.jsx)(s.Fragment,{children:o.M9.footer.map((e,a)=>(0,s.jsxs)("div",{className:"flex flex-col flex-1 last:flex-none",children:[(0,s.jsx)(f.AppTypography,{variant:"paragraph-14-500-static",className:"text-neutral-light-grey whitespace-break-spaces",children:e.title}),e.links.map((e,a)=>(0,s.jsx)("div",{children:(0,s.jsx)(l.default,{href:e.link,target:(null==e?void 0:e.external)?"_blank":"_self",children:(0,s.jsx)(f.AppTypography,{variant:"paragraph-14-500-static",className:"text-neutral-grey mt-[0.5rem] whitespace-break-spaces",children:e.label})})},a))]},a))});a.default=()=>(0,s.jsx)("div",{className:"nav-footer-container",children:(0,s.jsxs)("div",{className:"app-container-max flex flex-col gap-[1rem]",children:[(0,s.jsxs)("div",{className:"section-1",children:[(0,s.jsxs)("div",{className:"section-1-info-subs",children:[(0,s.jsx)(f.AppTypography,{variant:"header-24-700-static",className:"app-title",children:"Subscribe to more investment opportunities updates"}),(0,s.jsxs)("div",{children:[(0,s.jsx)(f.AppTypography,{variant:"paragraph-16-400-static",children:"You'll receive occasional emails from MyStartr."}),(0,s.jsx)(f.AppTypography,{variant:"paragraph-16-400-static",children:"You always have the choice to unsubscribe within every email."})]}),(0,s.jsx)(C,{})]}),(0,s.jsx)("div",{className:"section-1-actions",children:(0,s.jsx)(k,{})})]}),(0,s.jsxs)("div",{className:"section-2",children:[(0,s.jsx)(r.Z,{className:"section-2-divider-1"}),(0,s.jsx)("div",{className:"section-2-label",children:(0,s.jsx)(j,{})}),(0,s.jsx)("div",{className:"section-2-social-media",children:(0,s.jsx)(v,{})}),(0,s.jsx)(r.Z,{className:"section-2-divider-2"})]}),(0,s.jsx)("div",{children:(0,s.jsx)(w,{})})]})})},96954:function(e,a,t){t.d(a,{Am:function(){return f},pm:function(){return p}});var s=t(2265);let i=0,r=new Map,n=e=>{if(r.has(e))return;let a=setTimeout(()=>{r.delete(e),o({type:"REMOVE_TOAST",toastId:e})},5e3);r.set(e,a)},l=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=a;return t?n(t):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===a.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}},c=[],d={toasts:[]};function o(e){d=l(d,e),c.forEach(e=>{e(d)})}function f(e){let{...a}=e,t=(i=(i+1)%Number.MAX_VALUE).toString(),s=()=>o({type:"DISMISS_TOAST",toastId:t});return o({type:"ADD_TOAST",toast:{...a,id:t,open:!0,onOpenChange:e=>{e||s()}}}),{id:t,dismiss:s,update:e=>o({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function p(){let[e,a]=s.useState(d);return s.useEffect(()=>(c.push(a),()=>{let e=c.indexOf(a);e>-1&&c.splice(e,1)}),[e]),{...e,toast:f,dismiss:e=>o({type:"DISMISS_TOAST",toastId:e})}}}}]);