PageSourceSearch

https://fastlance.vn/_next/static/chunks/1604.5a759175765901b2.js

js fastlance.vn collected 2026-09-24 13:08:27 UTC 47,926 bytes, 1 lines download raw bytes

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.