1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9589],{3302:function(n,e,t){var i=t(85893),a=t(67294),r=t(23048),s=t(4656),o=t(46520),l=t(35343),c=t(31955),d=t(61250);e.Z=function(n){let{handleSubmit:e,isSubmitting:t,isSubscribe:p,handleChangeIsSubscribe:u,loading:m,socialRegister:_,setIsChange:g,isChange:h,noTc:y,setConsent:b,btnClassName:f,...j}=n,[v,k]=(0,a.useState)({isApproved:!1,whatsApp:!1,email:!1}),w=(0,a.useCallback)(()=>!v.isApproved,[v,j.isValid,j.dirty]);return a.useEffect(()=>{if(!h&&_){let{email:n,name:e}=_;n&&j.handleChange({target:{name:"email",value:n}}),e&&j.handleChange({target:{name:"name",value:e}})}},[_]),(0,i.jsxs)("form",{onSubmit:(n,t)=>{c.Z.set("concern_",JSON.stringify({...v})),e(n,t)},children:[d.ZV.map((n,e)=>(0,i.jsx)("div",{className:"form-group",children:(0,i.jsx)(s.Oz,{id:n.id,name:n.name,setIsChange:"name"===n.name||"email"===n.name?g:null,label:n.placeholder,placeholder:n.placeholder,className:n.className,type:n.type,formText:n.formText,variant:"underline",floatingLabel:!0,handleBlur:()=>{},...j},n.id)},e)),(0,i.jsxs)("div",{className:"form-check mt-4",onClick:u,children:[(0,i.jsx)(l.gN,{id:"register-check",type:"checkbox",className:"form-check-input !top-1 !mt-0",checked:v.isApproved,value:v.isApproved,onChange:()=>{k(n=>({...n,isApproved:!v.isApproved})),b(n=>({...n,personalData:!v.isApproved}))}}),(0,i.jsx)("div",{className:"el-after"}),(0,i.jsxs)("label",{className:"form-check-label md:text-justify ml-2 mt-0",htmlFor:"register-check",children:["I have read and agree to Make Over's"," ",(0,i.jsx)("span",{children:(0,i.jsx)("a",{href:"/terms-conditions",className:"text-black",children:(0,i.jsx)("strong",{children:"Terms of Use"})})})," ","and consent to the processing of my personal data in accordance with Make Over's"," ",(0,i.jsx)("span",{children:(0,i.jsx)("a",{href:"/privacy-policy",className:"text-black",children:(0,i.jsx)("strong",{children:"Privacy Policy"})})})," ",". Please see our privacy policy to learn how and where we use your personal data, how you can access or update it, or how to file a complaint."]})]}),(0,i.jsx)("div",{className:"mr-0 mt-4 md:text-justify",children:"I would like to receive news and updates about Make Overâs products and services via (Optional):"}),(0,i.jsxs)("div",{className:"flex items-center gap-3 max-md:mt-4 mt-3",children:[(0,i.jsxs)("div",{className:"form-check",onClick:u,children:[(0,i.jsx)(l.gN,{id:"register-check",type:"checkbox",className:"form-check-input",checked:v.whatsApp,value:v.whatsApp,onChange:()=>{k(n=>({...n,whatsApp:!v.whatsApp})),b(n=>({...n,whatsApp:!v.whatsApp}))}}),(0,i.jsx)("div",{className:"el-after"}),(0,i.jsx)("label",{className:"form-check-label text-justify ml-2 mt-0",htmlFor:"register-check",children:"Whatsapp"})]}),(0,i.jsxs)("div",{className:"form-check",onClick:u,children:[(0,i.jsx)(l.gN,{id:"register-check",type:"checkbox",className:"form-check-input",checked:v.email,value:v.email,onChange:()=>{k(n=>({...n,email:!v.email})),b(n=>({...n,email:!v.email}))}}),(0,i.jsx)("div",{className:"el-after"}),(0,i.jsx)("label",{className:"form-check-label text-justify mt-0",htmlFor:"register-check",children:"Email"})]})]}),(0,i.jsx)(r.z,{disabled:w(),type:"submit",variant:"secondary",className:"btn-block ".concat(m?"loading":""," ").concat(f),loader:!0,children:"Register"}),!y&&(0,i.jsxs)("div",{className:"login-terms form-text mt-4",children:["By signing up, you agree to our"," ",(0,i.jsx)(o.r,{to:"/terms-conditions",className:"hover-underline",children:"terms & conditions"})," ","and"," ",(0,i.jsx)(o.r,{to:"/privacy-policy",className:"hover-underline",children:"privacy policy"}),"."]})]})}},61250:function(n,e,t){t.d(e,{Ws:function(){return r},ZV:function(){return a},fh:function(){return s}});var i=t(16310);let a=[{id:"register-email",type:"email",placeholder:"Email",name:"email"},{id:"register-fullname",type:"text",placeholder:"Full name",name:"name"},{id:"register-phone_number",type:"text",name:"phone_number",placeholder:"Mobile number"},{id:"register-password",type:"password",name:"password",placeholder:"Password",formText:"Minimum 8 characters, with at least 1 letter and 1 number"},{id:"register-confirm_password",type:"password",name:"confirmation_password",placeholder:"Confirm password"}],r={name:"",email:"",password:"",confirmation_password:"",phone_number:""},s=i.Ry({email:i.Z_().email("Invalid email format").required("Email required"),name:i.Z_().required("Full name required"),password:i.Z_().required("Password required").matches(/^(?=.*[A-Za-z])(?=.*\d).{8,}$/,"Password must have a minimum of 8 characters, with at least 1 letter and 1 number"),confirmation_password:i.Z_().required("Password does not match").oneOf([i.iH("password"),null],"Passwords must match"),phone_number:i.Z_().required("Mobile number required").matches(/^(^\+62\s?|^0)(\d{3,4}-?){2}\d{3,4}$/,"Invalid mobile number")})},94646:function(n,e,t){t(85893),t(67294),t(11163),t(47041),t(6672),t(6661)},87452:function(n,e,t){var i=t(85893),a=t(67294),r=t(9008),s=t.n(r),o=t(11163),l=t(45697),c=t.n(l),d=t(14734),p=t(35447);let SEO=n=>{let{title:e="",description:t,keywords:a,image:r,url:l,fbId:c,twitterId:u,noindex:m=!1,isArticle:_=!1,publishedTime:g,author:h}=n,isiAtau=(n,e)=>"string"==typeof n&&""!==n.trim()?n:e,y=isiAtau(t,"Beauty Beyond Compare - Make Over is a professional makeup with the most extensive complexion shades. Wins Best Foundation & Lip Color at Popbela Beauty Awards 2023, Best Eyeliner & Lipstick at Cosmo Readerâs Choice Award 2023 & Best Cushion & Eyeliner at Sociolla Award 2022."),b=(Array.isArray(a)?a:[a]).filter(n=>"string"==typeof n&&""!==n.trim()).map(n=>n.trim()).join(", "),f=e&&e.trim()?"".concat(e," | Make Over"):"Make Over",j=(0,d.GR)(isiAtau(r,"richlink.jpg")),{asPath:v}=(0,o.useRouter)(),k="string"==typeof l&&/^https?:\/\//i.test(l.trim())?l.trim():(0,d.HR)(v),w=_?(0,p.v4)(g):void 0;return(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:f}
1,"title"),(0,i.jsx)("meta",{name:"description",content:y},"description"),b?(0,i.jsx)("meta",{name:"keywords",content:b},"keywords"):null,(0,i.jsx)("meta",{name:"image",content:j},"image"),(0,i.jsx)("link",{rel:"canonical",href:k},"canonical"),m?(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"):null,(0,i.jsx)("meta",{property:"og:url",content:k},"og:url"),(0,i.jsx)("meta",{property:"og:type",content:_?"article":"website"},"og:type"),(0,i.jsx)("meta",{property:"og:title",content:f},"og:title"),(0,i.jsx)("meta",{property:"og:description",content:y},"og:description"),(0,i.jsx)("meta",{property:"og:image",content:j},"og:image"),(0,i.jsx)("meta",{property:"fb:app_id",content:c},"fb:app_id"),w?(0,i.jsx)("meta",{property:"article:published_time",content:w},"article:published_time"):null,_&&h?(0,i.jsx)("meta",{name:"author",content:h},"author"):null,_&&h?(0,i.jsx)("meta",{property:"article:author",content:h},"article:author"):null,(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,i.jsx)("meta",{name:"twitter:creator",content:u},"twitter:creator"),(0,i.jsx)("meta",{name:"twitter:title",content:f},"twitter:title"),(0,i.jsx)("meta",{name:"twitter:description",content:y},"twitter:description"),(0,i.jsx)("meta",{name:"twitter:image",content:j},"twitter:image")]})};SEO.propTypes={description:c().string,keywords:c().oneOfType([c().string,c().arrayOf(c().string)]),image:c().string,noindex:c().bool,isArticle:c().bool,publishedTime:c().string,author:c().string},e.Z=(0,a.memo)(SEO)},92565:function(n,e,t){t.d(e,{c_:function(){return getSendOtp},Rv:function(){return resendOtp},b9:function(){return sendOtp},Mu:function(){return verifyOtp}}),t(62286);var i=t(31955),a=t(87066);t(83454);let async_rest_AsyncRestAPI=async n=>{let e;if("object"!=typeof n)return{errors:{message:"Options parameter must be an object type"}};let{method:t,variables:r,url:s,auth:o,ctx:l}=n;if(o){let n=JSON.parse(i.Z.get("motp_2")).token;e=n}if(!t)return{errors:{message:"Method is REQUIRED etc POST/GET"}};if(!s)return{errors:{message:"URL is required"}};try{let n="https://api-otp-membership.paragon-innovation.com";if((null==t?void 0:t.toLowerCase())==="post"){let{data:t}=await a.Z.post("".concat(n).concat(s),r?{...r}:null,o?{headers:{Authorization:"Bearer ".concat(e)}}:null);return{data:t}}if("get"===t.toLowerCase()){let{data:t}=await a.Z.get("".concat(n).concat(s),o?{headers:{Authorization:"Bearer ".concat(e)}}:null);return{data:t}}return{errors:"Methos must be POST / GET"}}catch(n){return{errors:n}}},sendOtp=async n=>{let{data:e,errors:t}=await async_rest_AsyncRestAPI({method:"POST",url:"/register-user",auth:!1,variables:{phone:n,registerSource:"makeover_bc"}});return{data:e,errors:t}},verifyOtp=async(n,e)=>{let t=await async_rest_AsyncRestAPI({method:"POST",auth:!0,url:"/auth/verify-user/".concat(e),variables:{otpCode:n,otpMethod:"whatsapp"}});return t},resendOtp=async n=>{let e=await async_rest_AsyncRestAPI({method:"POST",url:"/auth/send-otp/".concat(n),variables:{otpMethod:"whatsapp"},auth:!0});return e},getSendOtp=async n=>{let{data:e,errors:t}=await sendOtp(n);e&&(i.Z.set("motp_2",JSON.stringify(null==e?void 0:e.data)),window.location.href="/auth/join-verify")}},813:function(n,e,t){t.d(e,{Fr:function(){return u},H$:function(){return m},VR:function(){return d},jO:function(){return h},tC:function(){return g},td:function(){return p},vC:function(){return _}});var i=t(82729),a=t(68806);function _templateObject(){let n=(0,i._)(["\n mutation {\n registerLoyalty {\n status\n message\n }\n }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,i._)(['\n query USER_DATA($session_id: String!, $coupon: [String]) {\n myorders: myorders(language: "en", limit: 10, page: 1) {\n ',"\n }\n me: me {\n ",'\n }\n wishlists: wishlists(language: "en") {\n ',"\n }\n addresses: addresses {\n ",'\n }\n carts: carts(\n language: "en"\n session_id: $session_id\n coupon: $coupon\n ) {\n ',"\n }\n }\n"]);
1return _templateObject1=function(){return n},n}function _templateObject2(){let n=(0,i._)(['\nquery CART_USER($session_id: String!, $coupon: [String]) {\n carts: carts(\n language: "en"\n session_id: $session_id\n coupon: $coupon\n ) {\n ',"\n }\n}\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){let n=(0,i._)(['\n query {\n new_arrivals: catalogs(\n filter: { label: "New", language: "en", sort: "created_at-desc" }\n ) {\n products {\n id\n title\n slug\n price\n label\n skus {\n id\n sku_code\n option_detail_key1\n image_no\n }\n sell_price\n rate\n images\n is_wishlist\n options {\n title\n values {\n title\n value\n color\n }\n }\n firstcategory {\n title\n slug\n image\n }\n secondcategory {\n title\n slug\n }\n }\n }\n best_sellings: catalogs(\n filter: { label: "Best Selling", limit: 8, language: "en" }\n ) {\n products {\n id\n title\n slug\n skus {\n id\n sku_code\n option_detail_key1\n image_no\n }\n price\n sell_price\n rate\n label\n images\n is_wishlist\n options {\n title\n values {\n title\n value\n color\n }\n }\n firstcategory {\n title\n slug\n image\n }\n secondcategory {\n title\n slug\n }\n }\n }\n }\n']);return _templateObject3=function(){return n},n}function _templateObject4(){let n=(0,i._)(['\n query BLOGS {\n blogs(language: "en", limit: 6) {\n datas {\n id\n title\n slug\n type\n image\n excerpt\n publish_date\n category {\n id\n title\n slug\n }\n related_products {\n id\n title\n images\n rate\n price\n sell_price\n video\n firstcategory {\n title\n slug\n }\n }\n }\n }\n }\n']);return _templateObject4=function(){return n},n}function _templateObject5(){let n=(0,i._)(['\n query MY_ORDERS(\n $page: Int!\n $start_date: Date\n $end_date: Date\n $status_id: Int\n ) {\n myorders(\n language: "en"\n limit: 10\n page: $page\n start_date: $start_date\n end_date: $end_date\n status_id: $status_id\n ) {\n pagination {\n count\n current_page\n total_data\n last_page\n }\n datas {\n status\n id\n order_no\n total_amount\n shipping_fee\n discount_ongkir\n total_amount\n insurance\n tax\n unique_code\n payment_method\n coupon_code\n shipping {\n id\n name\n email\n address\n country\n state\n city\n shipping_method\n tracking_number\n }\n order_status {\n id\n title\n }\n details {\n id\n is_reviewed\n product_id\n title\n image\n sku_code\n price\n discount\n discount_coupon\n quantity\n notes\n option_1 {\n value\n title\n }\n }\n created_at\n updated_at\n shipping {\n id\n name\n phone\n email\n address\n country\n state\n city\n subdistrict\n postcode\n shipping_method\n tracking_number\n }\n final_amount\n total_discount\n }\n }\n }\n']);return _templateObject5=function(){return n},n}
1function _templateObject6(){let n=(0,i._)(["\n query ALL_USER_DATA($session_id: String!, $coupon: [String]) {\n me: me {\n ","\n }\n addresses: addresses {\n ",'\n }\n carts: carts(\n language: "en"\n session_id: $session_id\n coupon: $coupon\n ) {\n ',"\n }\n }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){let n=(0,i._)(['\n query USER_ORDERS {\n myorders: myorders(language: "en", limit: 10, page: 1) {\n ',"\n }\n }\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){let n=(0,i._)(['\n query USER_WISHLIST {\n wishlists: wishlists(language: "en") {\n ',"\n }\n }\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){let n=(0,i._)(["\n query {\n paymentlogos: paymentmethods {\n title\n fee_pct\n fee_flat\n logo\n logo_light\n }\n }\n"]);return _templateObject9=function(){return n},n}function _templateObject10(){let n=(0,i._)(['\n query {\n banner_landing_new_arrival: banners(\n language: "en"\n type: "landing_new_arrival"\n ) {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n banner_best_seller: banners(language: "en", type: "best_seller") {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n banner_sale: banners(language: "en", type: "sale_banner") {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n }\n']);return _templateObject10=function(){return n},n}function _templateObject11(){let n=(0,i._)(["\n mutation socialLogin(\n $provider: String!\n $token: String!\n $session_id: String\n ) {\n socialLogin(\n input: { provider: $provider, token: $token, session_id: $session_id }\n ) {\n access_token\n refresh_token\n token_type\n user {\n email\n name\n created_at\n updated_at\n ref\n }\n }\n }\n"]);return _templateObject11=function(){return n},n}function _templateObject12(){let n=(0,i._)(['\n query CATEGORIESNAV {\n categories(filter: { language: "en" }) {\n id\n title\n slug\n desktop_image\n mobile_image\n description\n bg_type\n children {\n id\n title\n slug\n desktop_image\n mobile_image\n bg_type\n description\n }\n }\n }\n']);return _templateObject12=function(){return n},n}function _templateObject13(){let n=(0,i._)(['\n query ALL_INIT {\n paymentlogos: paymentmethods {\n title\n fee_pct\n fee_flat\n logo\n logo_light\n }\n banner_landing_new_arrival: banners(\n language: "en"\n type: "landing_new_arrival"\n ) {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n banner_best_seller: banners(language: "en", type: "best_seller") {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n banner_sale: banners(language: "en", type: "sale_banner") {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n categories: categories(filter: { language: "en" }) {\n id\n title\n slug\n desktop_image\n mobile_image\n description\n bg_type\n children {\n id\n title\n slug\n desktop_image\n mobile_image\n bg_type\n description\n }\n }\n }\n']);return _templateObject13=function(){return n},n}function _templateObject14(){let n=(0,i._)(['\n query ALL_INIT_LITE {\n paymentlogos: paymentmethods {\n title\n fee_pct\n fee_flat\n logo\n logo_light\n }\n banner_landing_new_arrival: banners(\n language: "en"\n type: "landing_new_arrival"\n ) {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n banner_best_seller: banners(language: "en", type: "best_seller") {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n banner_sale: banners(language: "en", type: "sale_banner") {\n id\n title\n cta\n url\n desktop\n mobile\n description\n bg_type\n }\n }\n']);
1return _templateObject14=function(){return n},n}function _templateObject15(){let n=(0,i._)(["\n mutation MODIFY_CONSENT(\n $email: String!\n $consentId: ID!\n $userId: ID\n $isApproved: Boolean!\n $channels: [String!]\n ) {\n modifyConsent(\n consentId: $consentId\n email: $email\n isApproved: $isApproved\n userId: $userId\n channels: $channels\n ) {\n success\n message\n }\n }\n"]);return _templateObject15=function(){return n},n}let r="\n pagination {\n count\n current_page\n total_data\n last_page\n }\n datas {\n status\n id\n order_no\n total_amount\n shipping_fee\n discount_ongkir\n total_amount\n insurance\n tax\n unique_code\n payment_method\n coupon_code\n shipping {\n id\n name\n email\n address\n country\n state\n city\n shipping_method\n tracking_number\n }\n order_status {\n id\n title\n }\n details {\n id\n is_reviewed\n product_id\n title\n image\n sku_code\n price\n discount\n discount_coupon\n quantity\n notes\n option_1 {\n value\n title\n }\n }\n created_at\n updated_at\n shipping {\n id\n name\n phone\n email\n address\n country\n state\n city\n subdistrict\n postcode\n shipping_method\n tracking_number\n }\n final_amount\n total_discount\n }\n",s="\n id\n name\n email\n gender\n dob\n group_id\n created_at\n updated_at\n ref\n image\n phone\n tada {\n id\n level\n balance\n experience\n }\n loyalty {\n ... on LoyaltyNotFoundError {\n errorMessage\n }\n ... on LoyaltyError {\n errorMessage\n trace\n }\n ... on LoyaltyApiError {\n code\n errorMessage\n }\n ... on Loyalty {\n memberId\n tier {\n expiredAt\n name\n currentTierExp {\n amount\n formatted\n }\n nextTier\n nextTierExp {\n amount\n }\n }\n balance {\n amount\n formatted\n }\n }\n }\n hasGivenVirtualTyronPoints\n email_verified_at\n user_profile {\n skin_tone\n skin_type\n skin_concern\n undertone\n skin_care_product_used\n make_up_essential\n }\n",o="\n id\n title\n slug\n images\n manage_stock\n price\n sell_price\n is_wishlist\n is_vto\n rate\n video\n options {\n title\n values {\n title\n value\n color\n }\n }\n group_rates {\n rate\n total\n }\n brand {\n id\n title\n slug\n is_featured\n }\n firstcategory {\n id\n title\n slug\n description\n }\n secondcategory {\n id\n title\n slug\n description\n }\n description\n tips\n options {\n key\n title\n values {\n title\n value\n color\n }\n }\n skus {\n id\n option_detail_key1\n option_detail_key2\n sku_code\n stock\n price\n sell_price\n weight\n width\n length\n height\n image_no\n description\n }\n relateds {\n id\n title\n skus {\n id\n option_detail_key1\n option_detail_key2\n sku_code\n stock\n price\n sell_price\n weight\n width\n length\n height\n image_no\n description\n }\n firstcategory {\n title\n slug\n }\n secondcategory {\n id\n title\n slug\n description\n }\n }\n",l="\n grand_total\n subtotal\n discount_coupon\n weight\n volume\n point\n gwpinfo\n gwpimage\n realweight\n realvolume\n finalweight\n realfinalweight\n point\n shipping_fee\
1n realshipping_fee\n tax\n free_shipping\n discount_ongkir\n insurance_fee\n free_shipping_value\n must_insurance\n code\n applied_codes\n availableCoupons {\n code\n auto_apply\n discount_type\n value\n is_applied\n minimum_purchase\n description\n }\n items {\n id\n title\n image\n is_gwp\n product_id\n sku_id\n sku_code\n quantity\n price\n sell_price\n is_soldout\n first_category\n second_category\n option_1 {\n title\n value\n color\n }\n option_2 {\n title\n value\n color\n }\n is_bundle\n bundles {\n title\n image\n product_id\n sku_id\n quantity\n sku_code\n price\n sell_price\n is_soldout\n first_category\n option_1 {\n title\n value\n color\n }\n option_2 {\n title\n value\n color\n }\n }\n }\n status\n message\n",c="\n id\n name\n title\n email\n phone\n address\n country\n state\n city\n subdistrict\n postcode\n is_primary\n longitude\n latitude\n geolabel\n";(0,a.Ps)(_templateObject()),(0,a.Ps)(_templateObject1(),r,s,o,c,l);let d=(0,a.Ps)(_templateObject2(),l);(0,a.Ps)(_templateObject3()),(0,a.Ps)(_templateObject4()),(0,a.Ps)(_templateObject5());let p=(0,a.Ps)(_templateObject6(),s,c,l),u=(0,a.Ps)(_templateObject7(),r),m=(0,a.Ps)(_templateObject8(),o);(0,a.Ps)(_templateObject9()),(0,a.Ps)(_templateObject10()),(0,a.Ps)(_templateObject11()),(0,a.Ps)(_templateObject12());let _=(0,a.Ps)(_templateObject13()),g=(0,a.Ps)(_templateObject14()),h=(0,a.Ps)(_templateObject15())}}]);
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.