PageSourceSearch

https://shwecasino888.com/assets/register-CosJr76b.js

js shwecasino888.com collected 2026-10-10 00:02:07 UTC 10,324 bytes, 1 lines download raw bytes

1import{r as l,c as qe,j as r,L as Ge,w as ze,a as Je,e as Ke}from"./chunk-JZWAC4HX-D4c0GfBG.js";import{c as ce}from"./compiler-runtime-BAZeXv65.js";import{P as Ue}from"./password-input-Cy91zU-v.js";import{B as Qe}from"./button-B56mRObZ.js";import{I as Ce}from"./input-D2Lwe4Qz.js";import{u as We,C as Xe}from"./login-modal-provider-D4xZzXva.js";import{u as Ye}from"./use-fingerprint-DRoLzj98.js";import{u as Ze}from"./use-cdn-images-DLEzcaVm.js";import{t as et}from"./GoogleReCaptchaContext-BH_IhdTC.js";import"./debug-build-l0sNRNKZ.js";import{c as tt}from"./exports-BUJjfqD1.js";import{G as st}from"./generic-form-error-handler-bqKIeaP5.js";import{R as u}from"./constants-BrHoZGHG.js";import{u as rt}from"./use-adjust-D3pWAtpQ.js";import{u as at}from"./useTranslation-ClZMsfen.js";import{E as ot}from"./error-boundary-Do0g_OwW.js";import"./utils-gO9X0YNf.js";import"./index-8zsTATG5.js";import"./dialog-DiHUQx42.js";import"./index-DEHBLIxc.js";import"./index-ZTOPpHPZ.js";import"./index-BpsK-nLg.js";import"./index-Chjiymov.js";import"./x-DHLqlfKv.js";import"./createLucideIcon-55tzWWgl.js";import"./use-mobile-GcKI-68M.js";import"./error-modal-BQU51YI3.js";import"./preload-helper-D7HrI6pR.js";import"./context-grVNOoTG.js";const nt=()=>l.useContext(et);function it(c){const e=ce.c(5),{executeV3:o}=nt();let t;e[0]!==c||e[1]!==o?(t=async()=>{if(!o){tt(`Execute recaptcha not available for action: ${c}`);return}return await o(c)},e[0]=c,e[1]=o,e[2]=t):t=e[2];const s=t;let m;return e[3]!==s?(m={handleReCaptchaVerify:s},e[3]=s,e[4]=m):m=e[4],m}const lt={[u.UsernameAlreadyUsed]:"static-username-already-used",[u.InvalidUsername]:"static-invalid-username",[u.SpecialCharactersNotAllowed]:"static-special-characters-not-allowed-username",[u.UsernameMustHaveMaximumOf50AlphanumericCharacters]:"static-username-char-max"};function ct(c){var Fe,Se,_e,ke,De,Be;const e=ce.c(130),{captchaEnabled:o}=c,{t}=at(),s=qe(),{handleReCaptchaVerify:m}=it("registration"),{trackEvent:J}=rt(),{visitorId:me,requestId:de,loading:He}=Ye(),a=(Fe=s==null?void 0:s.data)==null?void 0:Fe.error,d=lt[a]||void 0;let K;if(e[0]!==a||e[1]!==t||e[2]!==d){const i={[u.AccountRegistrationNotAllowed]:"static-registered-accounts-already-exceeded",[u.OngoingMaintenance]:"static-under-maintenance",[u.ReCaptchaFailed]:"static-re-captcha-failed",[u.PasswordMustHaveMinimumOf7AndMaximumOf32Characters]:"static-password-char-min-max"};K=d?t(d):a&&i[a]?t(i[a]):void 0,e[0]=a,e[1]=t,e[2]=d,e[3]=K}else K=e[3];const Q=K,Ee=l.useRef(null),Me=l.useRef(null),Re=l.useRef(null),Ne=l.useRef(null),Ae=l.useRef(null),Ie=l.useRef(null),[fe,ue]=l.useState(0),[Oe,Ve]=l.useState(!1);let W;e[4]!==o?(W=()=>{var i,p,f,Le,Te;Ve(!!(!((i=Ee.current)!=null&&i.value&&((p=Me.current)!=null&&p.value)&&((f=Re.current)!=null&&f.value)&&((Le=Ne.current)!=null&&Le.value)&&o)||(Te=Ae.current)!=null&&Te.value))},e[4]=o,e[5]=W):W=e[5];const n=W;let X,Y;e[6]===Symbol.for("react.memo_cache_sentinel")?(X=()=>{ue(Date.now())},Y=[],e[6]=X,e[7]=Y):(X=e[6],Y=e[7]),l.useEffect(X,Y);let Z;e[8]!==((Se=s.data)==null?void 0:Se.error)?(Z=()=>{var i;(i=s.data)!=null&&i.error&&ue(Date.now())},e[8]=(_e=s.data)==null?void 0:_e.error,e[9]=Z):Z=e[9];const pe=(ke=s.data)==null?void 0:ke.error;let ee;e[10]!==s.data||e[11]!==pe?(ee=[s.data,pe],e[10]=s.data,e[11]=pe,e[12]=ee):ee=e[12],l.useEffect(Z,ee);let te;e[13]!==((De=s.data)==null?void 0:De.success)||e[14]!==J?(te=()=>{var p,f;const i=(p=s.data)==null?void 0:p.success;(f=s.data)==null||f.profile,i&&J("registration")},e[13]=(Be=s.data)==null?void 0:Be.success,e[14]=J,e[15]=te):te=e[15];let se;e[16]!==s.data?(se=[s.data],e[16]=s.data,e[17]=se):se=e[17],l.useEffect(te,se);const Pe=l.useRef(null),{setIsOpen:he}=We(),xe=Ze();let re;e[18]!==s||e[19]!==m?(re=async i=>{i.preventDefault();const p=await m(),f=new FormData(Ie.current);f.append("reCaptchaToken",p??""),s.submit(f,{method:"POST",action:"/actions/registration"})},e[18]=s,e[19]=m,e[20]=re):re=e[20];const ge=re,$e=s.Form;let h;e[21]!==t?(h=t("static-create-a-new-account"),e[21]=t,e[22]=h):h=e[22];let x;e[23]!==h?(x=r.jsx("h1",{className:"text-h1 mb-4 mt-4 text-secondary",children:h}),e[23]=h,e[24]=x):x=e[24];let g;e[25]!==xe||e[26]!==Q?(g=!!Q&&r.jsxs("div",{className:"text-white border-[1px] rounded-md min-h-16 px-4 border-secondary-active mb-4 flex-row flex items-center gap-4 bg-primary py-4",children:[r.jsx("img",{src:xe("warningIcon","/images/icons/warning-icon.png").url,alt:"error-icon"}),r.jsx("p",{className:"text-white text-md",children:Q})]}),e[25]=xe,e[26]=Q,e[27]=g):g=e[27];let b;e[28]!==t?(b=t("static-username"),e[28]=t,e[29]=b):b=e[29];const be=!!d;let w;e[30]!==t||e[31]!==d?(w=d?t("static-invalid-username"):void 0,e[30]=t,e[31]=d,e[32]=w):w=e[32];let y;e[33]!==n||e[34]!==b||e[35]!==be||e[36]!==w?(y=r.jsx(Ce,{name:"username",type:"text",label:b,hasError:be,errorMessage:w,ref:Ee,onChange:n}),e[33]=n,e[34]=b,e[35]=be,e[36]=w,e[37]=y):y=e[37];let v;e[38]!==t?(v=t("static-mobile-number"),e[38]=t,e[39]=v):v=e[39];let ae;e[40]===Symbol.for("react.memo_cache_sentinel")?(ae=r.jsx("p",{className:"text-primary-foreground text-[16px] mr-2",children:"09"}),e[40]=ae):ae=e[40];const we=a==="MobileNumberInvalid"||a==="MobileNumberAlreadyUsed";let j;e[41]!==a||e[42]!==t?(j=a==="MobileNumberInvalid"?t("static-mobile-number-must-contain-7-9-digits"):a==="MobileNumberAlreadyUsed"?t("static-mobile-number-already-used."):void 0,e[41]=a,e[42]=t,e[43]=j):j=e[43];let C;e[44]!==n||e[45]!==v||e[46]!==we||e[47]!==j?(C=r.jsx(Ce,{name:"mobile",type:"number",label:v,leftContent:ae,hasError:we,errorMessage:j,ref:Me,onChange:n}),e[44]=n,e[45]=v,e[46]=we,e[47]=j,e[48]=C):C=e[48];let E;e[49]!==t?(E=t("static-password"),e[49]=t,e[50]=E):E=e[50];const ye=a==="PasswordMisMatch";let M;e[51]!==a||e[52]!==t?(M=a==="PasswordMisMatch"?t("static-the-password-and-confirm-password-values-do-not-match"):void 0,e[51]=a,e[52]=t,e[53]=M):M=e[53];let R;e[54]!==n||e[55]!==E||e[56]!==ye||e[57]!==M?(R=r.jsx(Ue,{name:"password",label:E,hasError:ye,errorMessage:M,ref:Re,onChange:n}),e[54]=n,e[55]=E,e[56]=ye,e[57]=M,e[58]=R):R=e[58];let N;e[59]!==t?(N=t("static-confirm-password"),e[59]=t,e[60]=N):N=e[60];const ve=a==="PasswordMisMatch";let A;e[61]!==a||e[62]!==t?(A=a==="PasswordMisMatch"?t("static-the-password-and-confirm-password-values-do-not-match"):void 0,e[61]=a,e[62]=t,e[63]=A):A=e[63];let I;e[64]!==n||e[65]!==N||e[66]!==ve||e[67]!==A?(I=r.jsx(Ue,{name:"rePassword",label:N,hasError:ve,errorMessage:A,ref:Ne,onChange:n}),e[64]=n,e[65]=N,e[66]=ve,e[67]=A,e[68]=I):I=e[68];let oe;e[69]===Symbol.for("react.memo_cache_sentinel")?(oe=r.jsx("input",{type:"hidden",name:"agree",value:"true"}),e[69]=oe):oe=e[69];let P;e[70]!==t?(P=t("static-agree-to"),e[70]=t,e[71]=P):P=e[71];let F;e[72]!==P?(F=r.jsx("p",{className:"text-sm text-white mr-1",children:P}),e[72]=P,e[73]=F):F=e[73];let S;
1e[74]!==t?(S=t("static-terms-and-conditions"),e[74]=t,e[75]=S):S=e[75];let _;e[76]!==S?(_=r.jsx(Ge,{to:"/terms-and-conditions?back-href=/register",children:r.jsx("p",{className:"text-sm text-secondary",children:S})}),e[76]=S,e[77]=_):_=e[77];let ne;e[78]===Symbol.for("react.memo_cache_sentinel")?(ne=r.jsx("p",{className:"text-sm text-white",children:"."}),e[78]=ne):ne=e[78];let k;e[79]!==F||e[80]!==_?(k=r.jsxs("div",{className:"flex flex-row flex-wrap items-center mt-4",children:[oe,F,_,ne]}),e[79]=F,e[80]=_,e[81]=k):k=e[81];let D;e[82]!==o||e[83]!==fe||e[84]!==n||e[85]!==a||e[86]!==t?(D=o&&r.jsxs(r.Fragment,{children:[r.jsx(Xe,{captchaId:fe,onReload:()=>ue(Date.now())}),r.jsx(Ce,{name:"captcha",type:"number",label:t("static-enter-the-captcha-shown"),ref:Ae,onChange:n,hasError:a==="CaptchaMismatch",errorMessage:a==="CaptchaMismatch"?t("static-incorrect-captcha-please-try-again"):void 0})]}),e[82]=o,e[83]=fe,e[84]=n,e[85]=a,e[86]=t,e[87]=D):D=e[87];let B;e[88]!==me?(B=r.jsx("input",{type:"hidden",name:"visitorId",value:me}),e[88]=me,e[89]=B):B=e[89];let L;e[90]!==de?(L=r.jsx("input",{type:"hidden",name:"requestId",value:de}),e[90]=de,e[91]=L):L=e[91];const je=s.state==="submitting"||!Oe||He;let ie;e[92]===Symbol.for("react.memo_cache_sentinel")?(ie=()=>{var i;return(i=Pe.current)==null?void 0:i.handleShouldCheckErrorMessage(!0)},e[92]=ie):ie=e[92];let T;e[93]!==t?(T=t("static-create-an-account").toUpperCase(),e[93]=t,e[94]=T):T=e[94];let U;e[95]!==je||e[96]!==T?(U=r.jsx("div",{className:"flex w-full justify-center mt-4",children:r.jsx(Qe,{type:"submit",className:"mt-4 px-10 h-12 text-md",variant:"secondary",size:"lg",disabled:je,onClick:ie,children:T})}),e[95]=je,e[96]=T,e[97]=U):U=e[97];let H;e[98]!==t?(H=t("static-already-have-an-account"),e[98]=t,e[99]=H):H=e[99];let O;e[100]!==H?(O=r.jsx("p",{className:"text-center text-white mr-1",children:H}),e[100]=H,e[101]=O):O=e[101];let V;e[102]!==he?(V=()=>{he(!0)},e[102]=he,e[103]=V):V=e[103];let $;e[104]!==t?($=t("static-login"),e[104]=t,e[105]=$):$=e[105];let q;e[106]!==V||e[107]!==$?(q=r.jsx("button",{className:"text-primary-foreground cursor-pointer",onClick:V,children:$}),e[106]=V,e[107]=$,e[108]=q):q=e[108];let G;e[109]!==O||e[110]!==q?(G=r.jsxs("div",{className:"flex flex-row items-end justify-center mt-10 mb-4 md:mb-0 text-sm",children:[O,q]}),e[109]=O,e[110]=q,e[111]=G):G=e[111];let z;e[112]!==a?(z=r.jsx(st,{error:a,ref:Pe}),e[112]=a,e[113]=z):z=e[113];let le;return e[114]!==s.Form||e[115]!==ge||e[116]!==x||e[117]!==g||e[118]!==y||e[119]!==C||e[120]!==R||e[121]!==I||e[122]!==k||e[123]!==D||e[124]!==B||e[125]!==L||e[126]!==U||e[127]!==G||e[128]!==z?(le=r.jsxs($e,{ref:Ie,className:"flex flex-col bg-transparent md:w-[50
15px] md:border md:border-primary-foreground md:h-[758px] md:bg-radial-fade md:py-4 md:px-6 rounded-[8px]",action:"/actions/registration",method:"post",onSubmit:ge,children:[x,g,y,C,R,I,k,D,B,L,U,G,z]}),e[114]=s.Form,e[115]=ge,e[116]=x,e[117]=g,e[118]=y,e[119]=C,e[120]=R,e[121]=I,e[122]=k,e[123]=D,e[124]=B,e[125]=L,e[126]=U,e[127]=G,e[128]=z,e[129]=le):le=e[129],le}const Ut=ze(function(){const e=ce.c(2),{CAPTCHA_ENABLED:o}=Ke();let t;return e[0]!==o?(t=r.jsx("div",{className:"w-full flex flex-col md:items-center p-4 md:p-10 bg-transparent",children:r.jsx(ct,{captchaEnabled:o})}),e[0]=o,e[1]=t):t=e[1],t}),Ht=Je(function(e){const o=ce.c(2),{error:t}=e;let s;return o[0]!==t?(s=r.jsx(ot,{error:t}),o[0]=t,o[1]=s):s=o[1],s});export{Ht as ErrorBoundary,Ut as default};

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.