PageSourceSearch

https://lotoklub-kz.site/_nuxt/h-ZMkqoj.js

js lotoklub-kz.site collected 2026-10-07 16:43:37 UTC 5,470 bytes, 1 lines download raw bytes

1import{u as y,r as d,m as C,s as _}from"./HEFRrgjh.js";import{S as T,C as $,u as E,_ as M}from"./hFB5tHVu.js";import B from"./Co-D4qdG.js";import I from"./DLqnLn7x.js";import{a as L,j as F,h as R,g as A,u as V,f as N,ad as x,n as g,r as p,o as c,c as v,H as w,I as q,q as s,Z as f,t as S,a0 as H,B as i,Y as k,b as z,J as P,a1 as U}from"./Ci0sP1HV.js";import{_ as D}from"./BKc8u1VI.js";const W={components:{TelInput:B,PasswordInput:I,Social:T,Captcha:$},setup(){const{isHuman:t}=E(),e=L(),l=F(),o=R(),n=A(),a=V(),m=N(),h=y(),u=x().public.registrationCaptcha.mode;return{router:e,route:l,store:m,registerStore:o,recoverStore:n,loadingStore:a,v$:h,isHuman:t,registrationCaptchaMode:u}},emits:["close"],props:{page:{type:Number,default:0,required:!1}},data(){return{fakeName:"",phone:"",password:"",agreement:!0,regErrorMessage:"",regFormError:!1,currency:"",isShowBannerBg:!1,recaptchaValidate:!1,isShowCaptcha:!1,captchaToken:""}},validations(){return{phone:{required:d,minLength:C(this.phoneLen)},password:{required:d,minLength:C(6)},agreement:{required:d,sameAs:_(!0)}}},computed:{phoneLen(){return(this.store.config.phoneMask.match(/#/g)||[]).length},registerTitle(){return"Регистрация"},auth(){return this.store.auth}},mounted(){this.store.auth&&g("/"),document.body.classList.add("reg-with-captcha")},methods:{close(){this.$emit("close")},requestReset(){this.v$.$touch(),!this.v$.$error&&(this.loadingStore.loadingCommit(),this.recoverStore.init(this.phone).then(t=>{t.success?g({name:"auth-recover-confirm"}):this.recoveryFormError=!0,this.loadingStore.loadingCompleteCommit()}))},agreementChange(t){this.agreement=t},captchaApprove({captchaToken:t}){this.captchaToken=t,this.recaptchaValidate=!0,this.isShowCaptcha=!1,this.regTelEvent()},regTelEvent(){this.v$.$touch();const e=new URL(location.href).searchParams.get("i_am_bot");if(!this.v$.$error){if((this.registrationCaptchaMode!=="suspicious"||!this.isHuman||this.fakeName||e)&&!this.recaptchaValidate){this.isShowCaptcha=!0;return}this.loadingStore.loadingCommit(),this.registerStore.unconfirmed({phone:this.phone,password:this.password,currency:this.currency,captchaToken:this.captchaToken}).then(async l=>{if(l.success){this.store.isOpenAuthModal=!1,await this.store.index();let o={name:"auth-completed"};this.store.authModalBack?o=this.store.authModalBack:l.action==="login"&&(o={name:"index"}),await g(o)}else this.recaptchaValidate=!1,this.captchaToken="",this.regFormError=!0;this.loadingStore.loadingCompleteCommit()})}}}},j={class:"reg"},J={class:"reg-close"},O={class:"reg__container"},Y=["innerHTML"],Z=["disabled"],G={style:{"margin-top":"20px","margin-bottom":"0"}},K={style:{"margin-top":"15px"}};function Q(t,e,l,o,n,a){const m=p("TelInput"),h=p("PasswordInput"),u=p("Social"),b=p("Captcha");return c(),v(U,null,[w(s("section",j,[s("button",J,[s("img",{src:M,alt:"",onClick:e[0]||(e[0]=(...r)=>a.close&&a.close(...r))})]),s("div",O,[s("div",{class:f(["reg__main",{"in-error":n.regFormError}])},[s("div",{class:"reg__title",innerHTML:a.registerTitle},null,8,Y),S(m,{value:o.v$.phone.$model,"onUpdate:value":e[1]||(e[1]=r=>o.v$.phone.$model=r),type:"text",title:t.$t("login.phoneInput.label"),placeholder:t.$t("registration.init.tel.placeholder"),validate:o.v$.phone,onInput:e[2]||(e[2]=r=>n.regFormError=!1),customStyle:{marginBottom:"35px"},labelStyle:{fontSize:"15px",color:"#86868b",fontWeight:"500"},inputStyle:{color:"white"}},null,8,["value","title","placeholder","validate"]),S(h,{value:o.v$.password.$model,"onUpdate:value":e[3]||(e[3]=r=>o.v$.password.$model=r),title:t.$t("registration.unconfirmed.password.label"),error:t.$t("registration.unconfirmed.password.error"),placeholder:t.$t("registration.complete.password.placeholder"),validate:o.v$.password,onInput:e[4]||(e[4]=r=>n.regFormError=!1),customStyle:{marginBottom:"28px"},labelStyle:{fontSize:"15px",color:"#86868b",fontWeight:"500"},inputStyle:{color:"white"}},null,8,["value","title","error","placeholder","validate"]),w(s("input",{type:"text",name:"name","onUpdate:modelValue":e[5]||(e[5]=r=>n.fakeName=r),style:{position:"absolute","z-index":"-1",height:"1px","margin-top":"-1px",opacity:"0"}},null,512),[[H,n.fakeName]]),n.regFormError?(c(),v("button",{key:0,class:"btn__orange-border",onClick:e[6]||(e[6]=(...r)=>a.requestReset&&a.requestReset(...r)),style:{"margin-bottom":"15px"}}
1,i(t.$t("registration.init.error.recoverButton")),1)):(c(),v("button",{key:1,class:"btn__orange comeIn",disabled:o.v$.phone.$error||n.regFormError,onClick:e[7]||(e[7]=r=>a.regTelEvent())},i(t.$t("registration.unconfirmed.button")),9,Z)),s("div",{class:f(["reg__error",{"in-error":n.regFormError}])},[s("p",null,i(t.$t("registration.init.error.used")),1),s("p",G,i(t.$t("registration.unconfirmed.loginHint.label")),1),s("a",{onClick:e[8]||(e[8]=k(r=>o.store.authModalMode="signIn",["prevent"])),class:"link__orange"},i(t.$t("registration.init.loginLink")),1)],2),s("div",{class:f(["reg__message",{"in-error":n.regFormError}])},[s("p",null,i(t.$t("registration.init.hasAccount")),1),s("a",{onClick:e[9]||(e[9]=k(r=>o.store.authModalMode="signIn",["prevent"])),class:"link__orange",style:{"font-size":"15px"}},i(t.$t("registration.init.loginLink")),1),s("div",K,[S(u)])],2)],2)])],512),[[q,a.auth===!1]]),n.isShowCaptcha?(c(),z(b,{key:0,onApprove:a.captchaApprove,onClose:e[10]||(e[10]=r=>n.isShowCaptcha=!1)},null,8,["onApprove"])):P("",!0)],64)}const ne=D(W,[["render",Q],["__scopeId","data-v-eaf688cb"]]);export{ne 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.