1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1604],{3457:(e,a,i)=>{i.d(a,{A:()=>w});var l=i(16927),n=i(67684),s=i(62701),r=i(20294),t=i(4902),o=i(37876),c=i(14678),d=i(15039),_=i.n(d),m=i(40123),u=i.n(m),p=i(14232),f=i(88992),g=i(88202),x=i(50075),b=i(84367),h=i(11186),v=i(27193),j=i(28341),k=(0,g.$)().API_URL,N=[{code:"kbank",name:"à¸à¸à¸²à¸à¸²à¸£à¸à¸ªà¸´à¸à¸£à¹à¸à¸¢"},{code:"ktb",name:"à¸à¸à¸²à¸à¸²à¸£à¸à¸£à¸¸à¸à¹à¸à¸¢"},{code:"bbl",name:"à¸à¸à¸²à¸à¸²à¸£à¸à¸£à¸¸à¸à¹à¸à¸"},{code:"scb",name:"à¸à¸à¸²à¸à¸²à¸£à¹à¸à¸¢à¸à¸²à¸à¸´à¸à¸¢à¹"},{code:"bay",name:"à¸à¸à¸²à¸à¸²à¸£à¸à¸£à¸¸à¸à¸¨à¸£à¸µà¸à¸¢à¸¸à¸à¸¢à¸²"},{code:"tmb",name:"à¸à¸à¸²à¸à¸²à¸£à¸à¸«à¸²à¸£à¹à¸à¸¢ / à¸à¸à¸²à¸à¸²à¸£à¸à¸«à¸²à¸£à¹à¸à¸¢à¸à¸à¸à¸²à¸"},{code:"tmrw",name:"à¸à¸à¸²à¸à¸²à¸£ TMRW by UOB"},{code:"uob",name:"à¸à¸à¸²à¸à¸²à¸£à¸¢à¸¹à¹à¸à¸à¸µ"},{code:"cimb",name:"à¸à¸µà¹à¸à¹à¸à¹à¸¡à¸à¸µ"},{code:"lh",name:"à¹à¸¥à¸à¸à¹à¹à¸à¸à¸à¹à¹à¸®à¹à¸²à¸ªà¹"},{code:"gsb",name:"à¸à¸à¸¡à¸ªà¸´à¸"},{code:"kkp",name:"à¹à¸à¸µà¸¢à¸£à¸à¸´à¸à¸²à¸à¸´à¸"},{code:"ghb",name:"à¸à¸²à¸à¸²à¸£à¸ªà¸à¹à¸à¸£à¸²à¸°à¸«à¹"},{code:"baac",name:"à¸.à¸.ส"},{code:"isbt",name:"à¸.à¸à¸´à¸ªà¸¥à¸²à¸¡"},{code:"icbc",name:"à¹à¸à¸à¸µà¸à¸µà¸à¸µ"},{code:"tcr",name:"à¹à¸à¸¢à¹à¸à¸£à¸à¸´à¸"}];let w=function(e){var a,i,d,m,w,y,S,A,F,D,C,I,P,q,M,E,L,R,z,T,H,U,$=e.isMobile,B=void 0!==$&&$,O=e.user,W=(0,p.useRef)(null),V=(0,p.useRef)(null),G=(0,v._)(),Y=(0,v._)(),Q=(0,h.Mb)(O.id,{onSuccess:function(e){var a,i,l,n,s,r,t,o;Z("first_name",e.first_name),Z("last_name",e.last_name),Z("national_card_uid",e.national_card_uid),Z("phone_number",e.phone_number),Z("bank_name",e.bank_name),Z("bank_account_name",e.bank_account_name),Z("bank_account_uid",e.bank_account_uid),er(e.national_card_img1),ec(e.national_card_img2),Z("social_link1_url",e.social_links["social-1"].link),Z("social_link1_follower",e.social_links["social-1"].followers),Z("social_link2_url",null==(a=e.social_links["social-2"])?void 0:a.link),Z("social_link2_follower",null==(i=e.social_links["social-2"])?void 0:i.followers),Z("social_link3_url",null==(l=e.social_links["social-3"])?void 0:l.link),Z("social_link3_follower",null==(n=e.social_links["social-3"])?void 0:n.followers),Z("social_link4_url",null==(s=e.social_links["social-4"])?void 0:s.link),Z("social_link4_follower",null==(r=e.social_links["social-4"])?void 0:r.followers),Z("social_link5_url",null==(t=e.social_links["social-5"])?void 0:t.link),Z("social_link5_follower",null==(o=e.social_links["social-5"])?void 0:o.followers),"PENDING"===e.status?(eb(!0),em(2),ef("PENDING")):"DISAPPROVED"===e.status?(ef("DISAPPROVED"),eb(!0),em(2)):"APPROVED"===e.status&&(ef("APPROVED"),eb(!0),em(3))},onError:function(){em(1)}}).data,J=(0,f.mN)(),K=J.register,X=J.handleSubmit,Z=J.setValue,ee=J.watch,ea=J.setError,ei=J.formState.errors,el=J.clearErrors,en=(0,r._)((0,p.useState)(""),2),es=en[0],er=en[1],et=(0,r._)((0,p.useState)(""),2),eo=et[0],ec=et[1],ed=(0,r._)((0,p.useState)(1),2),e_=ed[0],em=ed[1],eu=(0,r._)((0,p.useState)(""),2),ep=eu[0],ef=eu[1],eg=(0,r._)((0,p.useState)(!1),2),ex=eg[0],eb=eg[1],eh=(0,r._)((0,p.useState)(!1),2),ev=eh[0],ej=eh[1],ek=(0,r._)((0,p.useState)(!1),2),eN=ek[0],ew=ek[1],ey=(0,r._)((0,x.Bd)("common"),1)[0],eS=ee("social_link2_follower"),eA=ee("social_link2_url"),eF=ee("social_link3_follower"),eD=ee("social_link3_url"),eC=ee("social_link4_follower"),eI=ee("social_link4_url"),eP=ee("social_link5_follower"),eq=ee("social_link5_url");(0,p.useEffect)(function(){(0,l._)(function(){return(0,t.YH)(this,function(e){return Z("bank_name",""),eb(!1),[2]})})()},[]);var eM={firstName:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¸à¸·à¹à¸",maxLength:{value:40,message:"à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¹à¸¡à¹à¹à¸à¸´à¸ 40 à¸à¸±à¸§à¸à¸±à¸à¸©à¸£"},pattern:{value:/^[à¸-à¹]+(?:\s*[à¸-à¹]+)*$/,message:"à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¸ าษาà¹à¸à¸¢à¹à¸à¹à¸²à¸à¸±à¹à¸"}},lastName:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¸à¸²à¸¡à¸ªà¸à¸¸à¸¥",maxLength:{value:40,message:"à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¹à¸¡à¹à¹à¸à¸´à¸ 40 à¸à¸±à¸§à¸à¸±à¸à¸©à¸£"},pattern:{value:/^[à¸-à¹]+(?:\s*[à¸-à¹]+)*$/,message:"à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¸ าษาà¹à¸à¸¢à¹à¸à¹à¸²à¸à¸±à¹à¸"}},nationalCardUid:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¹à¸¥à¸à¸à¸±à¸à¸£à¸à¸£à¸°à¸à¸²à¸à¸à¹à¸«à¹à¸à¸£à¸à¸à¹à¸§à¸",pattern:{value:(0,j.uN)({th:/^\d{13}$/,id:/^\d{16}$/,vn:/^\d{12}$/}),message:"ระà¸à¸¸à¹à¸à¸à¸²à¸°à¸à¸±à¸§à¹à¸¥à¸ à¸à¸³à¸à¸§à¸ 13 หลัà¸à¹à¸à¹à¸²à¸à¸±à¹à¸"}},phoneNumber:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¹à¸à¸à¸£à¹à¹à¸à¸£à¸¨à¸±à¸à¸à¹à¹à¸«à¹à¸à¸£à¸à¸à¹à¸§à¸",pattern:{value:/^\d{10}$/,message:"ระà¸à¸¸à¹à¸à¸à¸²à¸°à¸à¸±à¸§à¹à¸¥à¸ à¸à¸³à¸à¸§à¸ 10 หลัà¸à¹à¸à¹à¸²à¸à¸±à¹à¸"}},bankAccountName:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¸à¸·à¹à¸à¸à¸±à¸à¸à¸µà¸à¸à¸²à¸à¸²à¸£à¹à¸«à¹à¸à¸£à¸à¸à¹à¸§à¸"},bankAccountUid:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸£à¸à¸à¹à¸¥à¸à¸à¸±à¸à¸à¸µà¸à¸à¸²à¸à¸²à¸£à¹à¸«à¹à¸à¸£à¸à¸à¹à¸§à¸",maxLength:{value:20,message:"à¸à¸±à¸§à¹à¸¥à¸à¹à¸¡à¹à¹à¸à¸´à¸ 20 à¸à¸±à¸§à¸à¸±à¸à¸©à¸£"},pattern:{value:/^\d+$/,message:"ระà¸à¸¸à¹à¸à¸à¸²à¸°à¸à¸±à¸§à¹à¸¥à¸à¹à¸à¹à¸²à¸à¸±à¹à¸"}},bankName:{required:"à¸à¸£à¸¸à¸à¸²à¹à¸¥à¸·à¸à¸à¸à¸à¸²à¸à¸²à¸£"},socialLink1Url:{required:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢"},socialLink1Follower:{required:"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¢à¸à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡",pattern:{value:/^\d+$/,message:"ระà¸à¸¸à¹à¸à¸à¸²à¸°à¸à¸±à¸§à¹à¸¥à¸à¹à¸à¹à¸²à¸à¸±à¹à¸"}},nationalCardUidImage:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸±à¸à¹à¸«à¸¥à¸à¸ าà¸à¹à¸«à¹à¸à¸£à¸à¸à¹à¸§à¸"},nationalCardUidFaceImage:{required:"à¸à¸£à¸¸à¸à¸²à¸à¸±à¸à¹à¸«à¸¥à¸à¸ าà¸à¹à¸«à¹à¸à¸£à¸à¸à¹à¸§à¸"}},eE=ee("bank_name",""),eL=2===e_?{required:!1}:eM.nationalCardUidImage,eR=2===e_?{required:!1}:eM.nationalCardUidFaceImage,ez=function(e){return(0,l._)(function(){var a;return(0,t.YH)(this,function(i){switch(i.label){case 0:if(a={first_name:e.first_name,last_name:e.last_name,national_card_uid:e.national_card_uid,phone_number:e.phone_number,bank_name:e.bank_name,bank_account_name:e.bank_account_name,bank_account_uid:e.bank_account_uid,national_card_img1:es,national_card_img2:eo,social_links:{"social-1":{link:e.social_link1_url,followers:e.social_link1_follower},"social-2":e.social_link2_url||e.social_link2_follower?{link:null==e?void 0:e.social_link2_url,followers:null==e?void 0:e.social_link2_follower}:null,"social-3":e.social_link3_url||e.social_link3_follower?{link:null==e?void 0:e.social_link3_url,followers:null==e?void 0:e.social_link3_follower}:null,"social-4":e.social_link4_url||e.social_link4_follower?{link:null==e?void 0:e.social_link4_url,followers:null==e?void 0:e.social_link4_follower}:null,"social-5":e.social_link5_url||e.social_link5_follower?{link:null==e?void 0:e.social_link5_url,followers:null==e?void 0:e.social_link5_follower}:null}},1!==e_)return[3,6];i.label=1;case 1:return i.trys.push([1,4,,5]),[4,b.v.join()];
1case 2:return i.sent(),[4,b.v.joinNonSeller(a)];case 3:return i.sent(),em(2),ef("PENDING"),eb(!0),window.scrollTo(0,0),[3,5];case 4:return i.sent(),c.y8.error({text:ey("error.message.general")}),[3,5];case 5:return[3,10];case 6:if(2!==e_)return[3,10];i.label=7;case 7:return i.trys.push([7,9,,10]),[4,b.v.updateNonSeller(a)];case 8:return i.sent(),em(2),ef("PENDING"),eb(!0),window.scrollTo(0,0),[3,10];case 9:return i.sent(),c.y8.error({text:ey("error.message.general")}),[3,10];case 10:return[2]}})})()},eT=function(e,a,i){return(0,l._)(function(){var n,s,r;return(0,t.YH)(this,function(o){return(n=e.currentTarget.files.item(0))&&n.size>0xa00000?"NATIONAL_CARD"===a?(ea("national_card_uid_image",{type:"overFilesize",message:"à¹à¸à¸¥à¹à¸à¹à¸à¸à¸¡à¸µà¸à¸à¸²à¸à¹à¸¡à¹à¹à¸à¸´à¸ 10 MB"}),Z("national_card_uid_image",""),er("")):(ea("national_card_uid_face_image",{type:"overFilesize",message:"à¹à¸à¸¥à¹à¸à¹à¸à¸à¸¡à¸µà¸à¸à¸²à¸à¹à¸¡à¹à¹à¸à¸´à¸ 10 MB"}),Z("national_card_uid_face_image",""),ec("")):n&&(s=new FileReader,r=n,s.onload=function(){return(0,l._)(function(){return(0,t.YH)(this,function(e){return"NATIONAL_CARD"===a?G.mutate({imageFile:n,userId:i},{onSuccess:function(e){el("national_card_uid_image"),er(e.medium)},onError:function(){c.y8.error({text:ey("error.message.general")}),Z("national_card_uid_image",""),er("")}}):Y.mutate({imageFile:n,userId:i},{onSuccess:function(e){el("national_card_uid_face_image"),ec(e.medium)},onError:function(){c.y8.error({text:ey("error.message.general")}),Z("national_card_uid_face_image",""),ec("")}}),[2]})})()},s.readAsDataURL(r)),[2]})})()};return(0,o.jsxs)("div",{className:_()("_mgv-32px regis-non-seller",B?"lo-container":"lo-container-desktop"),children:[2===e_&&"PENDING"===ep&&(0,o.jsxs)("div",{className:"_dp-f _w-100pct _bgcl-warning-100 _cl-warning-200 _pd-8px _alit-ct _mgbt-32px _bdrd-8px",style:{border:"1px solid #F4C024"},children:[(0,o.jsx)("i",{className:"fas fa-clock _pdr-8px"}),(0,o.jsx)("span",{children:"à¸à¸¢à¸¹à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¹à¸à¸¡à¸¹à¸¥"})]}),2===e_&&"DISAPPROVED"===ep&&(0,o.jsx)(c.QB,{variant:"negative",iconClass:"fas fa-exclamation-circle _pdr-8px",className:"_wsp-pl",children:Q.disapproved_reason?"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸à¸¸à¸à¹à¸¡à¹à¸à¹à¸²à¸à¸à¸²à¸£à¸à¸à¸¸à¸¡à¸±à¸à¸´à¹à¸à¸·à¹à¸à¸à¸à¸²à¸à¹à¸«à¸à¸¸à¸à¸¥à¸à¹à¸à¹à¸à¸à¸µà¹ à¸à¸£à¸¸à¸à¸²à¹à¸à¹à¹à¸à¹à¸¥à¸°à¸ªà¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¸à¸à¸£à¸±à¹à¸\n".concat(Q.disapproved_reason):"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸à¸¸à¸à¹à¸¡à¹à¸à¹à¸²à¸à¸à¸²à¸£à¸à¸à¸¸à¸¡à¸±à¸à¸´ à¸à¸£à¸¸à¸à¸²à¸à¸£à¸§à¸à¸ªà¸à¸à¸ªà¸²à¹à¸«à¸à¸¸à¸à¹à¸²à¸à¸à¸²à¸à¸à¸µà¹à¸¡à¸¥à¹à¸¥à¸°à¸à¸³à¸à¸²à¸£à¹à¸à¹à¹à¸"}),(0,o.jsx)("div",{className:_()(B?"progressSectionMobile":"progressSection"),children:B?(0,o.jsxs)("ul",{className:"progress",children:[(0,o.jsxs)("li",{className:"progress__item progress__item--active",children:[(0,o.jsx)("p",{className:"progress__title _ffml-secondary",children:"สà¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸¢à¸·à¸à¸¢à¸±à¸à¸à¸±à¸§à¸à¸ à¹à¸à¸·à¹à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡"}),(0,o.jsx)("p",{className:"progress__info",children:"à¸à¸£à¸à¸à¸à¹à¸à¸¡à¸¹à¸¥ à¹à¸¥à¸°à¹à¸à¸à¹à¸à¸à¸ªà¸²à¸£à¹à¸à¹à¸à¸à¸à¸à¸£à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸"})]}),(0,o.jsxs)("li",{className:"progress__item progress__item--active",children:[(0,o.jsx)("p",{className:"progress__title _ffml-secondary",children:"รà¸à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¹à¸à¸¡à¸¹à¸¥"}),(0,o.jsx)("p",{className:"progress__info",children:"à¸à¸¥à¸à¸²à¸£à¸ªà¸¡à¸±à¸à¸£à¸à¸°à¸à¸¹à¸à¹à¸à¹à¸à¸à¹à¸²à¸ SMS à¹à¸¥à¸°à¸à¸µà¹à¸¡à¸¥"})]}),(0,o.jsxs)("li",{className:"progress__item",children:[(0,o.jsx)("p",{className:"progress__title _ffml-secondary",children:"à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸ªà¸³à¹à¸£à¹à¸"}),(0,o.jsx)("p",{className:"progress__info",children:"à¹à¸£à¸´à¹à¸¡à¸à¹à¸à¹à¸à¸£à¹à¸¥à¸´à¸à¸à¹ à¹à¸¥à¸°à¸£à¸à¸£à¸±à¸à¹à¸à¸´à¸à¹à¸à¹à¸à¸±à¸à¸à¸µ"})]})]}):(0,o.jsxs)("ul",{className:"progressbar",children:[(0,o.jsxs)("li",{className:_()("_ffml-secondary",e_>=1&&"active"),children:["สà¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸¢à¸·à¸à¸¢à¸±à¸à¸à¸±à¸§à¸à¸ à¹à¸à¸·à¹à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡",(0,o.jsx)("div",{className:"_ffml-primary _mgt-8px",style:{color:"#768297",fontSize:"14px"},children:"à¸à¸£à¸à¸à¸à¹à¸à¸¡à¸¹à¸¥ à¹à¸¥à¸°à¹à¸à¸à¹à¸à¸à¸ªà¸²à¸£à¹à¸à¹à¸à¸à¸à¸à¸£à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸"})]}),(0,o.jsxs)("li",{className:_()("_ffml-secondary",e_>=2&&"active"),children:["รà¸à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¹à¸à¸¡à¸¹à¸¥",(0,o.jsx)("div",{className:"_ffml-primary _mgt-8px",style:{color:"#768297",fontSize:"14px"},children:"à¸à¸¥à¸à¸²à¸£à¸ªà¸¡à¸±à¸à¸£à¸à¸°à¸à¸¹à¸à¹à¸à¹à¸à¸à¹à¸²à¸ SMS à¹à¸¥à¸°à¸à¸µà¹à¸¡à¸¥"})]}),(0,o.jsxs)("li",{className:_()("_ffml-secondary",e_>=3&&"active"),children:["à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸ªà¸³à¹à¸£à¹à¸",(0,o.jsx)("div",{className:"_ffml-primary _mgt-8px",style:{color:"#768297",fontSize:"14px"},children:"à¹à¸£à¸´à¹à¸¡à¸à¹à¸à¹à¸à¸£à¹à¸¥à¸´à¸à¸à¹ à¹à¸¥à¸°à¸£à¸à¸£à¸±à¸à¹à¸à¸´à¸à¹à¸à¹à¸à¸±à¸à¸à¸µ"})]})]})}),(0,o.jsxs)("div",{className:_()("contentWrapper",B&&"_pdh-16px"),children:[2===e_&&"DISAPPROVED"===ep&&(0,o.jsxs)("button",{type:"button",onClick:function(){return eb(!ex)},className:_()("tb-button -secondary -small _mgt-16px",B?"_mgr-2px":"_mgr-32px"),style:{float:"right"},children:[(0,o.jsx)("i",{className:"fal fa-pen-to-square _pdr-2px"}),(0,o.jsx)("span",{className:"",children:"à¹à¸à¹à¹à¸à¸à¹à¸à¸¡à¸¹à¸¥"})]}),(0,o.jsx)("div",{className:"_tal-ct _ffml-secondary titleText",style:{fontSize:"24px",color:"black",marginTop:"72px"},children:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸¹à¹à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡"}),(0,o.jsx)("div",{className:"wrapperField",children:(0,o.jsxs)("form",{className:"content",onSubmit:function(e){X(ez)(e)},children:[(0,o.jsxs)("div",{className:"_dp-f _alit-ct headerInfo _mgt-64px",children:[(0,o.jsx)("div",{className:_()("_bgcl-primary-500 _w-32px _h-32px _dp-f _alit-ct _jtfct-ct _bdrd-max",B?"_mgr-8px _mnw-32px":"_mgr-16px"),children:(0,o.jsx)("i",{className:"fas fa-user _fs-300",style:{color:"white"}})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"_dp-f _fdrt-cl _ffml-secondary _mgbt-4px",style:{fontSize:"18px",color:"black"},children:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸±à¸à¸£à¸à¸£à¸°à¸à¸²à¸à¸"}),(0,o.jsx)("div",{style:{fontSize:"14px"},children:"à¹à¸à¸·à¹à¸à¹à¸à¹à¹à¸à¹à¸à¸«à¸¥à¸±à¸à¸à¸²à¸à¹à¸à¸à¸²à¸£à¸à¸à¸à¹à¸à¸ªà¸³à¸à¸±à¸à¸£à¸±à¸à¹à¸à¸´à¸"})]})]}),(0,o.jsxs)("div",{className:_()("inputWrapperHalf _mgt-32px",{"_fdrt-cl _grg-16px":B}),children:[(0,o.jsx)(c.pd,(0,s._)((0,n._)({disabled:ex,isFluid:!0,label:"à¸à¸·à¹à¸",name:"first_name",placeholder:"à¸à¸£à¸à¸à¸à¸·à¹à¸",info:null==ei||null==(M=ei.first_name)?void 0:M.message,variant:(null==ei?void 0:ei.first_name)?"negative":"primary"},K("first_name",eM.firstName)),{onBlur:function(e){return Z("first_name",e.target.value.trim())}})),(0,o.jsx)(c.pd,(0,s._)((0,n._)({disabled:ex,isFluid:!0,label:"à¸à¸²à¸¡à¸ªà¸à¸¸à¸¥",name:"last_name",placeholder:"à¸à¸£à¸à¸à¸à¸²à¸¡à¸ªà¸à¸¸à¸¥",info:null==ei||null==(E=ei.last_name)?void 0:E.message,variant:(null==ei?void 0:ei.last_name)?"negative":"primary"},K("last_name",eM.lastName)),{onBlur:function(e){return Z("last_name",e.target.value.trim())}}))]}),(0,o.jsx)("div",{className:"_mgt-16px",children:(0,o.jsx)(c.pd,(0,s._)((0,n._)({disabled:ex,isFluid:!0,label:"à¹à¸¥à¸à¸à¸±à¸à¸£à¸à¸£à¸°à¸à¸²à¸à¸",name:"national_card_uid",description:"ระà¸à¸¸à¸à¸±à¸§à¹à¸¥à¸ à¸à¸³à¸à¸§à¸ 13 หลัà¸à¹à¸à¹à¸²à¸à¸±à¹à¸ à¹à¸¡à¹à¸à¹à¸à¸à¸¡à¸µà¸à¸µà¸ (-)",placeholder:"à¸à¸£à¸à¸à¹à¸¥à¸à¸à¸±à¸à¸£à¸à¸£à¸°à¸à¸²à¸à¸",info:null==ei||null==(L=ei.national_card_uid)?void 0:L.message,variant:(null==ei?void 0:ei.national_card_uid)?"negative":"primary"},K("national_card_uid",eM.nationalCardUid)),{onBlur:function(e){return Z("national_card_uid",e.target.value.trim())}}))}),(d=K("national_card_uid_image",(0,s._)((0,n._)({},eL),{onChange:function(e){return eT(e,"NATIONAL_CARD",O.id)}})),m=K("national_card_uid_face_image",(0,s._)((0,n._)({},eR),{onChange:function(e){return eT(e,"NATIONAL_CARD_WITH_FACE",O.id)}})),(0,o.jsxs)("div",{className:_()("inputWrapperHalf _mgt-32px",B&&"_fdrt-cl"),children:[(0,o.jsxs)("div",{className:_()("_w-100pct",B&&"_mgbt-32px"),children:[(0,o.jsx)("div",{className:"_w-100pct",children:(0,o.jsx)("img",{alt:"uid_image",src:u()(es)?"/static-v4/images/kyc-non-seller/id-card.svg":"".concat(k,"/api/v4/files/signed?file=").concat(es),className:"_ojf-ct _bdrd-4px placeHolderImg _cl-primary-50 _vtcal-t"})}),(0,o.jsx)(c.$n,{type:"button",className:"_mgt-8px",isFluid:!0,size:"large",disabled:ex,isLoading:G.isLoading,onClick:function(){var e;null==W||null==(e=W.current)||e.click()},children:"à¸à¸±à¸à¹à¸«à¸¥à¸à¸£à¸¹à¸à¸à¸±à¸à¸£à¸à¸£à¸°à¸à¸²à¸à¸"}),(0,o.jsx)("input",(0,s._)((0,n._)({type:"file",className:"_dp-n",id:"id-card-1",multiple:!1,name:"national_card_uid_image",accept:"image/*, .heic, .heif"},d),{ref:function(e){d.ref(e),W.current=e}})),(null==ei?void 0:ei.national_card_uid_image)&&(0,o.jsx)("small",{className:"_cl-negative-200",children:null==ei||null==(a=ei.national_card_uid_image)?void 0:a.message})]}),(0,o.jsxs)("div",{className:"_w-100pct",children:[(0,o.jsx)("div",{className:"_w-100pct",children:(0,o.jsx)("img",{alt:"uid_face_image",src:u()(eo)?"/static-v4/images/kyc-non-seller/with-id-card.svg":"".concat(k,"/api/v4/files/signed?file=").concat(eo),className:"_ojf-ct _bdrd-4px placeHolderImg _cl-primary-50 _vtcal-t"})}),(0,o.jsx)(c.$n,{type:"button",className:"_mgt-8px",isFluid:!0,size:"large",disabled:ex,isLoading:Y.isLoading,onClick:function(){var e;null==V||null==(e=V.current)||e.click()},children:"à¸à¸±à¸à¹à¸«à¸¥à¸à¸£à¸¹à¸à¸à¸¹à¹à¸à¸±à¸à¸£"}),(0,o.jsx)("input",(0,s._)((0,n._)({type:"file",className:"_dp-n",id:"id-card-2",multiple:!1,name:"national_card_uid_face_image",accept:"image/*, .heic, .heif"},m),{ref:function(e){m.ref(e),V.current=e}})),(null==ei?void 0:ei.national_card_uid_face_image)&&(0,o.jsx)("small",{className:"_cl-negative-200",children:null==ei||null==(i=ei.national_card_uid_face_image)?void 0:i.message})]})]})),(0,o.jsxs)("div",{className:"_dp-f _alit-ct headerInfo _mgt-64px",children:[(0,o.jsx)("div",{className:_()("_bgcl-primary-500 _w-32px _h-32px _dp-f _alit-ct _jtfct-ct _bdrd-max",B?"_mgr-8px _mnw-32px":"_mgr-16px"),children:(0,o.jsx)("i",{className:"fas fa-envelope-open-text _fs-300",style:{color:"white"}})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"_dp-f _fdrt-cl _ffml-secondary _mgbt-4px",style:{fontSize:"18px",color:"black"},children:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸´à¸à¸à¹à¸"}),(0,o.jsx)("div",{style:{fontSize:"14px"},children:"à¹à¸à¸·à¹à¸à¹à¸à¹à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸´à¸à¸à¹à¸à¹à¸à¹à¸à¸à¸¥à¸à¸²à¸£à¸ªà¸¡à¸±à¸à¸£à¹à¸¥à¸°à¸à¸´à¸à¸à¹à¸à¸à¹à¸§à¸¢à¹à¸«à¸¥à¸·à¸"})]})]}),(0,o.jsx)("div",{className:"_mgt-16px",children:(0,o.jsx)(c.pd,(0,s._)((0,n._)({disabled:ex,isFluid:!0,label:"à¹à¸à¸à¸£à¹à¹à¸à¸£à¸¨à¸±à¸à¸à¹",name:"phone_number",placeholder:"à¸à¸£à¸à¸à¹à¸à¸à¸£à¹à¹à¸à¸£à¸¨à¸±à¸à¸à¹",description:"ระà¸à¸¸à¸à¸±à¸§à¹à¸¥à¸ à¸à¸³à¸à¸§à¸ 10 หลัà¸à¹à¸à¹à¸²à¸à¸±à¹à¸ à¹à¸¡à¹à¸à¹à¸à¸à¸¡à¸µà¸à¸µà¸ (-)",info:null==ei||null==(R=ei.phone_number)?void 0:R.message,variant:(null==ei?void 0:ei.phone_number)?"negative":"primary"},K("phone_number",eM.phoneNumber)),{onBlur:function(e){return Z("phone_number",e.target.value.trim())}}))}),(0,o.jsx)("div",{className:"_mgt-16px",children:(0,o.jsx)(c.pd,(0,n._)({disabled:!0,isFluid:!0,label:"à¸à¸µà¹à¸¡à¸¥",value:"",name:"email",placeholder:O.email,info:null==ei||null==(z=ei.email)?void 0:z.message,variant:(null==ei?void 0:ei.email)?"negative":"primary"},K("email")))}),(0,o.jsxs)("div",{className:"_dp-f _alit-ct headerInfo _mgt-64px",children:[(0,o.jsx)("div",{className:_()("_bgcl-primary-500 _w-32px _h-32px _dp-f _alit-ct _jtfct-ct _bdrd-max",B?"_mgr-8px _mnw-32px":"_mgr-16px"),children:(0,o.jsx)("i",{className:"fas fa-building-columns _fs-300",style:{color:"white"}})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"_dp-f _fdrt-cl _ffml-secondary _mgbt-4px",style:{fontSize:"18px",color:"black"},children:"à¸à¸±à¸à¸à¸µà¹à¸¥à¸°à¸à¸²à¸£à¹à¸à¸´à¸"}),(0,o.jsx)("div",{style:{fontSize:"14px"},children:"à¹à¸à¸·à¹à¸à¹à¸à¹à¹à¸à¸à¸²à¸£à¹à¸à¸à¸à¹à¸²à¸¢à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸"})]})]}),(0,o.jsx)("div",{className:"_mgt-16px",children:(0,o.jsxs)(c.l6,(0,s._)((0,n._)({label:"à¸
1à¸à¸²à¸à¸²à¸£",name:"bank_name",defaultValue:eE},K("bank_name",eM.bankName)),{disabled:ex,variant:ei.bank_name?"negative":"primary",info:null==ei||null==(T=ei.bank_name)?void 0:T.message,children:[(0,o.jsx)("option",{value:"",disabled:!0,children:"à¹à¸¥à¸·à¸à¸à¸à¸à¸²à¸à¸²à¸£"}),N.map(function(e){return(0,o.jsx)("option",{value:e.code,"data-name":e.name,children:e.name},e.code)})]}))}),(0,o.jsx)("div",{className:"_mgt-16px",children:(0,o.jsx)(c.pd,(0,s._)((0,n._)({disabled:ex,isFluid:!0,label:"à¸à¸·à¹à¸à¸à¸±à¸à¸à¸µà¸à¸à¸²à¸à¸²à¸£",name:"bank_account_name",placeholder:"à¸à¸£à¸à¸à¸à¸·à¹à¸à¸à¸±à¸à¸à¸µà¸à¸à¸²à¸à¸²à¸£",info:null==ei||null==(H=ei.bank_account_name)?void 0:H.message,variant:(null==ei?void 0:ei.bank_account_name)?"negative":"primary"},K("bank_account_name",eM.bankAccountName)),{onBlur:function(e){return Z("bank_account_name",e.target.value.trim())}}))}),(0,o.jsx)("div",{className:"_mgt-16px",children:(0,o.jsx)(c.pd,(0,s._)((0,n._)({disabled:ex,isFluid:!0,label:"à¹à¸¥à¸à¸à¸±à¸à¸à¸µ",name:"bank_account_uid",placeholder:"à¸à¸£à¸à¸à¹à¸¥à¸à¸à¸±à¸à¸à¸µ",description:"ระà¸à¸¸à¸à¸±à¸§à¹à¸¥à¸à¹à¸à¹à¸²à¸à¸±à¹à¸ à¹à¸¡à¹à¸à¹à¸à¸à¸¡à¸µà¸à¸µà¸ (-)",info:null==ei||null==(U=ei.bank_account_uid)?void 0:U.message,variant:(null==ei?void 0:ei.bank_account_uid)?"negative":"primary"},K("bank_account_uid",eM.bankAccountUid)),{onBlur:function(e){return Z("bank_account_uid",e.target.value.trim())}}))}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"_dp-f _alit-ct headerInfo _mgt-64px",children:[(0,o.jsx)("div",{className:_()("_bgcl-primary-500 _w-32px _h-32px _dp-f _alit-ct _jtfct-ct _bdrd-max",B?"_mgr-8px _mnw-32px":"_mgr-16px"),children:(0,o.jsx)("i",{className:"fas fa-thumbs-up _fs-300",style:{color:"white"}})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"_dp-f _fdrt-cl _ffml-secondary _mgbt-4px",style:{fontSize:"18px",color:"black"},children:"à¸à¸±à¸à¸à¸µà¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢"}),(0,o.jsx)("div",{style:{fontSize:"14px"},children:"à¸à¸£à¸à¸à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢ 1 à¸à¹à¸à¸à¸à¸²à¸à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢à¹à¸à¸·à¹à¸à¹à¸à¹à¹à¸à¹à¸à¸«à¸¥à¸±à¸à¸à¸²à¸à¹à¸à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡"})]})]}),(0,o.jsxs)("div",{className:"inputWrapperHalf _mgt-16px",children:[(0,o.jsx)(c.pd,(0,n._)({type:"url",label:"ลิà¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢à¸à¸à¸à¸à¸¸à¸",name:"social_link1_url",placeholder:"à¸à¸£à¸à¸à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢",disabled:ex,isFluid:!0,info:null==ei||null==(w=ei.social_link1_url)?void 0:w.message,variant:(null==ei?void 0:ei.social_link1_url)?"negative":"primary"},K("social_link1_url",eM.socialLink1Url))),(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,label:"ยà¸à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡",name:"social_link1_follower",placeholder:"à¸à¸£à¸à¸à¸à¸³à¸à¸§à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡",info:null==ei||null==(y=ei.social_link1_follower)?void 0:y.message,variant:(null==ei?void 0:ei.social_link1_follower)?"negative":"primary"},K("social_link1_follower",eM.socialLink1Follower)))]}),(0,o.jsxs)("div",{className:"inputWrapperHalf _mgt-16px",children:[(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link2_url",placeholder:"à¸à¸£à¸à¸à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢",info:null==ei||null==(S=ei.social_link2_url)?void 0:S.message,variant:(null==ei?void 0:ei.social_link2_url)?"negative":"primary"},K("social_link2_url",{validate:{required:function(e){return!!e||!eS||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢"}}}))),(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link2_follower",placeholder:"à¸à¸£à¸à¸à¸à¸³à¸à¸§à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡",info:null==ei||null==(A=ei.social_link2_follower)?void 0:A.message,variant:(null==ei?void 0:ei.social_link2_follower)?"negative":"primary"},K("social_link2_follower",{validate:{required:function(e){return!!e||!eA||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¢à¸à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡"}}})))]}),(0,o.jsxs)("div",{className:"inputWrapperHalf _mgt-16px",children:[(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link3_url",placeholder:"à¸à¸£à¸à¸à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢",info:null==ei||null==(F=ei.social_link3_url)?void 0:F.message,variant:(null==ei?void 0:ei.social_link3_url)?"negative":"primary"},K("social_link3_url",{validate:{required:function(e){return!!e||!eF||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢"}}}
1))),(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link3_follower",placeholder:"à¸à¸£à¸à¸à¸à¸³à¸à¸§à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡",info:null==ei||null==(D=ei.social_link3_follower)?void 0:D.message,variant:(null==ei?void 0:ei.social_link3_follower)?"negative":"primary"},K("social_link3_follower",{validate:{required:function(e){return!!e||!eD||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¢à¸à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡"}}})))]}),(0,o.jsxs)("div",{className:"inputWrapperHalf _mgt-16px",children:[(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link4_url",placeholder:"à¸à¸£à¸à¸à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢",info:null==ei||null==(C=ei.social_link4_url)?void 0:C.message,variant:(null==ei?void 0:ei.social_link4_url)?"negative":"primary"},K("social_link4_url",{validate:{required:function(e){return!!e||!eC||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢"}}}))),(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link4_follower",placeholder:"à¸à¸£à¸à¸à¸à¸³à¸à¸§à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡",info:null==ei||null==(I=ei.social_link4_follower)?void 0:I.message,variant:(null==ei?void 0:ei.social_link4_follower)?"negative":"primary"},K("social_link4_follower",{validate:{required:function(e){return!!e||!eI||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¢à¸à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡"}}})))]}),(0,o.jsxs)("div",{className:"inputWrapperHalf _mgt-16px _mgbt-32px",children:[(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link5_url",placeholder:"à¸à¸£à¸à¸à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢",info:null==ei||null==(P=ei.social_link5_url)?void 0:P.message,variant:(null==ei?void 0:ei.social_link5_url)?"negative":"primary"},K("social_link5_url",{validate:{required:function(e){return!!e||!eP||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¥à¸´à¸à¸à¹à¹à¸à¹à¸à¸µà¸¢à¸¥à¸¡à¸µà¹à¸à¸µà¸¢"}}}))),(0,o.jsx)(c.pd,(0,n._)({disabled:ex,isFluid:!0,name:"social_link5_follower",placeholder:"à¸à¸£à¸à¸à¸à¸³à¸à¸§à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡",info:null==ei||null==(q=ei.social_link5_follower)?void 0:q.message,variant:(null==ei?void 0:ei.social_link5_follower)?"negative":"primary"},K("social_link5_follower",{validate:{required:function(e){return!!e||!eq||"à¸à¸£à¸¸à¸à¸²à¹à¸ªà¹à¸¢à¸à¸à¸à¸¹à¹à¸à¸´à¸à¸à¸²à¸¡"}}})))]})]}),1===e_&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:_()("tb-field _mgbt-8px _pdt-32px"),style:{borderTop:"1px solid rgba(214, 220, 231, 0.95)"},children:(0,o.jsxs)("div",{className:"checkbox-wrapper tb-checkbox _mgbt-16px",children:[(0,o.jsx)("input",{id:"term-affiliate-condition",type:"checkbox",onChange:function(){return ew(function(e){return!e})},checked:eN}),(0,o.jsxs)("label",{className:"checkbox-element",htmlFor:"term-affiliate-condition",children:["à¸à¸±à¸à¹à¸à¹à¸à¹à¸²à¸à¹à¸¥à¸°à¸¢à¸à¸¡à¸£à¸±à¸"," "]}),(0,o.jsx)("a",{href:"".concat((0,g.$)().STATIC_URL,"/contents/affiliate-terms"),target:"_blank",rel:"noopener noreferrer",className:"tb-link -primary _fs-300 _tdcrt-udl _mgl-2px _fw-600",children:"รายละà¹à¸à¸µà¸¢à¸à¹à¸¥à¸°à¹à¸à¸·à¹à¸à¸à¹à¸à¸à¸à¸à¸à¸´à¸à¸à¸£à¸£à¸¡ Affiliate Program"})]})}),(0,o.jsx)("div",{className:_()("tb-field _mgbt-32px"),children:(0,o.jsxs)("div",{className:"checkbox-wrapper tb-checkbox _mgbt-8px",children:[(0,o.jsx)("input",{id:"term_condition",type:"checkbox",onChange:function(){return ej(function(e){return!e})},checked:ev}),(0,o.jsxs)("label",{className:"checkbox-element",htmlFor:"term_condition",children:["à¸à¸±à¸à¹à¸à¹à¸à¹à¸²à¸à¹à¸¥à¸°à¸¢à¸à¸¡à¸£à¸±à¸"," ",(0,o.jsx)("a",{href:"".concat((0,g.$)().STATIC_URL,"/contents/affiliate-privacy"),target:"_blank",rel:"noopener noreferrer",className:"tb-link -primary _fs-300 _tdcrt-udl _mgl-2px _fw-600",children:"à¸à¹à¸¢à¸à¸²à¸¢à¸à¸¸à¹à¸¡à¸à¸£à¸à¸à¸à¸§à¸²à¸¡à¹à¸à¹à¸à¸ªà¹à¸§à¸à¸à¸±à¸§"})]})]})}),(0,o.jsx)("button",{type:"submit",className:_()("tb-button _w-100pct _mgbt-32px",(!ev||!eN)&&"-disabled"),disabled:!ev||!eN,children:(0,o.jsx)("span",{children:"à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¹à¸¥à¸°à¸ªà¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸¢à¸·à¸à¸¢à¸±à¸à¸à¸±à¸§à¸à¸"})})]}),2===e_&&(0,o.jsx)("button",{type:"submit",className:_()("tb-button _w-100pct _mgbt-32px _mgt-16px",ex&&"-disabled"),disabled:ex,children:(0,o.jsx)("span",{children:"à¹à¸à¹à¹à¸à¸à¹à¸à¸¡à¸¹à¸¥"})})]})})]})]})}},16288:(e,a,i)=>{i.d(a,{Ah:()=>t,Ou:()=>l,V0:()=>r,V_:()=>s,u6:()=>n});var l=[{img:"/static-v4/images/affiliate/affiliate-step-01.png",title:"à¸à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡ Affiliate Program",description:"à¸à¹à¸²à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸ สิà¸à¸à¸´à¸à¸£à¸°à¹à¸¢à¸à¸à¹ à¹à¸à¸·à¹à¸à¸à¹à¸à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸ à¹à¸¥à¸°à¸à¸³à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡à¸à¹à¸²à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¸à¸µà¹"},{img:"/static-v4/images/affiliate/affiliate-step-02.png",title:"à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹ Affiliate à¸à¸²à¸à¸«à¸à¹à¸² Dashboard",description:"à¹à¸à¸¢à¸±à¸à¸«à¸à¹à¸² Dashboard à¹à¸à¸·à¹à¸à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹ หรืà¸à¹à¸à¹à¸²à¸à¹à¸²à¸ à¹à¸¡à¸à¸¹à¸ ายà¹à¸à¹à¹à¸à¸£à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸·à¹à¸à¸§à¹à¸² <strong>âà¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸´à¹à¸¨à¸©à¸à¸²à¸ Affiliate Programâ</strong> à¹à¸à¹à¹à¸à¹à¸à¹à¸à¸µà¸¢à¸§à¸à¸±à¸"},{img:"/static-v4/images/affiliate/affiliate-step-03.png",title:"à¹à¸à¸£à¹à¸¥à¸´à¸à¸à¹à¸à¹à¸²à¸à¸à¹à¸à¸à¸à¸²à¸à¸à¹à¸²à¸ à¹",description:'à¸à¸³à¸¥à¸´à¸à¸à¹à¸à¸µà¹à¸à¸±à¸à¸¥à¸à¸à¸à¸²à¸ Dashboard à¹à¸à¹à¸à¸£à¹à¸à¹à¸²à¸à¸à¹à¸à¸à¸à¸²à¸ à¸à¹à¸²à¸ ๠à¹à¸à¹à¸à¸±à¸à¸à¸µ <a href="#dashboard-detail" class="tb-link -primary _tdcrt-udl">à¸à¸¹à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸à¸à¸à¸ Dashboard</a>'}],n=[{img:"/static-v4/images/affiliate/affiliate-step-01.png",title:"à¸à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡ Affiliate Program",description:"à¸à¹à¸²à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸ สิà¸à¸à¸´à¸à¸£à¸°à¹à¸¢à¸à¸à¹ à¹à¸à¸·à¹à¸à¸à¹à¸à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸ à¹à¸¥à¸°à¸à¸³à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡à¸à¹à¸²à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¸à¸µà¹"},{img:"/static-v4/images/affiliate/affiliate-step-02.png",title:"à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹ Affiliate à¸à¸²à¸à¸«à¸à¹à¸² Dashboard",description:"à¹à¸à¸¢à¸±à¸à¸«à¸à¹à¸² Dashboard à¹à¸à¸·à¹à¸à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹ หรืà¸à¹à¸à¹à¸²à¸à¹à¸²à¸ à¹à¸¡à¸à¸¹à¸ ายà¹à¸à¹à¹à¸à¸£à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸·à¹à¸à¸§à¹à¸² <strong>âà¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸´à¹à¸¨à¸©à¸à¸²à¸ Affiliate Programâ</strong> à¹à¸à¹à¹à¸à¹à¸à¹à¸à¸µà¸¢à¸§à¸à¸±à¸"},{img:"/static-v4/images/affiliate/affiliate-step-03.png",title:"à¹à¸à¸£à¹à¸¥à¸´à¸à¸à¹à¸à¹à¸²à¸à¸à¹à¸à¸à¸à¸²à¸à¸à¹à¸²à¸ à¹",description:'à¸à¸³à¸¥à¸´à¸à¸à¹à¸à¸µà¹à¸à¸±à¸à¸¥à¸à¸à¸à¸²à¸ Dashboard à¹à¸à¹à¸à¸£à¹à¸à¹à¸²à¸à¸à¹à¸à¸à¸à¸²à¸ à¸à¹à¸²à¸ ๠à¹à¸à¹à¸à¸±à¸à¸à¸µ <a href="#dashboard-detail" class="tb-link -primary _tdcrt-udl">à¸à¸¹à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸à¸à¸à¸ Dashboard</a>'}],s=[{img:"/static-v4/images/affiliate/affiliate-step-04.png",title:"สà¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸¢à¸·à¸à¸¢à¸±à¸à¸à¸±à¸§à¸à¸ à¹à¸à¸·à¹à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡",description:'à¸à¹à¸²à¸à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸à¸à¸´à¸à¸à¸£à¸£à¸¡ à¸à¸£à¹à¸à¸¡à¸ªà¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸¢à¸·à¸à¸¢à¸±à¸à¸à¸±à¸§à¸à¸ à¹à¸à¹à¸ à¸à¹à¸à¸à¸à¸²à¸ Social media, สำà¹à¸à¸²à¸à¸±à¸à¸£à¸à¸£à¸°à¸à¸²à¸à¸ à¹à¸à¸·à¹à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡ <a href="/affiliate-program/dashboard?tab=form" class="tb-link -primary _tdcrt-udl">à¹à¸à¸«à¸à¹à¸²à¸¢à¸·à¸à¸¢à¸±à¸à¸à¹à¸à¸¡à¸¹à¸¥</a>'},{img:"/static-v4/images/affiliate/affiliate-step-02.png",title:"à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹ Affiliate à¸à¸²à¸à¸«à¸à¹à¸² Dashboard",description:"à¹à¸à¸¢à¸±à¸à¸«à¸à¹à¸² Dashboard à¹à¸à¸·à¹à¸à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹ หรืà¸à¹à¸à¹à¸²à¸à¹à¸²à¸ à¹à¸¡à¸à¸¹à¸ ายà¹à¸à¹à¹à¸à¸£à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸·à¹à¸à¸§à¹à¸² <strong>âà¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸´à¹à¸¨à¸©à¸à¸²à¸ Affiliate Programâ</strong> à¹à¸à¹à¹à¸à¹à¸à¹à¸à¸µà¸¢à¸§à¸à¸±à¸"},{img:"/static-v4/images/affiliate/affiliate-step-03.png",title:"à¹à¸à¸£à¹à¸¥à¸´à¸à¸à¹à¸à¹à¸²à¸à¸à¹à¸à¸à¸à¸²à¸à¸à¹à¸²à¸ à¹",description:'à¸à¸³à¸¥à¸´à¸à¸à¹à¸à¸µà¹à¸à¸±à¸à¸¥à¸à¸à¸à¸²à¸ Dashboard à¹à¸à¹à¸à¸£à¹à¸à¹à¸²à¸à¸à¹à¸à¸à¸à¸²à¸ à¸à¹à¸²à¸ ๠à¹à¸à¹à¸à¸±à¸à¸à¸µ <a href="#dashboard-detail" class="tb-link -primary _tdcrt-udl">à¸à¸¹à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸à¸à¸à¸ Dashboard</a>'}],r=[{image:"/static-v4/images/affiliate/image-onboarding-non-seller-01.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-non-seller-01.jpg",title:"ยิà¸à¸à¸µà¸à¹à¸à¸à¸£à¸±à¸à¹à¸à¹à¸²à¸ªà¸¹à¹à¸«à¸à¹à¸² Dashbord à¸à¸à¸ Affiliate Program",description:"มาà¹à¸£à¸´à¹à¸¡à¸à¹à¸à¹à¸£à¸µà¸¢à¸à¸£à¸¹à¹à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸à¹à¸à¸·à¹à¸à¸à¸à¹à¸"},{image:"/static-v4/images/affiliate/image-onboarding-non-seller-02.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-non-seller-02.jpg",title:"ลิà¸à¸à¹ Affiliate สำหรัà¸à¸à¸±à¸à¸¥à¸à¸à¹à¸¥à¸°à¸à¸³à¹à¸à¹à¸à¸£à¹",description:"à¹à¸¡à¸·à¹à¸à¹à¸à¸´à¸à¸à¸²à¸£à¸à¹à¸²à¸à¸à¸²à¸à¸à¹à¸²à¸à¸¥à¸´à¸à¸à¹à¸à¸µà¹ à¸à¸¸à¸à¸à¸°à¹à¸à¹à¸£à¸±à¸à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸´à¹à¸¨à¸©"},{image:"/static-v4/images/affiliate/image-onboarding-non-seller-03.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-non-seller-03.jpg",title:"à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¸³à¸à¸±à¸à¹à¸à¸·à¹à¸à¸à¸´à¸à¸à¸²à¸¡à¸à¸¥à¸¥à¸±à¸à¸à¹à¸à¸²à¸£à¹à¸à¸£à¹",description:'à¹à¸à¸¢à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¸°à¸à¸¹à¸à¸à¸³à¸à¸§à¸à¸à¸²à¸ "à¸à¸à¹à¸à¸à¸£à¹à¸à¸µà¹à¹à¸à¸´à¸à¸à¸¶à¹à¸à¸à¹à¸²à¸à¸¥à¸´à¸à¸à¹ Affiliate'},{image:"/static-v4/images/affiliate/image-onboarding-non-seller-04.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-non-seller-04.jpg",title:"à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¸£à¸¸à¸à¸à¸¥à¸à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²à¹à¸à¸£à¸à¸à¸²à¸£",description:"à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¸°à¸ªà¸¡ สรุà¸à¸ าà¸à¸£à¸§à¸¡à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸¥à¸à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²à¸à¸µà¹à¸à¸¸à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡"},{image:"/static-v4/images/affiliate/image-onboarding-non-seller-05.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-non-seller-05.jpg",title:"หาà¸à¸¡à¸µà¸à¹à¸à¸ªà¸à¸ªà¸±à¸¢à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸¡",description:"หาà¸à¸¡à¸µà¸à¹à¸à¸ªà¸à¸ªà¸±à¸¢à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸¹à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸¡à¸à¹à¸²à¸à¹à¸à¸à¸à¸ i à¹à¸à¹à¸à¸±à¸à¸à¸µ หรืà¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸¹à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸ à¸à¸à¸à¸à¸´à¸à¸à¸£à¸£à¸¡à¹à¸à¹à¸à¸µà¸à¸à¸£à¸±à¹à¸à¸à¸µà¹à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸´à¸à¸à¸£à¸£à¸¡"}],t=[{image:"/static-v4/images/affiliate/image-onboarding-seller-01.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-seller-01.jpg",title:"ยิà¸à¸à¸µà¸à¹à¸à¸à¸£à¸±à¸à¹à¸à¹à¸²à¸ªà¸¹à¹à¸«à¸à¹à¸² Dashbord à¸à¸à¸ Affiliate Program",description:"มาà¹à¸£à¸´à¹à¸¡à¸à¹à¸à¹à¸£à¸µà¸¢à¸à¸£à¸¹à¹à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸à¹à¸à¸·à¹à¸à¸à¸à¹à¸"},{image:"/static-v4/images/affiliate/image-onboarding-seller-02.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-seller-02.jpg",title:"ลิà¸à¸à¹ Affiliate สำหรัà¸à¸à¸±à¸à¸¥à¸à¸à¹à¸¥à¸°à¸à¸³à¹à¸à¹à¸à¸£à¹",description:"à¹à¸¡à¸·à¹à¸à¹à¸à¸´à¸à¸à¸²à¸£à¸à¹à¸²à¸à¸à¸²à¸à¸à¹à¸²à¸à¸¥à¸´à¸à¸à¹à¸à¸µà¹ à¸à¸¸à¸à¸à¸°à¹à¸à¹à¸£à¸±à¸à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸´à¹à¸¨à¸©"},{image:"/static-v4/images/affiliate/image-onboarding-seller-03.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-seller-03.jpg",title:"à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¸³à¸à¸±à¸à¹à¸à¸·à¹à¸à¸à¸´à¸à¸à¸²à¸¡à¸à¸¥à¸¥à¸±à¸à¸à¹à¸à¸²à¸£à¹à¸à¸£à¹",description:'à¹à¸à¸¢à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¸°à¸à¸¹à¸à¸à¸³à¸à¸§à¸à¸à¸²à¸ "à¸à¸à¹à¸à¸à¸£à¹à¸à¸µà¹à¹à¸à¸´à¸à¸à¸¶à¹à¸à¸à¹à¸²à¸à¸¥à¸´à¸à¸à¹ Affiliate'},{image:"/static-v4/images/affiliate/image-onboarding-seller-04.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-seller-04.jpg",title:"à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¸£à¸¸à¸à¸à¸¥à¸à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²à¹à¸à¸£à¸à¸à¸²à¸£",description:"à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¸°à¸ªà¸¡ สรุà¸à¸ าà¸à¸£à¸§à¸¡à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸¥à¸à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²à¸à¸µà¹à¸à¸¸à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡"},{image:"/static-v4/images/affiliate/image-onboarding-seller-05.jpg",imageMobile:"/static-v4/images/affiliate/image-mweb-onboarding-seller-05.jpg",title:"หาà¸à¸¡à¸µà¸à¹à¸à¸ªà¸à¸ªà¸±à¸¢à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸¡",description:"หาà¸à¸¡à¸µà¸à¹à¸à¸ªà¸à¸ªà¸±à¸¢à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸¹à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸¡à¸à¹à¸²à¸à¹à¸à¸à¸à¸ i à¹à¸à¹à¸à¸±à¸à¸à¸µ หรืà¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸¹à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸ à¸à¸à¸à¸à¸´à¸à¸à¸£à¸£à¸¡à¹à¸à¹à¸à¸µà¸à¸à¸£à¸±à¹à¸à¸à¸µà¹à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸´à¸à¸à¸£à¸£à¸¡"}]},53247:(e,a,i)=>{i.d(a,{A:()=>p});var l=i(16927),n=i(20294),s=i(4902),r=i(37876),t=i(14678),o=i(15039),c=i.n(o),d=i(14232),_=i(50075),m=i(84367),u=i(10997);let p=function(e){var a=e.onSuccess,i=e.onClose,o=(0,n._)((0,_.Bd)("common"),1)[0],p=(0,n._)((0,d.useState)(!1),2),f=p[0],g=p[1],x=(0,n._)((0,d.useState)(!1),2),b=x[0],h=x[1],v=(0,n._)((0,d.useState)(!1),2),j=v[0],k=v[1],N=(0,n._)((0,d.useState)(!1),2),w=N[0],y=N[1],S=(0,n._)((0,d.useState)(!0),1)[0];
1return(0,r.jsxs)(u.aF,{isShown:S,onClickToClose:b?void 0:function(){g(!1),h(!1),i()},className:"modal-consent",children:[!b&&(0,r.jsx)("div",{className:"modal-term-affiliate",children:(0,r.jsxs)("div",{className:"_pdh-24px-md _pdbt-12px",children:[(0,r.jsx)("div",{className:"header _pdbt-16px _pdt-8px",children:(0,r.jsx)("div",{className:"_fs-400 _fw-600 _ffml-secondary _pdh-32px _tal-ct noFancy",children:"Affiliate Program"})}),(0,r.jsxs)("div",{className:"_pdbt-12px _pdt-16px",children:[(0,r.jsx)("div",{className:"_fw-600 _fs-300",children:"à¸à¹à¸à¸à¸³à¸«à¸à¸à¹à¸¥à¸°à¹à¸à¸·à¹à¸à¸à¹à¸à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡"}),(0,r.jsx)("p",{className:"term _fs-200 _mgt-16px",children:(0,r.jsxs)("ol",{className:"lo-12 _gg-4px _lst-dcm _pdl-24px _fs-300 _opct-70",children:[(0,r.jsx)("li",{children:"à¸à¸£à¸´à¸à¸²à¸£ Affiliate program à¹à¸à¸´à¸à¹à¸«à¹à¸ªà¸³à¸«à¸£à¸±à¸à¸à¸¸à¸à¸à¸¥à¸ªà¸à¸à¸à¸¥à¸¸à¹à¸¡ à¸à¸·à¸ à¸à¸£à¸µà¹à¸¥à¸à¸à¹à¹à¸à¸£à¸°à¸à¸à¸à¸à¸à¸à¸²à¸ªà¸à¹à¹à¸§à¸´à¸£à¹à¸ à¹à¸¥à¸° à¸à¸¸à¸à¸à¸¥à¸à¸±à¹à¸§à¹à¸à¸à¸µà¹à¹à¸à¹à¸²à¸à¹à¸²à¸¢ Social Influencer"}),(0,r.jsx)("li",{children:"สำหรัà¸à¸à¸£à¸µà¹à¸¥à¸à¸à¹à¹à¸à¸£à¸°à¸à¸ à¸à¸µà¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡à¸à¸µà¹à¹à¸à¹ à¸à¸°à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸¹à¹à¸à¸µà¹à¹à¸à¹à¸£à¸±à¸à¸à¸²à¸£à¸à¸à¸¸à¸¡à¸±à¸à¸´à¹à¸à¸£à¹à¸à¸¥à¹à¸à¸£à¸µà¹à¸¥à¸à¸à¹à¸à¸²à¸à¸à¸²à¸ªà¸à¹à¹à¸§à¸´à¸£à¹à¸à¹à¸¥à¹à¸§à¹à¸à¹à¸²à¸à¸±à¹à¸ à¸à¸µà¸à¸à¸±à¹à¸à¸à¸±à¸à¸à¸µà¸à¸à¸à¸à¸£à¸µà¹à¸¥à¸à¸à¹à¸à¸°à¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸£à¸°à¸à¸±à¸à¹à¸à¸à¸à¸²à¸§à¸£à¸à¸¥à¸à¸à¸à¹à¸§à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²à¸à¸´à¸à¸à¸£à¸£à¸¡"}),(0,r.jsx)("li",{children:"สำหรัà¸à¸à¸¸à¸à¸à¸¥à¸à¸±à¹à¸§à¹à¸à¸à¸µà¹à¸ªà¸à¹à¸ à¸à¸°à¸à¹à¸à¸à¸à¸³à¸à¸²à¸£à¸à¸à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¹à¸¥à¸°à¸ªà¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸¢à¸·à¸à¸¢à¸±à¸à¸¡à¸²à¸¢à¸±à¸à¸£à¸°à¸à¸ à¸à¸²à¸¡à¸à¸µà¹à¸à¸²à¸ªà¸à¹à¹à¸§à¸´à¸£à¹à¸à¹à¸à¹à¸à¸³à¸«à¸à¸à¹à¸§à¹ à¸à¸²à¸à¸à¸²à¸ªà¸à¹à¹à¸§à¸´à¸£à¹à¸à¸à¸°à¸à¸³à¸à¸²à¸£à¸à¸£à¸§à¸à¸ªà¸à¸à¹à¸¥à¸°à¹à¸à¹à¸à¸à¸¥à¸à¸²à¸£à¸à¸´à¸à¸²à¸£à¸à¸²à¸à¹à¸²à¸à¸à¸²à¸à¸à¸µà¹à¸¡à¸¥à¸à¸µà¹à¸¥à¸à¸à¸°à¹à¸à¸µà¸¢à¸à¹à¸§à¹ à¹à¸à¸¢à¸à¹à¸à¸à¹à¸à¸£à¸µà¸¢à¸¡à¸«à¸¥à¸±à¸à¸à¸²à¸à¸à¸±à¸à¸£à¸à¸£à¸°à¸à¸²à¸à¸ à¹à¸¥à¸à¸à¸±à¸à¸à¸µà¸à¸à¸²à¸à¸²à¸£ à¹à¸¥à¸°à¸à¹à¸à¸à¸à¸²à¸ Social Media à¸à¸µà¹à¸¡à¸µ à¹à¸à¸·à¹à¸à¹à¸à¹à¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸£à¸°à¸à¸à¸à¸à¸²à¸£à¸à¸´à¸à¸²à¸£à¸à¸²"}),(0,r.jsx)("li",{children:"à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸°à¸à¸¹à¸à¸à¸³à¸à¸§à¸à¸à¸²à¸ âà¸à¸à¹à¸à¸à¸£à¹à¸à¸µà¹à¸ªà¸³à¹à¸£à¹à¸â หรืภâà¸à¸à¹à¸à¸à¸£à¹à¸à¸µà¹à¹à¸à¹à¸£à¸±à¸à¸à¸²à¸£à¸à¸à¸¸à¸¡à¸±à¸à¸´à¸à¸²à¸à¹à¸¥à¹à¸§â à¸à¸µà¹à¹à¸à¸´à¸à¸à¸¶à¹à¸à¹à¸à¸£à¸°à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸ à¹à¸à¸¢à¸à¸°à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸à¹à¸à¸à¸£à¹à¸à¸µà¹à¸à¸¹à¸à¸ªà¸£à¹à¸²à¸ à¸à¹à¸²à¸à¸à¸²à¸£à¸à¸à¹à¸à¹à¸²à¹à¸¢à¸µà¹à¸¢à¸¡à¸à¸¡à¹à¸§à¹à¸à¹à¸à¸à¹à¸à¹à¸²à¸à¸¥à¸´à¸à¸à¹ Affiliate à¹à¸à¹à¸²à¸à¸±à¹à¸"}),(0,r.jsx)("li",{children:"à¸à¸à¹à¸à¸à¸£à¹à¸à¸µà¹à¸à¸°à¸à¸¹à¸à¸à¸³à¸¡à¸²à¸à¸³à¸à¸§à¸à¹à¸à¸·à¹à¸à¹à¸ªà¸à¸à¸à¸¥ รวมà¸à¸¶à¸à¸à¸´à¸à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸ à¸à¸°à¸à¹à¸à¸à¸¡à¸µà¸à¸²à¸£à¸ªà¸£à¹à¸²à¸ à¸à¸³à¸£à¸°à¹à¸à¸´à¸à¹à¸¥à¸°à¸à¸à¸¸à¸¡à¸±à¸à¸´à¸à¸²à¸à¸ ายà¹à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²à¸à¸´à¸à¸à¸£à¸£à¸¡à¹à¸à¹à¸²à¸à¸±à¹à¸"}),(0,r.jsx)("li",{children:"à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸°à¸à¸¹à¸à¸ªà¸°à¸ªà¸¡à¹à¸§à¹à¸à¸¥à¸à¸à¸£à¸°à¸¢à¸°à¹à¸§à¸¥à¸²à¸à¸à¸à¸à¸´à¸à¸à¸£à¸£à¸¡ à¹à¸¥à¸°à¸à¸°à¸à¸³à¸à¸²à¸£à¹à¸à¸à¹à¸à¹à¸²à¸à¸±à¸à¸à¸µà¸à¸à¸²à¸à¸²à¸£à¸à¸µà¹à¹à¸à¹à¸à¹à¸§à¹ หลัà¸à¸à¸²à¸à¸à¸à¸à¸´à¸à¸à¸£à¸£à¸¡à¹à¸¡à¹à¹à¸à¸´à¸ 15 วัà¸à¸à¸³à¸à¸²à¸£ (à¸à¸²à¸¡à¸£à¸à¸à¸à¸²à¸£à¹à¸à¸à¹à¸à¸´à¸à¸à¸à¸à¸à¸à¸à¸£à¸°à¸à¸)"}),(0,r.jsx)("li",{children:"à¸à¹à¸à¸¡à¸¹à¸¥à¸ªà¸à¸´à¸à¸´à¹à¸à¸à¸´à¸à¸à¸£à¸£à¸¡ à¸à¸°à¸à¸³à¸à¸²à¸£à¸à¸±à¸à¹à¸à¸à¹à¸à¸à¸£à¸²à¸¢à¸§à¸±à¸ (Daily update) à¹à¸à¸¢à¸à¸°à¸à¸³à¸à¸²à¸£à¸à¸±à¸à¹à¸à¸à¸à¸¸à¸à¹ 24 à¸à¸±à¹à¸§à¹à¸¡à¸"}),(0,r.jsx)("li",{children:"à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸³à¸à¸²à¸£à¸¢à¸à¹à¸¥à¸´à¸à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡à¹à¸à¹ à¹à¸à¸¢à¸à¸³à¸à¸²à¸£à¸à¸´à¸à¸à¹à¸à¸à¸²à¸à¸à¸µà¸¡à¸à¹à¸§à¸¢à¹à¸«à¸¥à¸·à¸à¸à¸à¸à¸à¸²à¸ªà¸à¹à¹à¸§à¸´à¸£à¹à¸ à¹à¸¡à¸·à¹à¸à¸à¸³à¸à¸²à¸£à¸¢à¸à¹à¸¥à¸´à¸à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡ à¸à¸°à¸à¸·à¸à¹à¸à¹à¸à¸à¸²à¸£à¸à¸à¸à¸à¸²à¸à¸à¸´à¸à¸à¸£à¸£à¸¡à¹à¸à¸¢à¸à¸±à¸à¸à¸µ รวมà¸à¸¶à¸à¹à¸à¹à¸à¸à¸²à¸£à¸¢à¸à¹à¸¥à¸´à¸à¸à¸²à¸£à¸£à¸±à¸à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸´à¹à¸¨à¸©à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸µà¹à¹à¸à¹à¸£à¸±à¸à¸à¸²à¸à¹à¸à¸£à¸à¸à¸²à¸£à¹à¸à¹à¸à¹à¸à¸µà¸¢à¸§à¸à¸±à¸"}),(0,r.jsx)("li",{children:"à¸à¸£à¸´à¸©à¸±à¸à¸¯ à¸à¸à¸ªà¸à¸§à¸à¸ªà¸´à¸à¸à¸´à¹à¹à¸à¸à¸²à¸£à¹à¸à¸¥à¸µà¹à¸¢à¸à¹à¸à¸¥à¸à¹à¸à¸·à¹à¸à¸à¹à¸à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡ à¹à¸à¸¢à¸à¸°à¸¡à¸µà¸à¸²à¸£à¹à¸à¹à¸à¹à¸«à¹à¸à¸£à¸²à¸à¹à¸à¸«à¸à¹à¸²à¹à¸à¸·à¹à¸à¸à¹à¸à¸à¸à¸à¸à¸´à¸à¸à¸£à¸£à¸¡à¸«à¸²à¸à¸¡à¸µà¸à¸²à¸£à¹à¸à¸¥à¸µà¹à¸¢à¸à¹à¸à¸¥à¸"})]})})]}),(0,r.jsxs)("div",{className:"checkbox-wrapper tb-checkbox _mgbt-8px _pdl-16px",children:[(0,r.jsx)("input",{id:"term_condition",type:"checkbox",checked:f,onChange:function(){return g(!f)}}),(0,r.jsx)("label",{className:"_fs-200",htmlFor:"term_condition",children:"à¸à¸±à¸à¹à¸à¹à¸à¹à¸²à¸à¸à¹à¸à¸à¸³à¸«à¸à¸à¹à¸¥à¸°à¹à¸à¸·à¹à¸à¸à¹à¸à¸à¸²à¸£à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡à¸à¸£à¸à¸à¹à¸§à¸à¹à¸¥à¹à¸§"})]}),(0,r.jsx)("button",{type:"button",className:c()("tb-button _w-100pct _mgt-16px",!f&&"-disabled",{"-loading":j}),disabled:!f,onClick:function(){return(0,l._)(function(){return(0,s.YH)(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),k(!0),[4,m.v.
1join()];case 1:return e.sent(),h(!0),k(!1),[3,3];case 2:return e.sent(),k(!1),t.y8.error({text:o("error.message.general")}),[3,3];case 3:return[2]}})})()},children:"à¸à¸±à¸à¸¢à¸à¸¡à¸£à¸±à¸à¸à¹à¸à¸à¸à¸¥à¸à¹à¸¥à¸°à¹à¸à¸·à¹à¸à¸à¹à¸"})]})}),b&&(0,r.jsx)("div",{className:"modal-term-affiliate",children:(0,r.jsxs)("div",{className:"_pdh-24px _pdbt-12px",children:[(0,r.jsx)("div",{className:"header _pd-0px",children:(0,r.jsx)("div",{className:"_fs-400 _fw-600 _ffml-secondary _tal-ct noFancy _h-48px"})}),(0,r.jsxs)("div",{className:"_pdt-16px _pdbt-24px",children:[(0,r.jsx)("div",{className:"_dp-f _jtfct-ct _mgt-32px",children:(0,r.jsx)("i",{className:"fas fa-circle-check _fs-1200",style:{color:"#5ed016"}})}),(0,r.jsx)("h2",{className:"_fw-600 _fs-400 _mgt-12px _tal-ct",children:"à¹à¸à¹à¸²à¸£à¹à¸§à¸¡à¸à¸´à¸à¸à¸£à¸£à¸¡à¸ªà¸³à¹à¸£à¹à¸"}),(0,r.jsx)("p",{className:"_fs-300 _mgt-8px _tal-ct",children:"à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸£à¸´à¹à¸¡à¸à¹à¸à¹à¸à¹à¸à¸²à¸ à¸à¸±à¸à¸¥à¸à¸à¹à¸¥à¸°à¹à¸à¸£à¹à¸¥à¸´à¸à¸à¹ Affiliate à¹à¸à¸·à¹à¸à¸£à¸±à¸à¸à¹à¸²à¸à¸à¸¡à¸¡à¸´à¸à¸à¸±à¹à¸à¸à¸´à¹à¸¨à¸©à¹à¸à¹à¸à¸±à¸à¸à¸µ à¸à¸²à¸à¸«à¸à¹à¸² Dashboard"})]}),(0,r.jsx)("hr",{}),(0,r.jsx)("button",{type:"button",className:c()("tb-button _w-100pct _mgt-16px",{"-liading":w}),onClick:function(){return(0,l._)(function(){return(0,s.YH)(this,function(e){return y(!0),window.location.reload(),a(),[2]})})()},children:"à¹à¸£à¸´à¹à¸¡à¸à¹à¸à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸"})]})})]})}},79565:(e,a,i)=>{i.d(a,{A:()=>c});var l=i(20294),n=i(37876),s=i(15039),r=i.n(s),t=i(14232),o=i(10997);let c=function(e){var a=e.isShow,i=e.onClose,s=e.guides,c=e.isMobile,d=(0,l._)((0,t.useState)(s.length?s[0]:null),2),_=d[0],m=d[1],u=(0,l._)((0,t.useState)(s.length?0:null),2),p=u[0],f=u[1],g=function(e){m(s[e]),f(e)};return(0,n.jsx)(o.aF,{isShown:a,className:"modal-guide",style:{maxWidth:"696px",padding:"0px"},children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"_pst-rlt",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("img",{src:void 0!==c&&c?null==_?void 0:_.imageMobile:null==_?void 0:_.image,alt:"Guide image",width:"100%",className:"_bdtrrd-8px _bdtlrd-8px",style:{background:"#dadada"}}),(0,n.jsxs)("div",{className:"_pdh-24px _pdt-12px _pdbt-24px _bdbtrrd-8px _bdbtlrd-8px",style:{background:"white"},children:[(0,n.jsx)("div",{className:"_fw-600 _ffml-secondary",children:_.title}),(0,n.jsx)("p",{className:"_fs-300 _mgt-8px _opct-60 _wsp-pw",children:_.description}),(0,n.jsxs)("div",{className:"_dp-f _jtfct-spbtw _alit-ct _mgt-16px",children:[(0,n.jsx)("div",{className:"_dp-f _gg-8px",children:null==s?void 0:s.map(function(e,a){return(0,n.jsx)("div",{onClick:function(){return g(a)},className:r()("guide-dot _w-8px _h-8px _bgcl-neutral-300 _bdrd-max",{"_bgcl-neutral-500":p===a,"_cs-pt":p!==a})},a)})}),p+1!==s.length&&(0,n.jsxs)("button",{onClick:function(e){e!==p&&p+1<s.length&&(m(s[p+1]),f(p+1))},className:"tb-button _mgl-at",type:"button",children:["à¸à¹à¸à¹à¸ ",(0,n.jsx)("i",{className:"far fa-arrow-right _mgl-12px"})]}),p+1===s.length&&(0,n.jsxs)("button",{onClick:function(){i()},className:"tb-button _mgl-at",type:"button",children:["à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸ ",(0,n.jsx)("i",{className:"far fa-arrow-right _mgl-12px"})]})]})]})]})})})})}}}]);
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.